This contains the tempest test codes for the Neutron VPN as a Service (VPNaaS) service. The tests currently require tempest to be installed via devstack or standalone. It is assumed that you also have Neutron with the Neutron VPNaaS service installed. These tests could also be run against a multinode openstack.
Please see /neutron-vpnaas/devstack/README.md for the required devstack configuration settings for Neutron-VPNaaS.
As a tempest plugin, the steps to run tests by hands are:
tempest init ${your_tempest_dir}
cd ${your_tempest_dir}
tempest list-plugins
Name | EntryPoint |
neutron_tests neutron_vpnaas_tests | neutron.tests.tempest.plugin:NeutronTempestPlugin neutron_vpnaas.tests.tempest.plugin:VPNTempestPlugin |
tempest run --regex "^neutron_vpnaas.tests.tempest.api\."
In the jenkins gate, devstack-gate/devstack-vm-gate-wrap.sh will invoke tempest with proper configurations, such as:
DEVSTACK_GATE_TEMPEST=1 DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1 DEVSTACK_GATE_TEMPEST_REGEX="^neutron_vpnaas.tests.tempest.api\."
The actual raw command in gate running under the tempest code directory is:
tox -eall-plugin -- "^neutron_vpnaas.tests.tempest.api\."
For more information on the tempest, see: <https://docs.openstack.org/tempest/latest/>
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.