Commit 0c32fa2c authored by Jérémie Gaidamour's avatar Jérémie Gaidamour

[all] removed null values from the network api

parent 2ce2578d
......@@ -6,10 +6,8 @@
"kind": "router",
"linecards": [
{
},
{
},
{
"backplane_bps": 48000000000,
......@@ -17,7 +15,6 @@
"naming_pattern": "%LINECARD%:%PORT%",
"ports": [
{
},
{
"port": "0/1",
......@@ -68,34 +65,24 @@
"uid": "sw-edel-4"
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
"uid": "voltaire-1"
......@@ -113,7 +100,6 @@
"naming_pattern": "%LINECARD%:%PORT%",
"ports": [
{
},
{
"kind": "other",
......@@ -152,10 +138,8 @@
"uid": "grimage-10"
},
{
},
{
},
{
"port": "eth0",
......@@ -202,13 +186,10 @@
"uid": "voltaire-3"
},
{
},
{
},
{
},
{
"port": "eth1",
......@@ -251,10 +232,8 @@
"uid": "genepi-32"
},
{
},
{
},
{
"port": "eth1",
......@@ -290,14 +269,12 @@
"naming_pattern": "%LINECARD%:%PORT%",
"ports": [
{
},
{
"kind": "switch",
"uid": "summit-grimage"
},
{
},
{
"port": "eth1",
......@@ -332,10 +309,8 @@
"uid": "genepi-21"
},
{
},
{
},
{
"port": "eth1",
......@@ -423,19 +398,14 @@
"snmp_pattern": "BD-8810 Port %LINECARD%:%PORT%"
},
{
},
{
},
{
},
{
},
{
},
{
"backplane_bps": 48000000000,
......@@ -443,7 +413,6 @@
"naming_pattern": "%LINECARD%:%PORT%",
"ports": [
{
},
{
"port": "eth2",
......@@ -451,7 +420,6 @@
"uid": "dignfs"
},
{
},
{
"kind": "virtual",
......@@ -466,7 +434,6 @@
"model": "ExtremeNetworks",
"mtu": 9216,
"routes": {
},
"site": "grenoble",
"snmp_community": "public",
......@@ -552,6 +519,5 @@
}
},
"weathermap": {
}
}
\ No newline at end of file
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
......@@ -23,9 +22,7 @@
}
],
"model": "Infiniband",
"mtu": null,
"routes": {
},
"site": "grenoble",
"snmp_community": "public",
......
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
"kind": "switch",
"linecards": [
{
},
{
"kind": "node",
"naming_pattern": "%LINECARD%/0/%PORT%",
"ports": [
{
},
{
},
{
},
{
},
{
"kind": "other",
......@@ -83,10 +77,8 @@
"uid": "edel-18"
},
{
},
{
},
{
"kind": "router",
......@@ -111,7 +103,6 @@
"model": "Broadcom",
"mtu": 9216,
"routes": {
},
"site": "grenoble",
"snmp_community": "public",
......
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
"kind": "switch",
"linecards": [
{
},
{
"kind": "node",
"naming_pattern": "%LINECARD%/0/%PORT%",
"ports": [
{
},
{
},
{
},
{
},
{
"kind": "other",
......@@ -83,10 +77,8 @@
"uid": "edel-36"
},
{
},
{
},
{
"kind": "router",
......@@ -111,7 +103,6 @@
"model": "Broadcom",
"mtu": 9216,
"routes": {
},
"site": "grenoble",
"snmp_community": "public",
......
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
"kind": "switch",
"linecards": [
{
},
{
"kind": "node",
"naming_pattern": "%LINECARD%/0/%PORT%",
"ports": [
{
},
{
},
{
},
{
},
{
"kind": "other",
......@@ -83,10 +77,8 @@
"uid": "edel-54"
},
{
},
{
},
{
"kind": "router",
......@@ -111,7 +103,6 @@
"model": "Broadcom",
"mtu": 9216,
"routes": {
},
"site": "grenoble",
"snmp_community": "public",
......
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
"kind": "switch",
"linecards": [
{
},
{
"kind": "node",
"naming_pattern": "%LINECARD%/0/%PORT%",
"ports": [
{
},
{
},
{
},
{
},
{
"kind": "other",
......@@ -83,10 +77,8 @@
"uid": "edel-72"
},
{
},
{
},
{
"kind": "router",
......@@ -111,7 +103,6 @@
"model": "Broadcom",
"mtu": 9216,
"routes": {
},
"site": "grenoble",
"snmp_community": "public",
......
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
......@@ -17,9 +16,7 @@
}
],
"model": "Infiniband",
"mtu": null,
"routes": {
},
"site": "grenoble",
"snmp_community": "public",
......
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
......@@ -17,9 +16,7 @@
}
],
"model": "Infiniband",
"mtu": null,
"routes": {
},
"site": "grenoble",
"snmp_community": "public",
......
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
......@@ -17,9 +16,7 @@
}
],
"model": "Infiniband",
"mtu": null,
"routes": {
},
"site": "grenoble",
"snmp_community": "public",
......
......@@ -47,7 +47,6 @@
"kind": "router",
"linecards": [
{
},
{
"backplane_bps": 40000000000,
......@@ -55,73 +54,50 @@
"naming_pattern": "Gi%LINECARD%/%PORT%",
"ports": [
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
"kind": "other",
......@@ -188,10 +164,8 @@
"uid": "cronos"
},
{
},
{
},
{
"kind": "other",
......@@ -199,28 +173,20 @@
"uid": "zeus"
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
}
],
"rate": 1000000000,
......@@ -232,7 +198,6 @@
"naming_pattern": "Gi%LINECARD%/%PORT%",
"ports": [
{
},
{
"port": "eth0",
......@@ -323,7 +288,6 @@
"uid": "granduc-22"
},
{
},
{
"port": "eth1",
......@@ -370,31 +334,22 @@
"uid": "granduc-22"
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
},
{
"kind": "other",
......@@ -402,7 +357,6 @@
"uid": "cronos"
},
{
},
{
"kind": "other",
......@@ -410,10 +364,8 @@
"uid": "hera"
},
{
},
{
}
],
"rate": 1000000000,
......@@ -425,7 +377,6 @@
"naming_pattern": "Te%LINECARD%/%PORT%",
"ports": [
{
},
{
"port": "Ethernet1/30",
......@@ -440,7 +391,6 @@
"snmp_pattern": "TenGigabitEthernet%LINECARD%/%PORT%"
},
{
},
{
"backplane_bps": 40000000000,
......@@ -448,16 +398,12 @@
"naming_pattern": "Te%LINECARD%/%PORT%",
"ports": [
{
},
{
},
{
},
{
},
{