Add NSXv3 config for tempest
In order to let vmware_nsx_tempest talk to NSXv3 client, we need to config some parameters in tempest.conf. Add the required parameters in config.py to enable them. Change-Id: I701dd7b86656976a854d73ac4daa5498e4cd112b
This commit is contained in:
parent
ccdce866c6
commit
d57f6263de
@ -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"),
|
||||
]
|
||||
|
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user