-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor(eos_cli_config_gen): Wildcard dict to list for port-channel-interfaces #1665
Refactor(eos_cli_config_gen): Wildcard dict to list for port-channel-interfaces #1665
Conversation
3948de0
to
29eb13f
Compare
...llections/arista/avd/roles/eos_cli_config_gen/templates/documentation/ethernet-interfaces.j2
Outdated
Show resolved
Hide resolved
...llections/arista/avd/roles/eos_cli_config_gen/templates/documentation/ethernet-interfaces.j2
Outdated
Show resolved
Hide resolved
...llections/arista/avd/roles/eos_cli_config_gen/templates/documentation/ethernet-interfaces.j2
Outdated
Show resolved
Hide resolved
...llections/arista/avd/roles/eos_cli_config_gen/templates/documentation/ethernet-interfaces.j2
Outdated
Show resolved
Hide resolved
...llections/arista/avd/roles/eos_cli_config_gen/templates/documentation/ethernet-interfaces.j2
Show resolved
Hide resolved
ansible_collections/arista/avd/roles/eos_cli_config_gen/templates/eos/ethernet-interfaces.j2
Outdated
Show resolved
Hide resolved
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
c2ac056
to
63a31d9
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
...tions/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/core-1-isis-sr-ldp.md
Outdated
Show resolved
Hide resolved
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
223fe81
to
c330dcf
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
c330dcf
to
6b016ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you!!
...llections/arista/avd/roles/eos_cli_config_gen/templates/documentation/ethernet-interfaces.j2
Outdated
Show resolved
Hide resolved
| {{ port_channel_interface }} | {{ description }} | {{ type }} | {{ mlag }} | {{ ipv6_address }} | {{ vrf }} | {{ mtu }} | {{ shutdown | lower }} | {{ ipv6_nd_ra_disabled | lower }} | {{ ipv6_nd_managed_config_flag | lower }} | {{ ipv6_acl_in }} | {{ ipv6_acl_out }} | | ||
{% set ipv6_acl_in = port_channel_interface.ipv6_access_group_in | arista.avd.default("-") %} | ||
{% set ipv6_acl_out = port_channel_interface.ipv6_access_group_out | arista.avd.default("-") %} | ||
| {{ port_channel_interface.name }} | {{ description }} | {{ type }} | {{ mlag }} | {{ ipv6_address }} | {{ vrf }} | {{ mtu }} | {{ shutdown | lower }} | {{ ipv6_nd_ra_disabled | lower }} | {{ ipv6_nd_managed_config_flag | lower }} | {{ ipv6_acl_in }} | {{ ipv6_acl_out }} | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to fix this lower filter on boolean in separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
"Wildcard Keyed Dict" to "List of Dicts" Data model migration
Data model key
port-channel-interfaces
Checklist
Contributor Checklist
README_v4.0.md
with new data modelhost_vars
under molecule scenarioeos_cli_config_gen_v4.0
with new data modeltemplates/eos/< template >.j2
andtemplates/documentation/< template >.j2
:arista.avd.convert_dicts('<primary key>')
filter for loops previously using wildcard keysarista.avd.natural_sort('<primary key>')
to sort on the primary key (if applicable)cd ansible_collections/arista/avd/molecule ; make cli-4.0-schema
Reviewer Checklist
Reviewer 1: Claus
host_vars
undereos_cli_config_gen_v4.0
has been updated to the new data modelReviewer 2: Tony
host_vars
undereos_cli_config_gen_v4.0
has been updated to the new data model