Merge "Add NSXv3 config for tempest"

This commit is contained in:
Jenkins 2016-01-28 00:50:42 +00:00 committed by Gerrit Code Review
commit 91cb75620b
2 changed files with 18 additions and 0 deletions

View File

@ -100,3 +100,18 @@ L2gwGroup = [
help="l2gw multiple devices, interface has multiple VLANs"
" m-ifs::dvportgroup-144|138#246;dvportgroup-155|339"),
]
nsxv3_group = cfg.OptGroup(name='nsxv3',
title="NSXv3 Configuration Options")
NSXv3Group = [
cfg.StrOpt('nsx_manager',
default='',
help="NSX manager IP address"),
cfg.StrOpt('nsx_user',
default='admin',
help="NSX manager username"),
cfg.StrOpt('nsx_password',
default='default',
help="NSX manager password"),
]

View File

@ -53,6 +53,9 @@ class VMwareNsxTempestPlugin(plugins.TempestPlugin):
config.register_opt_group(
conf,
config_nsx.l2gw_group, config_nsx.L2gwGroup)
config.register_opt_group(
conf,
config_nsx.nsxv3_group, config_nsx.NSXv3Group)
def get_opt_lists(self):
return [(config_nsx.scenario_group.name, config_nsx.scenario_group)]