-
Notifications
You must be signed in to change notification settings - Fork 230
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_cli_config_gen): Support for setting default QSFP transceiver mode #3271
Conversation
description: | | ||
The `transceiver_qsfp_default_channelized` knob allows to comply with the change of default QSFP mode for Tomahawk and Trident based devices (40G instead of 4x10G). | ||
This change has been introduced starting from EOS version 4.26.0F. | ||
The user should not configure the knob to `false` for other type of platforms or for a lower EOS version. |
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.
So I think there is more to this than this reason, since newer EOS versions have removed the command from defaults on other platforms. I think we need to document this with broader terms.
Let's discuss internally.
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.
The description has been updated inspired from the EOS guide: https://www.arista.com/en/um-eos/eos-ethernet-ports
# Use Ctrl + Space to get suggestions for every field. Autocomplete will pop up after typing 2 letters. | ||
type: dict | ||
keys: | ||
transceiver_qsfp_default_channelized: |
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.
transceiver_qsfp_default_channelized: | |
transceiver_qsfp_default_mode_channelized: |
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.
updated to transceiver_qsfp_default_mode_4x10:
to align closer to the EOS CLI
...llections/arista/avd/roles/eos_cli_config_gen/templates/eos/transceiver-qsfp-default-mode.j2
Outdated
Show resolved
Hide resolved
...llections/arista/avd/roles/eos_cli_config_gen/templates/eos/transceiver-qsfp-default-mode.j2
Outdated
Show resolved
Hide resolved
Moving to draft until we have sorted out the description and key name. |
c200f02
to
e5dd733
Compare
...cli_config_gen/schemas/schema_fragments/transceiver_qsfp_default_mode_channelized.schema.yml
Show resolved
Hide resolved
...cli_config_gen/schemas/schema_fragments/transceiver_qsfp_default_mode_channelized.schema.yml
Outdated
Show resolved
Hide resolved
e2b2061
to
a07e4e4
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
...tions/arista/avd/molecule/eos_cli_config_gen/inventory/host_vars/generate-default-config.yml
Outdated
Show resolved
Hide resolved
...olecule/eos_cli_config_gen/documentation/devices/transceiver_qsfp_default_mode_4x10_false.md
Outdated
Show resolved
Hide resolved
…umentation/devices/transceiver_qsfp_default_mode_4x10_false.md
...olecule/eos_cli_config_gen/documentation/devices/transceiver_qsfp_default_mode_4x10_false.md
Outdated
Show resolved
Hide resolved
…umentation/devices/transceiver_qsfp_default_mode_4x10_false.md
Change Summary
To be compliant with the new default QSFP mode for various platforms in EOS 4.26.0+ (40G instead of 4x10G), we are allowing the user to dismiss the
transceiver qsfp default-mode 4x10G
config.In AVD 5.0.0 the default will be flipped to not generate this command unless this key is set to true.
Related Issue(s)
Fixes #3261
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes
1/ Introduced a new var
transceiver_qsfp_default_channelized
of type boolean:transceiver qsfp default-mode 4x10G
is includedfalse
, configtransceiver qsfp default-mode 4x10G
is not included2/ var
generate_default_config
no longer control the default qsfp mode configurationHow to test
Changed host
generate-default-config
: vargenerate-default-config
changed totrue
while vargenerate_default_config
is set tofalse
. Confirmed that configtransceiver qsfp default-mode 4x10G
does not show up in the intended configChecklist
User Checklist
Repository Checklist