]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove references to enable_metadata_access_network_option
authorSalvatore Orlando <salv.orlando@gmail.com>
Tue, 13 Aug 2013 16:04:50 +0000 (09:04 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Tue, 13 Aug 2013 16:04:50 +0000 (09:04 -0700)
Bug 1211850

This configuration variable is vestigial and not used anywhere
in the code. References to it should be removed to avoid confusion.

Change-Id: I13f86fe8b964c163324160b4c983e773e6b93e40

etc/neutron/plugins/nicira/nvp.ini
neutron/plugins/nicira/check_nvp_config.py
neutron/plugins/nicira/common/config.py

index 7f74e29481b997f91069685da997ae8aca861dc5..77bf026c5542dd14ac43f9a593f4172d4d0231f8 100644 (file)
@@ -88,8 +88,5 @@
 # namespaces otherwise access_network should be used.
 # metadata_mode = access_network
 
-# Enables dedicated connection to the metadata proxy for metadata server access via Neutron router
-# enable_metadata_access_network = true
-
 # The default network transport type to use (stt, gre, bridge, ipsec_gre, or ipsec_stt)
 # default_transport_type = stt
index c33ef1af4d37c0a3d6b9a08a9467fd114ee407cc..d65d47e05363db42a4ab2240fd71cf525e22e674 100644 (file)
@@ -65,8 +65,6 @@ def main(argv):
            cfg.CONF.NVP.concurrent_connections)
     print "\tmax_lp_per_bridged_ls: %s" % cfg.CONF.NVP.max_lp_per_bridged_ls
     print "\tmax_lp_per_overlay_ls: %s" % cfg.CONF.NVP.max_lp_per_overlay_ls
-    print ("\tenable_metadata_access_network: %s" %
-           cfg.CONF.NVP.enable_metadata_access_network)
     print "------------------------  Cluster Options ------------------------"
     print "\trequested_timeout: %s" % cfg.CONF.req_timeout
     print "\tretries: %s" % cfg.CONF.retries
index 6d2d74f3b63219722c6cdd1e31ea2856c12fe568..a6fe73ca2a1b3dd8e61353205720b2aa0c3c8a7d 100644 (file)
@@ -36,9 +36,6 @@ nvp_opts = [
                       "This option is only useful if running on a host that "
                       "does not support namespaces otherwise access_network "
                       "should be used.")),
-    cfg.BoolOpt('enable_metadata_access_network', default=True,
-                help=_("Enables dedicated connection to the metadata proxy "
-                       "for metadata server access via Neutron router")),
     cfg.StrOpt('default_transport_type', default='stt',
                help=_("The default network tranport type to use (stt, gre, "
                       "bridge, ipsec_gre, or ipsec_stt)")),