-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cisco NXOS show port-channel summary fix (#1548)
Co-authored-by: sliddjur <[email protected]>
- Loading branch information
Showing
3 changed files
with
190 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary3.raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Flags: D - Down P - Up in port-channel (members) | ||
I - Individual H - Hot-standby (LACP only) | ||
s - Suspended r - Module-removed | ||
S - Switched R - Routed | ||
U - Up (port-channel) | ||
M - Not in use. Min-links not met | ||
-------------------------------------------------------------------------------- | ||
Group Port- Type Protocol Member Ports | ||
Channel | ||
-------------------------------------------------------------------------------- | ||
131 Po131(SU) Eth LACP Eth1/1(P) | ||
132 Po132(SU) Eth LACP Eth1/2(P) | ||
133 Po133(SU) Eth LACP Eth1/3(P) | ||
134 Po134(SU) Eth LACP Eth1/4(P) | ||
135 Po135(SD) Eth NONE -- | ||
136 Po136(SD) Eth LACP Eth1/6(D) | ||
137 Po137(SD) Eth NONE -- | ||
138 Po138(SD) Eth LACP Eth1/24(D) | ||
141 Po141(SD) Eth NONE -- | ||
142 Po142(SD) Eth NONE -- | ||
151 Po151(SD) Eth NONE -- | ||
171 Po171(SU) Eth LACP Eth1/14(P) | ||
172 Po172(SU) Eth LACP Eth1/15(P) | ||
173 Po173(SU) Eth LACP Eth1/16(P) | ||
174 Po174(SU) Eth LACP Eth1/17(P) | ||
175 Po175(SD) Eth LACP Eth1/25(D) | ||
176 Po176(SD) Eth LACP Eth1/27(D) | ||
177 Po177(SD) Eth LACP Eth1/28(D) | ||
178 Po178(SD) Eth NONE -- | ||
200 Po200(SU) Eth LACP Eth1/21(P) Eth1/22(P) |
158 changes: 158 additions & 0 deletions
158
tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary3.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
--- | ||
parsed_sample: | ||
- bundle_iface: "Po131" | ||
bundle_proto: "LACP" | ||
bundle_proto_state: "" | ||
bundle_status: "(SU)" | ||
phys_iface: | ||
- "Eth1/1" | ||
phys_iface_status: | ||
- "(P)" | ||
- bundle_iface: "Po132" | ||
bundle_proto: "LACP" | ||
bundle_proto_state: "" | ||
bundle_status: "(SU)" | ||
phys_iface: | ||
- "Eth1/2" | ||
phys_iface_status: | ||
- "(P)" | ||
- bundle_iface: "Po133" | ||
bundle_proto: "LACP" | ||
bundle_proto_state: "" | ||
bundle_status: "(SU)" | ||
phys_iface: | ||
- "Eth1/3" | ||
phys_iface_status: | ||
- "(P)" | ||
- bundle_iface: "Po134" | ||
bundle_proto: "LACP" | ||
bundle_proto_state: "" | ||
bundle_status: "(SU)" | ||
phys_iface: | ||
- "Eth1/4" | ||
phys_iface_status: | ||
- "(P)" | ||
- bundle_iface: "Po135" | ||
bundle_proto: "NONE" | ||
bundle_proto_state: "" | ||
bundle_status: "(SD)" | ||
phys_iface: | ||
- "--" | ||
phys_iface_status: [] | ||
- bundle_iface: "Po136" | ||
bundle_proto: "LACP" | ||
bundle_proto_state: "" | ||
bundle_status: "(SD)" | ||
phys_iface: | ||
- "Eth1/6" | ||
phys_iface_status: | ||
- "(D)" | ||
- bundle_iface: "Po137" | ||
bundle_proto: "NONE" | ||
bundle_proto_state: "" | ||
bundle_status: "(SD)" | ||
phys_iface: | ||
- "--" | ||
phys_iface_status: [] | ||
- bundle_iface: "Po138" | ||
bundle_proto: "LACP" | ||
bundle_proto_state: "" | ||
bundle_status: "(SD)" | ||
phys_iface: | ||
- "Eth1/24" | ||
phys_iface_status: | ||
- "(D)" | ||
- bundle_iface: "Po141" | ||
bundle_proto: "NONE" | ||
bundle_proto_state: "" | ||
bundle_status: "(SD)" | ||
phys_iface: | ||
- "--" | ||
phys_iface_status: [] | ||
- bundle_iface: "Po142" | ||
bundle_proto: "NONE" | ||
bundle_proto_state: "" | ||
bundle_status: "(SD)" | ||
phys_iface: | ||
- "--" | ||
phys_iface_status: [] | ||
- bundle_iface: "Po151" | ||
bundle_proto: "NONE" | ||
bundle_proto_state: "" | ||
bundle_status: "(SD)" | ||
phys_iface: | ||
- "--" | ||
phys_iface_status: [] | ||
- bundle_iface: "Po171" | ||
bundle_proto: "LACP" | ||
bundle_proto_state: "" | ||
bundle_status: "(SU)" | ||
phys_iface: | ||
- "Eth1/14" | ||
phys_iface_status: | ||
- "(P)" | ||
- bundle_iface: "Po172" | ||
bundle_proto: "LACP" | ||
bundle_proto_state: "" | ||
bundle_status: "(SU)" | ||
phys_iface: | ||
- "Eth1/15" | ||
phys_iface_status: | ||
- "(P)" | ||
- bundle_iface: "Po173" | ||
bundle_proto: "LACP" | ||
bundle_proto_state: "" | ||
bundle_status: "(SU)" | ||
phys_iface: | ||
- "Eth1/16" | ||
phys_iface_status: | ||
- "(P)" | ||
- bundle_iface: "Po174" | ||
bundle_proto: "LACP" | ||
bundle_proto_state: "" | ||
bundle_status: "(SU)" | ||
phys_iface: | ||
- "Eth1/17" | ||
phys_iface_status: | ||
- "(P)" | ||
- bundle_iface: "Po175" | ||
bundle_proto: "LACP" | ||
bundle_proto_state: "" | ||
bundle_status: "(SD)" | ||
phys_iface: | ||
- "Eth1/25" | ||
phys_iface_status: | ||
- "(D)" | ||
- bundle_iface: "Po176" | ||
bundle_proto: "LACP" | ||
bundle_proto_state: "" | ||
bundle_status: "(SD)" | ||
phys_iface: | ||
- "Eth1/27" | ||
phys_iface_status: | ||
- "(D)" | ||
- bundle_iface: "Po177" | ||
bundle_proto: "LACP" | ||
bundle_proto_state: "" | ||
bundle_status: "(SD)" | ||
phys_iface: | ||
- "Eth1/28" | ||
phys_iface_status: | ||
- "(D)" | ||
- bundle_iface: "Po178" | ||
bundle_proto: "NONE" | ||
bundle_proto_state: "" | ||
bundle_status: "(SD)" | ||
phys_iface: | ||
- "--" | ||
phys_iface_status: [] | ||
- bundle_iface: "Po200" | ||
bundle_proto: "LACP" | ||
bundle_proto_state: "" | ||
bundle_status: "(SU)" | ||
phys_iface: | ||
- "Eth1/21" | ||
- "Eth1/22" | ||
phys_iface_status: | ||
- "(P)" | ||
- "(P)" |