mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 23:21:22 -07:00
Refactor iosxr_facts to use network_cli plugin (#20857)
This commit is contained in:
parent
bfffd1952f
commit
375846d764
10 changed files with 270 additions and 50 deletions
41
test/units/modules/network/iosxr/fixtures/show_interfaces
Normal file
41
test/units/modules/network/iosxr/fixtures/show_interfaces
Normal file
|
@ -0,0 +1,41 @@
|
|||
Loopback0 is up, line protocol is up
|
||||
Interface state transitions: 1
|
||||
Hardware is Loopback interface(s)
|
||||
Description: Loopback
|
||||
Internet address is 192.168.0.3/32
|
||||
MTU 1500 bytes, BW 0 Kbit
|
||||
reliability Unknown, txload Unknown, rxload Unknown
|
||||
Encapsulation Loopback, loopback not set,
|
||||
Last link flapped 12w1d
|
||||
Last input Unknown, output Unknown
|
||||
Last clearing of "show interface" counters Unknown
|
||||
Input/output data rate is disabled.
|
||||
|
||||
GigabitEthernet0/0/0/0 is up, line protocol is up
|
||||
Interface state transitions: 1
|
||||
Hardware is GigabitEthernet, address is fa16.3e6c.20bd (bia fa16.3e6c.20bd)
|
||||
Description: to nxos01
|
||||
Internet address is 10.0.0.5/30
|
||||
MTU 1514 bytes, BW 1000000 Kbit (Max: 1000000 Kbit)
|
||||
reliability 255/255, txload 0/255, rxload 0/255
|
||||
Encapsulation ARPA,
|
||||
Full-duplex, 1000Mb/s, unknown, link type is force-up
|
||||
output flow control is off, input flow control is off
|
||||
Carrier delay (up) is 10 msec
|
||||
loopback not set,
|
||||
Last link flapped 12w1d
|
||||
ARP type ARPA, ARP timeout 04:00:00
|
||||
Last input 00:00:44, output 00:12:45
|
||||
Last clearing of "show interface" counters never
|
||||
5 minute input rate 0 bits/sec, 0 packets/sec
|
||||
5 minute output rate 0 bits/sec, 0 packets/sec
|
||||
150700 packets input, 36897055 bytes, 0 total input drops
|
||||
0 drops for unrecognized upper-level protocol
|
||||
Received 1 broadcast packets, 150445 multicast packets
|
||||
0 runts, 0 giants, 0 throttles, 0 parity
|
||||
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
|
||||
11691 packets output, 2904632 bytes, 0 total output drops
|
||||
Output 1 broadcast packets, 11436 multicast packets
|
||||
0 output errors, 0 underruns, 0 applique, 0 resets
|
||||
0 output buffer failures, 0 output buffers swapped out
|
||||
1 carrier transitions
|
Loading…
Add table
Add a link
Reference in a new issue