Update git submodules
* Update networking-baremetal from branch 'master'
to c2bc8be02171fe3d2a032c4324d34da51e3f7600
- Merge "Add VNI to L2VNI trunk subport binding profiles"
- Add VNI to L2VNI trunk subport binding profiles
L2VNI trunk subports previously only included physical_network and
VLAN ID in their binding profiles, preventing ML2 mechanism drivers
from configuring complete VLAN-to-VNI mappings on physical switches.
This resulted in only VLAN membership being configured without the
corresponding EVPN/VXLAN mapping.
This change updates L2VNI trunk reconciliation to query overlay
segment information (VNI) and store it in the subport's
binding:profile['vni'] field, enabling ML2 mechanism drivers to
configure complete VLAN-to-VNI mappings.
Key changes:
- Rename _get_networks_with_vlan_segments() to _get_networks_with_segments()
to collect both VLAN and overlay segments in a single API call
- Update _calculate_required_vlans() to extract VNI from overlay segments
and include it in the chassis_vlan_vni_map data structure
- Add _get_vni_for_network() helper for event-driven reconciliation
to query VNI for specific networks
- Update reconcile_single_vlan() to query and pass VNI during
event-driven reconciliation
- Update _add_subport() and _ensure_single_subport() to accept vni
parameter and store it in binding:profile['vni']
- Log warning if multiple overlay segments detected (only first used)
Change-Id: I6b7ad732539d86f080a7ddd0701af810124a16f7
Closes-Bug: #2144396
Assisted-By: Claude Assisted-By: Claude (claude-4.5-sonnet)
Signed-off-by: Harald Jensås <hjensas@redhat.com>
This commit is contained in: