With vlan tenant we have mac-mapping configured in ovs db
for compute nodes. These MAC values should be used when
filtering relevant traffic for east_west communication.
Also, introduced separate tunnel_interface config parameter
to define an appropriate value when capturing traffic on
a normal node and on ovs_pod.
Change-Id: Ibef4498604bd9fff7ab537ed276ce59e8a052cd6
Path to neutron config usually is the same for a certain type of
environment. This patch makes the path to be a constant value
selected automatically according to environment type and thus
it's no longer required from user to specify/override it.
Change-Id: If85f38d40f29a2dfd1a72eacd97e9dd5fcbdc004
The patch [1] set value of ovn_max_controller_gw_ports_per_router
to 1 which is not alighed with default ovn config.
This caused AZ tests behave not correctly.
We can use the value as a constant set to 5 which is alighed
with default ovn setting.
[1] https://review.opendev.org/c/x/whitebox-neutron-tempest-plugin/+/912348
Change-Id: I51a9a7bf1bc9ad56fa80b735401fbe210fff879a
This patch adds necessary adjustments to DVR tests that recreate
floating ip and the ones that test OVN DVR after VM live migration
in order to allow them to run properly on a podified
environment.
Fixed tests list:
test_validate_floatingip_compute_ingress_delete_fip_restart_instance
test_dvr_create_delete_fip_restart_instance
test_validate_dvr_connectivity_live_migration_basic
test_validate_dvr_connectivity_live_migration_different_networks
Change-Id: I5f75784ca879161f486d778b4a39c4d0410aad44
Main changes from original tests:
- Made alternative 'is_service_on_node' base method instead
of helper plugin 'get_nodes_info_by_name' use.
- Configuration restored in between tests using permissive values due
to 'oc patch' inability to remove configuration in podified.
- Feature disabled using configuration when all tests finished
for same reason of inability to remove configuration.
- Podman inspect health/healthcheck json output inconsistent
in podified/tripleo envs, also not supported in devstack,
systemctl is-active used instead.
- Many methods made to use on '_set_rate_limiting_config',
difference between podified/devstack handled by method calls there.
- Metadata configuration file according to OSP type (devstack/other).
- Adjust migrated imports and configuration.
- Replaced test UUIDs with unique ones.
Change-Id: Ia17be6044eb88b00568f469c8ff5ebb98dba6559
Tests moved from downstream plugin with minimal adjustments.
These tests require nmcli inside the server so advanced image
changed to rocky-9 cloud image. Other alternative, e.g. centos-9
does not have a default user and requires additional customization
for setting the user.
Additionally, moved utils.py and constants.py.
From config.py and base.py only relevant subset of code moved.
Change-Id: I6b538c13a15e94d072091b3218b2cd48ff20a70c