Skip to content

Fix regular expression issue in show_interface.py#2584

Merged
liat-grozovik merged 1 commit intosonic-net:masterfrom
Junchao-Mellanox:fix_show_intf
Nov 26, 2020
Merged

Fix regular expression issue in show_interface.py#2584
liat-grozovik merged 1 commit intosonic-net:masterfrom
Junchao-Mellanox:fix_show_intf

Conversation

@Junchao-Mellanox
Copy link
Contributor

Description of PR

Summary:
The current regular expression in show_interface.py assume that the FEC value could be either rs or N/A, however, it could be none in some cases. See https://github.com/Azure/sonic-buildimage/blob/master/device/mellanox/x86_64-mlnx_msn4600c-r0/Mellanox-SN4600C-D112C8/port_config.ini. This PR is to fix the issue.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

What is the motivation for this PR?

Fix regular expression issue when FEC is none

How did you do it?

Change the regular expression to match a FEC value with "rs", "N/A" or "none"

How did you verify/test it?

Manually run test case to verify it

Any platform specific information?

N/A

Supported testbed topology if it's a new test case?

N/A

Documentation

@wangxin
Copy link
Collaborator

wangxin commented Nov 26, 2020

retest vsimage please

@liat-grozovik liat-grozovik merged commit b229dcc into sonic-net:master Nov 26, 2020
@Junchao-Mellanox Junchao-Mellanox deleted the fix_show_intf branch February 4, 2021 08:21
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…le head (sonic-net#13353)

utilties:
* 7fc3fb7 2023-01-06 | [storyteller] add link prober state change to story teller (sonic-net#2585) (HEAD -> 202205, github/202205) [Jing Zhang]
* d8202e8 2023-01-12 | [202205] Added a new option in show queue counters command to display voq statistics (sonic-net#2591) [Sambath Kumar Balasubramanian]
* 98dde31 2023-01-11 | resolved conflicts (sonic-net#2589) [kannankvs]

swss:
* 268c3f3 2023-01-11 | Added new attributes for Vnet and Vxlan ecmp configurations. (sonic-net#2584) (HEAD -> 202205, github/202205) [siqbal1986]
* 50235b6 2023-01-12 | [routesync] Fix for stale dynamic neighbor (sonic-net#2553) [vganesan-nokia]
* ad9d826 2023-01-12 | [202205][voq] Add voq counters. (sonic-net#2606) [Sambath Kumar Balasubramanian]
* 34995f1 2023-01-10 | Revert "[voq][chassis]Add show fabric counters port/queue commands (sonic-net#2522)" (sonic-net#2612) [Arvindsrinivasan Lakshmi Narasimhan]

sairedis:
* 92e6442 2023-01-05 | enable cisco8000 SAI bulk API feature (sonic-net#1153) (sonic-net#1164) (github/202205) [Keith Lu]

platform-daemons:
* 10eb2e6 2023-01-06 | Fix bug where transceiver info is missing after port breakout change (sonic-net#329) (HEAD -> 202205) [Tal Berlowitz]

Signed-off-by: Ying Xie <[email protected]>

Signed-off-by: Ying Xie <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants