vmware-nsx-tempest-plugin/vmware_nsx_tempest_plugin/doc/README-LBaaS.rst
Boden R 802164f2a2 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
2018-07-31 12:48:38 -06:00

1.9 KiB

Overview

This document describes what LBaaS tests are not supported at different NSX plugin's and backends.

NOTE:

All LBaaS API & Scenario tests should PASS with exceptions
due to NSX plugins and features supported by backend.

For how tests can be skipped for specific plugin and backend,
please refer to paragraph "Config for Test Execution".

NOTE:

We no longer support LBaaS v1. So this document and LBaaS tests
only applys to releases from Mitaka/Marvin or later.

Limitation:

NSX-v with VMware LBaaS driver:

#. LBaaS networks need to attach to exclusive router
#. One tenant per subnet
#. L7 switching not supported

NSX-v3 with Octavia driver:

#. upstream implemenation - all tests should PASS.
#. scenario tests take long time, it might fail with fixture timeout.

Config for Test execution:

Following configuration attributes used to controll test execution:

#. no_router_type at group/session nsxv

   Default is False, and is used to run LBaaS tests in NSX-v environment.
   To run in NSX-t environment, set it to True

#. bugs_to_resolve at group/session nsxv

   For test to skip if bug-ID presented in this attribute.
   The test will use testtools.skipIf(condition, reason) to skip if its ID in the bugs_to_resolve list.

local.conf: ----------NSX-v:: [nsxv] no_router_type=False bugs_to_resolve=1641902,1715126,1703396,1739510

NSX-v3::

[compute] build_timeout=900 build_interval=2

[nsxv] no_router_type=True

Execution:

  1. Use testr list-tests command to generate test suite for run API and Scenario tests:

    tools/with_venv.sh testr list-tests nsxv.api.lbaas
    tools/with_venv.sh testr list-tests nsxv.scenarion.test_lbaas
  2. l7 switching tests take long time to complete. If got fixture timeout, do:

    OS_TEST_TIMEOUT=2400 ./run_tempest.sh -t test_lbaas_l7_switching_ops