-
Notifications
You must be signed in to change notification settings - Fork 557
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
Get_optics() for EOS update to add 4 channel support #1581
Comments
Per Arista TOI (registration required) this command was added in 4.21.5F. I do not know if it immediately had JSON support in the same release https://www.arista.com/en/support/toi/eos-4-21-5f/14185-show-interfaces-transceiver-dom-thresholds |
The current behavior appears to assign subsequent channels to sub-numbered interfaces:
Note that the TX bias for 53/1 and 53/4 in the original command correctly reflect the channels in the Changing this to report multiple channels on the base interface may be a breaking change. |
I think this would not be a breaking change, in that the output is the same, but with more channels. Since the command was extended, we could check for cli_version and add cli_version is already available in the device object. |
Would it be ok for me to submit this change for testing, or should I go down another path such as adding this as a new method? |
Description of Issue/Question
Note: Please check https://guides.github.com/features/mastering-markdown/
to see how to properly format your request.
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
(Place an
x
between the square brackets where applicable)Setup
napalm version
(Paste verbatim output from
pip freeze | grep napalm
between quotes below)Network operating system version
(Paste verbatim output from
show version
- or equivalent - between quotes below)Steps to Reproduce the Issue
run get_optics() method on Arista platform
Error Traceback
N/A - this is to open an issue about modifying the get_optics() method, or creating a new method to add fuller support for optics output. Currently the command run against pyeAPI is
show interfaces transceiver
. The output returns information on only the first channel. It would be useful to us to have information on all 4 of the optical channels. The commandshow interfaces transceiver dom
provides more verbose feedback and support for all channels. Please see sample json below and let me know if this is something that would be accepted as an addition or modification to the EOS methods.The text was updated successfully, but these errors were encountered: