From f1312a12e4e324edcfafa2ee819a24edb46dc2c1 Mon Sep 17 00:00:00 2001 From: Frode Nordahl Date: Tue, 31 Oct 2023 13:56:31 +0100 Subject: [PATCH] cms/openstack: Fix port group reference in acls. The current code refer to a portgroup named $pg_pg... which is not correct. Signed-off-by: Frode Nordahl --- ovn-tester/cms/openstack/openstack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ovn-tester/cms/openstack/openstack.py b/ovn-tester/cms/openstack/openstack.py index a3264bc2..002cb995 100644 --- a/ovn-tester/cms/openstack/openstack.py +++ b/ovn-tester/cms/openstack/openstack.py @@ -639,8 +639,8 @@ def _create_default_security_group(self) -> PortGroup: f"inport == @{pg_name} && ip6", ] out_rules = [ - f"outport == @{pg_name} && ip4 && ip4.src == $pg_{pg_name}_ip4", - f"outport == @{pg_name} && ip6 && ip6.src == $pg_{pg_name}_ip6", + f"outport == @{pg_name} && ip4 && ip4.src == ${pg_name}_ip4", + f"outport == @{pg_name} && ip6 && ip6.src == ${pg_name}_ip6", ] for rule in in_rules: