class DhcpAgent(object):
OPTS = [
- cfg.StrOpt('root_helper', default='sudo'),
- cfg.IntOpt('resync_interval', default=30),
+ cfg.StrOpt('root_helper', default='sudo',
+ help=_("Root helper application.")),
+ cfg.IntOpt('resync_interval', default=30,
+ help=_("Interval to resync.")),
cfg.StrOpt('dhcp_driver',
default='quantum.agent.linux.dhcp.Dnsmasq',
help=_("The driver used to manage the DHCP server.")),
class DeviceManager(object):
OPTS = [
- cfg.StrOpt('admin_user'),
- cfg.StrOpt('admin_password'),
- cfg.StrOpt('admin_tenant_name'),
- cfg.StrOpt('auth_url'),
+ cfg.StrOpt('admin_user',
+ help=_("Admin username")),
+ cfg.StrOpt('admin_password',
+ help=_("Admin password")),
+ cfg.StrOpt('admin_tenant_name',
+ help=_("Admin tenant name")),
+ cfg.StrOpt('auth_url',
+ help=_("Authentication URL")),
cfg.StrOpt('auth_strategy', default='keystone',
help=_("The type of authentication to use")),
- cfg.StrOpt('auth_region'),
+ cfg.StrOpt('auth_region',
+ help=_("Authentication region")),
cfg.StrOpt('interface_driver',
help=_("The driver used to manage the virtual interface."))
]
class L3NATAgent(manager.Manager):
OPTS = [
- cfg.StrOpt('root_helper', default='sudo'),
+ cfg.StrOpt('root_helper', default='sudo',
+ help=_("Root helper application.")),
cfg.StrOpt('external_network_bridge', default='br-ex',
help=_("Name of bridge used for external network "
"traffic.")),
help=_("UUID of external network for routers implemented "
"by the agents.")),
cfg.StrOpt('l3_agent_manager',
- default='quantum.agent.l3_agent.L3NATAgent'),
+ default='quantum.agent.l3_agent.L3NATAgent',
+ help=_("The Quantum L3 Agent manager.")),
]
def __init__(self, host, conf=None):
class MetadataProxyHandler(object):
OPTS = [
- cfg.StrOpt('admin_user'),
- cfg.StrOpt('admin_password'),
- cfg.StrOpt('admin_tenant_name'),
- cfg.StrOpt('auth_url'),
+ cfg.StrOpt('admin_user',
+ help=_("Admin user")),
+ cfg.StrOpt('admin_password',
+ help=_("Admin password")),
+ cfg.StrOpt('admin_tenant_name',
+ help=_("Admin tenant name")),
+ cfg.StrOpt('auth_url',
+ help=_("Authentication URL")),
cfg.StrOpt('auth_strategy', default='keystone',
help=_("The type of authentication to use")),
- cfg.StrOpt('auth_region'),
+ cfg.StrOpt('auth_region',
+ help=_("Authentication region")),
cfg.StrOpt('nova_metadata_ip', default='127.0.0.1',
help=_("IP address used by Nova metadata server.")),
cfg.IntOpt('nova_metadata_port',
"""
opts = [
- cfg.StrOpt('root_helper', default='sudo'),
+ cfg.StrOpt('root_helper', default='sudo',
+ help=_("Root helper application.")),
cfg.StrOpt('dhcp_driver',
default='quantum.agent.linux.dhcp.Dnsmasq',
help=_("The driver used to manage the DHCP server.")),
]
agent_opts = [
- cfg.StrOpt('root_helper', default='sudo'),
+ cfg.StrOpt('root_helper', default='sudo',
+ help=_("Root helper application.")),
]
conf = cfg.CommonConfigOpts()
class QuantumDebugAgent():
OPTS = [
- cfg.StrOpt('root_helper', default='sudo'),
+ cfg.StrOpt('root_helper', default='sudo',
+ help=_("Root helper application.")),
# Needed for drivers
- cfg.StrOpt('admin_user'),
- cfg.StrOpt('admin_password'),
- cfg.StrOpt('admin_tenant_name'),
- cfg.StrOpt('auth_url'),
+ cfg.StrOpt('admin_user',
+ help=_("Admin user")),
+ cfg.StrOpt('admin_password',
+ help=_("Admin password")),
+ cfg.StrOpt('admin_tenant_name',
+ help=_("Admin tenant name")),
+ cfg.StrOpt('auth_url',
+ help=_("Authentication URL")),
cfg.StrOpt('auth_strategy', default='keystone',
help=_("The type of authentication to use")),
- cfg.StrOpt('auth_region'),
- cfg.BoolOpt('use_namespaces', default=True),
+ cfg.StrOpt('auth_region',
+ help=_("Authentication region")),
+ cfg.BoolOpt('use_namespaces', default=True,
+ help=_("Use Linux network namespaces")),
cfg.StrOpt('interface_driver',
help=_("The driver used to manage the virtual "
"interface.")),
restproxy_opts = [
- cfg.StrOpt('servers', default='localhost:8800'),
- cfg.StrOpt('serverauth', default='username:password'),
- cfg.BoolOpt('serverssl', default=False),
- cfg.BoolOpt('syncdata', default=False),
- cfg.IntOpt('servertimeout', default=10),
+ cfg.StrOpt('servers', default='localhost:8800',
+ help=_("A comma separated list of servers and port numbers "
+ "to proxy request to.")),
+ cfg.StrOpt('serverauth', default='username:password',
+ help=_("Server authentication")),
+ cfg.BoolOpt('serverssl', default=False,
+ help=_("Use SSL to connect")),
+ cfg.BoolOpt('syncdata', default=False,
+ help=_("Sync data on connect")),
+ cfg.IntOpt('servertimeout', default=10,
+ help=_("Maximum number of seconds to wait for proxy request "
+ "to connect and complete.")),
]
'local_network_vswitch',
default='private',
help=_('Private vswitch name used for local networks')),
- cfg.IntOpt('polling_interval', default=2),
+ cfg.IntOpt('polling_interval', default=2,
+ help=_("The number of seconds the agent will wait between "
+ "polling for local device changes.")),
]
]
agent_opts = [
- cfg.IntOpt('polling_interval', default=2),
- cfg.StrOpt('root_helper', default='sudo'),
+ cfg.IntOpt('polling_interval', default=2,
+ help=_("The number of seconds the agent will wait between "
+ "polling for local device changes.")),
+ cfg.StrOpt('root_helper', default='sudo',
+ help=_("Root helper application.")),
]
meta_plugin_opts = [
- cfg.StrOpt('plugin_list', default=''),
- cfg.StrOpt('l3_plugin_list', default=''),
- cfg.StrOpt('default_flavor', default=''),
- cfg.StrOpt('default_l3_flavor', default=''),
- cfg.StrOpt('supported_extension_aliases', default=''),
- cfg.StrOpt('extension_map', default='')
+ cfg.StrOpt('plugin_list', default='',
+ help=_("List of plugins to load")),
+ cfg.StrOpt('l3_plugin_list', default='',
+ help=_("List of L3 plugins to load")),
+ cfg.StrOpt('default_flavor', default='',
+ help=_("Default flavor to use")),
+ cfg.StrOpt('default_l3_flavor', default='',
+ help=_("Default L3 flavor to use")),
+ cfg.StrOpt('supported_extension_aliases', default='',
+ help=_("Supported extension aliases")),
+ cfg.StrOpt('extension_map', default='',
+ help=_("A list of extensions, per plugin, to load.")),
]
proxy_plugin_opts = [
- cfg.StrOpt('admin_user'),
- cfg.StrOpt('admin_password'),
- cfg.StrOpt('admin_tenant_name'),
- cfg.StrOpt('auth_url'),
+ cfg.StrOpt('admin_user',
+ help=_("Admin user")),
+ cfg.StrOpt('admin_password',
+ help=_("Admin password")),
+ cfg.StrOpt('admin_tenant_name',
+ help=_("Admin tenant name")),
+ cfg.StrOpt('auth_url',
+ help=_("Authentication URL")),
cfg.StrOpt('auth_strategy', default='keystone',
help=_("The type of authentication to use")),
- cfg.StrOpt('auth_region'),
+ cfg.StrOpt('auth_region',
+ help=_("Authentication region")),
]
cfg.CONF.register_opts(meta_plugin_opts, "META")
ovs_opts = [
- cfg.StrOpt('integration_bridge', default='br-int'),
+ cfg.StrOpt('integration_bridge', default='br-int',
+ help=_("Integration bridge to use")),
]
agent_opts = [
- cfg.IntOpt('polling_interval', default=2),
- cfg.StrOpt('root_helper', default='sudo'),
+ cfg.IntOpt('polling_interval', default=2,
+ help=_("The number of seconds the agent will wait between "
+ "polling for local device changes.")),
+ cfg.StrOpt('root_helper', default='sudo',
+ help=_("Root helper application.")),
]
ofc_opts = [
- cfg.StrOpt('host', default='127.0.0.1'),
- cfg.StrOpt('port', default='8888'),
- cfg.StrOpt('driver', default='trema'),
- cfg.BoolOpt('enable_packet_filter', default=True),
- cfg.BoolOpt('use_ssl', default=False),
- cfg.StrOpt('key_file', default=None),
- cfg.StrOpt('cert_file', default=None),
+ cfg.StrOpt('host', default='127.0.0.1',
+ help=_("Host to connect to")),
+ cfg.StrOpt('port', default='8888',
+ help=_("Port to connect to")),
+ cfg.StrOpt('driver', default='trema',
+ help=_("Driver to use")),
+ cfg.BoolOpt('enable_packet_filter', default=True,
+ help=_("Enable packet filter")),
+ cfg.BoolOpt('use_ssl', default=False,
+ help=_("Use SSL to connect")),
+ cfg.StrOpt('key_file', default=None,
+ help=_("Key file")),
+ cfg.StrOpt('cert_file', default=None,
+ help=_("Certificate file")),
]
nvp_opts = [
- cfg.IntOpt('max_lp_per_bridged_ls', default=64),
- cfg.IntOpt('max_lp_per_overlay_ls', default=256),
- cfg.IntOpt('concurrent_connections', default=5),
- cfg.IntOpt('nvp_gen_timeout', default=-1),
- cfg.StrOpt('default_cluster_name')
+ cfg.IntOpt('max_lp_per_bridged_ls', default=64,
+ help=_("Maximum number of ports of a logical switch on a "
+ "bridged transport zone (default 64)")),
+ cfg.IntOpt('max_lp_per_overlay_ls', default=256,
+ help=_("Maximum number of ports of a logical switch on an "
+ "overlay transport zone (default 64)")),
+ cfg.IntOpt('concurrent_connections', default=5,
+ help=_("Maximum concurrent connections")),
+ cfg.IntOpt('nvp_gen_timeout', default=-1,
+ help=_("Number of seconds a generation id should be valid for "
+ "(default -1 meaning do not time out)")),
+ cfg.StrOpt('default_cluster_name',
+ help=_("Default cluster name")),
]
cluster_opts = [
- cfg.StrOpt('default_tz_uuid'),
- cfg.StrOpt('nvp_cluster_uuid'),
- cfg.StrOpt('nova_zone_id'),
- cfg.MultiStrOpt('nvp_controller_connection')
+ cfg.StrOpt('default_tz_uuid',
+ help=_("This is uuid of the default NVP Transport zone that "
+ "will be used for creating tunneled isolated "
+ "\"Quantum\" networks. It needs to be created in NVP "
+ "before starting Quantum with the nvp plugin.")),
+ cfg.StrOpt('nvp_cluster_uuid',
+ help=_("Optional paramter identifying the UUID of the cluster "
+ "in NVP. This can be retrieved from NVP management "
+ "console \"admin\" section.")),
+ cfg.StrOpt('nova_zone_id',
+ help=_("Optional parameter identifying the Nova \"zone\" that "
+ "maps to this NVP cluster.")),
+ cfg.MultiStrOpt('nvp_controller_connection',
+ help=_("Describes a connection to a single NVP "
+ "controller. A different connection for each "
+ "controller in the cluster can be specified; "
+ "there must be at least one connection per "
+ "cluster."))
]
-
cfg.CONF.register_opts(nvp_opts, "NVP")
DEFAULT_TUNNEL_RANGES = []
ovs_opts = [
- cfg.StrOpt('integration_bridge', default='br-int'),
- cfg.BoolOpt('enable_tunneling', default=False),
- cfg.StrOpt('tunnel_bridge', default='br-tun'),
+ cfg.StrOpt('integration_bridge', default='br-int',
+ help=_("Integration bridge to use")),
+ cfg.BoolOpt('enable_tunneling', default=False,
+ help=_("Enable tunneling support")),
+ cfg.StrOpt('tunnel_bridge', default='br-tun',
+ help=_("Tunnel bridge to use")),
cfg.StrOpt('int_peer_patch_port', default='patch-tun',
help=_("Peer patch port in integration bridge for tunnel "
"bridge")),
cfg.StrOpt('tun_peer_patch_port', default='patch-int',
help=_("Peer patch port in tunnel bridge for integration "
"bridge")),
- cfg.StrOpt('local_ip', default=''),
+ cfg.StrOpt('local_ip', default='',
+ help=_("Local IP address of GRE tunnel endpoints.")),
cfg.ListOpt('bridge_mappings',
default=DEFAULT_BRIDGE_MAPPINGS,
help=_("List of <physical_network>:<bridge>")),
]
agent_opts = [
- cfg.IntOpt('polling_interval', default=2),
- cfg.StrOpt('root_helper', default='sudo'),
+ cfg.IntOpt('polling_interval', default=2,
+ help=_("The number of seconds the agent will wait between "
+ "polling for local device changes.")),
+ cfg.StrOpt('root_helper', default='sudo',
+ help=_("Root helper application.")),
]
ovs_opts = [
- cfg.StrOpt('integration_bridge', default='br-int'),
- cfg.StrOpt('openflow_controller', default='127.0.0.1:6633'),
- cfg.StrOpt('openflow_rest_api', default='127.0.0.1:8080'),
- cfg.IntOpt('tunnel_key_min', default=1),
- cfg.IntOpt('tunnel_key_max', default=0xffffff),
- cfg.StrOpt('tunnel_ip', default=None),
- cfg.StrOpt('tunnel_interface', default=None),
- cfg.IntOpt('ovsdb_port', default=6634),
- cfg.StrOpt('ovsdb_ip', default=None),
- cfg.StrOpt('ovsdb_interface', default=None),
+ cfg.StrOpt('integration_bridge', default='br-int',
+ help=_("Integration bridge to use")),
+ cfg.StrOpt('openflow_controller', default='127.0.0.1:6633',
+ help=_("OpenFlow controller to connect to")),
+ cfg.StrOpt('openflow_rest_api', default='127.0.0.1:8080',
+ help=_("OpenFlow REST API location")),
+ cfg.IntOpt('tunnel_key_min', default=1,
+ help=_("Minimum tunnel ID to use")),
+ cfg.IntOpt('tunnel_key_max', default=0xffffff,
+ help=_("Maximum tunnel ID to use")),
+ cfg.StrOpt('tunnel_ip', default=None,
+ help=_("Tunnel IP to use")),
+ cfg.StrOpt('tunnel_interface', default=None,
+ help=_("Tunnel interface to use")),
+ cfg.IntOpt('ovsdb_port', default=6634,
+ help=_("OVSDB port to connect to")),
+ cfg.StrOpt('ovsdb_ip', default=None,
+ help=_("OVSDB IP to connect to")),
+ cfg.StrOpt('ovsdb_interface', default=None,
+ help=_("OVSDB interface to connect to")),
]
agent_opts = [
- cfg.IntOpt('polling_interval', default=2),
- cfg.StrOpt('root_helper', default='sudo'),
+ cfg.StrOpt('root_helper', default='sudo',
+ help=_("Root helper application.")),
]