Neutron test
Certify the functionality of a neutron driver or backend by running Tempest-based feature tests integrated with Red Hat OpenStack Services on OpenShift (RHOSO).
The neutron test applies to OpenStack products or components that implement features for the OpenStack Networking service. The test uses Tempest Framework integrated with the Red Hat OpenStack Services on OpenShift (RHOSO) to test both operational and functional features.
The neutron test verifies the functionality of the neutron driver or backend that you are certifying by running selected feature tests.
Prerequisites
- When you deploy OpenStack, ensure that you provide at least two EDPM compute nodes. For more information on configuring neutron, see Configuring networking services.
- Configure a public subnet before running the tempest tests.
Note Ensure that the external network has a sufficient number of IP addresses available in the
allocation_pools. The required number of IP addresses may vary depending on the number of test workers running concurrently. - Configure a public image with an advanced operating system. By default, Tempest tests use the Cirros image to generate instances, which is sufficient for most tests. However, some network-related tests require an image such as RHEL with additional tools (e.g., tcpdump, Python).
Note This configuration is managed by the
rhos-cert-init script, but you need to provide certain values, such as the image URL. - The Tempest and neutron-tempest-plugin offer numerous configuration options for testing the neutron component. Certification test environments do not configure most of these options automatically, except those related to the advanced image and flavor. If certifying the driver requires specific additional configuration settings, use a
tempest-conf-overridesfile.- Initialize the certification test environment with the
rhos-cert-initcommand. - Create the
tempest-conf-overridesfile and add the required configuration settings.Note In the
tempest-conf-overridesfile, enter the necessary configuration settings on a separate line without comments. - Add required configuration options to the file, for example:
neutron_plugin_options.max_mtu 9000
- Initialize the certification test environment with the