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
Feat(eos_designs, eos_cli_config_gen)!: Remove default "switchport" and remove logic from eos_cli_config_gen #2430
Feat(eos_designs, eos_cli_config_gen)!: Remove default "switchport" and remove logic from eos_cli_config_gen #2430
Conversation
fc63326
to
a75e9d2
Compare
Why am I seeing the changes of Schemas but not the switchport. Something looks wrong @ClausHolbechArista |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
c19204d
to
f8f0c31
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
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.
Reviewed code + ran against a few different repositories. No unexpected config changes seen. LGTM!
f8f0c31
to
57cdc36
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
af12b46
to
3bb1d41
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
3add680
to
5494696
Compare
...s/arista/avd/roles/eos_designs/python_modules/connected_endpoints/port_channel_interfaces.py
Show resolved
Hide resolved
...collections/arista/avd/examples/l2ls-fabric/documentation/fabric/DC1_FABRIC-documentation.md
Outdated
Show resolved
Hide resolved
...lections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/ethernet-interfaces.md
Outdated
Show resolved
Hide resolved
...ions/arista/avd/molecule/eos_cli_config_gen/documentation/devices/port-channel-interfaces.md
Show resolved
Hide resolved
..._collections/arista/avd/molecule/eos_cli_config_gen/documentation/devices/router-isis-new.md
Outdated
Show resolved
Hide resolved
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!
…nd remove logic from eos_cli_config_gen
8603e1d
to
fc514f9
Compare
Change Summary
Remove default "switchport" and remove logic from eos_cli_config_gen
These changes are potentially breaking for users of
eos_cli_config_gen
, they will be transparent for users ofeos_designs
.Component(s) name
arista.avd.eos_designs
arista.avd.eos_cli_config_gen
Proposed changes
Fixes: aristanetworks/avd-internal#89
eos_cli_config_gen
type
underethernet_interfaces
andport_channel_interfaces
. It was'switched'
switchport
unlesstype: 'switched'
is specifically set.print_ethernet
logic fromethernet_interfaces
jinja template ineos_cli_config_gen
, to no longer ignore interface settings on port-channel members.L2 Interfaces
iftype == 'switched'
type
where needed.print_ethernet
logic.type
is required for the interface to show up in documentation (previously it defaulted toswitched
so interfaces without type showed up under "L2 Interfaces".re. 8. this will change when we refactor to classify interfaces based on actual config keys instead of
type
.eos_designs
eos_designs
to addtype
as required to all generated interface configseos_designs
to only render valid config for port_channel members (was previously ignored because of theprint_ethernet
logic ineos_cli_config_gen
How to test
Updated molecule scenarios to render the same configs for eos_designs
Updated molecule scenarios to render mostly the same configs for eos_cli_config_gen. A few fixes have been done for wrongful switchport under subinterface and trunk information on port-channel member.
Checklist
User Checklist
Repository Checklist