Skip to content

Commit

Permalink
Add error directive to exos_show_ports_information_detail (#1875)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbear authored Oct 15, 2024
1 parent cc0e3d8 commit c51a9bd
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,26 @@ Start
^\s*Link\s+State:\s*${LINK_STATE}(,)?(\s)?.*$$
^\s*Link\s+Ups:\s*${LINK_UPS_NUM}\s+Last:\s*${LINK_UPS_LAST}\s*$$
^\s*Link\s+Downs:\s*${LINK_DOWNS_NUM}\s+Last:\s*${LINK_DOWNS_LAST}\s*$$
^\s*VLAN\s+cfg:\s*$$
^.*VLAN\s+ID:\s*${VLAN_ID}\s*$$
^\s*\S+\s+cfg:\s*$$
^\s*Name:.*,?
^\s*\S+\s*Tag=\S+\s+Mode=\S+\s+State=\S+\s*$$
^\s*(Protocol|Trunking|Members|EDP|ELSM|Learning|Jumbo):
^\s*algorithm\s*$$
^\s*(\S+\s+)?Ethernet(\s+OAM)?:
^\s*\S+\s+(\S+\s+)*(Flooding|Rate):
^\s*(\S+\s+)?Flow\s+Control:
^\s*Reflective\s+Relay:
^\s*Link\s+up/down\s+SNMP\s+trap
^\s*QoS\s+Profile:
^\s*(Ingress|Egress)\s+\S+
^\s*NetLogin:?
^\s*\S+\s+redundan\S+(\s+\S+)?:
^\s*(IPFIX|DIP):
^\s*IPv\d+\s+Flow\s+Key\s+Mask:
^\s*Far-End-Fault-Indication:
^\s*Shared\s+packet\s+buffer:
^\s*VMAN\s+CEP\s+egress\s+filtering:
^\s*(Isolation|PTP\s+Configured|Time-Stamping\s+Mode):
^\s*(\S+\s+)+VLANs?(\s+\S+)?:\s+\S+\s*$$
^. -> Error
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
parsed_sample:
- admin_state: "Disabled with 10G full-duplex"
description: "AggregateLink"
interface: "1"
link_downs_last: "Thu Jun 23 12:41:45 2022"
link_downs_num: "1"
link_state: "Ready"
link_ups_last: "Mon Apr 12 12:30:24 2021"
link_ups_num: "0"
interface: "1"
random_early_drop: "Unsupported"
type: "NONE"
virtual_router: "VR-Default"
Expand All @@ -16,12 +16,12 @@ parsed_sample:
- "1801"
- admin_state: "Disabled with 10G full-duplex"
description: ""
interface: "2"
link_downs_last: "Thu Jun 23 12:41:37 2022"
link_downs_num: "2"
link_state: "Ready"
link_ups_last: "Mon Jun 13 19:21:19 2022"
link_ups_num: "1"
interface: "2"
random_early_drop: "Unsupported"
type: "NONE"
virtual_router: "VR-Default"
Expand Down

0 comments on commit c51a9bd

Please sign in to comment.