Merge "Remove redundant default=None for config options"

This commit is contained in:
Jenkins 2014-05-28 22:21:23 +00:00 committed by Gerrit Code Review
commit c37a792f77
14 changed files with 26 additions and 34 deletions

View File

@ -65,7 +65,6 @@ class MetadataProxyHandler(object):
help=_("Turn off verification of the certificate for"
" ssl")),
cfg.StrOpt('auth_ca_cert',
default=None,
help=_("Certificate Authority public key (CA cert) "
"file for ssl")),
cfg.StrOpt('endpoint_type',

View File

@ -28,7 +28,6 @@ SG_RPC_VERSION = "1.1"
security_group_opts = [
cfg.StrOpt(
'firewall_driver',
default=None,
help=_('Driver for security groups firewall in the L2 agent')),
cfg.BoolOpt(
'enable_security_group',

View File

@ -101,7 +101,6 @@ core_opts = [
help=_('Authorization URL for connecting to nova in admin '
'context')),
cfg.StrOpt('nova_ca_certificates_file',
default=None,
help=_('CA file for novaclient to verify server certificates')),
cfg.BoolOpt('nova_api_insecure', default=False,
help=_("If True, ignore any SSL validation issues")),

View File

@ -36,7 +36,7 @@ restproxy_opts = [
"which performs the networking configuration. Only one"
"server is needed per deployment, but you may wish to"
"deploy multiple servers to support failover.")),
cfg.StrOpt('server_auth', default=None, secret=True,
cfg.StrOpt('server_auth', secret=True,
help=_("The username and password for authenticating against "
" the Big Switch or Floodlight controller.")),
cfg.BoolOpt('server_ssl', default=True,

View File

@ -22,22 +22,21 @@ from oslo.config import cfg
heleos_opts = [
cfg.StrOpt('esm_mgmt',
default=None,
help=_('ESM management root address')),
cfg.StrOpt('admin_username', default='admin',
help=_('ESM admin username.')),
cfg.StrOpt('admin_password', default=None,
cfg.StrOpt('admin_password',
secret=True,
help=_('ESM admin password.')),
cfg.StrOpt('router_image', default=None,
cfg.StrOpt('router_image',
help=_('Router image id (Embrane FW/VPN)')),
cfg.StrOpt('inband_id', default=None,
cfg.StrOpt('inband_id',
help=_('In band Security Zone id')),
cfg.StrOpt('oob_id', default=None,
cfg.StrOpt('oob_id',
help=_('Out of band Security Zone id')),
cfg.StrOpt('mgmt_id', default=None,
cfg.StrOpt('mgmt_id',
help=_('Management Security Zone id')),
cfg.StrOpt('dummy_utif_id', default=None,
cfg.StrOpt('dummy_utif_id',
help=_('Dummy user traffic Security Zone id')),
cfg.StrOpt('resource_pool_id', default='default',
help=_('Shared resource pool id')),

View File

@ -40,7 +40,7 @@ sdnve_opts = [
help=_("SDN-VE administrator user id")),
cfg.StrOpt('password', default='admin', secret=True,
help=_("SDN-VE administrator password")),
cfg.StrOpt('integration_bridge', default=None,
cfg.StrOpt('integration_bridge',
help=_("Integration bridge to use")),
cfg.BoolOpt('reset_bridge', default=True,
help=_("Reset the integration bridge before use")),

View File

@ -33,7 +33,6 @@ midonet_opts = [
help=_('ID of the project that MidoNet admin user'
'belongs to.')),
cfg.StrOpt('provider_router_id',
default=None,
help=_('Virtual provider router ID.')),
cfg.StrOpt('mode',
default='dev',

View File

@ -21,7 +21,7 @@ ml2_cisco_opts = [
help=_("VLAN Name prefix")),
cfg.BoolOpt('svi_round_robin', default=False,
help=_("Distribute SVI interfaces over all switches")),
cfg.StrOpt('managed_physical_network', default=None,
cfg.StrOpt('managed_physical_network',
help=_("The physical network managed by the switches.")),
]

View File

@ -37,7 +37,7 @@ vxlan_opts = [
help=_("Comma-separated list of <vni_min>:<vni_max> tuples "
"enumerating ranges of VXLAN VNI IDs that are "
"available for tenant network allocation")),
cfg.StrOpt('vxlan_group', default=None,
cfg.StrOpt('vxlan_group',
help=_("Multicast group for VXLAN. If unset, disables VXLAN "
"multicast mode.")),
]

View File

@ -47,9 +47,9 @@ ofc_opts = [
help=_("Enable packet filter")),
cfg.BoolOpt('use_ssl', default=False,
help=_("Use SSL to connect")),
cfg.StrOpt('key_file', default=None,
cfg.StrOpt('key_file',
help=_("Key file")),
cfg.StrOpt('cert_file', default=None,
cfg.StrOpt('cert_file',
help=_("Certificate file")),
cfg.BoolOpt('insecure_ssl', default=False,
help=_("Disable SSL certificate verification")),

View File

@ -75,7 +75,7 @@ agent_opts = [
"(gre and/or vxlan)")),
cfg.IntOpt('vxlan_udp_port', default=constants.VXLAN_UDP_PORT,
help=_("The UDP port to use for VXLAN tunnels.")),
cfg.IntOpt('veth_mtu', default=None,
cfg.IntOpt('veth_mtu',
help=_("MTU size of veth interfaces")),
cfg.BoolOpt('l2_population', default=False,
help=_("Use ml2 l2population mechanism driver to learn "

View File

@ -28,15 +28,15 @@ ovs_opts = [
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,
cfg.StrOpt('tunnel_ip',
help=_("Tunnel IP to use")),
cfg.StrOpt('tunnel_interface', default=None,
cfg.StrOpt('tunnel_interface',
help=_("Tunnel interface to use")),
cfg.IntOpt('ovsdb_port', default=6634,
help=_("OVSDB port to connect to")),
cfg.StrOpt('ovsdb_ip', default=None,
cfg.StrOpt('ovsdb_ip',
help=_("OVSDB IP to connect to")),
cfg.StrOpt('ovsdb_interface', default=None,
cfg.StrOpt('ovsdb_interface',
help=_("OVSDB interface to connect to")),
]

View File

@ -23,29 +23,29 @@ from oslo.config import cfg
heleos_opts = [
cfg.StrOpt('esm_mgmt',
help=_('ESM management root address')),
cfg.StrOpt('admin_username', default=None,
cfg.StrOpt('admin_username',
help=_('ESM admin username.')),
cfg.StrOpt('admin_password', default=None,
cfg.StrOpt('admin_password',
secret=True,
help=_('ESM admin password.')),
cfg.StrOpt('lb_image', default=None,
cfg.StrOpt('lb_image',
help=_('Load Balancer image id (Embrane LB)')),
cfg.StrOpt('inband_id', default=None,
cfg.StrOpt('inband_id',
help=_('In band Security Zone id for LBs')),
cfg.StrOpt('oob_id', default=None,
cfg.StrOpt('oob_id',
help=_('Out of band Security Zone id for LBs')),
cfg.StrOpt('mgmt_id', default=None,
cfg.StrOpt('mgmt_id',
help=_('Management Security Zone id for LBs')),
cfg.StrOpt('dummy_utif_id', default=None,
cfg.StrOpt('dummy_utif_id',
help=_('Dummy user traffic Security Zone id for LBs')),
cfg.StrOpt('resource_pool_id', default=None,
cfg.StrOpt('resource_pool_id',
help=_('Shared resource pool id')),
cfg.StrOpt('lb_flavor', default="small",
help=_('choose LB image flavor to use, accepted values: small, '
'medium')),
cfg.IntOpt('sync_interval', default=60,
help=_('resource synchronization interval in seconds')),
cfg.BoolOpt('async_requests', default=None,
cfg.BoolOpt('async_requests',
help=_('Define if the requests have '
'run asynchronously or not')),
]

View File

@ -65,15 +65,12 @@ socket_opts = [
default=False,
help=_('Enable SSL on the API server')),
cfg.StrOpt('ssl_ca_file',
default=None,
help=_("CA certificate file to use to verify "
"connecting clients")),
cfg.StrOpt('ssl_cert_file',
default=None,
help=_("Certificate file to use when starting "
"the server securely")),
cfg.StrOpt('ssl_key_file',
default=None,
help=_("Private key file to use when starting "
"the server securely")),
]