From 24b9574aadcfc7bd3485d7de21e85bcf19802653 Mon Sep 17 00:00:00 2001 From: Arnau Verdaguer Date: Fri, 10 Jan 2025 16:36:11 +0100 Subject: [PATCH] Add static routes to netConfig to support scenario A Adopting a workload using scenario A (different subnet ranges between wallaby CP and next-gen CP) wont succeed if netConfig doesn't have the routes to reach old CP. Relates: OSPRH-7544 --- tests/roles/dataplane_adoption/defaults/main.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/roles/dataplane_adoption/defaults/main.yaml b/tests/roles/dataplane_adoption/defaults/main.yaml index ea5f46b88..6d11fe983 100644 --- a/tests/roles/dataplane_adoption/defaults/main.yaml +++ b/tests/roles/dataplane_adoption/defaults/main.yaml @@ -24,6 +24,9 @@ netconfig_networks: start: 172.17.0.100 cidr: 172.17.0.0/24 vlan: 20 + routes: + - destination: 172.17.1.0/24 + nexthop: 172.17.0.100 - name: External dnsDomain: external.example.com subnets: @@ -60,6 +63,9 @@ netconfig_networks: start: 172.19.0.100 cidr: 172.19.0.0/24 vlan: 22 + routes: + - destination: 172.19.1.0/24 + nexthop: 172.19.0.100 registry_name: "quay.io" registry_namespace: "podified-antelope-centos9" image_tag: "current-podified"