[switch]
-# username = <mgmt admin username>
-# password = <mgmt admin password>
-# address = <switch mgmt ip address>
-# ostype = NOS
+# username = The SSH username to use
+# password = The SSH password to use
+# address = The address of the host to SSH to
+# ostype = Should be NOS, but is unused otherwise
#
# Example:
# username = admin
# ostype = NOS
[physical_interface]
-# physical_interface = <physical network name>
+# physical_interface = The network interface to use when creating a port
#
# Example:
# physical_interface = physnet1
AGENT_OWNER_PREFIX = "network:"
NOS_DRIVER = 'neutron.plugins.brocade.nos.nosdriver.NOSdriver'
-SWITCH_OPTS = [cfg.StrOpt('address', default=''),
- cfg.StrOpt('username', default=''),
- cfg.StrOpt('password', default='', secret=True),
- cfg.StrOpt('ostype', default='NOS')
+SWITCH_OPTS = [cfg.StrOpt('address', default='',
+ help=_('The address of the host to SSH to')),
+ cfg.StrOpt('username', default='',
+ help=_('The SSH username to use')),
+ cfg.StrOpt('password', default='', secret=True,
+ help=_('The SSH password to use')),
+ cfg.StrOpt('ostype', default='NOS',
+ help=_('Currently unused'))
]
-PHYSICAL_INTERFACE_OPTS = [cfg.StrOpt('physical_interface', default='eth0')
+PHYSICAL_INTERFACE_OPTS = [cfg.StrOpt('physical_interface', default='eth0',
+ help=_('The network interface to use when creating'
+ 'a port'))
]
cfg.CONF.register_opts(SWITCH_OPTS, "SWITCH")