Skip to content

Commit 1aad68b

Browse files
Merge pull request #669 from eduolivares/OSPRH-23100-edu
[BGP] Use ctlplane_ocp_nad ranges for LB and NAD Avoid IP conflicts when dnsmasq pods try to reach dnsmasq service running on the hypervisor by using a new NAD and LB range, ctlplane_ocp_nad. This applies to both bgp-l3-xl and dz-storage DTs. Depends-On: openstack-k8s-operators/ci-framework#3549 OSPRH-23100 Reviewed-by: John Fulton <johfulto@redhat.com>
2 parents c1e593a + 65fad81 commit 1aad68b

File tree

10 files changed

+853
-284
lines changed

10 files changed

+853
-284
lines changed

automation/mocks/bgp-l3-xl.yaml

Lines changed: 31 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,43 +1139,63 @@ cifmw_networking_env_definition:
11391139
networks:
11401140
ctlplane:
11411141
dns_v4:
1142-
- 192.168.122.1
1142+
- 192.168.125.1
11431143
dns_v6: []
1144-
gw_v4: 192.168.122.1
1144+
gw_v4: 192.168.125.1
11451145
mtu: 1500
11461146
network_name: ctlplane
1147-
network_v4: 192.168.122.0/24
1147+
network_v4: 192.168.125.0/24
11481148
search_domain: ctlplane.example.com
11491149
tools:
11501150
metallb:
11511151
ipv4_ranges:
1152-
- end: 192.168.122.90
1152+
- end: 192.168.125.90
11531153
end_host: 90
11541154
length: 11
1155-
start: 192.168.122.80
1155+
start: 192.168.125.80
11561156
start_host: 80
11571157
ipv6_ranges: []
11581158
multus:
11591159
ipv4_ranges:
1160-
- end: 192.168.122.70
1160+
- end: 192.168.125.70
11611161
end_host: 70
11621162
length: 41
1163-
start: 192.168.122.30
1163+
start: 192.168.125.30
11641164
start_host: 30
11651165
ipv6_ranges: []
11661166
netconfig:
11671167
ipv4_ranges:
1168-
- end: 192.168.122.120
1168+
- end: 192.168.125.120
11691169
end_host: 120
11701170
length: 21
1171-
start: 192.168.122.100
1171+
start: 192.168.125.100
11721172
start_host: 100
1173-
- end: 192.168.122.200
1173+
- end: 192.168.125.200
11741174
end_host: 200
11751175
length: 51
1176-
start: 192.168.122.150
1176+
start: 192.168.125.150
11771177
start_host: 150
11781178
ipv6_ranges: []
1179+
ctlplane_ocp_nad:
1180+
gw_v4: 192.168.126.1
1181+
mtu: 1500
1182+
network_name: ctlplane_ocp_nad
1183+
network_v4: 192.168.126.0/24
1184+
tools:
1185+
multus:
1186+
ipv4_ranges:
1187+
- end: 192.168.126.70
1188+
end_host: 70
1189+
length: 41
1190+
start: 192.168.126.30
1191+
start_host: 30
1192+
metallb:
1193+
ipv4_ranges:
1194+
- end: 192.168.126.90
1195+
end_host: 90
1196+
length: 11
1197+
start: 192.168.126.80
1198+
start_host: 80
11791199
ctlplaner0:
11801200
dns_v4:
11811201
- 192.168.122.1

automation/mocks/bgp_dt01.yaml

Lines changed: 31 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -659,43 +659,63 @@ cifmw_networking_env_definition:
659659
networks:
660660
ctlplane:
661661
dns_v4:
662-
- 192.168.122.1
662+
- 192.168.125.1
663663
dns_v6: []
664-
gw_v4: 192.168.122.1
664+
gw_v4: 192.168.125.1
665665
mtu: 1500
666666
network_name: ctlplane
667-
network_v4: 192.168.122.0/24
667+
network_v4: 192.168.125.0/24
668668
search_domain: ctlplane.example.com
669669
tools:
670670
metallb:
671671
ipv4_ranges:
672-
- end: 192.168.122.90
672+
- end: 192.168.125.90
673673
end_host: 90
674674
length: 11
675-
start: 192.168.122.80
675+
start: 192.168.125.80
676676
start_host: 80
677677
ipv6_ranges: []
678678
multus:
679679
ipv4_ranges:
680-
- end: 192.168.122.70
680+
- end: 192.168.125.70
681681
end_host: 70
682682
length: 41
683-
start: 192.168.122.30
683+
start: 192.168.125.30
684684
start_host: 30
685685
ipv6_ranges: []
686686
netconfig:
687687
ipv4_ranges:
688-
- end: 192.168.122.120
688+
- end: 192.168.125.120
689689
end_host: 120
690690
length: 21
691-
start: 192.168.122.100
691+
start: 192.168.125.100
692692
start_host: 100
693-
- end: 192.168.122.200
693+
- end: 192.168.125.200
694694
end_host: 200
695695
length: 51
696-
start: 192.168.122.150
696+
start: 192.168.125.150
697697
start_host: 150
698698
ipv6_ranges: []
699+
ctlplane_ocp_nad:
700+
gw_v4: 192.168.126.1
701+
mtu: 1500
702+
network_name: ctlplane_ocp_nad
703+
network_v4: 192.168.126.0/24
704+
tools:
705+
multus:
706+
ipv4_ranges:
707+
- end: 192.168.126.70
708+
end_host: 70
709+
length: 41
710+
start: 192.168.126.30
711+
start_host: 30
712+
metallb:
713+
ipv4_ranges:
714+
- end: 192.168.126.90
715+
end_host: 90
716+
length: 11
717+
start: 192.168.126.80
718+
start_host: 80
699719
ctlplaner0:
700720
dns_v4:
701721
- 192.168.122.1

0 commit comments

Comments
 (0)