mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Fixes nxos_vpc_interface (#25907)
* nxos_vpc_interface fix Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * nxos_vpc_interface unit test Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * fix state_present Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * add state_present unit test Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * make ansibot happy Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * teardown get_config Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"TABLE_channel": {
|
||||
"ROW_channel": [
|
||||
{
|
||||
"group": "10",
|
||||
"port-channel": "port-channel10",
|
||||
"layer": "R",
|
||||
"status": "D",
|
||||
"type": "Eth",
|
||||
"prtcl": "NONE"
|
||||
},
|
||||
{
|
||||
"group": "20",
|
||||
"port-channel": "port-channel20",
|
||||
"layer": "R",
|
||||
"status": "D",
|
||||
"type": "Eth",
|
||||
"prtcl": "NONE"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"TABLE_vpc": {
|
||||
"ROW_vpc": [
|
||||
{
|
||||
"vpc-id": 100,
|
||||
"vpc-ifindex": "Po10",
|
||||
"vpc-port-state": "Up",
|
||||
"vpc-thru-peerlink": 19,
|
||||
"vpc-consistency": "consistent",
|
||||
"vpc-consistency-status": "SUCCESS"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user