Skip to content

Commit

Permalink
Feat(eos_cli_config_gen): Add vxlan_interface.Vxlan1.multicast_headen…
Browse files Browse the repository at this point in the history
…d_replication (#3490)
  • Loading branch information
Shivani-gslab authored Jan 24, 2024
1 parent f0c3986 commit b35849b
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ interface Management1
| 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 |
| Multicast headend-replication | Enabled |

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

Expand Down Expand Up @@ -104,6 +105,7 @@ interface Vxlan1
vxlan vlan 110 multicast group 239.9.1.4
vxlan vlan 112 multicast group 239.9.1.6
vxlan vrf Tenant_A_OP_Zone multicast group 232.0.0.10
vxlan multicast headend-replication
vxlan encapsulation ipv4
```
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ interface Vxlan1
vxlan vlan 110 multicast group 239.9.1.4
vxlan vlan 112 multicast group 239.9.1.6
vxlan vrf Tenant_A_OP_Zone multicast group 232.0.0.10
vxlan multicast headend-replication
vxlan encapsulation ipv4

!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ vxlan_interface:
description: DC1-LEAF2A_VTEP
vxlan:
source_interface: Loopback0
multicast:
headend_replication: true
controller_client:
enabled: true
mlag_source_interface: Loopback1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;description</samp>](## "vxlan_interface.Vxlan1.description") | String | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;vxlan</samp>](## "vxlan_interface.Vxlan1.vxlan") | Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;source_interface</samp>](## "vxlan_interface.Vxlan1.vxlan.source_interface") | String | | | | Source Interface Name |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;multicast</samp>](## "vxlan_interface.Vxlan1.vxlan.multicast") | Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;headend_replication</samp>](## "vxlan_interface.Vxlan1.vxlan.multicast.headend_replication") | Boolean | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;controller_client</samp>](## "vxlan_interface.Vxlan1.vxlan.controller_client") | Dictionary | | | | Client to CVX Controllers |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enabled</samp>](## "vxlan_interface.Vxlan1.vxlan.controller_client.enabled") | Boolean | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mlag_source_interface</samp>](## "vxlan_interface.Vxlan1.vxlan.mlag_source_interface") | String | | | | |
Expand Down Expand Up @@ -51,6 +53,8 @@

# Source Interface Name
source_interface: <str>
multicast:
headend_replication: <bool>

# Client to CVX Controllers
controller_client:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ keys:
source_interface:
type: str
description: Source Interface Name
multicast:
type: dict
keys:
headend_replication:
type: bool
controller_client:
type: dict
description: Client to CVX Controllers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@
| Remote VTEPs EVPN BFD prefix-list | {{ vxlan_interface.Vxlan1.vxlan.bfd_vtep_evpn.prefix_list }} |
{% endif %}
{% endif %}
{% if vxlan_interface.Vxlan1.vxlan.multicast.headend_replication is arista.avd.defined(true) %}
| Multicast headend-replication | Enabled |
{% elif vxlan_interface.Vxlan1.vxlan.multicast.headend_replication is arista.avd.defined(false) %}
| Multicast headend-replication | Disabled |
{% 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 @@ -76,6 +76,9 @@ interface Vxlan1
{% for vrf in vxlan_interface.Vxlan1.vxlan.vrfs | arista.avd.natural_sort('name') if vrf.multicast_group is arista.avd.defined %}
vxlan vrf {{ vrf.name }} multicast group {{ vrf.multicast_group }}
{% endfor %}
{% if vxlan_interface.Vxlan1.vxlan.multicast.headend_replication is arista.avd.defined(true) %}
vxlan multicast headend-replication
{% endif %}
{% if vxlan_interface.Vxlan1.eos_cli is arista.avd.defined %}
{{ vxlan_interface.Vxlan1.eos_cli | indent(3, false) }}
{% endif %}
Expand Down

0 comments on commit b35849b

Please sign in to comment.