diff --git a/vmware_nsx_tempest/config.py b/vmware_nsx_tempest/config.py index 48ec6c88d1..116ffee9f6 100644 --- a/vmware_nsx_tempest/config.py +++ b/vmware_nsx_tempest/config.py @@ -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"), +] diff --git a/vmware_nsx_tempest/plugin.py b/vmware_nsx_tempest/plugin.py index 6e9f99d6a6..53f28be2f6 100644 --- a/vmware_nsx_tempest/plugin.py +++ b/vmware_nsx_tempest/plugin.py @@ -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)]