Skip to main content

Tempest plugin vmware-nsx-tempest-plugin

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vmware-nsx-tempest-plugin-0.0.1.dev365.tar.gz (284.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vmware_nsx_tempest_plugin-0.0.1.dev365-py2-none-any.whl (391.7 kB view details)

Uploaded Python 2

File details

Details for the file vmware-nsx-tempest-plugin-0.0.1.dev365.tar.gz.

File metadata

  • Download URL: vmware-nsx-tempest-plugin-0.0.1.dev365.tar.gz
  • Upload date:
  • Size: 284.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for vmware-nsx-tempest-plugin-0.0.1.dev365.tar.gz
Algorithm Hash digest
SHA256 d35c9df9fbf0f1721a1d3ca68b30f1d5b4b4d5bdb5c4d5e35173d00094ae1440
MD5 479f6bb6eb9dbb307d6d12e210ff6ab8
BLAKE2b-256 6d6f8c1c00740f003b4ed236859538c808935418109241fd095f2fd8f7cf3078

See more details on using hashes here.

File details

Details for the file vmware_nsx_tempest_plugin-0.0.1.dev365-py2-none-any.whl.

File metadata

  • Download URL: vmware_nsx_tempest_plugin-0.0.1.dev365-py2-none-any.whl
  • Upload date:
  • Size: 391.7 kB
  • Tags: Python 2
  • Uploaded using 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

File hashes

Hashes for vmware_nsx_tempest_plugin-0.0.1.dev365-py2-none-any.whl
Algorithm Hash digest
SHA256 1b4f5856d8cbb79f3dc0f50db317a52a6aa933373c776ac40c81e9762c26a330
MD5 0c760d361f7122a8b5c7451b38df8a5f
BLAKE2b-256 0d2de79f2dbd0f8db8f434455e0dc1f7238ca18eae7c6aa9c85e7dbbad0b9c1b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page