Skip to content

Commit e0af6a7

Browse files
committed
[BGP+AmphoraLBs] Fix network configuration
Amphora LBs did not work properly with BGP. With this change, network configuration is modified to configure properly octavia NAD. OSPRH-10768
1 parent c04a711 commit e0af6a7

File tree

1 file changed

+5
-3
lines changed
  • roles/ci_gen_kustomize_values/templates/bgp_dt01/network-values

1 file changed

+5
-3
lines changed

roles/ci_gen_kustomize_values/templates/bgp_dt01/network-values/values.yaml.j2

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,13 @@ data:
130130
"isDefaultGateway": true,
131131
"isGateway": true,
132132
"forceAddress": false,
133+
{% if network.network_name == "ctlplane" %}
133134
"ipMasq": true,
135+
{% else %}
136+
"ipMasq": false,
137+
{% endif %}
134138
"hairpinMode": true,
135-
{% if network.network_name == "octavia" %}
136-
"bridge": "octbr",
137-
{% elif network.network_name == "ctlplane" %}
139+
{% if network.network_name == "ctlplane" %}
138140
"bridge": "ospbr",
139141
{% else %}
140142
"bridge": "{{ network.network_name }}",

0 commit comments

Comments
 (0)