mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Mellanox OS name change: MLNXOS changed to ONYX (#34753)
* Mellanox OS name change: MLNXOS changed to ONYX Signed-off-by: Samer Deeb <samerd@mellanox.com> * Fix alphabetical order of modules metadata Signed-off-by: Samer Deeb <samerd@mellanox.com>
This commit is contained in:
committed by
John R Barker
parent
57ff84251e
commit
f8884f12bc
23
test/units/modules/network/onyx/fixtures/onyx_bgp_show.cfg
Normal file
23
test/units/modules/network/onyx/fixtures/onyx_bgp_show.cfg
Normal file
@@ -0,0 +1,23 @@
|
||||
##
|
||||
## Running database "initial"
|
||||
## Generated at 2018/01/10 23:13:17 +0000
|
||||
## Hostname: r-neo-sw12
|
||||
##
|
||||
|
||||
##
|
||||
## Running-config temporary prefix mode setting
|
||||
##
|
||||
no cli default prefix-modes enable
|
||||
|
||||
##
|
||||
## BGP configuration
|
||||
##
|
||||
protocol bgp
|
||||
router bgp 172 vrf default
|
||||
router bgp 172 vrf default router-id 1.2.3.4 force
|
||||
router bgp 172 vrf default neighbor 10.2.3.4 remote-as 173
|
||||
router bgp 172 vrf default network 172.16.1.0 /24
|
||||
##
|
||||
## Persistent prefix mode setting
|
||||
##
|
||||
cli default prefix-modes enable
|
||||
@@ -0,0 +1,19 @@
|
||||
Product name: MLNX-OS
|
||||
Product release: 3.6.5000
|
||||
Build ID: #1-dev
|
||||
Build date: 2017-11-10 18:14:32
|
||||
Target arch: x86_64
|
||||
Target hw: x86_64
|
||||
Built by: jenkins@cc45f26cd083
|
||||
Version summary: X86_64 3.6.5000 2017-11-10 18:14:32 x86_64
|
||||
|
||||
Product model: x86onie
|
||||
Host ID: 248A073D505C
|
||||
System serial num: \"MT1632X00205\"
|
||||
System UUID: 0b19d6d0-5eca-11e6-8000-7cfe90fadc40
|
||||
|
||||
Uptime: 1d 16h 31m 43.856s
|
||||
CPU load averages: 0.06 / 0.12 / 0.13
|
||||
Number of CPUs: 4
|
||||
System memory: 2597 MB used / 5213 MB free / 7810 MB total
|
||||
Swap: 0 MB used / 0 MB free / 0 MB total
|
||||
115
test/units/modules/network/onyx/fixtures/onyx_config_config.cfg
Normal file
115
test/units/modules/network/onyx/fixtures/onyx_config_config.cfg
Normal file
@@ -0,0 +1,115 @@
|
||||
##
|
||||
## Running database "initial"
|
||||
## Generated at 2017/11/28 17:52:08 +0000
|
||||
## Hostname: ufm-switch16
|
||||
##
|
||||
|
||||
##
|
||||
## Running-config temporary prefix mode setting
|
||||
##
|
||||
no cli default prefix-modes enable
|
||||
|
||||
##
|
||||
## License keys
|
||||
##
|
||||
license install 11223344
|
||||
|
||||
##
|
||||
## MLAG protocol
|
||||
##
|
||||
protocol mlag
|
||||
|
||||
##
|
||||
## Interface Ethernet configuration
|
||||
##
|
||||
interface mlag-port-channel 2
|
||||
interface port-channel 1
|
||||
interface ethernet 1/7-1/8 channel-group 1 mode active
|
||||
interface ethernet 1/32 mlag-channel-group 2 mode on
|
||||
interface mlag-port-channel 2 switchport mode hybrid
|
||||
interface mlag-port-channel 2 no shutdown
|
||||
|
||||
##
|
||||
## LAG configuration
|
||||
##
|
||||
lacp
|
||||
|
||||
##
|
||||
## VLAN configuration
|
||||
##
|
||||
vlan 101
|
||||
vlan 4094
|
||||
interface mlag-port-channel 2 switchport access vlan 101
|
||||
|
||||
##
|
||||
## STP configuration
|
||||
##
|
||||
no spanning-tree
|
||||
|
||||
##
|
||||
## L3 configuration
|
||||
##
|
||||
ip routing vrf default
|
||||
interface vlan 101
|
||||
interface vlan 4094
|
||||
interface vlan 101 ip address 10.0.0.254 255.255.255.0
|
||||
interface vlan 4094 ip address 10.10.10.1 255.255.255.0
|
||||
|
||||
##
|
||||
## Other IP configuration
|
||||
##
|
||||
hostname ufm-switch16
|
||||
|
||||
##
|
||||
## DCBX PFC configuration
|
||||
##
|
||||
dcb priority-flow-control enable force
|
||||
interface ethernet 1/7-1/8 dcb priority-flow-control mode on force
|
||||
interface port-channel 1 dcb priority-flow-control mode on force
|
||||
|
||||
##
|
||||
## LLDP configuration
|
||||
##
|
||||
lldp
|
||||
|
||||
##
|
||||
## MAGP configuration
|
||||
##
|
||||
protocol magp
|
||||
interface vlan 101 magp 102
|
||||
interface vlan 101 magp 102 ip virtual-router address 10.0.0.252
|
||||
interface vlan 101 magp 102 ip virtual-router mac-address 00:00:5E:00:01:01
|
||||
|
||||
##
|
||||
## MLAG configurations
|
||||
##
|
||||
mlag-vip neo-mlag-vip-4094 ip 192.168.1.1 /24 force
|
||||
no mlag shutdown
|
||||
mlag system-mac 00:00:5E:00:01:00
|
||||
interface port-channel 1 ipl 1
|
||||
interface vlan 4094 ipl 1 peer-address 10.10.10.2
|
||||
|
||||
##
|
||||
## AAA remote server configuration
|
||||
##
|
||||
# ldap bind-password ********
|
||||
# radius-server key ********
|
||||
# tacacs-server key ********
|
||||
|
||||
##
|
||||
## Network management configuration
|
||||
##
|
||||
# web proxy auth basic password ********
|
||||
telnet-server enable
|
||||
|
||||
##
|
||||
## X.509 certificates configuration
|
||||
##
|
||||
#
|
||||
# Certificate name system-self-signed, ID 51f545df9722387056f674401f510ff56077800b
|
||||
# (public-cert config omitted since private-key config is hidden)
|
||||
|
||||
##
|
||||
## Persistent prefix mode setting
|
||||
##
|
||||
cli default prefix-modes enable
|
||||
@@ -0,0 +1,3 @@
|
||||
no cli default prefix-modes enable
|
||||
interface mlag-port-channel 2
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
[
|
||||
{
|
||||
"Fec": "auto",
|
||||
"Mac address": "7c:fe:90:e5:ca:3c",
|
||||
"Actual speed": "100 Gbps",
|
||||
"MTU": "1500 bytes(Maximum packet size 1522 bytes)",
|
||||
"header": "Eth1/1",
|
||||
"Admin state": "Enabled",
|
||||
"Operational state": "Down"
|
||||
},
|
||||
{
|
||||
"Fec": "auto",
|
||||
"Mac address": "7c:fe:90:e5:ca:3e",
|
||||
"Actual speed": "100 Gbps",
|
||||
"MTU": "1500 bytes(Maximum packet size 1522 bytes)",
|
||||
"header": "Eth1/2",
|
||||
"Admin state": "Enabled",
|
||||
"Operational state": "Down"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"MGMT": [
|
||||
{
|
||||
"Status": "ready"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"Uptime": "2d 13h 40m 34.992s",
|
||||
"Product model": "x86onie",
|
||||
"Build date": "2017-11-10 18:14:32",
|
||||
"Target arch": "x86_64",
|
||||
"Target hw": "x86_64",
|
||||
"Number of CPUs": "4",
|
||||
"Build ID": "#1-dev",
|
||||
"CPU load averages": "0.21 / 0.07 / 0.06",
|
||||
"Host ID": "248A07B0141C",
|
||||
"System serial num": "MT1708X07233",
|
||||
"System UUID": "03d242b6-1a24-11e7-8000-248a07f55400",
|
||||
"Swap": "0 MB used / 0 MB free / 0 MB total",
|
||||
"Product name": "MLNX-OS",
|
||||
"Built by": "jenkins@cc45f26cd083",
|
||||
"System memory": "2597 MB used / 5213 MB free / 7810 MB total",
|
||||
"Version summary": "X86_64 3.6.5000 2017-11-10 18:14:32 x86_64",
|
||||
"Product release": "3.6.5000"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"Eth1/1": [
|
||||
{
|
||||
"ingress rate": "9000 b/s",
|
||||
"egress pkts/sec": "10",
|
||||
"egress rate": "10000 b/s",
|
||||
"ingress pkts/sec": "10"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
[
|
||||
{
|
||||
"Fec": "auto",
|
||||
"Mac address": "7c:fe:90:f0:54:fc",
|
||||
"60 seconds ingress rate": "0 bits/sec, 0 bytes/sec, 0 packets/sec",
|
||||
"Last clearing of \"show interface\" counters": "Never",
|
||||
"Actual speed": "40 Gbps",
|
||||
"MTU": "1500 bytes(Maximum packet size 1522 bytes)",
|
||||
"header": "Eth1/1",
|
||||
"Telemetry threshold": "Disabled\t TCs: N\\A",
|
||||
"Telemetry threshold level": "N\\A",
|
||||
"Flow-control": "receive off send off",
|
||||
"Forwarding mode": "inherited cut-through",
|
||||
"60 seconds egress rate": "0 bits/sec, 0 bytes/sec, 0 packets/sec",
|
||||
"Last change in operational status": "Never",
|
||||
"Boot delay time": "0 sec",
|
||||
"Description": "N\\A",
|
||||
"Admin state": "Enabled",
|
||||
"Telemetry sampling": "Disabled\t TCs: N\\A",
|
||||
"Operational state": "Down",
|
||||
"Width reduction mode": "Not supported",
|
||||
"Tx": {
|
||||
"error packets": "0",
|
||||
"packets": "0",
|
||||
"bytes": "0",
|
||||
"multicast packets": "0",
|
||||
"unicast packets": "0",
|
||||
"discard packets": "0",
|
||||
"hoq discard packets": "0",
|
||||
"broadcast packets": "0"
|
||||
},
|
||||
"MAC learning mode": "Enabled",
|
||||
"Switchport mode": "access",
|
||||
"Rx": {
|
||||
"error packets": "0",
|
||||
"packets": "0",
|
||||
"bytes": "0",
|
||||
"multicast packets": "0",
|
||||
"unicast packets": "0",
|
||||
"discard packets": "0",
|
||||
"broadcast packets": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Icmp redirect": "Enabled",
|
||||
"Description": "N/A",
|
||||
"Mac Address": "7C:FE:90:F0:54:C1",
|
||||
"Autostate": "Enabled",
|
||||
"Admin state": "Enabled",
|
||||
"header": "Vlan 10",
|
||||
"MTU": "1500 bytes",
|
||||
"DHCP client": "Disabled",
|
||||
"Operational state": "Up",
|
||||
"VRF": "default",
|
||||
"Arp timeout": "1500 seconds",
|
||||
"Counters": "Disabled"
|
||||
},
|
||||
{
|
||||
"Autostate": "Enabled",
|
||||
"Icmp redirect": "Enabled",
|
||||
"Broadcast address": "10.2.2.255",
|
||||
"Description": "N/A",
|
||||
"Mac Address": "7C:FE:90:F0:54:C1",
|
||||
"Internet Address": "10.2.2.3/24",
|
||||
"Admin state": "Enabled",
|
||||
"header": "Vlan 1002",
|
||||
"MTU": "1500 bytes",
|
||||
"DHCP client": "Disabled",
|
||||
"Operational state": "Down",
|
||||
"VRF": "default",
|
||||
"Arp timeout": "1500 seconds",
|
||||
"Counters": "Disabled"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"Eth1/1": [
|
||||
{
|
||||
"Negotiation": "No-Negotiation",
|
||||
"Operational state": "Down",
|
||||
"Speed": "100 Gbps"
|
||||
}
|
||||
],
|
||||
"Vlan 1002": [
|
||||
{
|
||||
"State": "Down",
|
||||
"Description": "N/A"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"Eth1/11": {
|
||||
"Access vlan": "1",
|
||||
"Allowed vlans": "",
|
||||
"Mode": "access"
|
||||
},
|
||||
"Eth1/10": {
|
||||
"Access vlan": "1",
|
||||
"Allowed vlans": "10",
|
||||
"Mode": "hybrid"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
[
|
||||
{
|
||||
"Broadcast address": "172.3.1.255",
|
||||
"Fec": "auto",
|
||||
"Tx": {
|
||||
"error packets": "0",
|
||||
"packets": "0",
|
||||
"bytes": "0",
|
||||
"multicast packets": "0",
|
||||
"unicast packets": "0",
|
||||
"discard packets": "0",
|
||||
"hoq discard packets": "0",
|
||||
"broadcast packets": "0"
|
||||
},
|
||||
"Rx": {
|
||||
"error packets": "0",
|
||||
"packets": "0",
|
||||
"bytes": "0",
|
||||
"multicast packets": "0",
|
||||
"unicast packets": "0",
|
||||
"discard packets": "0",
|
||||
"broadcast packets": "0"
|
||||
},
|
||||
"header": "Eth1/5",
|
||||
"Arp timeout": "1500 seconds",
|
||||
"Actual speed": "40 Gbps",
|
||||
"60 seconds egress rate": "0 bits/sec, 0 bytes/sec, 0 packets/sec",
|
||||
"Last change in operational status": "Never",
|
||||
"Boot delay time": "0 sec",
|
||||
"Description": "N\\A",
|
||||
"DHCP client": "Disabled",
|
||||
"VRF": "default",
|
||||
"Mac address": "24:8A:07:F5:54:01",
|
||||
"60 seconds ingress rate": "0 bits/sec, 0 bytes/sec, 0 packets/sec",
|
||||
"Last clearing of \"show interface\" counters": "Never",
|
||||
"MTU": "1500 bytes(Maximum packet size 1522 bytes)",
|
||||
"Telemetry threshold": "Disabled\t TCs: N\\A",
|
||||
"Telemetry threshold level": "N\\A",
|
||||
"Flow-control": "receive off send off",
|
||||
"Forwarding mode": "inherited cut-through",
|
||||
"Admin state": "Enabled",
|
||||
"Telemetry sampling": "Disabled\t TCs: N\\A",
|
||||
"IP Address": "172.3.12.4 /24",
|
||||
"Operational state": "Down",
|
||||
"Width reduction mode": "Not supported"
|
||||
},
|
||||
{
|
||||
"Fec": "auto",
|
||||
"Mac address": "24:8a:07:f5:54:0c",
|
||||
"60 seconds ingress rate": "0 bits/sec, 0 bytes/sec, 0 packets/sec",
|
||||
"Last clearing of \"show interface\" counters": "Never",
|
||||
"Actual speed": "40 Gbps",
|
||||
"MTU": "1500 bytes(Maximum packet size 1522 bytes)",
|
||||
"header": "Eth1/6",
|
||||
"Telemetry threshold": "Disabled\t TCs: N\\A",
|
||||
"Telemetry threshold level": "N\\A",
|
||||
"Flow-control": "receive off send off",
|
||||
"Forwarding mode": "inherited cut-through",
|
||||
"60 seconds egress rate": "0 bits/sec, 0 bytes/sec, 0 packets/sec",
|
||||
"Last change in operational status": "Never",
|
||||
"Boot delay time": "0 sec",
|
||||
"Description": "N\\A",
|
||||
"Admin state": "Enabled",
|
||||
"Telemetry sampling": "Disabled\t TCs: N\\A",
|
||||
"Operational state": "Down",
|
||||
"Width reduction mode": "Not supported",
|
||||
"Tx": {
|
||||
"error packets": "0",
|
||||
"packets": "0",
|
||||
"bytes": "0",
|
||||
"multicast packets": "0",
|
||||
"unicast packets": "0",
|
||||
"discard packets": "0",
|
||||
"hoq discard packets": "0",
|
||||
"broadcast packets": "0"
|
||||
},
|
||||
"MAC learning mode": "Enabled",
|
||||
"Switchport mode": "access",
|
||||
"Rx": {
|
||||
"error packets": "0",
|
||||
"packets": "0",
|
||||
"bytes": "0",
|
||||
"multicast packets": "0",
|
||||
"unicast packets": "0",
|
||||
"discard packets": "0",
|
||||
"broadcast packets": "0"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{
|
||||
"Autostate": "Enabled",
|
||||
"Icmp redirect": "Enabled",
|
||||
"Broadcast address": "172.3.12.255",
|
||||
"Description": "N/A",
|
||||
"Mac Address": "7C:FE:90:E5:CA:01",
|
||||
"Internet Address": "172.3.12.4/24",
|
||||
"Admin state": "Enabled",
|
||||
"header": "Vlan 1002",
|
||||
"MTU": "1500 bytes",
|
||||
"DHCP client": "Disabled",
|
||||
"Operational state": "Down",
|
||||
"VRF": "default",
|
||||
"Arp timeout": "1500 seconds",
|
||||
"Counters": "Disabled"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"Eth1/1": [
|
||||
{
|
||||
"Receive": "Enabled",
|
||||
"Transmit": "Enabled",
|
||||
"TLVs": "PD, SN, SD, SC, MA, PFC, AP, ETS-C, ETS-R"
|
||||
}
|
||||
],
|
||||
"Eth1/2": [
|
||||
{
|
||||
"Receive": "Disabled",
|
||||
"Transmit": "Disabled",
|
||||
"TLVs": "PD, SN, SD, SC, MA, PFC, AP, ETS-C, ETS-R"
|
||||
}
|
||||
]
|
||||
}
|
||||
14
test/units/modules/network/onyx/fixtures/onyx_lldp_show.cfg
Normal file
14
test/units/modules/network/onyx/fixtures/onyx_lldp_show.cfg
Normal file
@@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"LLDP": "enabled"
|
||||
},
|
||||
{
|
||||
"Supported capabilities": "B,R",
|
||||
"Chassis sub type": "Mac Address",
|
||||
"header": "Local global configuration",
|
||||
"System Name": "ufm-switch16",
|
||||
"Supported capabilities enabled": "B",
|
||||
"Chassis id": "7c:fe:90:e5:ca:00",
|
||||
"System Description": "Mellanox MSN2700,MLNX-OS,SWv3.6.5000-04"
|
||||
}
|
||||
]
|
||||
18
test/units/modules/network/onyx/fixtures/onyx_magp_show.cfg
Normal file
18
test/units/modules/network/onyx/fixtures/onyx_magp_show.cfg
Normal file
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{
|
||||
"Interface vlan": "1243",
|
||||
"Admin state": "Enabled",
|
||||
"Virtual IP": "10.0.0.43",
|
||||
"header": "MAGP 102",
|
||||
"State": "Init",
|
||||
"Virtual MAC": "01:02:03:04:05:06"
|
||||
},
|
||||
{
|
||||
"Interface vlan": "1200",
|
||||
"Admin state": "Disabled",
|
||||
"Virtual IP": "0.0.0.0",
|
||||
"header": "MAGP 103",
|
||||
"State": "Init",
|
||||
"Virtual MAC": "00:00:00:00:00:00"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"Reload-delay": "30 sec",
|
||||
"Upgrade-timeout": "60 min",
|
||||
"System-mac": "00:00:5E:00:01:4E [Mismatched]",
|
||||
"Admin status": "Disabled",
|
||||
"MLAG Ports Status Summary": {
|
||||
"Active-partial": "0",
|
||||
"Inactive": "0",
|
||||
"Active-full": "0"
|
||||
},
|
||||
"MLAG IPLs Summary": {
|
||||
"1": [
|
||||
{
|
||||
"Local IP address": "10.2.2.3",
|
||||
"Peer IP address": "10.2.2.2",
|
||||
"Operational State": "Down",
|
||||
"Vlan Interface": "1002",
|
||||
"Group Port-Channel": "Po1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Keepalive-interval": "1 sec",
|
||||
"MLAG Ports Configuration Summary": {
|
||||
"Disabled": "0",
|
||||
"Configured": "0",
|
||||
"Enabled": "0"
|
||||
},
|
||||
"Operational status": "Down"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"MLAG Port-Channel Flags": "D-Down, U-Up, P-Partial UP, S - suspended by MLAG",
|
||||
"Port Flags": {
|
||||
"I": "Individual",
|
||||
"P": "Up in port-channel (members)",
|
||||
"S": "Suspend in port-channel (members)",
|
||||
"D": "Down"
|
||||
},
|
||||
"MLAG Port-Channel Summary": {
|
||||
"1 Mpo33(S)": [
|
||||
{
|
||||
"Local Ports (D/P/S/I)": "Eth1/8(D)",
|
||||
"Peer Ports (D/P/S/I)": "N/A",
|
||||
"Type": "LACP"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
18
test/units/modules/network/onyx/fixtures/onyx_mlag_show.cfg
Normal file
18
test/units/modules/network/onyx/fixtures/onyx_mlag_show.cfg
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"Reload-delay": "30 sec",
|
||||
"Upgrade-timeout": "60 min",
|
||||
"System-mac": "00:00:5E:00:01:4E",
|
||||
"Admin status": "Disabled",
|
||||
"MLAG Ports Status Summary": {
|
||||
"Active-partial": "0",
|
||||
"Inactive": "0",
|
||||
"Active-full": "0"
|
||||
},
|
||||
"Keepalive-interval": "1 sec",
|
||||
"MLAG Ports Configuration Summary": {
|
||||
"Disabled": "0",
|
||||
"Configured": "0",
|
||||
"Enabled": "0"
|
||||
},
|
||||
"Operational status": "Down"
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"r-neo-sw12": [
|
||||
{
|
||||
"IP Address": "10.209.26.55",
|
||||
"VIP-State": "standby"
|
||||
}
|
||||
],
|
||||
"r-smg-sw14": [
|
||||
{
|
||||
"IP Address": "10.209.27.172",
|
||||
"VIP-State": "master"
|
||||
}
|
||||
],
|
||||
"MLAG-VIP": {
|
||||
"MLAG VIP address": "10.209.25.107/24",
|
||||
"MLAG group name": "neo-mlag-vip-500",
|
||||
"Active nodes": "2"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
OSPF Process ID 2 VRF default
|
||||
Total number of interface: 1
|
||||
Interface Id Area Cost State Neighbors Status
|
||||
Loopback1 0.0.0.0 1 Enabled 0 Up
|
||||
@@ -0,0 +1 @@
|
||||
Routing Process 2 with ID 10.2.3.4 default
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"Eth1/1": [
|
||||
{
|
||||
"PFC admin": "Auto",
|
||||
"PFC oper": "Disabled"
|
||||
}
|
||||
],
|
||||
"Eth1/1/2": [
|
||||
{
|
||||
"PFC admin": "Auto",
|
||||
"PFC oper": "Disabled"
|
||||
}
|
||||
],
|
||||
"Po1": [
|
||||
{
|
||||
"PFC admin": "Auto",
|
||||
"PFC oper": "Disabled"
|
||||
}
|
||||
],
|
||||
"Mpo2": [
|
||||
{
|
||||
"PFC admin": "Auto",
|
||||
"PFC oper": "Disabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"Eth1/1": [
|
||||
{
|
||||
"PFC admin": "on",
|
||||
"PFC oper": "Enabled"
|
||||
}
|
||||
],
|
||||
"Eth1/1/2": [
|
||||
{
|
||||
"PFC admin": "on",
|
||||
"PFC oper": "Enabled"
|
||||
}
|
||||
],
|
||||
"Po1": [
|
||||
{
|
||||
"PFC admin": "on",
|
||||
"PFC oper": "Enabled"
|
||||
}
|
||||
],
|
||||
"Mpo2": [
|
||||
{
|
||||
"PFC admin": "on",
|
||||
"PFC oper": "Enabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"Flags": {
|
||||
"I": "Individual",
|
||||
"P": "Up in port-channel (members)",
|
||||
"S": "Suspend in port-channel (members)",
|
||||
"U": "Up",
|
||||
"D": "Down"
|
||||
},
|
||||
"1 Po22(D)": [
|
||||
{
|
||||
"Type": "STATIC",
|
||||
"Member Ports": "Eth1/7(D)"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"pim": "disabled",
|
||||
"dhcp-relay": "disabled",
|
||||
"igmp-snooping": "disabled",
|
||||
"lacp": "disabled",
|
||||
"ptp": "disabled",
|
||||
"lldp": "disabled",
|
||||
"isolation-group": "disabled",
|
||||
"bfd": "disabled",
|
||||
"openflow": "disabled",
|
||||
"telemetry": "disabled",
|
||||
"vrrp": "disabled",
|
||||
"spanning-tree": "rst",
|
||||
"mlag": "disabled",
|
||||
"magp": "disabled",
|
||||
"nve": "disabled",
|
||||
"Ethernet": "enabled",
|
||||
"IP L3": "enabled",
|
||||
"ets": "enabled",
|
||||
"sflow": "disabled",
|
||||
"dhcp-relay(v6)": "disabled",
|
||||
"dot1x": "disabled",
|
||||
"bgp": "disabled",
|
||||
"priority-flow-control": "disabled",
|
||||
"ospf": "disabled"
|
||||
}
|
||||
14
test/units/modules/network/onyx/fixtures/onyx_vlan_show.cfg
Normal file
14
test/units/modules/network/onyx/fixtures/onyx_vlan_show.cfg
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"1": {
|
||||
"Name": "default",
|
||||
"Ports": "Eth1/1, Eth1/2, Eth1/3, Eth1/4, Eth1/5,\nEth1/6, Eth1/7, Eth1/8, Eth1/9, Eth1/10,\nEth1/11, Eth1/12, Eth1/13, Eth1/14, Eth1/15,\nEth1/16"
|
||||
},
|
||||
"10": {
|
||||
"Name": "test 10",
|
||||
"Ports": ""
|
||||
},
|
||||
"20": {
|
||||
"Name": "test 20",
|
||||
"Ports": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user