Skip to content

Commit 5b39b81

Browse files
fultonjclaude
authored andcommitted
Support DCN network routes in NetConfig subnet definitions
Add routes field to DCN subnet definitions in netconfig_networks to enable proper inter-site connectivity. Routes are templated from edpm_dcn1_routes and edpm_dcn2_routes variables. The NetConfig controller propagates these routes to IPSet status, which the openstack-operator inventory generator reads to create {network}_host_routes ansible variables for the EDPM network configuration template. Changes: - Add routes to internalapidcn1/dcn2 subnets for RabbitMQ/API connectivity - Add routes to storagedcn1/dcn2 subnets for storage traffic - Add routes to tenantdcn1/dcn2 subnets for tenant network traffic This fixes the issue where DCN compute nodes couldn't connect to RabbitMQ and other control plane services because they lacked routes to central site. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: John Fulton <fulton@redhat.com>
1 parent 93183fc commit 5b39b81

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/vars.dcn_nostorage.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,14 @@ netconfig_networks:
9191
cidr: 172.17.10.0/24
9292
name: internalapidcn1
9393
vlan: 30
94+
routes: "{{ edpm_dcn1_routes.get('internalapidcn1', []) }}"
9495
- allocationRanges:
9596
- end: 172.17.20.250
9697
start: 172.17.20.100
9798
cidr: 172.17.20.0/24
9899
name: internalapidcn2
99100
vlan: 40
101+
routes: "{{ edpm_dcn2_routes.get('internalapidcn2', []) }}"
100102
- dnsDomain: external.example.com
101103
mtu: 1500
102104
name: External
@@ -126,12 +128,14 @@ netconfig_networks:
126128
cidr: 172.18.10.0/24
127129
name: storagedcn1
128130
vlan: 31
131+
routes: "{{ edpm_dcn1_routes.get('storagedcn1', []) }}"
129132
- allocationRanges:
130133
- end: 172.18.20.250
131134
start: 172.18.20.100
132135
cidr: 172.18.20.0/24
133136
name: storagedcn2
134137
vlan: 41
138+
routes: "{{ edpm_dcn2_routes.get('storagedcn2', []) }}"
135139
- dnsDomain: storagemgmt.example.com
136140
mtu: 1500
137141
name: storagemgmt
@@ -172,10 +176,12 @@ netconfig_networks:
172176
cidr: 172.19.10.0/24
173177
name: tenantdcn1
174178
vlan: 32
179+
routes: "{{ edpm_dcn1_routes.get('tenantdcn1', []) }}"
175180
- allocationRanges:
176181
- end: 172.19.20.250
177182
start: 172.19.20.100
178183
cidr: 172.19.20.0/24
179184
name: tenantdcn2
180185
vlan: 42
186+
routes: "{{ edpm_dcn2_routes.get('tenantdcn2', []) }}"
181187

0 commit comments

Comments
 (0)