Infrahub does not support relation traversal in HFID computation. Add a local_identifier attribute to PeerGroup, Session, and AddressFamily that combines device name with the type-specific key. Schema changes (bgp.yml): - InfraBGPPeerGroup: HFID=local_identifier__value (e.g. spine1__evpn) - InfraBGPSession: HFID=local_identifier__value (e.g. spine1__10.0.250.11) - InfraBGPAddressFamily: HFID=local_identifier__value (e.g. spine1__ipv4_unicast) Object file changes: - 09-bgp.yml: added local_identifier to 26 PeerGroup entries - 10-bgp-sessions.yml: added local_identifier to 72 Session + 20 AF entries, updated 56 peer_group + 26 active_peer_groups references
22 KiB
22 KiB