Merge "Add NSXv3 config for tempest"
This commit is contained in:
commit
91cb75620b
@ -100,3 +100,18 @@ L2gwGroup = [
|
|||||||
help="l2gw multiple devices, interface has multiple VLANs"
|
help="l2gw multiple devices, interface has multiple VLANs"
|
||||||
" m-ifs::dvportgroup-144|138#246;dvportgroup-155|339"),
|
" 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"),
|
||||||
|
]
|
||||||
|
@ -53,6 +53,9 @@ class VMwareNsxTempestPlugin(plugins.TempestPlugin):
|
|||||||
config.register_opt_group(
|
config.register_opt_group(
|
||||||
conf,
|
conf,
|
||||||
config_nsx.l2gw_group, config_nsx.L2gwGroup)
|
config_nsx.l2gw_group, config_nsx.L2gwGroup)
|
||||||
|
config.register_opt_group(
|
||||||
|
conf,
|
||||||
|
config_nsx.nsxv3_group, config_nsx.NSXv3Group)
|
||||||
|
|
||||||
def get_opt_lists(self):
|
def get_opt_lists(self):
|
||||||
return [(config_nsx.scenario_group.name, config_nsx.scenario_group)]
|
return [(config_nsx.scenario_group.name, config_nsx.scenario_group)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user