Commit 670f562
[ci_gen_kustomize_values] BGP: generate gateway IP for network bridges from CIDR
Use `ansible.utils.nthhost(1)` to derive the bridge gateway IP directly
from the network CIDR instead of requiring a hardcoded `gateway` field
in `values.yaml`. This ensures the `internalapi` and `storage` bridge
gateway addresses in BGP deployments are always consistent with the
configured subnet.
Required by the NNCP fix in the `architecture` repo (OSPRH-32725), where
the NNCP desired state must include the bridge gateway IP so NMState does
not remove it during periodic reconciliation cycles, which otherwise causes
`ovn-controller` to lose connectivity to the OVN SB DB pods.
Related-Issue: #OSPRH-32725
Assisted-By: Claude Sonnet 4.6
Signed-off-by: Eduardo Olivares <eolivare@redhat.com>1 parent 8b22a75 commit 670f562
2 files changed
Lines changed: 2 additions & 0 deletions
File tree
- roles/ci_gen_kustomize_values/templates
- bgp-l3-xl/network-values
- bgp_dt01/network-values
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
0 commit comments