Skip to content

Commit

Permalink
Refactor template
Browse files Browse the repository at this point in the history
  • Loading branch information
Laxmikant Chintakindi authored and Laxmikant Chintakindi committed Nov 5, 2024
1 parent 580f192 commit aee2df2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 16 deletions.

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 @@ -303,13 +303,7 @@ interface {{ ethernet_interface.name }}
l2-protocol encapsulation dot1q vlan {{ ethernet_interface.l2_protocol.encapsulation_dot1q_vlan }}
{% endif %}
{% if ethernet_interface.mac_timestamp is arista.avd.defined %}
{% if ethernet_interface.mac_timestamp == "header" %}
mac timestamp header
{% elif ethernet_interface.mac_timestamp == "before-fcs" %}
mac timestamp before-fcs
{% elif ethernet_interface.mac_timestamp == "replace-fcs" %}
mac timestamp replace-fcs
{% endif %}
mac timestamp {{ ethernet_interface.mac_timestamp }}
{% endif %}
{% if ethernet_interface.evpn_ethernet_segment is arista.avd.defined %}
!
Expand Down

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 @@ -120,8 +120,8 @@ keys:
type: str
valid_values: ["before-fcs", "replace-fcs", "header"]
description: |-
header: Insert timestamp in ethernet header. Supports on platforms like 7500E/R and 7280E/R.
before-fcs: Insert timestamp before fcs field. Support on platforms like 7150.
header: Insert timestamp in ethernet header. Supported on platforms like 7500E/R and 7280E/R.
before-fcs: Insert timestamp before fcs field. Supported on platforms like 7150.
replace-fcs: Replace fcs field with timestamp.
trunk_groups:
type: list
Expand Down

0 comments on commit aee2df2

Please sign in to comment.