1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-25 21:22:44 +00:00

Move modules and module_utils unit tests to correct place (#81)

* Move modules and module_utils unit tests to correct place.

* Update ignore.txt

* Fix imports.

* Fix typos.

* Fix more typos.
This commit is contained in:
Felix Fontein 2020-03-31 10:42:38 +02:00 committed by GitHub
parent ab3c2120fb
commit be191cce6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1170 changed files with 732 additions and 751 deletions

View file

@ -0,0 +1,16 @@
banner motd require-enter-key
banner motd $
welcome
new user
$
!
interface ethernet 1/1/1
port-name port name
disable
speed-duplex 10-full
inline power power-limit 7000
!
interface ethernet 1/1/2
speed-duplex 10-full
inline power power-limit 3000
!

View file

@ -0,0 +1,11 @@
!
hostname router
!
interface ethernet 1/1/4
port-name test-interface-4
speed-duplex 10-full
!
interface ethernet 1/1/5
port-name port5
ip address 172.18.20.4 255.255.255.0
!

View file

@ -0,0 +1,10 @@
!
hostname foo
!
interface ethernet 1/1/4
disable
!
interface ethernet 1/1/5
port-name port5
ip address 172.18.20.4 255.255.255.0
!

View file

@ -0,0 +1,2 @@
Translating hostname client fileserver.alethea.in ....
......

View file

@ -0,0 +1,91 @@
lag blue static id 11
ports ethe 1/1/1
port-name test-interface-1 ethernet 1/1/1
!
interface ethernet 1/1/1
port-name test-interface-1
speed-duplex 10-full
!
interface ethernet 1/1/2
port-name test-interface-2
speed-duplex 10-full
inline power power-limit 2000
!
interface ethernet 1/1/48
inline power power-by-class 2
!
interface ethernet 1/1/3
speed-duplex 10-full
inline power power-limit 3000
!
interface loopback 10
port-name loopback10
disable
!
interface lag 11
port-name lag ports
speed-duplex 10-full
!
GigabitEthernet1/1/1 is up, line protocol is up
Port up for 18 hour(s) 40 minute(s) 16 second(s)
Hardware is GigabitEthernet, address is 609c.9fe7.d130 (bia 609c.9fe7.d130)
Configured speed 10Mbit, actual 10Mbit, configured duplex fdx, actual fdx
Configured mdi mode AUTO, actual MDI
Member of L2 VLAN ID 1, port is untagged, port state is FORWARDING
BPDU guard is Disabled, ROOT protect is Disabled, Designated protect is Disabled
Link Error Dampening is Disabled
STP configured to ON, priority is level0, mac-learning is enabled
Openflow is Disabled, Openflow Hybrid mode is Disabled, Flow Control is config enabled, oper enabled, negotiation disabled
Mirror disabled, Monitor disabled
Mac-notification is disabled
Member of active trunk ports 1/1/1,1/1/2,1/1/4,lg11, Lag Interface is lg11
Member of configured trunk ports 1/1/1,1/1/2,1/1/4,lg11, Lag Interface is lg11
Port name is test-interface-1
IPG MII 0 bits-time, IPG GMII 0 bits-time
MTU 1500 bytes, encapsulation ethernet
MMU Mode is Store-and-forward
300 second input rate: 88 bits/sec, 0 packets/sec, 0.00% utilization
300 second output rate: 616 bits/sec, 0 packets/sec, 0.00% utilization
14836 packets input, 2695975 bytes, 0 no buffer
Received 3223 broadcasts, 11613 multicasts, 0 unicasts
2 input errors, 2 CRC, 0 frame, 0 ignored
0 runts, 0 giants
64676 packets output, 5181136 bytes, 0 underruns
Transmitted 28724 broadcasts, 35952 multicasts, 0 unicasts
0 output errors, 0 collisions
Relay Agent Information option: Disabled
Protected: No
MAC Port Security: Disabled
This port is not being monitored for queue drops
Egress queues:
Queue counters Queued packets Dropped Packets
0 6682 0
1 0 0
2 0 0
3 0 0
4 22042 0
5 20 0
6 33680 0
7 2252 0
Local port: 1/1/48
Neighbor: 609c.9fe7.d15f, TTL 95 seconds
+ Chassis ID (MAC address): 609c.9fe7.d130
+ Port ID (MAC address): 609c.9fe7.d15f
+ Time to live: 120 seconds
+ System name : "ICX7150-48 Router"
+ Port description : "GigabitEthernet1/1/48"
+ System capabilities : bridge, router
Enabled capabilities: bridge, router
+ 802.3 MAC/PHY : auto-negotiation enabled
Advertised capabilities: 10BaseT-HD, 10BaseT-FD, 100BaseTX-HD,
100BaseTX-FD, fdxSPause, fdxBPause,
1000BaseT-HD, 1000BaseT-FD
Operational MAU type : 1000BaseT-FD
+ Link aggregation: not capable
+ Maximum frame size: 1522 octets
+ Port VLAN ID: 1
+ Management address (IPv4): 172.16.10.182

View file

@ -0,0 +1,9 @@
LLDP transmit interval : 30 seconds
LLDP transmit hold multiplier : 4 (transmit TTL: 120 seconds)
LLDP transmit delay : 2 seconds
LLDP SNMP notification interval : 5 seconds
LLDP reinitialize delay : 2 seconds
LLDP-MED fast start repeat count : 3
LLDP maximum neighbors : 2048
LLDP maximum neighbors per port : 4

View file

@ -0,0 +1 @@
LLDP is not running

View file

@ -0,0 +1,17 @@
logging host 172.16.10.21
logging host 172.16.10.21 udp-port 2000
logging host 172.16.10.22
logging host 172.16.10.23 udp-port 2500
logging host 172.16.10.55 udp-port 2500
logging facility local1
logging host ipv6 2001:db8::1 udp-port 5500
logging buffered 200
no logging buffered critical
no logging buffered debugging
no logging buffered emergencies
no logging buffered errors
no logging buffered informational
no logging buffered notifications
logging enable rfc5424
logging console
logging persistence

View file

@ -0,0 +1,4 @@
Sending 1, 16-byte ICMP Echo to 10.255.255.250, timeout 100 msec, TTL 64
Type Control-c to abort
Request timed out.
No reply from remote host.

View file

@ -0,0 +1,4 @@
Sending 1, 16-byte ICMP Echo to 10.255.255.250, timeout 100 msec, TTL 64
Type Control-c to abort
Request timed out.
No reply from remote host.

View file

@ -0,0 +1,5 @@
Sending 2, 16-byte ICMP Echo to 8.8.8.8, timeout 5000 msec, TTL 64
Type Control-c to abort
Reply from 8.8.8.8 : bytes=16 time=49ms TTL=45
Reply from 8.8.8.8 : bytes=16 time=41ms TTL=45
Success rate is 100 percent (2/2), round-trip min/avg/max=41/45/49 ms.

View file

@ -0,0 +1,8 @@
Sending 5, 16-byte ICMP Echo to 8.8.8.8, timeout 5000 msec, TTL 70
Type Control-c to abort
Reply from 8.8.8.8 : bytes=16 time=40ms TTL=45
Reply from 8.8.8.8 : bytes=16 time=40ms TTL=45
Reply from 8.8.8.8 : bytes=16 time=40ms TTL=45
Reply from 8.8.8.8 : bytes=16 time=40ms TTL=45
Reply from 8.8.8.8 : bytes=16 time=40ms TTL=45
Success rate is 100 percent (5/5), round-trip min/avg/max=40/40/40 ms.

View file

@ -0,0 +1 @@
Invalid size - valid range (0-10000)

View file

@ -0,0 +1 @@
Bad value for TTL, valid range is from 1 to 255.

View file

@ -0,0 +1,8 @@
ip route 172.16.0.0/16 10.0.0.8
ip route 172.16.10.0/24 10.0.0.8
ip route 192.0.0.0/8 10.10.15.3
ip route 192.126.0.0/16 10.10.14.31
ip route 192.126.23.0/24 10.10.14.31
ip route 192.128.0.0/16 10.10.14.3
ip route 192.128.0.0/16 10.10.15.3
ip route 192.128.0.0/16 10.10.15.31

View file

@ -0,0 +1,7 @@
ip dns domain-list ansib.eg.com
ip dns domain-list red.com
ip dns domain-list test1.com
ip dns server-address 10.22.22.64
ip dns server-address 172.22.22.64
radius-server host 172.16.20.14 auth-port 1837 acct-port 5021 accounting-only key database mac-auth
tacacs-server host 182.16.10.20

View file

@ -0,0 +1,32 @@
************show vlan brief*****************
System-max vlan Params: Max(4095) Default(64) Current(64)
Default vlan Id :1
Total Number of Vlan Configured :5
VLANs Configured :1 3 6 10 21
************* show vlan id**********
Maximum PORT-VLAN entries: 64
Legend: [Stk=Stack-Id, S=Slot]
PORT-VLAN 3, Name vlan, Priority level0, Spanning tree On
Untagged Ports: (U1/M1) 1 2 3 4 5 7 20 21 22 23 24 25
Untagged Ports: (U1/M1) 26 27 28
Untagged Ports: (LAG) 11 12 15
Tagged Ports: (U1/M1) 9 10 11 31
Tagged Ports: (LAG) 13
Uplink Ports: None
DualMode Ports: None
Mac-Vlan Ports: None
Monitoring: Disabled
************* show run vlan id**********
vlan 3 name vlan by port
tagged ethe 1/1/31 ethe 1/1/9 to 1/1/11 lag 13
untagged ethe 1/1/27 ethe 1/1/20 to 1/1/22 lag 11 to 12
spanning-tree
!
!

View file

@ -0,0 +1,7 @@
lag LAG1 dynamic id 100
ports ethe 1/1/3 ethe 1/1/5 to 1/1/8
disable ethe 1/1/3 ethe 1/1/5 to 1/1/8
!
lag LAG2 dynamic id 200
ports ethe 1/1/11 ethe 1/1/13 ethe 1/1/15
disable ethe 1/1/11 ethe 1/1/13 ethe 1/1/15

View file

@ -0,0 +1,6 @@
Stack unit 1:
NAND Type: Micron NAND 2GiB (x 1)
Compressed Pri Code size = 25966800, Version:08.0.80bT211 (primary.bin)
Compressed Sec Code size = 29451996, Version:08.0.70dT213 (SPR08070d.bin)
Compressed Boot-Monitor Image size = 786944, Version:10.1.09T225
Code Flash Free Space = 1318699008

View file

@ -0,0 +1,85 @@
GigabitEthernet1/1/1 is down, line protocol is down
Port down for 2 day(s) 23 hour(s) 4 minute(s) 18 second(s)
Hardware is GigabitEthernet, address is 609c.9fe7.d600 (bia 609c.9fe7.d600)
Configured speed 10Mbit, actual unknown, configured duplex fdx, actual unknown
Configured mdi mode AUTO, actual unknown
Member of L2 VLAN ID 1, port is untagged, port state is BLOCKING
BPDU guard is Disabled, ROOT protect is Disabled, Designated protect is Disabled
Link Error Dampening is Disabled
STP configured to ON, priority is level0, mac-learning is enabled
Openflow is Disabled, Openflow Hybrid mode is Disabled, Flow Control is config enabled, oper enabled, negotiation disabled
Mirror disabled, Monitor disabled
Mac-notification is disabled
Not member of any active trunks
Not member of any configured trunks
Port name is test name
IPG MII 0 bits-time, IPG GMII 0 bits-time
Internet address is 192.168.1.1/24, MTU 1500 bytes, encapsulation ethernet
MMU Mode is Store-and-forward
300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization
300 second output rate: 0 bits/sec, 0 packets/sec, 0.00% utilization
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 multicasts, 0 unicasts
0 input errors, 0 CRC, 0 frame, 0 ignored
0 runts, 0 giants
0 packets output, 0 bytes, 0 underruns
Transmitted 0 broadcasts, 0 multicasts, 0 unicasts
0 output errors, 0 collisions
Relay Agent Information option: Disabled
Protected: No
MAC Port Security: Disabled
This port is not being monitored for queue drops
Egress queues:
Queue counters Queued packets Dropped Packets
0 0 0
1 0 0
2 0 0
3 0 0
4 0 0
5 0 0
6 0 0
7 0 0
GigabitEthernet1/1/2 is down, line protocol is down
Port down for 2 day(s) 23 hour(s) 4 minute(s) 18 second(s)
Hardware is GigabitEthernet, address is 609c.9fe7.d601 (bia 609c.9fe7.d601)
Configured speed auto, actual unknown, configured duplex fdx, actual unknown
Configured mdi mode AUTO, actual unknown
Member of L2 VLAN ID 1, port is untagged, port state is BLOCKING
BPDU guard is Disabled, ROOT protect is Disabled, Designated protect is Disabled
Link Error Dampening is Disabled
STP configured to ON, priority is level0, mac-learning is enabled
Openflow is Disabled, Openflow Hybrid mode is Disabled, Flow Control is config enabled, oper enabled, negotiation disabled
Mirror disabled, Monitor disabled
Mac-notification is disabled
Not member of any active trunks
Not member of any configured trunks
No port name
IPG MII 0 bits-time, IPG GMII 0 bits-time
MTU 1500 bytes, encapsulation ethernet
MMU Mode is Store-and-forward
300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization
300 second output rate: 0 bits/sec, 0 packets/sec, 0.00% utilization
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 multicasts, 0 unicasts
0 input errors, 0 CRC, 0 frame, 0 ignored
0 runts, 0 giants
0 packets output, 0 bytes, 0 underruns
Transmitted 0 broadcasts, 0 multicasts, 0 unicasts
0 output errors, 0 collisions
Relay Agent Information option: Disabled
Protected: No
MAC Port Security: Disabled
This port is not being monitored for queue drops
Egress queues:
Queue counters Queued packets Dropped Packets
0 0 0
1 0 0
2 0 0
3 0 0
4 0 0
5 0 0
6 0 0
7 0 0

View file

@ -0,0 +1,9 @@
LLDP transmit interval : 30 seconds
LLDP transmit hold multiplier : 4 (transmit TTL: 120 seconds)
LLDP transmit delay : 2 seconds
LLDP SNMP notification interval : 5 seconds
LLDP reinitialize delay : 2 seconds
LLDP-MED fast start repeat count : 3
LLDP maximum neighbors : 2048
LLDP maximum neighbors per port : 4

View file

@ -0,0 +1,2 @@
Port 1/1/1: Type : 1G M-C (Gig-Copper)
Port 1/1/2: Type : 1G M-C (Gig-Copper)

View file

@ -0,0 +1,3 @@
Stack unit 1:
Total DRAM: 954695680 bytes
Dynamic memory: 954695680 bytes total, 375963648 bytes free, 60% used

View file

@ -0,0 +1,76 @@
Current configuration:
!
ver 08.0.70dT213
!
stack unit 1
module 1 icx7150-48-port-management-module
module 2 icx7150-2-copper-port-2g-module
module 3 icx7150-4-sfp-plus-port-40g-module
!
!
!
lag LAG1 dynamic id 100
ports ethe 1/1/4 to 1/1/7
!
lag LAG2 dynamic id 200
ports ethe 1/1/12 to 1/1/15
!
!
!
!
!
!
!
!
!
aaa authentication enable implicit-user
aaa authentication login default local
enable super-user-password .....
hostname ruchusRouter148
ip dns domain-list fileserver.alethea.in
ip dns server-address 8.8.8.8
!
username alethea password .....
username ale6 password .....
!
!
banner exec ^C
welcome icx exec^C
^C
!
banner motd ^C
welcome icx motd^C
^C
!
banner incoming ^C
welcome icx incomingg^C
^C
!
!
!
!
!
!
!
!
interface management 1
no ip dhcp-client enable
ip address 10.10.10.148 255.255.255.0
!
interface ethernet 1/1/1
port-name test name
ip address 192.168.1.1 255.255.255.0
ipv6 address 2001:db8:85a3::8a2e:370:7334/64
speed-duplex 10-full
!
!
!
!
!
lldp run
!
!
!
!
!
end

View file

@ -0,0 +1,77 @@
router-interface ve 1
!
!
!
!
!
!
!
!
!
!
!
!
!
aaa authentication enable implicit-user
aaa authentication login default local
enable super-user-password .....
hostname ruchusRouter148
ip dns domain-list fileserver.alethea.in
ip dns server-address 8.8.8.8
!
username alethea password .....
username ale6 password .....
!
!
banner exec ^C
welcome icx exec^C
^C
!
banner motd ^C
welcome icx motd^C
^C
!
banner incoming ^C
welcome icx incomingg^C
^C
!
!
!
!
!
!
!
!
interface management 1
no ip dhcp-client enable
ip address 10.10.10.148 255.255.255.0
!
interface ethernet 1/1/1
port-name test name
ip address 192.160.1.1 255.255.255.0
ipv6 address 2001:db8:85a3::8a2e:370:7334/64
ipv6 address 2001:db8:85a3:0:0:0:0:0/64
ip address 192.168.1.1 255.255.255.0
ipv6 ospf area 1
ip ospf area 2
speed-duplex 10-full
!
interface ethernet 1/1/2
ip address 192.161.1.1 255.255.255.0
ip address 192.168.255.1 255.255.255.0
!
interface ve 1
ip address 10.1.2.1 255.255.255.0
ip address 192.163.1.1 255.255.255.0
!
!
!
!
!
lldp run
!
!
!
!
!
end

View file

@ -0,0 +1 @@
hostname ruchusRouter148

View file

@ -0,0 +1,8 @@
username ale1 privilege 5 password .....
username ale1 expires 3
username ale2 privilege 5 password .....
username ale2 expires 3
username ale3 privilege 5 password .....
username ale3 expires 3
username ale4 privilege 5 password .....
username ale4 expires 3

View file

@ -0,0 +1,26 @@
Copyright (c) 1996-2017 Brocade Communications Systems, Inc. All rights reserved.
UNIT 1: compiled on Feb 17 2017 at 16:03:13 labeled as SPS08060
(23946048 bytes) from Secondary SPS08060.bin
SW: Version 08.0.60T211
Compressed Boot-Monitor Image size = 786944, Version:10.1.09T225 (mnz10109)
Compiled on Sat Feb 18 00:15:43 2017
HW: Stackable ICX7150-48-POE
==========================================================================
UNIT 1: SL 1: ICX7150-48P-4X1G POE 48-port Management Module
Serial #:FEC3220N00C
Current License: 4X1G
P-ASIC 0: type B160, rev 11 Chip BCM56160_B0
==========================================================================
UNIT 1: SL 2: ICX7150-2X1GC 2-port 2G Module
==========================================================================
UNIT 1: SL 3: ICX7150-4X10GF 4-port 40G Module
==========================================================================
1000 MHz ARM processor ARMv7 88 MHz bus
8192 KB boot flash memory
2048 MB code flash memory
1024 MB DRAM
STACKID 1 system uptime is 4 day(s) 19 hour(s) 53 minute(s) 5 second(s)
The system started at 00:01:49 GMT+00 Sat Jan 01 2000
The system : started=cold start

View file

@ -0,0 +1 @@
Disable page display mode