Skip to content

Commit

Permalink
Fix doc template for dot1q-tunnel default
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivani-gslab committed Aug 22, 2024
1 parent af33193 commit e093b6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,13 @@
| {{ ethernet_interface.name }} | in | {{ vlan_translation.from }} | {{ vlan_translation.to }} | {{ vlan_translation.inner_vlan_from | arista.avd.default('-') }} | - | {{ vlan_translation.network | arista.avd.default('-') }} | {{ vlan_translation.dot1q_tunnel | arista.avd.default('-') }} |
{% endfor %}
{% for vlan_translation in ethernet_interface.switchport.vlan_translations.direction_out | arista.avd.natural_sort('from') %}
{% set to_vlan_id = vlan_translation.dot1q_tunnel_to | arista.avd.default(vlan_translation.to, "-") %}
{% if vlan_translation.dot1q_tunnel_to is arista.avd.defined %}
{% set dot1q_tunnel = "True" %}
{% set to_vlan_id = vlan_translation.dot1q_tunnel_to %}
{% else %}
{% set to_vlan_id = vlan_translation.to | arista.avd.default("-") %}
{% endif %}
| {{ ethernet_interface.name }} | out | {{ vlan_translation.from }} | {{ to_vlan_id }} | - | {{ vlan_translation.inner_vlan_to | arista.avd.default('-') }} | {{ vlan_translation.network | arista.avd.default('-') }} | {{ dot1q_tunnel | arista.avd.default(vlan_translation.dot1q_tunnel, '-') }} |
| {{ ethernet_interface.name }} | out | {{ vlan_translation.from }} | {{ to_vlan_id }} | - | {{ vlan_translation.inner_vlan_to | arista.avd.default('-') }} | {{ vlan_translation.network | arista.avd.default('-') }} | {{ dot1q_tunnel | arista.avd.default('-') }} |
{% endfor %}
{% elif ethernet_interface.vlan_translations is arista.avd.defined %}
{% for vlan_translation in ethernet_interface.vlan_translations | arista.avd.natural_sort %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,13 @@
| {{ port_channel_interface.name }} | in | {{ vlan_translation.from }} | {{ vlan_translation.to }} | - | {{ vlan_translation.inner_vlan_from | arista.avd.default('-') }} | {{ vlan_translation.network | arista.avd.default('-') }} | {{ vlan_translation.dot1q_tunnel | arista.avd.default('-') }} |
{% endfor %}
{% for vlan_translation in port_channel_interface.switchport.vlan_translations.direction_out | arista.avd.natural_sort('from') %}
{% set to_vlan_id = vlan_translation.dot1q_tunnel_to | arista.avd.default(vlan_translation.to, "-") %}
{% if vlan_translation.dot1q_tunnel_to is arista.avd.defined %}
{% set dot1q_tunnel = "True" %}
{% set to_vlan_id = vlan_translation.dot1q_tunnel_to %}
{% else %}
{% set to_vlan_id = vlan_translation.to | arista.avd.default("-") %}
{% endif %}
| {{ port_channel_interface.name }} | out | {{ vlan_translation.from }} | {{ to_vlan_id }} | - | {{ vlan_translation.inner_vlan_to | arista.avd.default('-') }} | {{ vlan_translation.network | arista.avd.default('-') }} | {{ dot1q_tunnel | arista.avd.default(vlan_translation.dot1q_tunnel, '-') }} |
| {{ port_channel_interface.name }} | out | {{ vlan_translation.from }} | {{ to_vlan_id }} | - | {{ vlan_translation.inner_vlan_to | arista.avd.default('-') }} | {{ vlan_translation.network | arista.avd.default('-') }} | {{ dot1q_tunnel | arista.avd.default('-') }} |
{% endfor %}
{% elif port_channel_interface.vlan_translations is arista.avd.defined %}
{% for vlan_translation in port_channel_interface.vlan_translations | arista.avd.natural_sort %}
Expand Down

0 comments on commit e093b6b

Please sign in to comment.