Skip to content

Commit

Permalink
Re-arranging the commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivani-gslab committed Jan 16, 2024
1 parent edbef02 commit 423bad8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ interface Management1
interface Vxlan1
description DC1-LEAF2A_VTEP
vxlan source-interface Loopback0
vxlan multicast headend-replication
vxlan controller-client
vxlan virtual-router encapsulation mac-address mlag-system-id
vxlan udp-port 4789
Expand All @@ -105,6 +104,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 @@ -15,7 +15,6 @@ interface Management1
interface Vxlan1
description DC1-LEAF2A_VTEP
vxlan source-interface Loopback0
vxlan multicast headend-replication
vxlan controller-client
vxlan virtual-router encapsulation mac-address mlag-system-id
vxlan udp-port 4789
Expand All @@ -35,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 @@ -14,9 +14,6 @@ interface Vxlan1
{% if vxlan_interface.Vxlan1.vxlan.source_interface is arista.avd.defined %}
vxlan source-interface {{ vxlan_interface.Vxlan1.vxlan.source_interface }}
{% endif %}
{% if vxlan_interface.Vxlan1.vxlan.multicast_headend_replication is arista.avd.defined(true) %}
vxlan multicast headend-replication
{% endif %}
{% if vxlan_interface.Vxlan1.vxlan.controller_client.enabled is arista.avd.defined(true) %}
vxlan controller-client
{% endif %}
Expand Down Expand Up @@ -79,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 423bad8

Please sign in to comment.