aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2025-01-15 11:20:00 +0000
committerMichal Nasiadka <mnasiadka@gmail.com>2025-03-20 13:50:53 +0000
commit8670c3f9d334d45bf47add8c2a5ebd34ccd47e56 (patch)
tree0a23d06f34756f64bd13742eb3b02dd3d0f9a404 /tests
parent88e94f29bbd720b48fb671cb57e57e58f13c0829 (diff)
downloadkolla-ansible-8670c3f9d334d45bf47add8c2a5ebd34ccd47e56.tar.gz
kolla-ansible-8670c3f9d334d45bf47add8c2a5ebd34ccd47e56.zip
ovn: Add support for OVN SB Relay
Add support for deploying OVN SB relays [1]. This is enabled by default to improve large scale scenarios. Default mechanism deploys one relay group per 50 ovn-controller hosts and uses random but idempotent method to choose a relay for a given host. neutron-server and Octavia will connect directly to SB cluster, not via the relays. kolla-ansible check subcommand does not support ,,iterated'' containers for now - but will be introduced in a subsequent patch. [1]: https://docs.ovn.org/en/latest/tutorials/ovn-ovsdb-relay.html Co-Authored-By: Krzysztof Tomaszewski <ktomaszewski@cloudferro.com> Depends-On: https://review.opendev.org/c/openstack/kolla/+/928898 Change-Id: Id7d6973668d8b2b194913b533f8cb756c6708536
Diffstat (limited to 'tests')
-rw-r--r--tests/templates/inventory.j23
-rwxr-xr-xtests/test-ovn.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/templates/inventory.j2 b/tests/templates/inventory.j2
index 22ae0758a..6db4a7c8a 100644
--- a/tests/templates/inventory.j2
+++ b/tests/templates/inventory.j2
@@ -672,6 +672,9 @@ ovn-database
[ovn-sb-db:children]
ovn-database
+[ovn-sb-db-relay:children]
+ovn-database
+
[venus-api:children]
venus
diff --git a/tests/test-ovn.sh b/tests/test-ovn.sh
index f7aa74e68..fbe91eeca 100755
--- a/tests/test-ovn.sh
+++ b/tests/test-ovn.sh
@@ -34,6 +34,9 @@ function test_ovn {
echo "Output: ${OVNSB_STATUS}"
exit 1
fi
+
+ echo "OVS entries"
+ sudo ${container_engine} exec openvswitch_vswitchd ovs-vsctl list open
}
function test_octavia {