Commit d944e3ae authored by Gaetan SIMO's avatar Gaetan SIMO
Browse files

[grenoble] network api structure added

parent 8215cdf7
{
"compilation_server": false,
"description": "Grid'5000 Grenoble site",
"email_contact": "grenoble-staff@lists.grid5000.fr",
"latitude": 45.1833,
"location": "Grenoble, France",
"longitude": 5.7167,
"name": "Grenoble",
"security_contact": "grenoble-staff@lists.grid5000.fr",
"sys_admin_contact": "grenoble-staff@lists.grid5000.fr",
"type": "site",
"uid": "grenoble"
"uid": "grenoble",
"user_support_contact": "grenoble-staff@lists.grid5000.fr",
"web": "http://www.grid5000.fr/mediawiki/index.php/Grenoble:Home"
}
\ No newline at end of file
......@@ -12,15 +12,15 @@
},
{
"port": "2/1",
"port": "2:1",
"uid": "gw"
},
{
"port": "2/2",
"port": "2:2",
"uid": "gw"
},
{
"port": "2/3",
"port": "2:3",
"uid": "gw"
}
],
......@@ -101,5 +101,8 @@
"uid": "blade-1",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
"use_cacti": "no"
}
}
\ No newline at end of file
......@@ -12,15 +12,15 @@
},
{
"port": "2/4",
"port": "2:4",
"uid": "gw"
},
{
"port": "2/5",
"port": "2:5",
"uid": "gw"
},
{
"port": "2/6",
"port": "2:6",
"uid": "gw"
}
],
......@@ -101,5 +101,8 @@
"uid": "blade-2",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
"use_cacti": "no"
}
}
\ No newline at end of file
......@@ -12,15 +12,15 @@
},
{
"port": "2/7",
"port": "2:7",
"uid": "gw"
},
{
"port": "2/8",
"port": "2:8",
"uid": "gw"
},
{
"port": "2/9",
"port": "2:9",
"uid": "gw"
}
],
......@@ -101,5 +101,8 @@
"uid": "blade-3",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
"use_cacti": "no"
}
}
\ No newline at end of file
......@@ -12,15 +12,15 @@
},
{
"port": "2/10",
"port": "2:10",
"uid": "gw"
},
{
"port": "2/11",
"port": "2:11",
"uid": "gw"
},
{
"port": "2/12",
"port": "2:12",
"uid": "gw"
}
],
......@@ -101,5 +101,8 @@
"uid": "blade-4",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
"use_cacti": "no"
}
}
\ No newline at end of file
......@@ -2,14 +2,14 @@
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
"kind": "switch",
"kind": "router",
"linecards": [
{
},
{
"kind": "node",
"naming_pattern": "%LINECARD%/%PORT%",
"naming_pattern": "%LINECARD%:%PORT%",
"ports": [
{
......@@ -121,7 +121,7 @@
},
{
"kind": "switch",
"naming_pattern": "%LINECARD%/%PORT%",
"naming_pattern": "%LINECARD%:%PORT%",
"ports": [
{
......@@ -179,7 +179,7 @@
},
{
"kind": "node",
"naming_pattern": "%LINECARD%/%PORT%",
"naming_pattern": "%LINECARD%:%PORT%",
"ports": [
{
......@@ -219,7 +219,7 @@
},
{
"kind": "other",
"naming_pattern": "%LINECARD%/%PORT%",
"naming_pattern": "%LINECARD%:%PORT%",
"ports": [
{
......@@ -261,12 +261,15 @@
{
"port": "bmc",
"uid": "alpes"
},
{
"uid": "ib"
}
],
"rate": 1000000000
}
],
"model": "ExtremeNetwork",
"model": "ExtremeNetworks",
"routes": {
},
......@@ -275,6 +278,13 @@
"type": "network_equipment",
"uid": "gw",
"vlans": {
"1": {
"addresses": [
"172.16.16.254"
],
"administrative": true
},
"naming_pattern": "Vlan%VLANID%"
}
},
"weathermap": null
}
\ No newline at end of file
{
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
"kind": "switch",
"linecards": [
{
"kind": "switch",
"naming_pattern": "%LINECARD%/%PORT%",
"ports": [
],
"rate": 100000000
}
],
"model": "Infiniband",
"routes": {
},
"site": "grenoble",
"snmp_community": "public",
"type": "network_equipment",
"uid": "ib",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
}
}
\ No newline at end of file
---
blade-1:
model: Blade
kind: switch
site: grenoble
snmp_community: public
weathermap:
use_cacti: "no"
vlans:
naming_pattern: Vlan%VLANID%
routes: {}
linecards:
0:
naming_pattern: "%LINECARD%/%PORT%"
kind: router
rate: 1000000000
ports:
1:
uid: gw
port: "2:1"
2:
uid: gw
port: "2:2"
3:
uid: gw
port: "2:3"
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
channels:
naming_pattern: Po%CHANNELID%
---
blade-2:
model: Blade
kind: switch
site: grenoble
snmp_community: public
weathermap:
use_cacti: "no"
vlans:
naming_pattern: Vlan%VLANID%
routes: {}
linecards:
0:
naming_pattern: "%LINECARD%/%PORT%"
kind: router
rate: 1000000000
ports:
1:
uid: gw
port: "2:4"
2:
uid: gw
port: "2:5"
3:
uid: gw
port: "2:6"
1:
naming_pattern: "%LINECARD%/%PORT%"
kind: node
rate: 1000000000
ports:
1: edel-19
2: edel-20
3: edel-21
4: edel-22
5: edel-23
6: edel-24
7: edel-25
8: edel-26
9: edel-27
10: edel-28
11: edel-29
12: edel-30
13: edel-31
14: edel-32
15: edel-33
16: edel-34
17: edel-35
18: edel-36
channels:
naming_pattern: Po%CHANNELID%
---
blade-3:
model: Blade
kind: switch
site: grenoble
snmp_community: public
weathermap:
use_cacti: "no"
vlans:
naming_pattern: Vlan%VLANID%
routes: {}
linecards:
0:
naming_pattern: "%LINECARD%/%PORT%"
kind: router
rate: 1000000000
ports:
1:
uid: gw
port: "2:7"
2:
uid: gw
port: "2:8"
3:
uid: gw
port: "2:9"
1:
naming_pattern: "%LINECARD%/%PORT%"
kind: node
rate: 1000000000
ports:
1: edel-37
2: edel-38
3: edel-39
4: edel-40
5: edel-41
6: edel-42
7: edel-43
8: edel-44
9: edel-45
10: edel-46
11: edel-47
12: edel-48
13: edel-49
14: edel-50
15: edel-51
16: edel-52
17: edel-53
18: edel-54
channels:
naming_pattern: Po%CHANNELID%
---
blade-4:
model: Blade
kind: switch
site: grenoble
snmp_community: public
weathermap:
use_cacti: "no"
vlans:
naming_pattern: Vlan%VLANID%
routes: {}
linecards:
0:
naming_pattern: "%LINECARD%/%PORT%"
kind: router
rate: 1000000000
ports:
1:
uid: gw
port: "2:10"
2:
uid: gw
port: "2:11"
3:
uid: gw
port: "2:12"
1:
naming_pattern: "%LINECARD%/%PORT%"
kind: node
rate: 1000000000
ports:
1: edel-55
2: edel-56
3: edel-57
4: edel-58
5: edel-59
6: edel-60
7: edel-61
8: edel-62
9: edel-63
10: edel-64
11: edel-65
12: edel-66
13: edel-67
14: edel-68
15: edel-69
16: edel-70
17: edel-71
18: edel-72
channels:
naming_pattern: Po%CHANNELID%
---
gw:
model: ExtremeNetwork
kind: switch
model: ExtremeNetworks
kind: router
site: grenoble
snmp_community: public
vlans:
naming_pattern: Vlan%VLANID%
"1":
administrative: yes
addresses:
- 172.16.16.254
routes: {}
linecards:
1:
naming_pattern: "%LINECARD%/%PORT%"
naming_pattern: "%LINECARD%:%PORT%"
kind: node
rate: 1000000000
ports:
......@@ -49,7 +53,7 @@ gw:
33: genepi-33
34: genepi-34
3:
naming_pattern: "%LINECARD%/%PORT%"
naming_pattern: "%LINECARD%:%PORT%"
kind: node
rate: 1000000000
ports:
......@@ -64,7 +68,7 @@ gw:
9: adonis-9
10: adonis-10
4:
naming_pattern: "%LINECARD%/%PORT%"
naming_pattern: "%LINECARD%:%PORT%"
kind: other
rate: 1000000000
ports:
......@@ -97,8 +101,9 @@ gw:
9:
uid: alpes
port: bmc
10: ib
2:
naming_pattern: "%LINECARD%/%PORT%"
naming_pattern: "%LINECARD%:%PORT%"
kind: switch
rate: 1000000000
ports:
......@@ -140,217 +145,3 @@ gw:
port: 0/3
channels:
naming_pattern: Po%CHANNELID%
blade-1:
model: Blade
kind: switch
site: grenoble
snmp_community: public
vlans:
naming_pattern: Vlan%VLANID%
routes: {}
linecards:
0:
naming_pattern: "%LINECARD%/%PORT%"
kind: router
rate: 1000000000
ports:
1:
uid: gw
port: 2/1
2:
uid: gw
port: 2/2
3:
uid: gw
port: 2/3
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
channels:
naming_pattern: Po%CHANNELID%
blade-2:
model: Blade
kind: switch
site: grenoble
snmp_community: public
vlans:
naming_pattern: Vlan%VLANID%
routes: {}
linecards:
0:
naming_pattern: "%LINECARD%/%PORT%"
kind: router
rate: 1000000000
ports:
1:
uid: gw
port: 2/4
2:
uid: gw
port: 2/5
3:
uid: gw
port: 2/6
1:
naming_pattern: "%LINECARD%/%PORT%"
kind: node
rate: 1000000000
ports:
1: edel-19
2: edel-20
3: edel-21
4: edel-22
5: edel-23
6: edel-24
7: edel-25
8: edel-26
9: edel-27
10: edel-28
11: edel-29
12: edel-30
13: edel-31
14: edel-32
15: edel-33
16: edel-34
17: edel-35
18: edel-36
channels:
naming_pattern: Po%CHANNELID%
blade-3:
model: Blade
kind: switch
site: grenoble
snmp_community: public
vlans:
naming_pattern: Vlan%VLANID%