Skip to content

Commit

Permalink
updates after review
Browse files Browse the repository at this point in the history
  • Loading branch information
emilarista committed Feb 1, 2024
1 parent e4cbf27 commit 4413bec
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;distance</samp>](## "vlan_interfaces.[].ip_attached_host_route_export.distance") | Integer | | | Min: 1<br>Max: 255 | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;ipv6_attached_host_route_export</samp>](## "vlan_interfaces.[].ipv6_attached_host_route_export") | Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enabled</samp>](## "vlan_interfaces.[].ipv6_attached_host_route_export.enabled") | Boolean | Required | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;distance</samp>](## "vlan_interfaces.[].ipv6_attached_host_route_export.distance") | Integer | | | Min: 1<br>Max: 255 | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prefix_length</samp>](## "vlan_interfaces.[].ipv6_attached_host_route_export.prefix_length") | Integer | | | Min: 0<br>Max: 128 | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;distance</samp>](## "vlan_interfaces.[].ipv6_attached_host_route_export.distance") | Integer | | | Min: 1<br>Max: 255 | Administrative distance for generated routes. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prefix_length</samp>](## "vlan_interfaces.[].ipv6_attached_host_route_export.prefix_length") | Integer | | | Min: 0<br>Max: 128 | Prefix length for generated routes. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;bfd</samp>](## "vlan_interfaces.[].bfd") | Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo</samp>](## "vlan_interfaces.[].bfd.echo") | Boolean | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;interval</samp>](## "vlan_interfaces.[].bfd.interval") | Integer | | | | Rate in milliseconds |
Expand Down Expand Up @@ -493,7 +493,11 @@
distance: <int; 1-255>
ipv6_attached_host_route_export:
enabled: <bool; required>

# Administrative distance for generated routes.
distance: <int; 1-255>

# Prefix length for generated routes.
prefix_length: <int; 0-128>
bfd:
echo: <bool>
Expand Down

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

Binary file not shown.

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 @@ -503,12 +503,14 @@ keys:
- str
min: 1
max: 255
description: Administrative distance for generated routes.
prefix_length:
type: int
convert_types:
- str
min: 0
max: 128
description: Prefix length for generated routes.
bfd:
type: dict
keys:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@ interface {{ vlan_interface.name }}
{% endif %}
{{ destination_cli }}
{% endfor %}
{% if vlan_interface.ipv6_attached_host_route_export.enabled is arista.avd.defined(true) %}
{% set ipv6_attached_host_route_export_cli = "ipv6 attached-host route export" %}
{% if vlan_interface.ipv6_attached_host_route_export.distance is arista.avd.defined %}
{% set ipv6_attached_host_route_export_cli = ipv6_attached_host_route_export_cli ~ " " ~ vlan_interface.ipv6_attached_host_route_export.distance %}
{% endif %}
{% if vlan_interface.ipv6_attached_host_route_export.prefix_length is arista.avd.defined %}
{% set ipv6_attached_host_route_export_cli = ipv6_attached_host_route_export_cli ~ " prefix-length " ~ vlan_interface.ipv6_attached_host_route_export.prefix_length %}
{% endif %}
{{ ipv6_attached_host_route_export_cli }}
{% endif %}
{% if vlan_interface.ip_igmp is arista.avd.defined(true) %}
ip igmp
{% endif %}
Expand Down Expand Up @@ -302,16 +312,6 @@ interface {{ vlan_interface.name }}
{% endif %}
{{ ip_attached_host_route_export_cli }}
{% endif %}
{% if vlan_interface.ipv6_attached_host_route_export.enabled is arista.avd.defined(true) %}
{% set ipv6_attached_host_route_export_cli = "ipv6 attached-host route export" %}
{% if vlan_interface.ipv6_attached_host_route_export.distance is arista.avd.defined %}
{% set ipv6_attached_host_route_export_cli = ipv6_attached_host_route_export_cli ~ " " ~ vlan_interface.ipv6_attached_host_route_export.distance %}
{% endif %}
{% if vlan_interface.ipv6_attached_host_route_export.prefix_length is arista.avd.defined %}
{% set ipv6_attached_host_route_export_cli = ipv6_attached_host_route_export_cli ~ " prefix-length " ~ vlan_interface.ipv6_attached_host_route_export.prefix_length %}
{% endif %}
{{ ipv6_attached_host_route_export_cli }}
{% endif %}
{% if vlan_interface.bfd.interval is arista.avd.defined and
vlan_interface.bfd.min_rx is arista.avd.defined and
vlan_interface.bfd.multiplier is arista.avd.defined %}
Expand Down

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

Binary file not shown.

0 comments on commit 4413bec

Please sign in to comment.