Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
--------------------------------------------------------------------------------
Fix
--------------------------------------------------------------------------------
* NXOS
* Modified ShowInterfaceStatus:
* Updated regex pattern <p1> to accommodate the value 'adminCfgC'.
2 changes: 1 addition & 1 deletion src/genie/libs/parser/nxos/show_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -3762,7 +3762,7 @@ def cli(self, interface="", output=None):
# containing any number of blank spaces. This makes it very difficult to use a regular
# expression to dynamically match the status column, so hard-coding offers a happy
# middle ground.
r'(?P<status>connected|disabled|sfpAbsent|noOperMem|notconnec|xcvrAbsen|down|linkFlapE)\s+'
r'(?P<status>connected|disabled|sfpAbsent|noOperMem|notconnec|xcvrAbsen|down|linkFlapE|adminCfgC)\s+'
r'(?P<vlan>\S+)\s+'
r'(?P<duplex_code>\S+)\s+'
r'(?P<port_speed>\S+)\s*'
Expand Down