Skip to content

Add EvpnVlanAwareBundle resource class#103

Open
ed6869 wants to merge 1 commit into
aruba:masterfrom
ed6869:feature/evpn-vlan-aware-bundle
Open

Add EvpnVlanAwareBundle resource class#103
ed6869 wants to merge 1 commit into
aruba:masterfrom
ed6869:feature/evpn-vlan-aware-bundle

Conversation

@ed6869

@ed6869 ed6869 commented Jun 30, 2026

Copy link
Copy Markdown

Fixes #105

Companion collection PR: aruba/aoscx-ansible-collection#213

Summary

Adds the EvpnVlanAwareBundle resource class to manage EVPN VLAN-aware bundles under system/evpn/evpn_vlan_aware_bundles, indexed by the bundle name.

A bundle groups several VLANs (mapped through vlan_ethernet_tags) under a single EVPN instance sharing the same route distinguisher and route targets. The class mirrors the existing EvpnVlan resource: only the bundle name is configurable at creation time; the remaining attributes are applied through update().

Changes

  • New pyaoscx/evpn_vlan_aware_bundle.py (EvpnVlanAwareBundle).
  • Registered in api.py.
  • Adds offline unit tests (tests/test_evpn_vlan_aware_bundle.py).

Testing

  • Offline unit tests pass (pytest tests/test_evpn_vlan_aware_bundle.py).
  • Validated live on a CX 6300 (FL.10.17, REST latest): create / idempotency / update (rd, route targets, member VLANs via vlan_ethernet_tags) / delete.

Manage EVPN VLAN-aware bundles under system/evpn/evpn_vlan_aware_bundles,
indexed by the bundle name. A bundle groups several VLANs (mapped through
vlan_ethernet_tags) under a single EVPN instance sharing the same route
distinguisher and route targets. Only the bundle name is configurable at
creation; the remaining attributes are applied through update(). Mirrors the
existing EvpnVlan resource. Adds offline unit 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.

Add EvpnVlanAwareBundle resource class

1 participant