From 884b08e1b20a2f80fb6eba6f0c7405979b914817 Mon Sep 17 00:00:00 2001 From: Brandon Logan Date: Sat, 15 Mar 2014 22:32:13 -0500 Subject: [PATCH] Added config value help text in ns metadata proxy Change-Id: I9d59e902cf9ed89e29d93b29912c87f2bad73c7c Closes-Bug: #1215270 --- neutron/agent/metadata/namespace_proxy.py | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/neutron/agent/metadata/namespace_proxy.py b/neutron/agent/metadata/namespace_proxy.py index ed9be8f0e9a..0f32328074b 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 "