refactor top-level pkg to vmware_nsx_tempest_plugin

This patch refactors the source and supporting files to use the top
level package name of vmware_nsx_tempest_plugin. This better matches
the project name as well as the name we plan to publish to PYPI with
as per the discussion in [1].

A sample release has been published to the test pypi repo [2] to
ensure this works.

[1] https://review.openstack.org/#/c/584498/
[2] https://test.pypi.org/project/vmware-nsx-tempest-plugin/

Change-Id: I4cd89f49562c780754ebfb7e93c38b4e6556e314
This commit is contained in:
Boden R 2018-07-23 11:13:28 -06:00
parent 31e981d236
commit 802164f2a2
160 changed files with 250 additions and 233 deletions

View File

@ -1,4 +1,4 @@
[DEFAULT] [DEFAULT]
test_path=./vmware_nsx_tempest/tests test_path=./vmware_nsx_tempest_plugin/tests
top_dir=./ top_dir=./

View File

@ -5,7 +5,7 @@ test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_DEBUG=${OS_DEBUG:-1} \ OS_DEBUG=${OS_DEBUG:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \ OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \
OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \ OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \
${PYTHON:-python} -m subunit.run discover -t ${OS_TOP_LEVEL:-./} ${OS_TEST_PATH:-./vmware_nsx_tempest} $LISTOPT $IDOPTION ${PYTHON:-python} -m subunit.run discover -t ${OS_TOP_LEVEL:-./} ${OS_TEST_PATH:-./vmware_nsx_tempest_plugin} $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE test_id_option=--load-list $IDFILE
test_list_option=--list test_list_option=--list

View File

@ -61,11 +61,11 @@ Installation:
Location: /opt/stack/vmware-nsx-tempest-plugin Location: /opt/stack/vmware-nsx-tempest-plugin
#. Validate installed vmware_nsx_tempest successfully do:: #. Validate installed vmware_nsx_tempest_plugin successfully do::
$ cd /opt/stack/vmware-nsx-tempest-plugin $ cd /opt/stack/vmware-nsx-tempest-plugin
$ ostestr -l vmware_nsx_tempest $ ostestr -l vmware_nsx_tempest_plugin
$ ostestr vmware_nsx_tempest.tests.nsxv3.scenario.test_mdproxy.TestMDProxy.test_mdproxy_ping $ ostestr vmware_nsx_tempest_plugin.tests.nsxv3.scenario.test_mdproxy.TestMDProxy.test_mdproxy_ping
$ python -m testtools.run vmware_nsx_tempest.tests.nsxv3.scenario.test_mdproxy.TestMDProxy.test_mdproxy_ping $ python -m testtools.run vmware_nsx_tempest.tests.nsxv3.scenario.test_mdproxy.TestMDProxy.test_mdproxy_ping
Your installation failed, if no tests are shown. Your installation failed, if no tests are shown.
@ -77,8 +77,8 @@ vmware-nsx-tempest tests are tempest tests, you need to
run from tempest directory. For example, to run only l2-gateway tests:: run from tempest directory. For example, to run only l2-gateway tests::
$ cd /opt/stack/tempest $ cd /opt/stack/tempest
$ ostestr vmware_nsx_tempest.*test_l2_gateway $ ostestr vmware_nsx_tempest_plugin.*test_l2_gateway
$ ostestr vmware_nsx_tempest.tests.nsxv.api.test_l2_gateway_connection.L2GatewayConnectionTest.test_csuld_single_device_interface_vlan $ ostestr vmware_nsx_tempest_plugin.tests.nsxv.api.test_l2_gateway_connection.L2GatewayConnectionTest.test_csuld_single_device_interface_vlan
TechNote on vmware-nsx-tempest-plugin: TechNote on vmware-nsx-tempest-plugin:
========================================= =========================================

View File

@ -21,7 +21,7 @@ classifier =
[files] [files]
packages = packages =
vmware_nsx_tempest vmware_nsx_tempest_plugin
[build_sphinx] [build_sphinx]
all-files = 1 all-files = 1
@ -33,19 +33,19 @@ build-dir = doc/build
upload-dir = doc/build/html upload-dir = doc/build/html
[compile_catalog] [compile_catalog]
directory = vmware_nsx_tempest/locale directory = vmware_nsx_tempest_plugin/locale
domain = vmware_nsx_tempest domain = vmware_nsx_tempest_plugin
[update_catalog] [update_catalog]
domain = vmware_nsx_tempest domain = vmware_nsx_tempest_plugin
output_dir = vmware_nsx_tempest/locale output_dir = vmware_nsx_tempest_plugin/locale
input_file = vmware_nsx_tempest/locale/vmware_nsx_tempest.pot input_file = vmware_nsx_tempest_plugin/locale/vmware_nsx_tempest.pot
[extract_messages] [extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg mapping_file = babel.cfg
output_file = vmware_nsx_tempest/locale/vmware_nsx_tempest.pot output_file = vmware_nsx_tempest_plugin/locale/vmware_nsx_tempest_plugin.pot
[entry_points] [entry_points]
tempest.test_plugins = tempest.test_plugins =
vmware-nsx-tempest-plugin = vmware_nsx_tempest.plugin:VmwareNsxTempestPlugin vmware-nsx-tempest-plugin = vmware_nsx_tempest_plugin.plugin:VmwareNsxTempestPlugin

View File

@ -90,4 +90,4 @@ import-order-style = pep8
# B109 password_config_option_not_marked_secret # B109 password_config_option_not_marked_secret
# B602 subprocess_popen_with_shell_equals_true - removed when fixed # B602 subprocess_popen_with_shell_equals_true - removed when fixed
# B605 start_process_with_a_shell - remove when fixed # B605 start_process_with_a_shell - remove when fixed
commands = bandit -r vmware_nsx_tempest -n 5 -s B108,B109,B602,B605 -ll commands = bandit -r vmware_nsx_tempest_plugin -n 5 -s B108,B109,B602,B605 -ll

View File

@ -14,7 +14,7 @@
import oslo_i18n import oslo_i18n
DOMAIN = "vmware_nsx_tempest" DOMAIN = "vmware_nsx_tempest_plugin"
_translators = oslo_i18n.TranslatorFactory(domain=DOMAIN) _translators = oslo_i18n.TranslatorFactory(domain=DOMAIN)

View File

@ -24,8 +24,8 @@ from tempest.lib.common.utils import data_utils
from tempest.lib.common.utils import test_utils from tempest.lib.common.utils import test_utils
from tempest.lib import exceptions as lib_exc from tempest.lib import exceptions as lib_exc
from vmware_nsx_tempest.common import constants from vmware_nsx_tempest_plugin.common import constants
from vmware_nsx_tempest.tests.scenario import manager from vmware_nsx_tempest_plugin.tests.scenario import manager
CONF = config.CONF CONF = config.CONF
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@ -22,17 +22,17 @@ from tempest.lib.common.utils import data_utils
from tempest.lib.common.utils import test_utils from tempest.lib.common.utils import test_utils
from tempest.lib import exceptions as lib_exc from tempest.lib import exceptions as lib_exc
from vmware_nsx_tempest._i18n import _ from vmware_nsx_tempest_plugin._i18n import _
from vmware_nsx_tempest.common import constants from vmware_nsx_tempest_plugin.common import constants
from vmware_nsx_tempest.lib import traffic_manager from vmware_nsx_tempest_plugin.lib import traffic_manager
from vmware_nsx_tempest.services import designate_base from vmware_nsx_tempest_plugin.services import designate_base
from vmware_nsx_tempest.services.lbaas import health_monitors_client from vmware_nsx_tempest_plugin.services.lbaas import health_monitors_client
from vmware_nsx_tempest.services.lbaas import listeners_client from vmware_nsx_tempest_plugin.services.lbaas import listeners_client
from vmware_nsx_tempest.services.lbaas import load_balancers_client from vmware_nsx_tempest_plugin.services.lbaas import load_balancers_client
from vmware_nsx_tempest.services.lbaas import members_client from vmware_nsx_tempest_plugin.services.lbaas import members_client
from vmware_nsx_tempest.services.lbaas import pools_client from vmware_nsx_tempest_plugin.services.lbaas import pools_client
from vmware_nsx_tempest.services import nsx_client from vmware_nsx_tempest_plugin.services import nsx_client
from vmware_nsx_tempest.services import openstack_network_clients from vmware_nsx_tempest_plugin.services import openstack_network_clients
LOG = constants.log.getLogger(__name__) LOG = constants.log.getLogger(__name__)

View File

@ -28,8 +28,8 @@ from tempest import config
from tempest import exceptions from tempest import exceptions
from tempest.lib.common.utils import test_utils from tempest.lib.common.utils import test_utils
from vmware_nsx_tempest.common import constants from vmware_nsx_tempest_plugin.common import constants
from vmware_nsx_tempest.lib import appliance_manager from vmware_nsx_tempest_plugin.lib import appliance_manager
CONF = config.CONF CONF = config.CONF

View File

@ -19,7 +19,7 @@ import os
from tempest import config from tempest import config
from tempest.test_discover import plugins from tempest.test_discover import plugins
from vmware_nsx_tempest import config as config_nsx from vmware_nsx_tempest_plugin import config as config_nsx
_opts = [ _opts = [
@ -34,7 +34,7 @@ _opts = [
class VmwareNsxTempestPlugin(plugins.TempestPlugin): class VmwareNsxTempestPlugin(plugins.TempestPlugin):
"""Our addon configuration is defined at vmware_nsx_tempest/config.py """Our addon configuration is defined at vmware_nsx_tempest_plugin/config.py
1. register_opts() to register group/opts to Tempest 1. register_opts() to register group/opts to Tempest
2. get_opt_lists() to pass config to Tempest 2. get_opt_lists() to pass config to Tempest
@ -46,7 +46,7 @@ class VmwareNsxTempestPlugin(plugins.TempestPlugin):
def load_tests(self): def load_tests(self):
mydir = os.path.dirname(os.path.abspath(__file__)) mydir = os.path.dirname(os.path.abspath(__file__))
base_path = os.path.split(mydir)[0] base_path = os.path.split(mydir)[0]
test_dir = "vmware_nsx_tempest/tests" test_dir = "vmware_nsx_tempest_plugin/tests"
test_fullpath = os.path.join(base_path, test_dir) test_fullpath = os.path.join(base_path, test_dir)
return test_fullpath, base_path return test_fullpath, base_path

View File

@ -18,7 +18,7 @@
from tempest import config from tempest import config
from vmware_nsx_tempest.common import constants from vmware_nsx_tempest_plugin.common import constants
LOG = constants.log.getLogger(__name__) LOG = constants.log.getLogger(__name__)

View File

@ -22,7 +22,7 @@ from six.moves.urllib import parse as urllib
from tempest.lib.common import rest_client from tempest.lib.common import rest_client
from tempest.lib import exceptions as lib_exc from tempest.lib import exceptions as lib_exc
from vmware_nsx_tempest.common import models from vmware_nsx_tempest_plugin.common import models
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@ -16,7 +16,7 @@
from tempest import config from tempest import config
from tempest.lib import exceptions as lib_exc from tempest.lib import exceptions as lib_exc
from vmware_nsx_tempest.services import network_client_base as base from vmware_nsx_tempest_plugin.services import network_client_base as base
CONF = config.CONF CONF = config.CONF

View File

@ -16,7 +16,7 @@ from oslo_log import log
from tempest.lib.services.network import base from tempest.lib.services.network import base
from vmware_nsx_tempest.common import constants from vmware_nsx_tempest_plugin.common import constants
LOG = log.getLogger(__name__) LOG = log.getLogger(__name__)

View File

@ -12,7 +12,8 @@
from tempest.lib.services.network import base from tempest.lib.services.network import base
from vmware_nsx_tempest.services import network_client_base as base_client from vmware_nsx_tempest_plugin.services import network_client_base \
as base_client
class L2GatewayConnectionClient(base.BaseNetworkClient): class L2GatewayConnectionClient(base.BaseNetworkClient):
@ -50,7 +51,8 @@ def get_client(client_mgr):
For itempest user: For itempest user:
from itempest import load_our_solar_system as osn from itempest import load_our_solar_system as osn
from vmware_nsx_tempest.services import l2_gateway_connection_client from vmware_nsx_tempest_plugin.services import
l2_gateway_connection_client
l2gwc_client = l2_gateway_connection_client.get_client(osn.adm.manager) l2gwc_client = l2_gateway_connection_client.get_client(osn.adm.manager)
For tempest user: For tempest user:
l2gwc_client = l2_gateway_connection_client.get_client(cls.os_adm) l2gwc_client = l2_gateway_connection_client.get_client(cls.os_adm)

View File

@ -14,7 +14,8 @@
from tempest.lib.services.network import base from tempest.lib.services.network import base
from vmware_nsx_tempest.services import network_client_base as base_client from vmware_nsx_tempest_plugin.services import network_client_base \
as base_client
class HealthMonitorsClient(base.BaseNetworkClient): class HealthMonitorsClient(base.BaseNetworkClient):
@ -52,7 +53,8 @@ def get_client(client_mgr):
For itempest user: For itempest user:
from itempest import load_our_solar_system as osn from itempest import load_our_solar_system as osn
from vmware_nsx_tempest.services.lbaas import health_monitors_client from vmware_nsx_tempest_plugin.services.lbaas import
health_monitors_client
healthmonitors_client = health_monitors_client.get_client( healthmonitors_client = health_monitors_client.get_client(
osn.adm.manager) osn.adm.manager)
For tempest user: For tempest user:

View File

@ -11,7 +11,8 @@
# under the License. # under the License.
from tempest.lib.services.network import base from tempest.lib.services.network import base
from vmware_nsx_tempest.services import network_client_base as base_client from vmware_nsx_tempest_plugin.services import network_client_base \
as base_client
class L7PoliciesClient(base.BaseNetworkClient): class L7PoliciesClient(base.BaseNetworkClient):

View File

@ -12,7 +12,8 @@
from tempest.lib.services.network import base from tempest.lib.services.network import base
from vmware_nsx_tempest.services import network_client_base as base_client from vmware_nsx_tempest_plugin.services import network_client_base \
as base_client
class L7RulesClient(base.BaseNetworkClient): class L7RulesClient(base.BaseNetworkClient):

View File

@ -14,7 +14,8 @@
from tempest.lib.services.network import base from tempest.lib.services.network import base
from vmware_nsx_tempest.services import network_client_base as base_client from vmware_nsx_tempest_plugin.services import network_client_base \
as base_client
class ListenersClient(base.BaseNetworkClient): class ListenersClient(base.BaseNetworkClient):
@ -52,7 +53,7 @@ def get_client(client_mgr):
For itempest user: For itempest user:
from itempest import load_our_solar_system as osn from itempest import load_our_solar_system as osn
from vmware_nsx_tempest.services.lbaas import pools_client from vmware_nsx_tempest_plugin.services.lbaas import pools_client
lbaas_client = pools_client.get_client(osn.adm.manager) lbaas_client = pools_client.get_client(osn.adm.manager)
For tempest user: For tempest user:
lbaas_client = pools_client.get_client(osn.adm) lbaas_client = pools_client.get_client(osn.adm)

View File

@ -17,8 +17,9 @@ import time
from tempest.lib import exceptions from tempest.lib import exceptions
from tempest.lib.services.network import base from tempest.lib.services.network import base
from vmware_nsx_tempest._i18n import _ from vmware_nsx_tempest_plugin._i18n import _
from vmware_nsx_tempest.services import network_client_base as base_client from vmware_nsx_tempest_plugin.services import network_client_base \
as base_client
LB_NOTFOUND = "loadbalancer {lb_id} not found" LB_NOTFOUND = "loadbalancer {lb_id} not found"
@ -122,7 +123,8 @@ def get_client(client_mgr):
For itempest user: For itempest user:
from itempest import load_our_solar_system as osn from itempest import load_our_solar_system as osn
from vmware_nsx_tempest.services.lbaas import load_balancers_client from vmware_nsx_tempest_plugin.services.lbaas import
load_balancers_client
lbaas_client = load_balancers_client.get_client(osn.adm.manager) lbaas_client = load_balancers_client.get_client(osn.adm.manager)
For tempest user: For tempest user:
lbaas_client = load_balancers_client.get_client(osn.adm) lbaas_client = load_balancers_client.get_client(osn.adm)

View File

@ -13,7 +13,8 @@
# under the License. # under the License.
from tempest.lib.services.network import base from tempest.lib.services.network import base
from vmware_nsx_tempest.services import network_client_base as base_client from vmware_nsx_tempest_plugin.services import network_client_base \
as base_client
class MembersClient(base.BaseNetworkClient): class MembersClient(base.BaseNetworkClient):
@ -51,7 +52,7 @@ def get_client(client_mgr):
For itempest user: For itempest user:
from itempest import load_our_solar_system as osn from itempest import load_our_solar_system as osn
from vmware_nsx_tempest.services.lbaas import members_client from vmware_nsx_tempest_plugin.services.lbaas import members_client
members_client = members_client.get_client(osn.adm.manager) members_client = members_client.get_client(osn.adm.manager)
For tempest user: For tempest user:
members_client = members_client.get_client(osn.adm) members_client = members_client.get_client(osn.adm)

View File

@ -13,7 +13,8 @@
# under the License. # under the License.
from tempest.lib.services.network import base from tempest.lib.services.network import base
from vmware_nsx_tempest.services import network_client_base as base_client from vmware_nsx_tempest_plugin.services import network_client_base \
as base_client
class PoolsClient(base.BaseNetworkClient): class PoolsClient(base.BaseNetworkClient):
@ -51,7 +52,7 @@ def get_client(client_mgr):
For itempest user: For itempest user:
from itempest import load_our_solar_system as osn from itempest import load_our_solar_system as osn
from vmware_nsx_tempest.services.lbaas import pools_client from vmware_nsx_tempest_plugin.services.lbaas import pools_client
pools_client = pools_client.get_client(osn.adm.manager) pools_client = pools_client.get_client(osn.adm.manager)
For tempest user: For tempest user:
pools_client = pools_client.get_client(osn.adm) pools_client = pools_client.get_client(osn.adm)

View File

@ -16,8 +16,8 @@ from tempest.lib.common.utils import misc as misc_utils
from tempest.lib import exceptions as lib_exc from tempest.lib import exceptions as lib_exc
from tempest import exceptions from tempest import exceptions
from vmware_nsx_tempest._i18n import _ from vmware_nsx_tempest_plugin._i18n import _
from vmware_nsx_tempest.services import network_client_base as base from vmware_nsx_tempest_plugin.services import network_client_base as base
POOL_RID = 'pools' POOL_RID = 'pools'
VIP_RID = 'vips' VIP_RID = 'vips'
@ -301,7 +301,7 @@ def get_client(client_mgr):
For itempest user: For itempest user:
from itempest import load_our_solar_system as osn from itempest import load_our_solar_system as osn
from vmware_nsx_tempest.services import load_balancer_v1_client from vmware_nsx_tempest_plugin.services import load_balancer_v1_client
lbv1 = load_balancer_v1_client.get_client(osn.adm.manager) lbv1 = load_balancer_v1_client.get_client(osn.adm.manager)
For tempest user: For tempest user:
lbv1 = load_balancer_v1_client.get_client(cls.os_adm) lbv1 = load_balancer_v1_client.get_client(cls.os_adm)

View File

@ -14,7 +14,7 @@
# under the License. # under the License.
from oslo_log import log as logging from oslo_log import log as logging
from vmware_nsx_tempest.services import nsxv3_client from vmware_nsx_tempest_plugin.services import nsxv3_client
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@ -23,7 +23,7 @@ import six.moves.urllib.parse as urlparse
from oslo_log import log as logging from oslo_log import log as logging
from oslo_serialization import jsonutils from oslo_serialization import jsonutils
from vmware_nsx_tempest.common import constants from vmware_nsx_tempest_plugin.common import constants
requests.packages.urllib3.disable_warnings() requests.packages.urllib3.disable_warnings()

View File

@ -18,7 +18,7 @@ from oslo_serialization import jsonutils
import requests import requests
from tempest import config from tempest import config
import vmware_nsx_tempest.services.utils as utils import vmware_nsx_tempest_plugin.services.utils as utils
requests.packages.urllib3.disable_warnings() requests.packages.urllib3.disable_warnings()
CONF = config.CONF CONF = config.CONF

View File

@ -17,9 +17,9 @@ from oslo_log import log
from tempest import config from tempest import config
from tempest.lib.services.network import base from tempest.lib.services.network import base
from vmware_nsx_tempest.common import constants from vmware_nsx_tempest_plugin.common import constants
from vmware_nsx_tempest.common import waiters from vmware_nsx_tempest_plugin.common import waiters
from vmware_nsx_tempest.services import designate_base from vmware_nsx_tempest_plugin.services import designate_base
LOG = log.getLogger(__name__) LOG = log.getLogger(__name__)
CONF = config.CONF CONF = config.CONF

View File

@ -11,7 +11,8 @@
# under the License. # under the License.
from tempest.lib.services.network import base from tempest.lib.services.network import base
from vmware_nsx_tempest.services import network_client_base as base_client from vmware_nsx_tempest_plugin.services import network_client_base \
as base_client
class BandwidthLimitRulesClient(base.BaseNetworkClient): class BandwidthLimitRulesClient(base.BaseNetworkClient):

View File

@ -10,13 +10,13 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from vmware_nsx_tempest.services.qos import ( from vmware_nsx_tempest_plugin.services.qos import (
bandwidth_limit_rules_client as bandwidth_limit_rules_client) bandwidth_limit_rules_client as bandwidth_limit_rules_client)
from vmware_nsx_tempest.services.qos import ( from vmware_nsx_tempest_plugin.services.qos import (
dscp_marking_rules_client as dscp_marking_rules_client) dscp_marking_rules_client as dscp_marking_rules_client)
from vmware_nsx_tempest.services.qos import ( from vmware_nsx_tempest_plugin.services.qos import (
policies_client as policies_client) policies_client as policies_client)
from vmware_nsx_tempest.services.qos import ( from vmware_nsx_tempest_plugin.services.qos import (
rule_types_client as rule_types_client) rule_types_client as rule_types_client)
RULE_TYPE_BANDWIDTH_LIMIT = "bandwidth_limit" RULE_TYPE_BANDWIDTH_LIMIT = "bandwidth_limit"

View File

@ -11,7 +11,8 @@
# under the License. # under the License.
from tempest.lib.services.network import base from tempest.lib.services.network import base
from vmware_nsx_tempest.services import network_client_base as base_client from vmware_nsx_tempest_plugin.services import network_client_base \
as base_client
class DscpMarkingRulesClient(base.BaseNetworkClient): class DscpMarkingRulesClient(base.BaseNetworkClient):

View File

@ -11,7 +11,8 @@
# under the License. # under the License.
from tempest.lib.services.network import base from tempest.lib.services.network import base
from vmware_nsx_tempest.services import network_client_base as base_client from vmware_nsx_tempest_plugin.services import network_client_base \
as base_client
class PoliciesClient(base.BaseNetworkClient): class PoliciesClient(base.BaseNetworkClient):

View File

@ -11,7 +11,8 @@
# under the License. # under the License.
from tempest.lib.services.network import base from tempest.lib.services.network import base
from vmware_nsx_tempest.services import network_client_base as base_client from vmware_nsx_tempest_plugin.services import network_client_base \
as base_client
class RuleTypesClient(base.BaseNetworkClient): class RuleTypesClient(base.BaseNetworkClient):

View File

@ -17,7 +17,8 @@ from oslo_serialization import jsonutils
from tempest.lib.services.network import base from tempest.lib.services.network import base
from vmware_nsx_tempest.services import network_client_base as base_client from vmware_nsx_tempest_plugin.services import network_client_base \
as base_client
class BaseTagsClient(base.BaseNetworkClient): class BaseTagsClient(base.BaseNetworkClient):

View File

@ -21,8 +21,8 @@ from tempest.lib import decorators
from tempest.lib import exceptions from tempest.lib import exceptions
from tempest import test from tempest import test
from vmware_nsx_tempest._i18n import _ from vmware_nsx_tempest_plugin._i18n import _
from vmware_nsx_tempest.services import tags_client from vmware_nsx_tempest_plugin.services import tags_client
CONF = config.CONF CONF = config.CONF
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@ -18,9 +18,9 @@ from tempest.lib import decorators
from tempest.lib import exceptions from tempest.lib import exceptions
from tempest import test from tempest import test
from vmware_nsx_tempest.common import constants from vmware_nsx_tempest_plugin.common import constants
from vmware_nsx_tempest.lib import feature_manager from vmware_nsx_tempest_plugin.lib import feature_manager
from vmware_nsx_tempest.services import nsxv3_client from vmware_nsx_tempest_plugin.services import nsxv3_client
CONF = config.CONF CONF = config.CONF
LOG = constants.log.getLogger(__name__) LOG = constants.log.getLogger(__name__)

View File

@ -23,7 +23,7 @@ from tempest.lib import decorators
from tempest.lib import exceptions from tempest.lib import exceptions
from tempest import test from tempest import test
from vmware_nsx_tempest.services.qos import base_qos from vmware_nsx_tempest_plugin.services.qos import base_qos
CONF = config.CONF CONF = config.CONF

View File

@ -18,7 +18,7 @@ from tempest import config
from tempest.lib.common.utils import data_utils from tempest.lib.common.utils import data_utils
from tempest.lib import decorators from tempest.lib import decorators
from vmware_nsx_tempest.lib import feature_manager from vmware_nsx_tempest_plugin.lib import feature_manager
CONF = config.CONF CONF = config.CONF

View File

@ -20,8 +20,8 @@ from tempest.lib import decorators
from tempest.lib import exceptions from tempest.lib import exceptions
from tempest import test from tempest import test
from vmware_nsx_tempest.lib import feature_manager from vmware_nsx_tempest_plugin.lib import feature_manager
from vmware_nsx_tempest.services import nsx_client from vmware_nsx_tempest_plugin.services import nsx_client
CONF = config.CONF CONF = config.CONF

View File

@ -22,9 +22,9 @@ from tempest.lib import exceptions
from tempest.lib import exceptions as lib_exc from tempest.lib import exceptions as lib_exc
from tempest import test from tempest import test
from vmware_nsx_tempest.common import constants from vmware_nsx_tempest_plugin.common import constants
from vmware_nsx_tempest.lib import feature_manager from vmware_nsx_tempest_plugin.lib import feature_manager
from vmware_nsx_tempest.services import nsxv3_client from vmware_nsx_tempest_plugin.services import nsxv3_client
from oslo_log import log as logging from oslo_log import log as logging

View File

@ -16,7 +16,7 @@
from tempest.lib.common.utils import data_utils from tempest.lib.common.utils import data_utils
from tempest.lib import decorators from tempest.lib import decorators
from vmware_nsx_tempest.tests.dvs.api import base_dvs as base from vmware_nsx_tempest_plugin.tests.dvs.api import base_dvs as base
class AdminNetworksTestJSON(base.BaseDvsAdminNetworkTest): class AdminNetworksTestJSON(base.BaseDvsAdminNetworkTest):

View File

@ -16,7 +16,7 @@
from tempest.lib.common.utils import data_utils from tempest.lib.common.utils import data_utils
from tempest.lib import decorators from tempest.lib import decorators
from vmware_nsx_tempest.tests.dvs.api import base_dvs as base from vmware_nsx_tempest_plugin.tests.dvs.api import base_dvs as base
class AdminPortsTestJSON(base.BaseDvsAdminNetworkTest): class AdminPortsTestJSON(base.BaseDvsAdminNetworkTest):

View File

@ -21,7 +21,7 @@ from tempest import exceptions
from tempest.lib.common.utils import data_utils from tempest.lib.common.utils import data_utils
from tempest.lib import decorators from tempest.lib import decorators
from vmware_nsx_tempest.tests.scenario import manager from vmware_nsx_tempest_plugin.tests.scenario import manager
CONF = config.CONF CONF = config.CONF
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@ -26,13 +26,13 @@ from tempest.lib.common.utils import data_utils
from tempest.lib.common.utils import test_utils from tempest.lib.common.utils import test_utils
from tempest.lib import exceptions from tempest.lib import exceptions
from vmware_nsx_tempest.services.lbaas import health_monitors_client from vmware_nsx_tempest_plugin.services.lbaas import health_monitors_client
from vmware_nsx_tempest.services.lbaas import l7policies_client from vmware_nsx_tempest_plugin.services.lbaas import l7policies_client
from vmware_nsx_tempest.services.lbaas import l7rules_client from vmware_nsx_tempest_plugin.services.lbaas import l7rules_client
from vmware_nsx_tempest.services.lbaas import listeners_client from vmware_nsx_tempest_plugin.services.lbaas import listeners_client
from vmware_nsx_tempest.services.lbaas import load_balancers_client from vmware_nsx_tempest_plugin.services.lbaas import load_balancers_client
from vmware_nsx_tempest.services.lbaas import members_client from vmware_nsx_tempest_plugin.services.lbaas import members_client
from vmware_nsx_tempest.services.lbaas import pools_client from vmware_nsx_tempest_plugin.services.lbaas import pools_client
CONF = config.CONF CONF = config.CONF
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@ -17,7 +17,7 @@ from tempest import config
from tempest.lib import decorators from tempest.lib import decorators
from tempest.lib import exceptions as ex from tempest.lib import exceptions as ex
from vmware_nsx_tempest.tests.nsxv.api.lbaas import base from vmware_nsx_tempest_plugin.tests.nsxv.api.lbaas import base
CONF = config.CONF CONF = config.CONF

View File

@ -13,7 +13,7 @@
from tempest.lib import decorators from tempest.lib import decorators
from tempest.lib import exceptions as ex from tempest.lib import exceptions as ex
from vmware_nsx_tempest.tests.nsxv.api.lbaas import base from vmware_nsx_tempest_plugin.tests.nsxv.api.lbaas import base
class TestHealthMonitors(base.BaseTestCase): class TestHealthMonitors(base.BaseTestCase):

View File

@ -13,7 +13,7 @@
from tempest import config from tempest import config
from tempest.lib import decorators from tempest.lib import decorators
from vmware_nsx_tempest.tests.nsxv.api.lbaas import base from vmware_nsx_tempest_plugin.tests.nsxv.api.lbaas import base
CONF = config.CONF CONF = config.CONF
PROTOCOL_PORT = 80 PROTOCOL_PORT = 80

View File

@ -13,7 +13,7 @@
from tempest import config from tempest import config
from tempest.lib import decorators from tempest.lib import decorators
from vmware_nsx_tempest.tests.nsxv.api.lbaas import base from vmware_nsx_tempest_plugin.tests.nsxv.api.lbaas import base
CONF = config.CONF CONF = config.CONF
PROTOCOL_PORT = 80 PROTOCOL_PORT = 80

View File

@ -16,7 +16,7 @@ from tempest import config
from tempest.lib import decorators from tempest.lib import decorators
from tempest.lib import exceptions as ex from tempest.lib import exceptions as ex
from vmware_nsx_tempest.tests.nsxv.api.lbaas import base from vmware_nsx_tempest_plugin.tests.nsxv.api.lbaas import base
CONF = config.CONF CONF = config.CONF

View File

@ -16,7 +16,7 @@ from tempest import config
from tempest.lib import decorators from tempest.lib import decorators
from tempest.lib import exceptions from tempest.lib import exceptions
from vmware_nsx_tempest.tests.nsxv.api.lbaas import base from vmware_nsx_tempest_plugin.tests.nsxv.api.lbaas import base
CONF = config.CONF CONF = config.CONF

View File

@ -17,7 +17,7 @@ from tempest import config
from tempest.lib import decorators from tempest.lib import decorators
from tempest.lib import exceptions as ex from tempest.lib import exceptions as ex
from vmware_nsx_tempest.tests.nsxv.api.lbaas import base from vmware_nsx_tempest_plugin.tests.nsxv.api.lbaas import base
CONF = config.CONF CONF = config.CONF

View File

@ -19,7 +19,7 @@ from tempest import config
from tempest.lib import decorators from tempest.lib import decorators
from tempest.lib import exceptions from tempest.lib import exceptions
from vmware_nsx_tempest.tests.nsxv.api.lbaas import base from vmware_nsx_tempest_plugin.tests.nsxv.api.lbaas import base
CONF = config.CONF CONF = config.CONF

View File

@ -16,7 +16,7 @@ from tempest import config
from tempest.lib import decorators from tempest.lib import decorators
from tempest.lib import exceptions as ex from tempest.lib import exceptions as ex
from vmware_nsx_tempest.tests.nsxv.api.lbaas import base from vmware_nsx_tempest_plugin.tests.nsxv.api.lbaas import base
CONF = config.CONF CONF = config.CONF

View File

@ -16,7 +16,7 @@ from tempest import config
from tempest.lib import decorators from tempest.lib import decorators
from tempest.lib import exceptions as ex from tempest.lib import exceptions as ex
from vmware_nsx_tempest.tests.nsxv.api.lbaas import base from vmware_nsx_tempest_plugin.tests.nsxv.api.lbaas import base
CONF = config.CONF CONF = config.CONF

View File

@ -13,7 +13,7 @@
from tempest.lib import decorators from tempest.lib import decorators
from tempest.lib import exceptions as ex from tempest.lib import exceptions as ex
from vmware_nsx_tempest.tests.nsxv.api.lbaas import base from vmware_nsx_tempest_plugin.tests.nsxv.api.lbaas import base
PROTOCOL_PORT = 80 PROTOCOL_PORT = 80

View File

@ -13,7 +13,7 @@
from tempest.lib import decorators from tempest.lib import decorators
from tempest.lib import exceptions as ex from tempest.lib import exceptions as ex
from vmware_nsx_tempest.tests.nsxv.api.lbaas import base from vmware_nsx_tempest_plugin.tests.nsxv.api.lbaas import base
PROTOCOL_PORT = 80 PROTOCOL_PORT = 80

View File

@ -22,7 +22,7 @@ from tempest.lib import decorators
from tempest.lib import exceptions from tempest.lib import exceptions
from tempest import test from tempest import test
from vmware_nsx_tempest.tests.nsxv.api import base_provider as base from vmware_nsx_tempest_plugin.tests.nsxv.api import base_provider as base
CONF = config.CONF CONF = config.CONF
@ -254,7 +254,7 @@ class AdminPolicyTest(base.BaseAdminNetworkTest):
def test_tenant_cannot_create_security_group(self): def test_tenant_cannot_create_security_group(self):
"""Only valid if allow_tenant_rules_with_policy=True """Only valid if allow_tenant_rules_with_policy=True
If test fail, check nsx.ini and vmware_nsx_tempest/config.py If test fail, check nsx.ini and vmware_nsx_tempest_plugin/config.py
to make sure they are the same value. to make sure they are the same value.
Exception is BadRequest, not Forbideen as the message is Exception is BadRequest, not Forbideen as the message is

View File

@ -18,7 +18,7 @@ from tempest.lib.common.utils import data_utils
from tempest.lib.common.utils import test_utils from tempest.lib.common.utils import test_utils
from tempest.lib import decorators from tempest.lib import decorators
from vmware_nsx_tempest.tests.nsxv.api import base_provider as base from vmware_nsx_tempest_plugin.tests.nsxv.api import base_provider as base
CONF = config.CONF CONF = config.CONF

View File

@ -17,7 +17,7 @@ from oslo_log import log as logging
from tempest.lib.common.utils import data_utils from tempest.lib.common.utils import data_utils
from tempest.lib import decorators from tempest.lib import decorators
from vmware_nsx_tempest.tests.nsxv.api import test_subnets as SNET from vmware_nsx_tempest_plugin.tests.nsxv.api import test_subnets as SNET
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@ -20,8 +20,8 @@ from tempest.lib.common.utils import data_utils
from tempest.lib import decorators from tempest.lib import decorators
from tempest import test from tempest import test
from vmware_nsx_tempest.services import base_l2gw from vmware_nsx_tempest_plugin.services import base_l2gw
from vmware_nsx_tempest.services import l2_gateway_client as L2GW from vmware_nsx_tempest_plugin.services import l2_gateway_client as L2GW
CONF = config.CONF CONF = config.CONF
L2GW_RID = 'l2_gateway' L2GW_RID = 'l2_gateway'

View File

@ -23,9 +23,9 @@ from tempest import test
from tempest.lib.common.utils import data_utils from tempest.lib.common.utils import data_utils
from tempest.lib import decorators from tempest.lib import decorators
from vmware_nsx_tempest.services import base_l2gw from vmware_nsx_tempest_plugin.services import base_l2gw
from vmware_nsx_tempest.services import l2_gateway_client as L2GW from vmware_nsx_tempest_plugin.services import l2_gateway_client as L2GW
from vmware_nsx_tempest.services import \ from vmware_nsx_tempest_plugin.services import \
l2_gateway_connection_client as L2GWC l2_gateway_connection_client as L2GWC
CONF = config.CONF CONF = config.CONF

View File

@ -22,8 +22,8 @@ from tempest.lib.common.utils import test_utils
from tempest.lib import decorators from tempest.lib import decorators
from tempest import test from tempest import test
from vmware_nsx_tempest.services import nsxv_client from vmware_nsx_tempest_plugin.services import nsxv_client
from vmware_nsx_tempest.tests.nsxv.api import base_provider as base from vmware_nsx_tempest_plugin.tests.nsxv.api import base_provider as base
CONF = config.CONF CONF = config.CONF

View File

@ -21,7 +21,7 @@ from tempest.lib import exceptions as ex
from oslo_log import log as logging from oslo_log import log as logging
from vmware_nsx_tempest.tests.nsxv.api import base_provider as base from vmware_nsx_tempest_plugin.tests.nsxv.api import base_provider as base
CONF = config.CONF CONF = config.CONF

View File

@ -22,8 +22,8 @@ from tempest.lib import decorators
from tempest.lib import exceptions from tempest.lib import exceptions
from tempest import test from tempest import test
from vmware_nsx_tempest.services import nsxv_client from vmware_nsx_tempest_plugin.services import nsxv_client
from vmware_nsx_tempest.tests.nsxv.api import base_provider as base from vmware_nsx_tempest_plugin.tests.nsxv.api import base_provider as base
CONF = config.CONF CONF = config.CONF
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@ -24,7 +24,7 @@ from tempest.lib.common.utils import data_utils
from tempest.lib import decorators from tempest.lib import decorators
from tempest.lib.services import network as net_clients from tempest.lib.services import network as net_clients
from tempest import test from tempest import test
from vmware_nsx_tempest.services import nsxv_client from vmware_nsx_tempest_plugin.services import nsxv_client
CONF = config.CONF CONF = config.CONF
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View File

@ -21,7 +21,7 @@ from tempest.lib.common.utils import data_utils
from tempest.lib.common.utils import test_utils from tempest.lib.common.utils import test_utils
from tempest.lib import decorators from tempest.lib import decorators
from tempest import test from tempest import test
from vmware_nsx_tempest.services import nsxv_client from vmware_nsx_tempest_plugin.services import nsxv_client
CONF = config.CONF CONF = config.CONF

View File

@ -23,7 +23,7 @@ from tempest.lib.common.utils import data_utils
from tempest.lib import decorators from tempest.lib import decorators
from tempest.lib import exceptions from tempest.lib import exceptions
from vmware_nsx_tempest.tests.nsxv.api import base_provider as base from vmware_nsx_tempest_plugin.tests.nsxv.api import base_provider as base
CONF = config.CONF CONF = config.CONF

Some files were not shown because too many files have changed in this diff Show More