Added config value help text in ns metadata proxy

Change-Id: I9d59e902cf9ed89e29d93b29912c87f2bad73c7c
Closes-Bug: #1215270
This commit is contained in:
Brandon Logan 2014-03-15 22:32:13 -05:00
parent 0009e474e2
commit 884b08e1b2
1 changed files with 11 additions and 4 deletions

View File

@ -146,10 +146,17 @@ class ProxyDaemon(daemon.Daemon):
def main(): def main():
eventlet.monkey_patch() eventlet.monkey_patch()
opts = [ opts = [
cfg.StrOpt('network_id'), cfg.StrOpt('network_id',
cfg.StrOpt('router_id'), help=_('Network that will have instance metadata '
cfg.StrOpt('pid_file'), 'proxied.')),
cfg.BoolOpt('daemonize', default=True), 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', cfg.IntOpt('metadata_port',
default=9697, default=9697,
help=_("TCP Port to listen for metadata server " help=_("TCP Port to listen for metadata server "