Skip to content

Instantly share code, notes, and snippets.

@YonathanMeguira
Created August 8, 2017 07:36
Show Gist options
  • Save YonathanMeguira/5c38e050532666aba141efeda023d1dc to your computer and use it in GitHub Desktop.
Save YonathanMeguira/5c38e050532666aba141efeda023d1dc to your computer and use it in GitHub Desktop.
All Groups JSON forms, includes Devices, appliances and links
[
{
"id": 1,
"name": "group1",
"desc": "description1",
"devices": [
{
"type": "device1",
"healthy": false,
"appliances": [
{
"id": "router1.2"
},
{
"id": "router1.3"
},
{
"id": "router1.4"
},
{
"id": "router1.5"
}
]
},
{
"type": "device2",
"healthy": true,
"appliances": [
{
"id": "router2.2"
},
{
"id": "router2.3"
},
{
"id": "router2.4"
},
{
"id": "router2.5"
}
]
},
{
"type": "device3",
"healthy": true,
"appliances": [
{
"id": "wifi01.2"
},
{
"id": "wifi0.3"
},
{
"id": "extMac0.4"
},
{
"id": "extPC0.5"
}
]
},
{
"type": "device4",
"healthy": true,
"appliances": [
{
"id": "PC0.2"
},
{
"id": "MAC034b.3"
},
{
"id": "Router01b.4"
},
{
"id": "RouterEb4.5"
}
]
},
{
"type": "device5",
"healthy": false,
"appliances": [
{
"id": "router23b.4"
},
{
"id": "wifi234.4"
}
]
},
{
"type": "device6",
"healthy": true,
"appliances": [
{
"id": "router24b.4"
},
{
"id": "wifi264.4"
}
]
},
{
"type": "device7",
"healthy": false,
"appliances": [
{
"id": "router23.6.4"
},
{
"id": "FaxMa"
}
]
},
{
"type": "device8",
"healthy": true,
"appliances": [
{
"id": "router13.6.4"
},
{
"id": "FaxPC"
}
]
}
],
"healthStatus": "OK",
"traffic": 6.022,
"ports": {
"total": 128,
"network": 80,
"appliances": 40,
"inline": 8
},
"fabricFlows": {
"total": [
{
"type": "fabricFlow1",
"status": true
},
{
"type": "fabricFlow2",
"status": false
}
],
"noTraffic": 1
},
"links": [
{
"type": "link1",
"healthy": true,
"target": "device1",
"source": "device7"
},
{
"type": "link2",
"healthy": false,
"target": "device3",
"source": "device6"
}
]
},
{
"id": 2,
"name": "group2",
"desc": "description2",
"devices": [
{
"type": "device1",
"healthy": false,
"appliances": [
{
"id": "router23.6.4"
},
{
"id": "FaxMa"
}
]
},
{
"type": "device2",
"healthy": true,
"appliances": [
{
"id": "router13.6.4"
},
{
"id": "wifi32.4"
}
]
}
],
"healthStatus": "OK",
"traffic": 6.022,
"ports": {
"total": 128,
"network": 80,
"appliances": 40,
"inline": 8
},
"fabricFlows": {
"total": [
{
"type": "fabricFlow1",
"status": false
},
{
"type": "fabricFlow2",
"status": true
}
],
"noTraffic": 1
},
"links": [
{
"type": "link1",
"healthy": true,
"target": "device1",
"source": "device2"
}
]
},
{
"id": 3,
"name": "group3",
"desc": "description3",
"devices": [
{
"type": "device1",
"healthy": true,
"appliances": [
{
"id": "router23.6.4"
},
{
"id": "FaxMa"
}
]
},
{
"type": "device2",
"healthy": false,
"appliances": [
{
"id": "wifi2eb.6.4"
},
{
"id": "fax2nd"
}
]
}
],
"healthStatus": "OK",
"traffic": 6.022,
"ports": {
"total": 128,
"network": 80,
"appliances": 40,
"inline": 8
},
"fabricFlows": {
"total": [
{
"type": "fabricFlow1",
"status": true
},
{
"type": "fabricFlow2",
"status": false
}
],
"noTraffic": 1
},
"links": [
{
"type": "link1",
"healthy": false,
"target": "device1",
"source": "device2"
},
{
"type": "link2",
"healthy": false
}
]
},
{
"id": 4,
"name": "group4",
"desc": "description4",
"devices": [
{
"type": "device1",
"healthy": true,
"appliances": [
{
"id": "router23.6.4"
},
{
"id": "router3eb2ndFloor"
}
]
},
{
"type": "device2",
"healthy": false,
"appliances": [
{
"id": "routerExt1.6.4"
}
]
}
],
"healthStatus": "OK",
"traffic": 6.022,
"ports": {
"total": 128,
"network": 80,
"appliances": 40,
"inline": 8
},
"fabricFlows": {
"total": [
{
"type": "fabricFlow1",
"status": true
},
{
"type": "fabricFlow2",
"status": false
}
],
"noTraffic": 1
},
"links": [
{
"type": "link1",
"healthy": false,
"target": "device1",
"source": "device2"
},
{
"type": "link2",
"healthy": false
}
]
},
{
"id": 5,
"name": "group5",
"desc": "description5",
"devices": [
{
"type": "device1",
"healthy": true,
"appliances": [
{
"id": "routerIn.6.4"
}
]
},
{
"type": "device2",
"healthy": false,
"appliances": [
{
"id": "wifi4eb6.6.4"
}
]
}
],
"healthStatus": "OK",
"traffic": 6.022,
"ports": {
"total": 128,
"network": 80,
"appliances": 40,
"inline": 8
},
"fabricFlows": {
"total": [
{
"type": "fabricFlow1",
"status": true
},
{
"type": "fabricFlow2",
"status": false
}
],
"noTraffic": 1
},
"links": [
{
"type": "link1",
"healthy": false,
"target": "device1",
"source": "device2"
},
{
"type": "link2",
"healthy": false
}
]
},
{
"id": 6,
"name": "group6",
"desc": "description6",
"devices": [
{
"type": "device1",
"healthy": true,
"appliances": [
{
"id": "wifi23eb.6.4"
}
]
},
{
"type": "device2",
"healthy": false,
"appliances": [
{
"id": "wifiBeta0.03.6.4"
}
]
}
],
"healthStatus": "OK",
"traffic": 6.022,
"ports": {
"total": 128,
"network": 80,
"appliances": 40,
"inline": 8
},
"fabricFlows": {
"total": [
{
"type": "fabricFlow1",
"status": true
},
{
"type": "fabricFlow2",
"status": false
}
],
"noTraffic": 1
},
"links": [
{
"type": "link1",
"healthy": false,
"target": "device1",
"source": "device2"
},
{
"type": "link2",
"healthy": false
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment