Merge "Remove redundant default=None for config options"
This commit is contained in:
commit
3b2adad972
@ -65,7 +65,6 @@ class MetadataProxyHandler(object):
|
|||||||
help=_("Turn off verification of the certificate for"
|
help=_("Turn off verification of the certificate for"
|
||||||
" ssl")),
|
" ssl")),
|
||||||
cfg.StrOpt('auth_ca_cert',
|
cfg.StrOpt('auth_ca_cert',
|
||||||
default=None,
|
|
||||||
help=_("Certificate Authority public key (CA cert) "
|
help=_("Certificate Authority public key (CA cert) "
|
||||||
"file for ssl")),
|
"file for ssl")),
|
||||||
cfg.StrOpt('endpoint_type',
|
cfg.StrOpt('endpoint_type',
|
||||||
|
@ -28,7 +28,6 @@ SG_RPC_VERSION = "1.1"
|
|||||||
security_group_opts = [
|
security_group_opts = [
|
||||||
cfg.StrOpt(
|
cfg.StrOpt(
|
||||||
'firewall_driver',
|
'firewall_driver',
|
||||||
default=None,
|
|
||||||
help=_('Driver for security groups firewall in the L2 agent')),
|
help=_('Driver for security groups firewall in the L2 agent')),
|
||||||
cfg.BoolOpt(
|
cfg.BoolOpt(
|
||||||
'enable_security_group',
|
'enable_security_group',
|
||||||
|
@ -101,7 +101,6 @@ core_opts = [
|
|||||||
help=_('Authorization URL for connecting to nova in admin '
|
help=_('Authorization URL for connecting to nova in admin '
|
||||||
'context')),
|
'context')),
|
||||||
cfg.StrOpt('nova_ca_certificates_file',
|
cfg.StrOpt('nova_ca_certificates_file',
|
||||||
default=None,
|
|
||||||
help=_('CA file for novaclient to verify server certificates')),
|
help=_('CA file for novaclient to verify server certificates')),
|
||||||
cfg.BoolOpt('nova_api_insecure', default=False,
|
cfg.BoolOpt('nova_api_insecure', default=False,
|
||||||
help=_("If True, ignore any SSL validation issues")),
|
help=_("If True, ignore any SSL validation issues")),
|
||||||
|
@ -36,7 +36,7 @@ restproxy_opts = [
|
|||||||
"which performs the networking configuration. Only one"
|
"which performs the networking configuration. Only one"
|
||||||
"server is needed per deployment, but you may wish to"
|
"server is needed per deployment, but you may wish to"
|
||||||
"deploy multiple servers to support failover.")),
|
"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 "
|
help=_("The username and password for authenticating against "
|
||||||
" the Big Switch or Floodlight controller.")),
|
" the Big Switch or Floodlight controller.")),
|
||||||
cfg.BoolOpt('server_ssl', default=True,
|
cfg.BoolOpt('server_ssl', default=True,
|
||||||
|
@ -22,22 +22,21 @@ from oslo.config import cfg
|
|||||||
|
|
||||||
heleos_opts = [
|
heleos_opts = [
|
||||||
cfg.StrOpt('esm_mgmt',
|
cfg.StrOpt('esm_mgmt',
|
||||||
default=None,
|
|
||||||
help=_('ESM management root address')),
|
help=_('ESM management root address')),
|
||||||
cfg.StrOpt('admin_username', default='admin',
|
cfg.StrOpt('admin_username', default='admin',
|
||||||
help=_('ESM admin username.')),
|
help=_('ESM admin username.')),
|
||||||
cfg.StrOpt('admin_password', default=None,
|
cfg.StrOpt('admin_password',
|
||||||
secret=True,
|
secret=True,
|
||||||
help=_('ESM admin password.')),
|
help=_('ESM admin password.')),
|
||||||
cfg.StrOpt('router_image', default=None,
|
cfg.StrOpt('router_image',
|
||||||
help=_('Router image id (Embrane FW/VPN)')),
|
help=_('Router image id (Embrane FW/VPN)')),
|
||||||
cfg.StrOpt('inband_id', default=None,
|
cfg.StrOpt('inband_id',
|
||||||
help=_('In band Security Zone id')),
|
help=_('In band Security Zone id')),
|
||||||
cfg.StrOpt('oob_id', default=None,
|
cfg.StrOpt('oob_id',
|
||||||
help=_('Out of band Security Zone id')),
|
help=_('Out of band Security Zone id')),
|
||||||
cfg.StrOpt('mgmt_id', default=None,
|
cfg.StrOpt('mgmt_id',
|
||||||
help=_('Management Security Zone 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')),
|
help=_('Dummy user traffic Security Zone id')),
|
||||||
cfg.StrOpt('resource_pool_id', default='default',
|
cfg.StrOpt('resource_pool_id', default='default',
|
||||||
help=_('Shared resource pool id')),
|
help=_('Shared resource pool id')),
|
||||||
|
@ -40,7 +40,7 @@ sdnve_opts = [
|
|||||||
help=_("SDN-VE administrator user id")),
|
help=_("SDN-VE administrator user id")),
|
||||||
cfg.StrOpt('password', default='admin', secret=True,
|
cfg.StrOpt('password', default='admin', secret=True,
|
||||||
help=_("SDN-VE administrator password")),
|
help=_("SDN-VE administrator password")),
|
||||||
cfg.StrOpt('integration_bridge', default=None,
|
cfg.StrOpt('integration_bridge',
|
||||||
help=_("Integration bridge to use")),
|
help=_("Integration bridge to use")),
|
||||||
cfg.BoolOpt('reset_bridge', default=True,
|
cfg.BoolOpt('reset_bridge', default=True,
|
||||||
help=_("Reset the integration bridge before use")),
|
help=_("Reset the integration bridge before use")),
|
||||||
|
@ -33,7 +33,6 @@ midonet_opts = [
|
|||||||
help=_('ID of the project that MidoNet admin user'
|
help=_('ID of the project that MidoNet admin user'
|
||||||
'belongs to.')),
|
'belongs to.')),
|
||||||
cfg.StrOpt('provider_router_id',
|
cfg.StrOpt('provider_router_id',
|
||||||
default=None,
|
|
||||||
help=_('Virtual provider router ID.')),
|
help=_('Virtual provider router ID.')),
|
||||||
cfg.StrOpt('mode',
|
cfg.StrOpt('mode',
|
||||||
default='dev',
|
default='dev',
|
||||||
|
@ -21,7 +21,7 @@ ml2_cisco_opts = [
|
|||||||
help=_("VLAN Name prefix")),
|
help=_("VLAN Name prefix")),
|
||||||
cfg.BoolOpt('svi_round_robin', default=False,
|
cfg.BoolOpt('svi_round_robin', default=False,
|
||||||
help=_("Distribute SVI interfaces over all switches")),
|
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.")),
|
help=_("The physical network managed by the switches.")),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ vxlan_opts = [
|
|||||||
help=_("Comma-separated list of <vni_min>:<vni_max> tuples "
|
help=_("Comma-separated list of <vni_min>:<vni_max> tuples "
|
||||||
"enumerating ranges of VXLAN VNI IDs that are "
|
"enumerating ranges of VXLAN VNI IDs that are "
|
||||||
"available for tenant network allocation")),
|
"available for tenant network allocation")),
|
||||||
cfg.StrOpt('vxlan_group', default=None,
|
cfg.StrOpt('vxlan_group',
|
||||||
help=_("Multicast group for VXLAN. If unset, disables VXLAN "
|
help=_("Multicast group for VXLAN. If unset, disables VXLAN "
|
||||||
"multicast mode.")),
|
"multicast mode.")),
|
||||||
]
|
]
|
||||||
|
@ -47,9 +47,9 @@ ofc_opts = [
|
|||||||
help=_("Enable packet filter")),
|
help=_("Enable packet filter")),
|
||||||
cfg.BoolOpt('use_ssl', default=False,
|
cfg.BoolOpt('use_ssl', default=False,
|
||||||
help=_("Use SSL to connect")),
|
help=_("Use SSL to connect")),
|
||||||
cfg.StrOpt('key_file', default=None,
|
cfg.StrOpt('key_file',
|
||||||
help=_("Key file")),
|
help=_("Key file")),
|
||||||
cfg.StrOpt('cert_file', default=None,
|
cfg.StrOpt('cert_file',
|
||||||
help=_("Certificate file")),
|
help=_("Certificate file")),
|
||||||
cfg.BoolOpt('insecure_ssl', default=False,
|
cfg.BoolOpt('insecure_ssl', default=False,
|
||||||
help=_("Disable SSL certificate verification")),
|
help=_("Disable SSL certificate verification")),
|
||||||
|
@ -75,7 +75,7 @@ agent_opts = [
|
|||||||
"(gre and/or vxlan)")),
|
"(gre and/or vxlan)")),
|
||||||
cfg.IntOpt('vxlan_udp_port', default=constants.VXLAN_UDP_PORT,
|
cfg.IntOpt('vxlan_udp_port', default=constants.VXLAN_UDP_PORT,
|
||||||
help=_("The UDP port to use for VXLAN tunnels.")),
|
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")),
|
help=_("MTU size of veth interfaces")),
|
||||||
cfg.BoolOpt('l2_population', default=False,
|
cfg.BoolOpt('l2_population', default=False,
|
||||||
help=_("Use ml2 l2population mechanism driver to learn "
|
help=_("Use ml2 l2population mechanism driver to learn "
|
||||||
|
@ -28,15 +28,15 @@ ovs_opts = [
|
|||||||
help=_("Minimum tunnel ID to use")),
|
help=_("Minimum tunnel ID to use")),
|
||||||
cfg.IntOpt('tunnel_key_max', default=0xffffff,
|
cfg.IntOpt('tunnel_key_max', default=0xffffff,
|
||||||
help=_("Maximum tunnel ID to use")),
|
help=_("Maximum tunnel ID to use")),
|
||||||
cfg.StrOpt('tunnel_ip', default=None,
|
cfg.StrOpt('tunnel_ip',
|
||||||
help=_("Tunnel IP to use")),
|
help=_("Tunnel IP to use")),
|
||||||
cfg.StrOpt('tunnel_interface', default=None,
|
cfg.StrOpt('tunnel_interface',
|
||||||
help=_("Tunnel interface to use")),
|
help=_("Tunnel interface to use")),
|
||||||
cfg.IntOpt('ovsdb_port', default=6634,
|
cfg.IntOpt('ovsdb_port', default=6634,
|
||||||
help=_("OVSDB port to connect to")),
|
help=_("OVSDB port to connect to")),
|
||||||
cfg.StrOpt('ovsdb_ip', default=None,
|
cfg.StrOpt('ovsdb_ip',
|
||||||
help=_("OVSDB IP to connect to")),
|
help=_("OVSDB IP to connect to")),
|
||||||
cfg.StrOpt('ovsdb_interface', default=None,
|
cfg.StrOpt('ovsdb_interface',
|
||||||
help=_("OVSDB interface to connect to")),
|
help=_("OVSDB interface to connect to")),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -23,29 +23,29 @@ from oslo.config import cfg
|
|||||||
heleos_opts = [
|
heleos_opts = [
|
||||||
cfg.StrOpt('esm_mgmt',
|
cfg.StrOpt('esm_mgmt',
|
||||||
help=_('ESM management root address')),
|
help=_('ESM management root address')),
|
||||||
cfg.StrOpt('admin_username', default=None,
|
cfg.StrOpt('admin_username',
|
||||||
help=_('ESM admin username.')),
|
help=_('ESM admin username.')),
|
||||||
cfg.StrOpt('admin_password', default=None,
|
cfg.StrOpt('admin_password',
|
||||||
secret=True,
|
secret=True,
|
||||||
help=_('ESM admin password.')),
|
help=_('ESM admin password.')),
|
||||||
cfg.StrOpt('lb_image', default=None,
|
cfg.StrOpt('lb_image',
|
||||||
help=_('Load Balancer image id (Embrane LB)')),
|
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')),
|
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')),
|
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')),
|
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')),
|
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')),
|
help=_('Shared resource pool id')),
|
||||||
cfg.StrOpt('lb_flavor', default="small",
|
cfg.StrOpt('lb_flavor', default="small",
|
||||||
help=_('choose LB image flavor to use, accepted values: small, '
|
help=_('choose LB image flavor to use, accepted values: small, '
|
||||||
'medium')),
|
'medium')),
|
||||||
cfg.IntOpt('sync_interval', default=60,
|
cfg.IntOpt('sync_interval', default=60,
|
||||||
help=_('resource synchronization interval in seconds')),
|
help=_('resource synchronization interval in seconds')),
|
||||||
cfg.BoolOpt('async_requests', default=None,
|
cfg.BoolOpt('async_requests',
|
||||||
help=_('Define if the requests have '
|
help=_('Define if the requests have '
|
||||||
'run asynchronously or not')),
|
'run asynchronously or not')),
|
||||||
]
|
]
|
||||||
|
@ -65,15 +65,12 @@ socket_opts = [
|
|||||||
default=False,
|
default=False,
|
||||||
help=_('Enable SSL on the API server')),
|
help=_('Enable SSL on the API server')),
|
||||||
cfg.StrOpt('ssl_ca_file',
|
cfg.StrOpt('ssl_ca_file',
|
||||||
default=None,
|
|
||||||
help=_("CA certificate file to use to verify "
|
help=_("CA certificate file to use to verify "
|
||||||
"connecting clients")),
|
"connecting clients")),
|
||||||
cfg.StrOpt('ssl_cert_file',
|
cfg.StrOpt('ssl_cert_file',
|
||||||
default=None,
|
|
||||||
help=_("Certificate file to use when starting "
|
help=_("Certificate file to use when starting "
|
||||||
"the server securely")),
|
"the server securely")),
|
||||||
cfg.StrOpt('ssl_key_file',
|
cfg.StrOpt('ssl_key_file',
|
||||||
default=None,
|
|
||||||
help=_("Private key file to use when starting "
|
help=_("Private key file to use when starting "
|
||||||
"the server securely")),
|
"the server securely")),
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user