Skip to content

Vlan aware bundle per VRF #6009

@FanaticBat46

Description

@FanaticBat46

Enhancement summary

I am trying to create a vlan bundle for a VRF. It is possible to create one big vlan bundle with all vrfs and L2 vlans of one tenant and it is possible to create a vlan bundle for one or more vlans but it seems impossible to create a vlan bundle on a VRF.
As the vlan bundles normally are created per VRF (or L2 VLAN) it would seem logical to have the possibility to create a vlan bundle per VRF.
Would you consider setting the vlan-aware bundle for one VRF also, thus setting the evpn_vlan_bundle setting on a VRF?

Which component of AVD is impacted

eos_designs

Use case example

We have to set special options to vlan bundles, this can of course be done by vlan, but it would be more logical to do this by VRF.

Describe the solution you would like

I would like to use this input:

evpn_vlan_bundles:

  • name: PROD111
    id: 111
    bgp:
    raw_eos_cli: |
    redistribute router-mac system

tenants:

  • name: TENANT1
    .....
    mac_vrf_vni_base: 10000
    vrfs:
    • name: PROD
      evpn_vlan_bundle: PROD111
      ...
      svis:
      • id: 100
        name: VLAN100
        enabled: true
        mtu: 9214
      • id: 111
        name: VLAN111
        enabled: true
        mtu: 9214
        ...

This would be the generated config:
vlan-aware-bundle PROD
rd x.x.x.x:xx
route-target both xx:xx
redistribute learned
vlan 100,111
redistribute route-mac system

Describe alternatives you have considered

Setting per vlan(s) or per tenant is of course possible, but the scope is often too big or too small.

Additional context

No response

Contributing Guide

  • I agree to follow this project Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions