Skip to content

Commit

Permalink
translate_yaml: Change external, gw and ts default subnets to avoid o…
Browse files Browse the repository at this point in the history
…verlaps.

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 <dceara@redhat.com>
  • Loading branch information
dceara committed Mar 27, 2024
1 parent 4c18889 commit 334cf20
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ovn-fake-multinode-utils/translate_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 334cf20

Please sign in to comment.