Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(eos_cli_config_gen): Support bfd vtep evpn commands #1857

Merged
merged 4 commits into from
Jun 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ interface Management1
| VXLAN flood-lists learning from data-plane | Enabled |
| Qos dscp propagation encapsulation | Enabled |
| Qos map dscp to traffic-class decapsulation | Enabled |
| Remote VTEPs EVPN BFD transmission rate | 300ms |
| Remote VTEPs EVPN BFD expected minimum incoming rate (min-rx) | 300ms |
| Remote VTEPs EVPN BFD multiplier | 3 |
| Remote VTEPs EVPN BFD prefix-list | PL-TEST |

#### VLAN to VNI, Flood List and Multicast Group Mappings

Expand Down Expand Up @@ -111,6 +115,8 @@ interface Vxlan1
vxlan vrf Tenant_A_OP_Zone vni 10
vxlan vrf Tenant_A_WEB_Zone vni 11
vxlan mlag source-interface Loopback1
bfd vtep evpn interval 300 min-rx 300 multiplier 3
bfd vtep evpn prefix-list PL-TEST
vxlan flood vtep 10.1.0.10 10.1.0.11
vxlan qos dscp propagation encapsulation
vxlan qos map dscp to traffic-class decapsulation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ interface Vxlan1
vxlan vrf Tenant_A_OP_Zone vni 10
vxlan vrf Tenant_A_WEB_Zone vni 11
vxlan mlag source-interface Loopback1
bfd vtep evpn interval 300 min-rx 300 multiplier 3
bfd vtep evpn prefix-list PL-TEST
vxlan flood vtep 10.1.0.10 10.1.0.11
vxlan qos dscp propagation encapsulation
vxlan qos map dscp to traffic-class decapsulation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ vxlan_interface:
qos:
dscp_propagation_encapsulation: true
map_dscp_to_traffic_class_decapsulation: true
bfd_vtep_evpn:
interval: 300
min_rx: 300
multiplier: 3
prefix_list: PL-TEST
vlans:
110:
vni: 10110
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1589,6 +1589,11 @@ vxlan_interface:
mlag_source_interface: < source_interface_name >
udp_port: < udp_port >
virtual_router_encapsulation_mac_address: < mlag-system-id | ethernet_address (H.H.H) >
bfd_vtep_evpn:
interval: < integer >
min_rx: < integer >
tgodaA marked this conversation as resolved.
Show resolved Hide resolved
multiplier: < 3-50 >
prefix_list: < prefix_list >
qos:
# !!!Warning, only few hardware types with software version >= 4.26.0 support the below knobs to configure Vxlan DSCP mapping.
# For the Traffic Class to be derived based on the outer DSCP field of the incoming VxLan packet, the core ports must be in "DSCP Trust" mode.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,20 @@
{% elif vxlan_interface.Vxlan1.vxlan.qos.map_dscp_to_traffic_class_decapsulation is arista.avd.defined(false) %}
| Qos map dscp to traffic-class decapsulation | Disabled |
{% endif %}
{% if vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn is arista.avd.defined %}
{% if vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.interval is arista.avd.defined %}
| Remote VTEPs EVPN BFD transmission rate | {{ vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.interval }}ms |
{% endif %}
{% if vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.min_rx is arista.avd.defined %}
| Remote VTEPs EVPN BFD expected minimum incoming rate (min-rx) | {{ vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.min_rx }}ms |
{% endif %}
{% if vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.multiplier is arista.avd.defined %}
| Remote VTEPs EVPN BFD multiplier | {{ vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.multiplier }} |
{% endif %}
{% if vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.prefix_list is arista.avd.defined %}
| Remote VTEPs EVPN BFD prefix-list | {{ vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.prefix_list }} |
{% endif %}
{% endif %}
{% if vxlan_interface.Vxlan1.vxlan.vlans is arista.avd.defined %}

#### VLAN to VNI, Flood List and Multicast Group Mappings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ interface Vxlan1
{% if vxlan_interface.Vxlan1.vxlan.mlag_source_interface is arista.avd.defined %}
vxlan mlag source-interface {{ vxlan_interface.Vxlan1.vxlan.mlag_source_interface }}
{% endif %}
{% if vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn is arista.avd.defined %}
{% if vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.interval is arista.avd.defined
and vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.min_rx is arista.avd.defined
and vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.multiplier is arista.avd.defined %}
bfd vtep evpn interval {{ vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.interval }} min-rx {{ vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.min_rx }} multiplier {{ vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.multiplier }}
{% endif %}
{% if vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.prefix_list is arista.avd.defined %}
bfd vtep evpn prefix-list {{ vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.prefix_list }}
{% endif %}
{% endif %}
{% if vxlan_interface.Vxlan1.vxlan.flood_vteps is arista.avd.defined %}
vxlan flood vtep {{ vxlan_interface.Vxlan1.vxlan.flood_vteps | join(' ') }}
{% endif %}
Expand Down