Skip to content

Commit

Permalink
fixing doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Vibhu-gslab committed Nov 4, 2024
1 parent 389a713 commit 9574af8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ sFlow is disabled.
| --------- | ---------- | --------- |
| Ethernet1 | EVPN_MH_ES1 | upstream |
| Ethernet1 | EVPN_MH_ES3 | upstream |
| Ethernet1 | EVPN_MH_ES4 | upstream |
| Ethernet1 | EVPN_MH_ES3, EVPN_MH_ES4 | upstream |
| Ethernet3 | EVPN_MH_ES2 | downstream |

##### Phone Interfaces
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ interface Ethernet50
| --------- | ---------- | --------- |
| Port-Channel5 | EVPN_MH_ES1 | downstream |
| Port-Channel5 | EVPN_MH_ES3 | downstream |
| Port-Channel5 | EVPN_MH_ES4 | downstream |
| Port-Channel5 | EVPN_MH_ES3, EVPN_MH_ES4 | downstream |
| Port-Channel15 | EVPN_MH_ES2 | upstream |

##### IPv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,14 +329,16 @@
| Interface | Group Name | Direction |
| --------- | ---------- | --------- |
{% for link_tracking_interface in link_tracking_interfaces %}
{% set link_tracking_group_name = [] %}
{% for link_tracking_group in link_tracking_interface.link_tracking_groups | arista.avd.natural_sort('name') %}
{% if link_tracking_group.name is arista.avd.defined and link_tracking_group.direction is arista.avd.defined %}
| {{ link_tracking_interface.name }} | {{ link_tracking_group.name }} | {{ link_tracking_group.direction }} |
{% endif %}
{% endfor %}
{% if link_tracking_interface.link_tracking.direction is arista.avd.defined %}
{% for group_name in link_tracking_interface.link_tracking.groups %}
| {{ link_tracking_interface.name }} | {{ group_name }} | {{ link_tracking_interface.link_tracking.direction }} |
{% for group_name in link_tracking_interface.link_tracking.groups | arista.avd.natural_sort('name') %}
{% do link_tracking_group_name.append(group_name) %}
| {{ link_tracking_interface.name }} | {{ link_tracking_group_name | join(', ') }} | {{ link_tracking_interface.link_tracking.direction }} |
{% endfor %}
{% endif %}
{% endfor %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,14 +286,16 @@
| Interface | Group Name | Direction |
| --------- | ---------- | --------- |
{% for link_tracking_interface in link_tracking_interfaces | arista.avd.natural_sort('name') %}
{% set link_tracking_group_name = [] %}
{% for link_tracking_group in link_tracking_interface.link_tracking_groups | arista.avd.natural_sort('name') %}
{% if link_tracking_group.name is arista.avd.defined and link_tracking_group.direction is arista.avd.defined %}
| {{ link_tracking_interface.name }} | {{ link_tracking_group.name }} | {{ link_tracking_group.direction }} |
{% endif %}
{% endfor %}
{% if link_tracking_interface.link_tracking.direction is arista.avd.defined %}
{% for group_name in link_tracking_interface.link_tracking.groups %}
| {{ link_tracking_interface.name }} | {{ group_name }} | {{ link_tracking_interface.link_tracking.direction }} |
{% do link_tracking_group_name.append(group_name) %}
| {{ link_tracking_interface.name }} | {{ link_tracking_group_name | join(', ') }} | {{ link_tracking_interface.link_tracking.direction }} |
{% endfor %}
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 9574af8

Please sign in to comment.