From: Brandon Logan Date: Sun, 16 Mar 2014 03:32:13 +0000 (-0500) Subject: Added config value help text in ns metadata proxy X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=884b08e1b20a2f80fb6eba6f0c7405979b914817;p=openstack-build%2Fneutron-build.git Added config value help text in ns metadata proxy Change-Id: I9d59e902cf9ed89e29d93b29912c87f2bad73c7c Closes-Bug: #1215270 --- diff --git a/neutron/agent/metadata/namespace_proxy.py b/neutron/agent/metadata/namespace_proxy.py index ed9be8f0e..0f3232807 100644 --- a/neutron/agent/metadata/namespace_proxy.py +++ b/neutron/agent/metadata/namespace_proxy.py @@ -146,10 +146,17 @@ class ProxyDaemon(daemon.Daemon): def main(): eventlet.monkey_patch() opts = [ - cfg.StrOpt('network_id'), - cfg.StrOpt('router_id'), - cfg.StrOpt('pid_file'), - cfg.BoolOpt('daemonize', default=True), + cfg.StrOpt('network_id', + help=_('Network that will have instance metadata ' + 'proxied.')), + cfg.StrOpt('router_id', + help=_('Router that will have connected instances\' ' + 'metadata proxied.')), + cfg.StrOpt('pid_file', + help=_('Location of pid file of this process.')), + cfg.BoolOpt('daemonize', + default=True, + help=_('Run as daemon.')), cfg.IntOpt('metadata_port', default=9697, help=_("TCP Port to listen for metadata server "