From 334cf200c64d8aa392ca5cb5bc7047916563d1ca Mon Sep 17 00:00:00 2001 From: Dumitru Ceara Date: Wed, 27 Mar 2024 20:25:17 +0100 Subject: [PATCH] translate_yaml: Change external, gw and ts default subnets to avoid overlaps. With IC deployments these defaults are used as base for computing the subnet (external, gw and ts) that should be used by each zone. With larger scale tests, e.g., 500 nodes, when using default values we would get overlapping IPs between external and gw subnets. Signed-off-by: Dumitru Ceara --- ovn-fake-multinode-utils/translate_yaml.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ovn-fake-multinode-utils/translate_yaml.py b/ovn-fake-multinode-utils/translate_yaml.py index 1b3f2d19..abb50339 100755 --- a/ovn-fake-multinode-utils/translate_yaml.py +++ b/ovn-fake-multinode-utils/translate_yaml.py @@ -102,12 +102,12 @@ class ClusterConfig: node_timeout_s: int = 20 internal_net: str = "16.0.0.0/16" internal_net6: str = "16::/64" - external_net: str = "3.0.0.0/16" - external_net6: str = "3::/64" - gw_net: str = "2.0.0.0/16" - gw_net6: str = "2::/64" - ts_net: str = "30.0.0.0/16" - ts_net6: str = "30::/64" + external_net: str = "20.0.0.0/16" + external_net6: str = "20::/64" + gw_net: str = "30.0.0.0/16" + gw_net6: str = "30::/64" + ts_net: str = "40.0.0.0/16" + ts_net6: str = "40::/64" cluster_net: str = "16.0.0.0/4" cluster_net6: str = "16::/32" n_workers: int = 2