Previous topic

The nova.exception Module

Next topic

The nova.image.fake Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.flags Module

Command-line flag library.

Emulates gflags by wrapping cfg.ConfigOpts.

The idea is to move fully to cfg eventually, and this wrapper is a stepping stone.

DECLARE(name, module_string, flag_values=<nova.flags.NovaConfigOpts object at 0x2a7cd10>)
class NovaConfigOpts(*args, **kwargs)

Bases: nova.openstack.common.cfg.CommonConfigOpts

exception UnrecognizedFlag

Bases: exceptions.Exception