[multi-asic] show_transceiver changes#1081
Conversation
Rearranging of common functions in config/main.py yo py-common, utilities_common
|
This pull request introduces 1 alert and fixes 1 when merging 41c16a0 into 62e44d9 - view on LGTM.com new alerts:
fixed alerts:
|
|
This pull request introduces 1 alert and fixes 1 when merging 4de1197 into 60fcab9 - view on LGTM.com new alerts:
fixed alerts:
|
|
This pull request fixes 1 alert when merging 98f145f into 60fcab9 - view on LGTM.com fixed alerts:
|
|
retest this please |
|
This pull request fixes 1 alert when merging 83d5832 into 60fcab9 - view on LGTM.com fixed alerts:
|
|
Do we need to support the lpmode commands as well ? Yes it is supported in multi-asic platforms. There is no change in implementation as it get the info from platform plugins. The sfp platform module was updated earlier (part of pmon changes) to get the list of all the interfaces |
|
This pull request fixes 1 alert when merging c93ebc3 into 12f0d07 - view on LGTM.com fixed alerts:
|
|
retest this please |
…onic-net#1081) into 201911 branch
|
@judyjoseph Please create PR for 201911. |
…ceiver (#1087) * Merging the Multi asic platform changes for interface, portchannel commands ( #878) into 201911 branch * Merging the Multi asic platform changes show transceiver command (PR #1081) into 201911 branch * Updated needed in 201911 * Correcting the changes done to sfputil/main.py * Remove unused import
It is already taken care of by this PR #1087 ( as there were some dependencies ) |
|
|
||
| def test_sfp_presence_with_ns(self): | ||
| runner = CliRunner() | ||
| result = runner.invoke(show.cli.commands["interfaces"].commands["transceiver"].commands["presence"], ["Ethernet0 -n asic0"]) |
There was a problem hiding this comment.
I think this is incorrect way to parse arguments. Ref: https://click.palletsprojects.com/en/8.1.x/testing/#id4
| expected = "Ethernet200: SFP EEPROM Not detected" | ||
| assert result_lines == expected | ||
|
|
||
| def test_sfp_eeprom_with_ns(self): |
- What I did
Show transceiver changes
Rearranging of common functions in config/main.py to py-common, utilities_common
Dependent on another PR (sonic-net/sonic-buildimage#5269)
- How I did it
- How to verify it
- Previous command output (if the output of a command-line utility has changed)
- New command output (if the output of a command-line utility has changed)