Skip to content

Commit ceaa627

Browse files
committed
BGP controlplane Pure L3 Spine&Leaf
With this PR, BGP DT01 configures isolated L2 segments for networkers and computes. The controlplane communications between RHOSO services running on OCP nodes and services running on EDPM nodes is routed through the BGP network. Spines and leaves connect the computes, networkers and OCP nodes in different racks and route the traffic between them, as well as the dataplane traffic to/from the Openstack VM instances. OSPRH-13820
1 parent 743a8bf commit ceaa627

File tree

23 files changed

+1615
-494
lines changed

23 files changed

+1615
-494
lines changed

automation/mocks/bgp_dt01.yaml

Lines changed: 143 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
cifmw_networking_env_definition:
33
instances:
4-
compute-0:
5-
hostname: compute-0
6-
name: compute-0
4+
r0-compute-0:
5+
hostname: r0-compute-0
6+
name: r0-compute-0
77
networks:
8-
ctlplane:
8+
ctlplaner0:
99
interface_name: eth1
1010
ip_v4: 192.168.122.100
1111
mac_addr: 52:54:00:6a:4a:25
@@ -47,13 +47,13 @@ cifmw_networking_env_definition:
4747
prefix_length_v4: 24
4848
skip_nm: false
4949
vlan_id: 22
50-
compute-1:
51-
hostname: compute-1
52-
name: compute-1
50+
r1-compute-0:
51+
hostname: r1-compute-0
52+
name: r1-compute-0
5353
networks:
54-
ctlplane:
54+
ctlplaner1:
5555
interface_name: eth1
56-
ip_v4: 192.168.122.101
56+
ip_v4: 192.168.123.101
5757
mac_addr: 52:54:00:9b:e6:98
5858
mtu: 1500
5959
netmask_v4: 255.255.255.0
@@ -93,13 +93,13 @@ cifmw_networking_env_definition:
9393
prefix_length_v4: 24
9494
skip_nm: false
9595
vlan_id: 22
96-
compute-2:
97-
hostname: compute-2
98-
name: compute-2
96+
r2-compute-0:
97+
hostname: r2-compute-0
98+
name: r2-compute-0
9999
networks:
100-
ctlplane:
100+
ctlplaner2:
101101
interface_name: eth1
102-
ip_v4: 192.168.122.102
102+
ip_v4: 192.168.124.102
103103
mac_addr: 52:54:00:98:a6:ae
104104
mtu: 1500
105105
netmask_v4: 255.255.255.0
@@ -152,11 +152,11 @@ cifmw_networking_env_definition:
152152
network_name: ctlplane
153153
prefix_length_v4: 24
154154
skip_nm: false
155-
networker-0:
156-
hostname: networker-0
157-
name: networker-0
155+
r0-networker-0:
156+
hostname: r0-networker-0
157+
name: r0-networker-0
158158
networks:
159-
ctlplane:
159+
ctlplaner0:
160160
interface_name: eth1
161161
ip_v4: 192.168.122.106
162162
mac_addr: 52:54:00:15:d3:88
@@ -187,11 +187,11 @@ cifmw_networking_env_definition:
187187
prefix_length_v4: 24
188188
skip_nm: false
189189
vlan_id: 22
190-
networker-1:
191-
hostname: networker-1
192-
name: networker-1
190+
r1-networker-0:
191+
hostname: r1-networker-0
192+
name: r1-networker-0
193193
networks:
194-
ctlplane:
194+
ctlplaner1:
195195
interface_name: eth1
196196
ip_v4: 192.168.122.107
197197
mac_addr: 52:54:00:de:46:aa
@@ -222,11 +222,11 @@ cifmw_networking_env_definition:
222222
prefix_length_v4: 24
223223
skip_nm: false
224224
vlan_id: 22
225-
networker-2:
226-
hostname: networker-2
227-
name: networker-2
225+
r2-networker-0:
226+
hostname: r2-networker-0
227+
name: r2-networker-0
228228
networks:
229-
ctlplane:
229+
ctlplaner2:
230230
interface_name: eth1
231231
ip_v4: 192.168.122.108
232232
mac_addr: 52:54:00:3f:b8:15
@@ -696,6 +696,123 @@ cifmw_networking_env_definition:
696696
start: 192.168.122.150
697697
start_host: 150
698698
ipv6_ranges: []
699+
ctlplaner0:
700+
dns_v4:
701+
- 192.168.122.1
702+
dns_v6: []
703+
gw_v4: 192.168.122.1
704+
mtu: 1500
705+
network_name: ctlplaner0
706+
network_v4: 192.168.122.0/24
707+
search_domain: ctlplaner0.example.com
708+
tools:
709+
metallb:
710+
ipv4_ranges:
711+
- end: 192.168.122.90
712+
end_host: 90
713+
length: 11
714+
start: 192.168.122.80
715+
start_host: 80
716+
ipv6_ranges: []
717+
multus:
718+
ipv4_ranges:
719+
- end: 192.168.122.70
720+
end_host: 70
721+
length: 41
722+
start: 192.168.122.30
723+
start_host: 30
724+
ipv6_ranges: []
725+
netconfig:
726+
ipv4_ranges:
727+
- end: 192.168.122.120
728+
end_host: 120
729+
length: 21
730+
start: 192.168.122.100
731+
start_host: 100
732+
- end: 192.168.122.200
733+
end_host: 200
734+
length: 51
735+
start: 192.168.122.150
736+
start_host: 150
737+
ipv6_ranges: []
738+
ctlplaner1:
739+
dns_v4:
740+
- 192.168.123.1
741+
dns_v6: []
742+
gw_v4: 192.168.123.1
743+
mtu: 1500
744+
network_name: ctlplaner1
745+
network_v4: 192.168.123.0/24
746+
search_domain: ctlplaner1.example.com
747+
tools:
748+
metallb:
749+
ipv4_ranges:
750+
- end: 192.168.123.90
751+
end_host: 90
752+
length: 11
753+
start: 192.168.123.80
754+
start_host: 80
755+
ipv6_ranges: []
756+
multus:
757+
ipv4_ranges:
758+
- end: 192.168.123.70
759+
end_host: 70
760+
length: 41
761+
start: 192.168.123.30
762+
start_host: 30
763+
ipv6_ranges: []
764+
netconfig:
765+
ipv4_ranges:
766+
- end: 192.168.123.120
767+
end_host: 120
768+
length: 21
769+
start: 192.168.123.100
770+
start_host: 100
771+
- end: 192.168.123.200
772+
end_host: 200
773+
length: 51
774+
start: 192.168.123.150
775+
start_host: 150
776+
ipv6_ranges: []
777+
ctlplaner2:
778+
dns_v4:
779+
- 192.168.124.1
780+
dns_v6: []
781+
gw_v4: 192.168.124.1
782+
mtu: 1500
783+
network_name: ctlplaner2
784+
network_v4: 192.168.124.0/24
785+
search_domain: ctlplaner2.example.com
786+
tools:
787+
metallb:
788+
ipv4_ranges:
789+
- end: 192.168.124.90
790+
end_host: 90
791+
length: 11
792+
start: 192.168.124.80
793+
start_host: 80
794+
ipv6_ranges: []
795+
multus:
796+
ipv4_ranges:
797+
- end: 192.168.124.70
798+
end_host: 70
799+
length: 41
800+
start: 192.168.124.30
801+
start_host: 30
802+
ipv6_ranges: []
803+
netconfig:
804+
ipv4_ranges:
805+
- end: 192.168.124.120
806+
end_host: 120
807+
length: 21
808+
start: 192.168.124.100
809+
start_host: 100
810+
- end: 192.168.124.200
811+
end_host: 200
812+
length: 51
813+
start: 192.168.124.150
814+
start_host: 150
815+
ipv6_ranges: []
699816
external:
700817
dns_v4: []
701818
dns_v6: []

0 commit comments

Comments
 (0)