mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
refactor eos_eapi module (#20740)
* eos_eapi module now requires network_cli plugin * adds unit test cases for eos_eapi module
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"httpServer": {
|
||||
"running": true,
|
||||
"configured": true,
|
||||
"port": 80
|
||||
},
|
||||
"users": {
|
||||
"admin": {
|
||||
"requestCount": 17153,
|
||||
"bytesOut": 19950055,
|
||||
"lastHitTime": 1484142997.1464522,
|
||||
"bytesIn": 3189628
|
||||
}
|
||||
},
|
||||
"localHttpServer": {
|
||||
"running": true,
|
||||
"configured": true,
|
||||
"port": 8080
|
||||
},
|
||||
"executionTime": 6642.150056908686,
|
||||
"dscpValue": 0,
|
||||
"bytesOut": 19950055,
|
||||
"enabled": true,
|
||||
"httpsServer": {
|
||||
"running": true,
|
||||
"configured": true,
|
||||
"port": 443
|
||||
},
|
||||
"corsOrigins": [],
|
||||
"hitCount": 17318,
|
||||
"vrf": "default",
|
||||
"urls": [
|
||||
"Management1 : https://172.26.4.24:443",
|
||||
"Management1 : http://172.26.4.24:80",
|
||||
"Unix Socket : unix:/var/run/command-api.sock",
|
||||
"Local : http://localhost:8080/command-api"
|
||||
],
|
||||
"lastHitTime": 1484142997.146127,
|
||||
"unixSocketServer": {
|
||||
"running": true,
|
||||
"configured": true
|
||||
},
|
||||
"requestCount": 17153,
|
||||
"commandCount": 59298,
|
||||
"bytesIn": 3189628
|
||||
}
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"httpServer": {
|
||||
"running": false,
|
||||
"configured": false,
|
||||
"port": 80
|
||||
},
|
||||
"users": {
|
||||
"admin": {
|
||||
"requestCount": 17153,
|
||||
"bytesOut": 19950055,
|
||||
"lastHitTime": 1484142997.1464522,
|
||||
"bytesIn": 3189628
|
||||
}
|
||||
},
|
||||
"localHttpServer": {
|
||||
"running": false,
|
||||
"configured": false,
|
||||
"port": 8080
|
||||
},
|
||||
"executionTime": 6642.150056908686,
|
||||
"dscpValue": 0,
|
||||
"bytesOut": 19950055,
|
||||
"enabled": false,
|
||||
"httpsServer": {
|
||||
"running": false,
|
||||
"configured": false,
|
||||
"port": 443
|
||||
},
|
||||
"corsOrigins": [],
|
||||
"hitCount": 17318,
|
||||
"vrf": "default",
|
||||
"urls": [],
|
||||
"lastHitTime": 1484142997.146127,
|
||||
"unixSocketServer": {
|
||||
"running": false,
|
||||
"configured": false
|
||||
},
|
||||
"requestCount": 17153,
|
||||
"commandCount": 59298,
|
||||
"bytesIn": 3189628
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
Maximum number of vrfs allowed: 14
|
||||
Vrf RD Protocols State Interfaces
|
||||
--------- ----------- --------------- -------------------- --------------------
|
||||
mgmt 1:101 ipv4,ipv6 v4:no routing,
|
||||
v6:no routing
|
||||
|
||||
test 1:100 ipv4,ipv6 v4:routing, Ethernet5, Ethernet6
|
||||
v6:no routing
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user