Skip to content

Commit

Permalink
Updating the data-model schema as suggested
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivani-gslab committed Jan 17, 2024
1 parent 423bad8 commit 02e944a
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ vxlan_interface:
description: DC1-LEAF2A_VTEP
vxlan:
source_interface: Loopback0
multicast_headend_replication: true
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,7 +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_headend_replication</samp>](## "vxlan_interface.Vxlan1.vxlan.multicast_headend_replication") | Boolean | | | | |
| [<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 @@ -52,7 +53,8 @@

# Source Interface Name
source_interface: <str>
multicast_headend_replication: <bool>
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,8 +20,11 @@ keys:
source_interface:
type: str
description: Source Interface Name
multicast_headend_replication:
type: bool
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 @@ -76,7 +76,7 @@ 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) %}
{% 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 %}
Expand Down

0 comments on commit 02e944a

Please sign in to comment.