Commit 34957aa5 authored by Emile Morel's avatar Emile Morel

[nancy] change pdu references from hash to array (bug 5438)

parent 92d12bcf
......@@ -142,9 +142,11 @@
"power": {
"available": false,
"via": {
"pdu": {
"uid": "graphene-pdu1.nancy.grid5000.fr"
}
"pdu": [
{
"uid": "graphene-pdu1.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -142,9 +142,11 @@
"power": {
"available": false,
"via": {
"pdu": {
"uid": "graphene-pdu2.nancy.grid5000.fr"
}
"pdu": [
{
"uid": "graphene-pdu2.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -142,9 +142,11 @@
"power": {
"available": false,
"via": {
"pdu": {
"uid": "graphene-pdu6.nancy.grid5000.fr"
}
"pdu": [
{
"uid": "graphene-pdu6.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -142,9 +142,11 @@
"power": {
"available": false,
"via": {
"pdu": {
"uid": "graphene-pdu6.nancy.grid5000.fr"
}
"pdu": [
{
"uid": "graphene-pdu6.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -142,9 +142,11 @@
"power": {
"available": false,
"via": {
"pdu": {
"uid": "graphene-pdu6.nancy.grid5000.fr"
}
"pdu": [
{
"uid": "graphene-pdu6.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -142,9 +142,11 @@
"power": {
"available": false,
"via": {
"pdu": {
"uid": "graphene-pdu6.nancy.grid5000.fr"
}
"pdu": [
{
"uid": "graphene-pdu6.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -142,9 +142,11 @@
"power": {
"available": false,
"via": {
"pdu": {
"uid": "graphene-pdu6.nancy.grid5000.fr"
}
"pdu": [
{
"uid": "graphene-pdu6.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 1,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
"pdu": [
{
"port": 1,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 2,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
"pdu": [
{
"port": 2,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 3,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
"pdu": [
{
"port": 3,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 4,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
"pdu": [
{
"port": 4,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 5,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
"pdu": [
{
"port": 5,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -142,9 +142,11 @@
"power": {
"available": false,
"via": {
"pdu": {
"uid": "graphene-pdu2.nancy.grid5000.fr"
}
"pdu": [
{
"uid": "graphene-pdu2.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 1,
"uid": "graphene-pdu8.nancy.grid5000.fr"
}
"pdu": [
{
"port": 6,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 2,
"uid": "graphene-pdu8.nancy.grid5000.fr"
}
"pdu": [
{
"port": 7,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 3,
"uid": "graphene-pdu8.nancy.grid5000.fr"
}
"pdu": [
{
"port": 8,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 4,
"uid": "graphene-pdu8.nancy.grid5000.fr"
}
"pdu": [
{
"port": 11,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 5,
"uid": "graphene-pdu8.nancy.grid5000.fr"
}
"pdu": [
{
"port": 12,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 6,
"uid": "graphene-pdu8.nancy.grid5000.fr"
}
"pdu": [
{
"port": 13,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 7,
"uid": "graphene-pdu8.nancy.grid5000.fr"
}
"pdu": [
{
"port": 14,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 9,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
"pdu": [
{
"port": 17,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 10,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
"pdu": [
{
"port": 18,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 11,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
"pdu": [
{
"port": 19,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -142,9 +142,11 @@
"power": {
"available": false,
"via": {
"pdu": {
"uid": "graphene-pdu1.nancy.grid5000.fr"
}
"pdu": [
{
"uid": "graphene-pdu1.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 12,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
"pdu": [
{
"port": 20,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 13,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
"pdu": [
{
"port": 21,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 14,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
"pdu": [
{
"port": 22,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 15,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
"pdu": [
{
"port": 23,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 9,
"uid": "graphene-pdu8.nancy.grid5000.fr"
}
"pdu": [
{
"port": 24,
"uid": "graphene-pdu7.nancy.grid5000.fr"
}
]
}
}
},
......
......@@ -145,10 +145,12 @@
"api": {
"metric": "pdu"
},
"pdu": {
"port": 10,
"uid": "graphene-pdu8.nancy.grid5000.fr"