Skip to main content

Welcome!

vmware-nsx-tempest-plugin

Tempest plugin vmware-nsx-tempest-plugin

This repo hosts vmware-nsx’s functional api and scenario tests.

vmware-nsx is Vmware plugin for neutron. This repo is tempest plugin to test vmware-nsx at function level. All vmware-nsx-tempest-plugin tests are in “master” branch. Some of the tests are designed based on N-S traffic. Intstall thsi repo on external VM to run entire test suite.

Features:

  • API tests

  • Scenario tests

Overview:

Installation:

  1. On your own development folder, for example /opt/stack/, install your own tempest development env at /opt/stack/tempest/:

    $ cd /opt/stack
    $ git clone https://github.com/openstack/tempest
  2. Install virtualenv with the following command:

    $ cd /opt/stack/tempest
    $ ./run_tempest.sh -u not_exist_tests
  3. Install vmware-nsx-tempest-plugin master branch at /opt/stack:

    $ cd /opt/stack
    $ git clone https://github.com/openstack/vmware-nsx-tempest-plugin.git
  4. Install vmware-nsx-tempest-plugin in your tempest development environment:

    $ cd /opt/stack
    $ sudo pip install -e vmware-nsx-tempest-plugin

    Run command:

    $ pip show vmware-nsx-tempest-plugin

    You should observe the following statements:

    Location: /opt/stack/vmware-nsx-tempest-plugin
  5. Validate installed vmware_nsx_tempest_plugin successfully do:

    $ cd /opt/stack/vmware-nsx-tempest-plugin
    $ ostestr -l vmware_nsx_tempest_plugin
    $ 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

Your installation failed, if no tests are shown.

Execution:

vmware-nsx-tempest tests are tempest tests, you need to run from tempest directory. For example, to run only l2-gateway tests:

$ cd /opt/stack/tempest
$ ostestr vmware_nsx_tempest_plugin.*test_l2_gateway
$ 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:

vmware-nsx-tempest-plugin is a plugin to tempest, not neutron, nor vmware-nsx. It is defined by tempest.test_plugins.

Modules within vmware-nsx-tempest can not see resources defined by vmware-nsx. Commands like following will not work, unless vmware-nsx is installed in your tempest environment:

import vmware_nsx.shell.admin.plugins.common.utils as admin_utils

Metadata

Release files for vmware-nsx-tempest-plugin 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vmware-nsx-tempest-plugin 1.0.0
File Size Uploaded
vmware-nsx-tempest-plugin-1.0.0.tar.gz 284.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vmware-nsx-tempest-plugin 1.0.0
File Interpreter ABI Platform
vmware_nsx_tempest_plugin-1.0.0-py2-none-any.whl Python 2 none any Details

Total release size: 675.6 kB

Release files / vmware-nsx-tempest-plugin-1.0.0.tar.gz

Download URL vmware-nsx-tempest-plugin-1.0.0.tar.gz
Size 284.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d4b5a5ae09611e2cb3d632b30c9eb6a5979f04a64751ff373ed536de916c73f4
BLAKE2b-256 checksum
How to use checksums
030306d31a0200015eded45695b465684b3fa58aa8f167f327a878774d5efbe4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.12

Release files / vmware_nsx_tempest_plugin-1.0.0-py2-none-any.whl

Download URL vmware_nsx_tempest_plugin-1.0.0-py2-none-any.whl
Size 391.6 kB
Tags Python 2
SHA-256 checksum
How to use checksums
00b6e8a6d5e6bf6ec01f188e1ecb09934c4d058861fc1f2b8b3716dd1eef7677
BLAKE2b-256 checksum
How to use checksums
571c8f9c00b14501d07de2703ed58010731e060e9dd82742dc8224e494ce06b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.12

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page