Commit d67dc89c authored by Elodie Bertoncello's avatar Elodie Bertoncello
Browse files

[Grenoble] Fix bug #4867

parent eb8d284f
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
"kind": "switch",
"linecards": [
{
"kind": "router",
"naming_pattern": "%LINECARD%/%PORT%",
},
{
"kind": "node",
"naming_pattern": "%LINECARD%/0/%PORT%",
"ports": [
{
},
{
"port": "2:4",
"uid": "gw-grenoble"
},
{
"port": "2:5",
"uid": "gw-grenoble"
},
{
"port": "2:6",
"uid": "gw-grenoble"
}
],
"rate": 1000000000
},
{
"kind": "node",
"naming_pattern": "%LINECARD%/%PORT%",
"ports": [
{
},
{
"kind": "other",
"uid": "blade-1"
},
{
"uid": "edel-1"
......@@ -86,19 +81,40 @@
},
{
"uid": "edel-18"
},
{
},
{
},
{
"kind": "router",
"port": "2:4",
"uid": "gw-grenoble"
},
{
"kind": "router",
"port": "2:5",
"uid": "gw-grenoble"
},
{
"kind": "router",
"port": "2:6",
"uid": "gw-grenoble"
}
],
"rate": 1000000000
}
],
"model": "Blade",
"model": "Broadcom",
"routes": {
},
"site": "grenoble",
"snmp_community": "public",
"type": "network_equipment",
"uid": "blade-1",
"uid": "edel-sw-1",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
......
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
"kind": "switch",
"linecards": [
{
"kind": "router",
"naming_pattern": "%LINECARD%/%PORT%",
},
{
"kind": "node",
"naming_pattern": "%LINECARD%/0/%PORT%",
"ports": [
{
},
{
"port": "2:1",
"uid": "gw-grenoble"
},
{
"port": "2:2",
"uid": "gw-grenoble"
},
{
"port": "2:3",
"uid": "gw-grenoble"
}
],
"rate": 1000000000
},
{
"kind": "node",
"naming_pattern": "%LINECARD%/%PORT%",
"ports": [
{
},
{
"kind": "other",
"uid": "blade-2"
},
{
"uid": "edel-19"
......@@ -86,19 +81,40 @@
},
{
"uid": "edel-36"
},
{
},
{
},
{
"kind": "router",
"port": "2:1",
"uid": "gw-grenoble"
},
{
"kind": "router",
"port": "2:2",
"uid": "gw-grenoble"
},
{
"kind": "router",
"port": "2:3",
"uid": "gw-grenoble"
}
],
"rate": 1000000000
}
],
"model": "Blade",
"model": "Broadcom",
"routes": {
},
"site": "grenoble",
"snmp_community": "public",
"type": "network_equipment",
"uid": "blade-2",
"uid": "edel-sw-2",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
......
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
"kind": "switch",
"linecards": [
{
"kind": "router",
"naming_pattern": "%LINECARD%/%PORT%",
},
{
"kind": "node",
"naming_pattern": "%LINECARD%/0/%PORT%",
"ports": [
{
},
{
"port": "2:7",
"uid": "gw-grenoble"
},
{
"port": "2:8",
"uid": "gw-grenoble"
},
{
"port": "2:9",
"uid": "gw-grenoble"
}
],
"rate": 1000000000
},
{
"kind": "node",
"naming_pattern": "%LINECARD%/%PORT%",
"ports": [
{
},
{
"kind": "other",
"uid": "blade-3"
},
{
"uid": "edel-37"
......@@ -86,19 +81,40 @@
},
{
"uid": "edel-54"
},
{
},
{
},
{
"kind": "router",
"port": "2:7",
"uid": "gw-grenoble"
},
{
"kind": "router",
"port": "2:8",
"uid": "gw-grenoble"
},
{
"kind": "router",
"port": "2:9",
"uid": "gw-grenoble"
}
],
"rate": 1000000000
}
],
"model": "Blade",
"model": "Broadcom",
"routes": {
},
"site": "grenoble",
"snmp_community": "public",
"type": "network_equipment",
"uid": "blade-3",
"uid": "edel-sw-3",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
......
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
"kind": "switch",
"linecards": [
{
"kind": "router",
"naming_pattern": "%LINECARD%/%PORT%",
},
{
"kind": "node",
"naming_pattern": "%LINECARD%/0/%PORT%",
"ports": [
{
},
{
"port": "2:10",
"uid": "gw-grenoble"
},
{
"port": "2:11",
"uid": "gw-grenoble"
},
{
"port": "2:12",
"uid": "gw-grenoble"
}
],
"rate": 1000000000
},
{
"kind": "node",
"naming_pattern": "%LINECARD%/%PORT%",
"ports": [
{
},
{
"kind": "other",
"uid": "blade-4"
},
{
"uid": "edel-55"
......@@ -86,19 +81,40 @@
},
{
"uid": "edel-72"
},
{
},
{
},
{
"kind": "router",
"port": "2:10",
"uid": "gw-grenoble"
},
{
"kind": "router",
"port": "2:11",
"uid": "gw-grenoble"
},
{
"kind": "router",
"port": "2:12",
"uid": "gw-grenoble"
}
],
"rate": 1000000000
}
],
"model": "Blade",
"model": "Broadcom",
"routes": {
},
"site": "grenoble",
"snmp_community": "public",
"type": "network_equipment",
"uid": "blade-4",
"uid": "edel-sw-4",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
......
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
......@@ -19,51 +20,51 @@
},
{
"port": "0/1",
"uid": "blade-2"
"uid": "edel-sw-2"
},
{
"port": "0/2",
"uid": "blade-2"
"uid": "edel-sw-2"
},
{
"port": "0/3",
"uid": "blade-2"
"uid": "edel-sw-2"
},
{
"port": "0/1",
"uid": "blade-1"
"uid": "edel-sw-1"
},
{
"port": "0/2",
"uid": "blade-1"
"uid": "edel-sw-1"
},
{
"port": "0/3",
"uid": "blade-1"
"uid": "edel-sw-1"
},
{
"port": "0/1",
"uid": "blade-3"
"uid": "edel-sw-3"
},
{
"port": "0/2",
"uid": "blade-3"
"uid": "edel-sw-3"
},
{
"port": "0/3",
"uid": "blade-3"
"uid": "edel-sw-3"
},
{
"port": "0/1",
"uid": "blade-4"
"uid": "edel-sw-4"
},
{
"port": "0/2",
"uid": "blade-4"
"uid": "edel-sw-4"
},
{
"port": "0/3",
"uid": "blade-4"
"uid": "edel-sw-4"
},
{
......
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
......
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
......
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
......
{
"backplane_bps": null,
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
......
{
"model": "eMAA12",
"sensors": [
{
"power": {
"per_outlets": true,
"snmp": {
"available": true,
"outlet_prefix_oid": "iso.3.6.1.4.1.534.6.6.7.6.5.1.3.0",
"total_oids": [
"iso.3.6.1.4.1.534.6.6.7.5.5.1.3.0.1",
"iso.3.6.1.4.1.534.6.6.7.5.5.1.3.0.2"
],
"unit": "W"
}
}
}
],
"type": "pdu",
"uid": "pdu-1",
"vendor": "Eaton Corporation"
}
\ No newline at end of file
{
"model": "eMAA12",
"sensors": [
{
"power": {
"per_outlets": true,
"snmp": {
"available": true,
"outlet_prefix_oid": "iso.3.6.1.4.1.534.6.6.7.6.5.1.3.0",
"total_oids": [
"iso.3.6.1.4.1.534.6.6.7.5.5.1.3.0.1",
"iso.3.6.1.4.1.534.6.6.7.5.5.1.3.0.2"
],
"unit": "W"
}
}
}
],
"type": "pdu",
"uid": "pdu-2",
"vendor": "Eaton Corporation"
}
\ No newline at end of file
---
blade-1:
model: Blade
edel-sw-1:
model: Broadcom
kind: switch
site: grenoble
snmp_community: public
......@@ -11,42 +11,43 @@ blade-1:
routes: {}
linecards:
0:
naming_pattern: "%LINECARD%/%PORT%"
kind: router
1:
naming_pattern: "%LINECARD%/0/%PORT%"
kind: node
rate: 1000000000
ports:
1:
4:
uid: blade-1
kind: other
5: edel-1
6: edel-2
7: edel-3
8: edel-4
9: edel-5
10: edel-6
11: edel-7
12: edel-8
13: edel-9
14: edel-10
15: edel-11
16: edel-12
17: edel-13
18: edel-14
19: edel-15
20: edel-16
21: edel-17
22: edel-18
25:
uid: gw-grenoble
port: "2:4"
2:
kind: router
26:
uid: gw-grenoble
port: "2:5"
3:
kind: router
27:
uid: gw-grenoble
port: "2:6"
1:
naming_pattern: "%LINECARD%/%PORT%"
kind: node
rate: 1000000000
ports:
1: edel-1
2: edel-2
3: edel-3
4: edel-4
5: edel-5
6: edel-6
7: edel-7
8: edel-8
9: edel-9
10: edel-10
11: edel-11
12: edel-12
13: edel-13
14: edel-14
15: edel-15
16: edel-16
17: edel-17
18: edel-18
kind: router
channels:
naming_pattern: Po%CHANNELID%