mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-17 17:31:31 +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:
parent
ab3c2120fb
commit
be191cce6c
1170 changed files with 732 additions and 751 deletions
|
|
@ -0,0 +1,31 @@
|
|||
!
|
||||
hostname router
|
||||
!
|
||||
interface TenGigabitEthernet 104/0/0
|
||||
ip address 1.2.3.4 255.255.255.0
|
||||
description test string
|
||||
!
|
||||
interface TenGigabitEthernet 104/0/1
|
||||
ip address 6.7.8.9 255.255.255.0
|
||||
description test string
|
||||
shutdown
|
||||
!
|
||||
interface TenGigabitEthernet 104/0/10
|
||||
channel-group 20 mode active
|
||||
description Channel Group Member
|
||||
!
|
||||
interface TenGigabitEthernet 104/0/11
|
||||
channel-group 20 mode active
|
||||
description Channel Group Member
|
||||
!
|
||||
interface Port-channel 20
|
||||
!
|
||||
interface TenGigabitEthernet 104/0/9
|
||||
ip address 172.16.128.99 255.255.255.0
|
||||
ipv6 address dead::beaf/64
|
||||
description Bleh
|
||||
!
|
||||
protocol lldp
|
||||
system-description An Extreme VDX Device
|
||||
disable
|
||||
!
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
!
|
||||
hostname foo
|
||||
!
|
||||
interface TenGigabitEthernet 104/0/0
|
||||
no ip address
|
||||
!
|
||||
interface TenGigabitEthernet 104/0/1
|
||||
ip address 6.7.8.9 255.255.255.0
|
||||
description test string
|
||||
shutdown
|
||||
!
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
NAME: Chassis DESCR:System Chassis
|
||||
SID:BR-VDX6740 SwitchType:131
|
||||
PN:40-1000927-06 SN:CPL2541K01E
|
||||
|
|
@ -0,0 +1 @@
|
|||
switch-attributes host-name LEAF4
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
Network Operating System Software
|
||||
Network Operating System Version: 7.2.0
|
||||
Copyright (c) 1995-2017 Brocade Communications Systems, Inc.
|
||||
Firmware name: 7.2.0
|
||||
Build Time: 10:52:47 Jul 10, 2017
|
||||
Install Time: 01:32:03 Jan 5, 2018
|
||||
Kernel: 2.6.34.6
|
||||
|
||||
BootProm: 1.0.1
|
||||
Control Processor: e500mc with 4096 MB of memory
|
||||
|
||||
Slot Name Primary/Secondary Versions Status
|
||||
---------------------------------------------------------------------------
|
||||
SW/0 NOS 7.2.0 ACTIVE*
|
||||
7.2.0
|
||||
SW/1 NOS 7.2.0 STANDBY
|
||||
7.2.0
|
||||
17
tests/unit/plugins/modules/network/nos/fixtures/show_version
Normal file
17
tests/unit/plugins/modules/network/nos/fixtures/show_version
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
Network Operating System Software
|
||||
Network Operating System Version: 7.2.0
|
||||
Copyright (c) 1995-2017 Brocade Communications Systems, Inc.
|
||||
Firmware name: 7.2.0
|
||||
Build Time: 10:52:47 Jul 10, 2017
|
||||
Install Time: 01:32:03 Jan 5, 2018
|
||||
Kernel: 2.6.34.6
|
||||
|
||||
BootProm: 1.0.1
|
||||
Control Processor: e500mc with 4096 MB of memory
|
||||
|
||||
Slot Name Primary/Secondary Versions Status
|
||||
---------------------------------------------------------------------------
|
||||
SW/0 NOS 7.2.0 ACTIVE*
|
||||
7.2.0
|
||||
SW/1 NOS 7.2.0 STANDBY
|
||||
7.2.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue