1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-17 01:11:28 +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,31 @@
#
# Module devmgr configuration.
#
configure snmp sysName "x870"
configure snmp sysContact "support@extremenetworks.com, +1 888 257 3000"
configure sys-recovery-level switch reset
#
# Module vpex configuration.
#
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-128
configure vr VR-Default add ports 1-128
configure vlan default delete ports 1-2
create vlan "ansible_test"
configure vlan ansible_test tag 1111
create vlan "vlan1"
create vlan "vlan2"
create vlan "vlan3"
configure ports 1 description-string "Firewall"
configure ports 2 description-string "Master Uplink"
configure ports 3 description-string "Database Server"
configure vlan ansible_test add ports 1 tagged
configure vlan Default add ports 3-128 untagged
configure vlan vlan1 ipaddress 10.0.1.1 255.255.255.0
configure vlan vlan2 ipaddress 192.168.1.1 255.255.0.0
configure vlan3 ipaddress fe80::202:b3ff:fe1e:8329/64

View file

@ -0,0 +1,31 @@
#
# Module devmgr configuration.
#
configure snmp sysName "marble"
configure snmp sysContact "support@extremenetworks.com, +1 888 257 3000"
configure sys-recovery-level switch reset
#
# Module vpex configuration.
#
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-128
configure vr VR-Default add ports 1-128
configure vlan default delete ports 1-2
create vlan "ansible_test"
configure vlan ansible_test tag 1111
create vlan "vlan1"
create vlan "vlan2"
create vlan "vlan3"
configure ports 1 description-string "Firewall"
configure ports 2 description-string "Master Uplink"
configure ports 3 description-string "Database Server"
configure vlan ansible_test add ports 1 tagged
configure vlan Default add ports 3-128 untagged
configure vlan vlan1 ipaddress 10.0.1.1 255.255.255.0
configure vlan vlan2 ipaddress 192.168.1.1 255.255.0.0
configure vlan3 ipaddress fe80::202:b3ff:fe1e:8329/64

View file

@ -0,0 +1,2 @@
configure snmp sysName "marble"
configure ports 1 description-string "IDS"

View file

@ -0,0 +1 @@
[{"CLIoutput": "\n Neighbor Neighbor Neighbor\nPort Chassis ID Port ID TTL Age System Name\n===============================================================================\n1 00:02:02:02:02:02 1 120 26 EXOS-VM\n2 00:02:02:02:02:02 2 120 25 EXOS-VM\n3 00:02:02:02:02:02 3 120 25 EXOS-VM\n===============================================================================\nNOTE: The Chassis ID and/or Port ID might be truncated to fit the screen.\n\n"}, {"lldpPortNbrInfoShort": {"age": 26, "lastUpdate": 8412, "nbrChassisID": "00:02:02:02:02:02", "nbrChassisIdType": 4, "nbrIndex": 1, "nbrPortDescr": "Not-Advertised", "nbrPortID": 1, "nbrPortIdType": 5, "nbrSysDescr": "ExtremeXOS (EXOS-VM) version 30.1.0.27 xos_30.1 by lrichardson on Mon Apr 30 13:38:10 EDT 2018", "nbrSysName": "EXOS-VM", "nbrsOnThisPort": 1, "port": 1, "ttl": 120}, "status": "MORE"}, {"lldpPortNbrInfoShort": {"age": 25, "lastUpdate": 8412, "nbrChassisID": "00:02:02:02:02:02", "nbrChassisIdType": 4, "nbrIndex": 1, "nbrPortDescr": "Not-Advertised", "nbrPortID": 2, "nbrPortIdType": 5, "nbrSysDescr": "ExtremeXOS (EXOS-VM) version 30.1.0.27 xos_30.1 by lrichardson on Mon Apr 30 13:38:10 EDT 2018", "nbrSysName": "EXOS-VM", "nbrsOnThisPort": 1, "port": 2, "ttl": 120}, "status": "MORE"}, {"lldpPortNbrInfoShort": {"age": 25, "lastUpdate": 8417, "nbrChassisID": "00:02:02:02:02:02", "nbrChassisIdType": 4, "nbrIndex": 1, "nbrPortDescr": "Not-Advertised", "nbrPortID": 3, "nbrPortIdType": 5, "nbrSysDescr": "ExtremeXOS (EXOS-VM) version 30.1.0.27 xos_30.1 by lrichardson on Mon Apr 30 13:38:10 EDT 2018", "nbrSysName": "EXOS-VM", "nbrsOnThisPort": 1, "port": 3, "ttl": 120}, "status": "MORE"}, {"status": "SUCCESS"}]

View file

@ -0,0 +1,95 @@
System Memory Information
-------------------------
Total DRAM (KB): 8388608
System (KB): 357088
User (KB): 558460
Free (KB): 7473060
Memory Utilization Statistics
-----------------------------
Process Name Memory (KB)
-----------------------------
aaa 2212
acl 1637
bfd 1158
bgp 10031
brm 822
cfgmgr 2466
cli 16169
devmgr 884
dirser 463
dosprotect 570
dot1ag 1370
eaps 1359
edp 1260
elrp 1250
elsm 917
ems 3196
epm 1646
erps 1282
esrp 1101
ethoam 858
etmon 7865
exacl 0
exdhcpsnoop 0
exdos 0
exfib 0
exnasnoop 0
exosmc 0
exosq 0
expolicy 0
exsflow 0
exsnoop 0
exsshd 1522
exvlan 0
fdb 1990
hal 141451
hclag 899
idMgr 3448
ipSecurity 1042
ipfix 956
isis 1403
ismb 0
lacp 1306
lldp 1724
mcmgr 2183
mpls 0
mrp 1482
msdp 915
netLogin 1641
netTools 4336
nettx 0
nodealias 1847
nodemgr 501
ntp 812
openflow 0
ospf 1455
ospfv3 5130
otm 1095
ovsdb 8206
pim 2100
polMgr 479
policy 45998
pwmib 458
rip 1000
ripng 739
rtmgr 2679
snmpMaster 2798
snmpSubagent 5728
stp 2020
techSupport 681
telnetd 890
tftpd 336
throw 5262
thttpd 8944
twamp 471
upm 859
vlan 3215
vmt 1599
vpex 1771
vrrp 1185
vsm 1486
xmlc 1013
xmld 3468

View file

@ -0,0 +1 @@
[{"CLIoutput": "Port Configuration\nPort Virtual Port Link Auto Speed Duplex Flow Load Media\n router State State Neg Cfg Actual Cfg Actual Cntrl Master Pri Red\n================================================================================\n1 VR-Default E R OFF 25000 FULL NONE \n2 VR-Default E R OFF 25000 FULL NONE \n3 VR-Default E R OFF 25000 FULL NONE \n4 VR-Default E R OFF 25000 FULL NONE \n================================================================================\n> indicates Port Display Name truncated past 8 characters\nLink State: A-Active, R-Ready, NP-Port Not Present, L-Loopback\nPort State: D-Disabled, E-Enabled, L-License Disabled\nMedia: !-Unsupported, $-Unlicensed\nMedia Red: * - use \"show port info detail\" for redundant media type\nFlow Cntrl: Shows link partner's abilities. NONE if Auto Neg is OFF\n"}, {"show_ports_config": {"duplexActual": null, "duplexCfg": "FULL", "flowControl": null, "isAutoNegOn": 0, "licenseDisable": 0, "linkState": 0, "port": 1, "portList": "1-4", "portState": 1, "primaryMedia": " NONE", "speedActual": null, "speedCfg": 25000, "vrName": "VR-Default"}, "status": "MORE"}, {"show_ports_config": {"duplexActual": null, "duplexCfg": "FULL", "flowControl": null, "isAutoNegOn": 0, "licenseDisable": 0, "linkState": 0, "port": 2, "portList": "1-4", "portState": 1, "primaryMedia": " NONE", "speedActual": null, "speedCfg": 25000, "vrName": "VR-Default"}, "status": "MORE"}, {"show_ports_config": {"duplexActual": null, "duplexCfg": "FULL", "flowControl": null, "isAutoNegOn": 0, "licenseDisable": 0, "linkState": 0, "port": 3, "portList": "1-4", "portState": 1, "primaryMedia": " NONE", "speedActual": null, "speedCfg": 25000, "vrName": "VR-Default"}, "status": "MORE"}, {"show_ports_config": {"duplexActual": null, "duplexCfg": "FULL", "flowControl": null, "isAutoNegOn": 0, "licenseDisable": 0, "linkState": 0, "port": 4, "portList": "1-4", "portState": 1, "primaryMedia": " NONE", "speedActual": null, "speedCfg": 25000, "vrName": "VR-Default"}, "status": "SUCCESS"}]

View file

@ -0,0 +1,2 @@
[{"CLIoutput": "Port Display String Description String \n===== ==================== ==================================================\n1 Firewall\n2 \n3 Database Server\n4 \n===== ==================== ==================================================\n"}, {"show_ports_description": {"descriptionString": "Firewall", "port": 1, "portList": "1-4"}, "status": "MORE"}, {"show_ports_description": {"port": 2, "portList": "1-4"}, "status": "MORE"}, {"show_ports_description": {"descriptionString": "Database Server", "port": 3, "portList": "1-4"}, "status": "MORE"}, {"show_ports_description": {"port": 4, "portList": "1-4"}, "status": "SUCCESS"}]

View file

@ -0,0 +1,33 @@
SysName: X870-32c
SysLocation:
SysContact: support@extremenetworks.com, +1 888 257 3000
System MAC: 00:04:96:9A:B4:F7
System Type: X870-32c
SysHealth check: Enabled (Normal)
Recovery Mode: All
System Watchdog: Enabled
Current Time: Wed Jul 18 12:44:49 2018
Timezone: [Auto DST Disabled] GMT Offset: 0 minutes, name is UTC.
Boot Time: Tue Jul 17 12:49:58 2018
Boot Count: 4970
Next Reboot: None scheduled
System UpTime: 23 hours 54 minutes 50 seconds
Current State: OPERATIONAL
Image Selected: secondary
Image Booted: secondary
Primary ver: 30.1.0.37
Secondary ver: 22.5.1.7
Config Selected: primary.cfg
Config Booted: primary.cfg
Config Automatic: NONE (Disabled)
primary.cfg Created by ExtremeXOS version 22.6.0.11
983139 bytes saved on Wed Jun 6 16:59:49 2018
LAA MAC: Locally Administered MAC Address Disabled

View file

@ -0,0 +1,6 @@
Switch : 800745-00-01 1604G-00175 Rev 01 IMG: 22.5.1.7
Image : ExtremeXOS version 22.5.1.7 by release-manager
on Tue May 22 11:25:12 EDT 2018
Diagnostics :
Certified Version : EXOS Linux 3.18.48, FIPS fips-ecp-2.0.16

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long