Commit c556f6e8 authored by Jérémie Gaidamour's avatar Jérémie Gaidamour
Browse files

[dev] Simplified input format for PDUs

parent 32577263
......@@ -5,66 +5,66 @@ nodes:
wattmeter: true
graoully-1:
pdu:
pdu_name: graoully-pdu1
pdu_position: 11
uid: graoully-pdu1
port: 11
graoully-2:
pdu:
pdu_name: graoully-pdu2
pdu_position: 11
uid: graoully-pdu2
port: 11
graoully-3:
pdu:
pdu_name: graoully-pdu2
pdu_position: 12
uid: graoully-pdu2
port: 12
graoully-4:
pdu:
pdu_name: graoully-pdu1
pdu_position: 14
uid: graoully-pdu1
port: 14
graoully-5:
pdu:
pdu_name: graoully-pdu2
pdu_position: 13
uid: graoully-pdu2
port: 13
graoully-6:
pdu:
pdu_name: graoully-pdu1
pdu_position: 13
uid: graoully-pdu1
port: 13
graoully-7:
pdu:
pdu_name: graoully-pdu1
pdu_position: 10
uid: graoully-pdu1
port: 10
graoully-8:
pdu:
pdu_name: graoully-pdu2
pdu_position: 10
uid: graoully-pdu2
port: 10
graoully-9:
pdu:
pdu_name: graoully-pdu2
pdu_position: 14
uid: graoully-pdu2
port: 14
graoully-10:
pdu:
pdu_name: graoully-pdu1
pdu_position: 12
uid: graoully-pdu1
port: 12
graoully-11:
pdu:
pdu_name: graoully-pdu1
pdu_position: 20
uid: graoully-pdu1
port: 20
graoully-12:
pdu:
pdu_name: graoully-pdu1
pdu_position: 19
uid: graoully-pdu1
port: 19
graoully-13:
pdu:
pdu_name: graoully-pdu2
pdu_position: 19
uid: graoully-pdu2
port: 19
graoully-14:
pdu:
pdu_name: graoully-pdu2
pdu_position: 20
uid: graoully-pdu2
port: 20
graoully-15:
pdu:
pdu_name: graoully-pdu1
pdu_position: 21
uid: graoully-pdu1
port: 21
graoully-16:
pdu:
pdu_name: graoully-pdu2
pdu_position: 21
uid: graoully-pdu2
port: 21
......@@ -8,12 +8,11 @@ nodes:
bmc:
switch: sgraphene3-ipmi
switch_port: 1/0/41
pdu1:
pdu_name: graphene-pdu9
pdu_position: 23
pdu2:
pdu_name: graphene-pdu9
pdu_position: 24
pdu:
- uid: graphene-pdu9
port: 23
- uid: graphene-pdu9
port: 24
mic:
mic_count: 1
mic_model: 7120P
......@@ -22,12 +21,11 @@ nodes:
bmc:
switch: sgraphene3-ipmi
switch_port: 1/0/43
pdu1:
pdu_name: graphene-pdu9
pdu_position: 21
pdu2:
pdu_name: graphene-pdu9
pdu_position: 22
pdu:
- uid: graphene-pdu9
port: 21
- uid: graphene-pdu9
port: 22
mic:
mic_count: 1
mic_model: 7120P
......@@ -36,12 +34,11 @@ nodes:
bmc:
switch: sgraphene3-ipmi
switch_port: 1/0/45
pdu1:
pdu_name: graphene-pdu9
pdu_position: 19
pdu2:
pdu_name: graphene-pdu9
pdu_position: 20
pdu:
- uid: graphene-pdu9
port: 19
- uid: graphene-pdu9
port: 20
mic:
mic_count: 1
mic_model: 7120P
......@@ -50,12 +47,11 @@ nodes:
bmc:
switch: sgraphene3-ipmi
switch_port: 1/0/47
pdu1:
pdu_name: graphene-pdu9
pdu_position: 5
pdu2:
pdu_name: graphene-pdu9
pdu_position: 6
pdu:
- uid: graphene-pdu9
port: 5
- uid: graphene-pdu9
port: 6
mic:
mic_count: 1
mic_model: 7120P
......
......@@ -6,34 +6,34 @@ nodes:
grimoire-1:
pdu:
pdu_name: grimoire-pdu2
pdu_position: 17
uid: grimoire-pdu2
port: 17
grimoire-2:
pdu:
pdu_name: grimoire-pdu1
pdu_position: 17
uid: grimoire-pdu1
port: 17
grimoire-3:
pdu:
pdu_name: grimoire-pdu2
pdu_position: 18
uid: grimoire-pdu2
port: 18
grimoire-4:
pdu:
pdu_name: grimoire-pdu1
pdu_position: 18
uid: grimoire-pdu1
port: 18
grimoire-5:
pdu:
pdu_name: grimoire-pdu2
pdu_position: 19
uid: grimoire-pdu2
port: 19
grimoire-6:
pdu:
pdu_name: grimoire-pdu1
pdu_position: 19
uid: grimoire-pdu1
port: 19
grimoire-7:
pdu:
pdu_name: grimoire-pdu1
pdu_position: 20
uid: grimoire-pdu1
port: 20
grimoire-8:
pdu:
pdu_name: grimoire-pdu2
pdu_position: 20
uid: grimoire-pdu2
port: 20
......@@ -6,206 +6,206 @@ nodes:
wattmeter: true
grisou-1:
pdu:
pdu_name: grisou-pdu1
pdu_position: 1
uid: grisou-pdu1
port: 1
grisou-2:
pdu:
pdu_name: grisou-pdu2
pdu_position: 1
uid: grisou-pdu2
port: 1
grisou-3:
pdu:
pdu_name: grisou-pdu1
pdu_position: 2
uid: grisou-pdu1
port: 2
grisou-4:
pdu:
pdu_name: grisou-pdu2
pdu_position: 2
uid: grisou-pdu2
port: 2
grisou-5:
pdu:
pdu_name: grisou-pdu2
pdu_position: 3
uid: grisou-pdu2
port: 3
grisou-6:
pdu:
pdu_name: grisou-pdu1
pdu_position: 3
uid: grisou-pdu1
port: 3
grisou-7:
pdu:
pdu_name: grisou-pdu1
pdu_position: 5
uid: grisou-pdu1
port: 5
grisou-8:
pdu:
pdu_name: grisou-pdu2
pdu_position: 4
uid: grisou-pdu2
port: 4
grisou-9:
pdu:
pdu_name: grisou-pdu1
pdu_position: 4
uid: grisou-pdu1
port: 4
grisou-10:
pdu:
pdu_name: grisou-pdu2
pdu_position: 5
uid: grisou-pdu2
port: 5
grisou-11:
pdu:
pdu_name: grisou-pdu1
pdu_position: 6
uid: grisou-pdu1
port: 6
grisou-12:
pdu:
pdu_name: grisou-pdu2
pdu_position: 6
uid: grisou-pdu2
port: 6
grisou-13:
pdu:
pdu_name: grisou-pdu1
pdu_position: 7
uid: grisou-pdu1
port: 7
grisou-14:
pdu:
pdu_name: grisou-pdu2
pdu_position: 7
uid: grisou-pdu2
port: 7
grisou-15:
pdu:
pdu_name: grisou-pdu1
pdu_position: 9
uid: grisou-pdu1
port: 9
grisou-16:
pdu:
pdu_name: grisou-pdu1
pdu_position: 10
uid: grisou-pdu1
port: 10
grisou-17:
pdu:
pdu_name: grisou-pdu2
pdu_position: 10
uid: grisou-pdu2
port: 10
grisou-18:
pdu:
pdu_name: grisou-pdu2
pdu_position: 11
uid: grisou-pdu2
port: 11
grisou-19:
pdu:
pdu_name: grisou-pdu1
pdu_position: 11
uid: grisou-pdu1
port: 11
grisou-20:
pdu:
pdu_name: grisou-pdu1
pdu_position: 12
uid: grisou-pdu1
port: 12
grisou-21:
pdu:
pdu_name: grisou-pdu1
pdu_position: 13
uid: grisou-pdu1
port: 13
grisou-22:
pdu:
pdu_name: grisou-pdu2
pdu_position: 12
uid: grisou-pdu2
port: 12
grisou-23:
pdu:
pdu_name: grisou-pdu1
pdu_position: 14
uid: grisou-pdu1
port: 14
grisou-24:
pdu:
pdu_name: grisou-pdu2
pdu_position: 13
uid: grisou-pdu2
port: 13
grisou-25:
pdu:
pdu_name: grisou-pdu1
pdu_position: 19
uid: grisou-pdu1
port: 19
grisou-26:
pdu:
pdu_name: grisou-pdu2
pdu_position: 14
uid: grisou-pdu2
port: 14
grisou-27:
pdu:
pdu_name: grisou-pdu1
pdu_position: 15
uid: grisou-pdu1
port: 15
grisou-28:
pdu:
pdu_name: grisou-pdu2
pdu_position: 15
uid: grisou-pdu2
port: 15
grisou-29:
pdu:
pdu_name: grisou-pdu1
pdu_position: 17
uid: grisou-pdu1
port: 17
grisou-30:
pdu:
pdu_name: grisou-pdu2
pdu_position: 17
uid: grisou-pdu2
port: 17
grisou-31:
pdu:
pdu_name: grimoire-pdu1
pdu_position: 1
uid: grimoire-pdu1
port: 1
grisou-32:
pdu:
pdu_name: grimoire-pdu2
pdu_position: 1
uid: grimoire-pdu2
port: 1
grisou-33:
pdu:
pdu_name: grimoire-pdu2
pdu_position: 2
uid: grimoire-pdu2
port: 2
grisou-34:
pdu:
pdu_name: grimoire-pdu2
pdu_position: 3
uid: grimoire-pdu2
port: 3
grisou-35:
pdu:
pdu_name: grimoire-pdu2
pdu_position: 4
uid: grimoire-pdu2
port: 4
grisou-36:
pdu:
pdu_name: grimoire-pdu2
pdu_position: 5
uid: grimoire-pdu2
port: 5
grisou-37:
pdu:
pdu_name: grimoire-pdu1
pdu_position: 2
uid: grimoire-pdu1
port: 2
grisou-38:
pdu:
pdu_name: grimoire-pdu1
pdu_position: 3
uid: grimoire-pdu1
port: 3
grisou-39:
pdu:
pdu_name: grimoire-pdu1
pdu_position: 4
uid: grimoire-pdu1
port: 4
grisou-40:
pdu:
pdu_name: grimoire-pdu1
pdu_position: 5
uid: grimoire-pdu1
port: 5
grisou-41:
pdu:
pdu_name: grimoire-pdu2
pdu_position: 6
uid: grimoire-pdu2
port: 6
grisou-42:
pdu:
pdu_name: grimoire-pdu2
pdu_position: 7
uid: grimoire-pdu2
port: 7
grisou-43:
pdu:
pdu_name: grimoire-pdu1
pdu_position: 6
uid: grimoire-pdu1
port: 6
grisou-44:
pdu:
pdu_name: grimoire-pdu1
pdu_position: 7
uid: grimoire-pdu1
port: 7
grisou-45:
pdu:
pdu_name: grimoire-pdu2
pdu_position: 15
uid: grimoire-pdu2
port: 15
grisou-46:
pdu:
pdu_name: grimoire-pdu2
pdu_position: 21
uid: grimoire-pdu2
port: 21
grisou-47:
pdu:
pdu_name: grimoire-pdu1
pdu_position: 21
uid: grimoire-pdu1
port: 21
grisou-48:
pdu:
pdu_name: grimoire-pdu2
pdu_position: 22
uid: grimoire-pdu2
port: 22
grisou-49:
pdu:
pdu_name: grimoire-pdu1
pdu_position: 22
uid: grimoire-pdu1
port: 22
grisou-50:
pdu:
pdu_name: graoully-pdu2
pdu_position: 22
uid: graoully-pdu2
port: 22
grisou-51:
pdu:
pdu_name: graoully-pdu1
pdu_position: 22
uid: graoully-pdu1
port: 22
......@@ -6,350 +6,350 @@ nodes:
switch: gw-reims
switch_port: Gi0/1
pdu:
pdu_name: stremi-pdu2
pdu_position: 1
uid: stremi-pdu2
port: 1
stremi-2:
network_adapters:
eth0:
switch: gw-reims
switch_port: Gi0/2
pdu:
pdu_name: stremi-pdu2
pdu_position: 2
uid: stremi-pdu2
port: 2
stremi-3:
network_adapters:
eth0:
switch: gw-reims
switch_port: Gi0/3
pdu:
pdu_name: stremi-pdu2
pdu_position: 3
uid: stremi-pdu2
port: 3
stremi-4:
network_adapters:
eth0:
switch: gw-reims
switch_port: Gi0/4
pdu:
pdu_name: stremi-pdu2
pdu_position: 4
uid: stremi-pdu2
port: 4
stremi-5:
network_adapters:
eth0:
switch: gw-reims
switch_port: Gi0/5
pdu:
pdu_name: stremi-pdu2
pdu_position: 5
uid: stremi-pdu2
port: 5
stremi-6:
network_adapters:
eth0:
switch: gw-reims
switch_port: Gi0/6
pdu:
pdu_name: stremi-pdu2
pdu_position: 6
uid: stremi-pdu2
port: 6