Skip to content

aoscx_vni: manage static VTEP peers (head-end replication) - #212

Open
ed6869 wants to merge 2 commits into
aruba:masterfrom
ed6869:feature/vni-vtep-peers
Open

aoscx_vni: manage static VTEP peers (head-end replication)#212
ed6869 wants to merge 2 commits into
aruba:masterfrom
ed6869:feature/vni-vtep-peers

Conversation

@ed6869

@ed6869 ed6869 commented Jun 30, 2026

Copy link
Copy Markdown

Fixes #209

Depends on SDK PR aruba/pyaoscx#102.

Summary

Adds the vtep_peers and vtep_peer_vrf options to aoscx_vni to manage static remote VTEP peers (head-end replication) attached to a VNI's flood list. The supplied list fully replaces the static peers of the VNI (an empty list removes them all). A peer shared by several VNIs is preserved when removed from one of them.

VTEP peers are modeled as tunnel endpoints on the VXLAN interface whose network_id map references the VNI(s); this is backed by the pyaoscx TunnelEndpoint class.

Notes

Requires aruba/pyaoscx#102, which keeps the Tunnel Endpoint network_id as a multi-VNI map (so a shared peer is not dropped). Includes documentation, changelog fragment, unit and integration tests.

Testing

  • ansible-test sanity (pep8, pylint, validate-modules) and ansible-doc pass.
  • Unit tests pass.
  • Validated live on a CX 6300 (FL.10.17, REST latest): create / idempotency / add and remove peers / shared-peer preservation / delete.

ed6869 added 2 commits June 28, 2026 17:18
Manage VXLAN VNIs (system/virtual_network_ids) on AOS-CX. Supports Layer 2
VNIs (VLAN-mapped) and Layer 3 VNIs (VRF-mapped with routing), attached to a
VXLAN tunnel interface. Options: vni_id, interface, vni_type, vlan, vrf,
routing, state (create/update/delete); vlan and vrf are mutually exclusive.

Includes documentation, a changelog fragment, integration target and 15
offline unit tests. The module's delete path depends on the pyaoscx
delete_attrs fix (aruba/pyaoscx#57).

Signed-off-by: ed6869 <ed6869@mail.com>
Add the vtep_peers and vtep_peer_vrf options to attach static remote VTEP
peers to a VNI's flood list. The supplied list fully replaces the static peers
of the VNI (an empty list removes them all); a peer shared by several VNIs is
preserved when removed from one of them. Backed by the pyaoscx TunnelEndpoint
class. Updates documentation, changelog, unit and integration tests.

Signed-off-by: ed6869 <ed6869@mail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aoscx_vni: support static VTEP peers (head-end replication)

1 participant