Une nouvelle version du portail de gestion des comptes externes sera mise en production lundi 09 août. Elle permettra d'allonger la validité d'un compte externe jusqu'à 3 ans. Pour plus de détails sur cette version consulter : https://doc-si.inria.fr/x/FCeS

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", "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 @@ ...@@ -12,15 +12,15 @@
}, },
{ {
"port": "2/1", "port": "2:1",
"uid": "gw" "uid": "gw"
}, },
{ {
"port": "2/2", "port": "2:2",
"uid": "gw" "uid": "gw"
}, },
{ {
"port": "2/3", "port": "2:3",
"uid": "gw" "uid": "gw"
} }
], ],
...@@ -101,5 +101,8 @@ ...@@ -101,5 +101,8 @@
"uid": "blade-1", "uid": "blade-1",
"vlans": { "vlans": {
"naming_pattern": "Vlan%VLANID%" "naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
"use_cacti": "no"
} }
} }
\ No newline at end of file
...@@ -12,15 +12,15 @@ ...@@ -12,15 +12,15 @@
}, },
{ {
"port": "2/4", "port": "2:4",
"uid": "gw" "uid": "gw"
}, },
{ {
"port": "2/5", "port": "2:5",
"uid": "gw" "uid": "gw"
}, },
{ {
"port": "2/6", "port": "2:6",
"uid": "gw" "uid": "gw"
} }
], ],
...@@ -101,5 +101,8 @@ ...@@ -101,5 +101,8 @@
"uid": "blade-2", "uid": "blade-2",
"vlans": { "vlans": {
"naming_pattern": "Vlan%VLANID%" "naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
"use_cacti": "no"
} }
} }
\ No newline at end of file
...@@ -12,15 +12,15 @@ ...@@ -12,15 +12,15 @@
}, },
{ {
"port": "2/7", "port": "2:7",
"uid": "gw" "uid": "gw"
}, },
{ {
"port": "2/8", "port": "2:8",
"uid": "gw" "uid": "gw"
}, },
{ {
"port": "2/9", "port": "2:9",
"uid": "gw" "uid": "gw"
} }
], ],
...@@ -101,5 +101,8 @@ ...@@ -101,5 +101,8 @@
"uid": "blade-3", "uid": "blade-3",
"vlans": { "vlans": {
"naming_pattern": "Vlan%VLANID%" "naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
"use_cacti": "no"
} }
} }
\ No newline at end of file
...@@ -12,15 +12,15 @@ ...@@ -12,15 +12,15 @@
}, },
{ {
"port": "2/10", "port": "2:10",
"uid": "gw" "uid": "gw"
}, },
{ {
"port": "2/11", "port": "2:11",
"uid": "gw" "uid": "gw"
}, },
{ {
"port": "2/12", "port": "2:12",
"uid": "gw" "uid": "gw"
} }
], ],
...@@ -101,5 +101,8 @@ ...@@ -101,5 +101,8 @@
"uid": "blade-4", "uid": "blade-4",
"vlans": { "vlans": {
"naming_pattern": "Vlan%VLANID%" "naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
"use_cacti": "no"
} }
} }
\ No newline at end of file
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
"channels": { "channels": {
"naming_pattern": "Po%CHANNELID%" "naming_pattern": "Po%CHANNELID%"
}, },
"kind": "switch", "kind": "router",
"linecards": [ "linecards": [
{ {
}, },
{ {
"kind": "node", "kind": "node",
"naming_pattern": "%LINECARD%/%PORT%", "naming_pattern": "%LINECARD%:%PORT%",
"ports": [ "ports": [
{ {
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
}, },
{ {
"kind": "switch", "kind": "switch",
"naming_pattern": "%LINECARD%/%PORT%", "naming_pattern": "%LINECARD%:%PORT%",
"ports": [ "ports": [
{ {
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
}, },
{ {
"kind": "node", "kind": "node",
"naming_pattern": "%LINECARD%/%PORT%", "naming_pattern": "%LINECARD%:%PORT%",
"ports": [ "ports": [
{ {
...@@ -219,7 +219,7 @@ ...@@ -219,7 +219,7 @@
}, },
{ {
"kind": "other", "kind": "other",
"naming_pattern": "%LINECARD%/%PORT%", "naming_pattern": "%LINECARD%:%PORT%",
"ports": [ "ports": [
{ {
...@@ -261,12 +261,15 @@ ...@@ -261,12 +261,15 @@
{ {
"port": "bmc", "port": "bmc",
"uid": "alpes" "uid": "alpes"
},
{
"uid": "ib"
} }
], ],
"rate": 1000000000 "rate": 1000000000
} }
], ],
"model": "ExtremeNetwork", "model": "ExtremeNetworks",
"routes": { "routes": {
}, },
...@@ -275,6 +278,13 @@ ...@@ -275,6 +278,13 @@
"type": "network_equipment", "type": "network_equipment",
"uid": "gw", "uid": "gw",
"vlans": { "vlans": {
"1": {
"addresses": [
"172.16.16.254"
],
"administrative": true
},
"naming_pattern": "Vlan%VLANID%" "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: gw:
model: ExtremeNetwork model: ExtremeNetworks
kind: switch kind: router
site: grenoble site: grenoble
snmp_community: public snmp_community: public
vlans: vlans:
naming_pattern: Vlan%VLANID% naming_pattern: Vlan%VLANID%
"1":
administrative: yes
addresses:
- 172.16.16.254
routes: {} routes: {}
linecards: linecards:
1: 1:
naming_pattern: "%LINECARD%/%PORT%" naming_pattern: "%LINECARD%:%PORT%"
kind: node kind: node
rate: 1000000000 rate: 1000000000
ports: ports:
...@@ -49,7 +53,7 @@ gw: ...@@ -49,7 +53,7 @@ gw:
33: genepi-33 33: genepi-33
34: genepi-34 34: genepi-34
3: 3:
naming_pattern: "%LINECARD%/%PORT%" naming_pattern: "%LINECARD%:%PORT%"
kind: node kind: node
rate: 1000000000 rate: 1000000000
ports: ports:
...@@ -64,7 +68,7 @@ gw: ...@@ -64,7 +68,7 @@ gw:
9: adonis-9 9: adonis-9
10: adonis-10 10: adonis-10
4: 4:
naming_pattern: "%LINECARD%/%PORT%" naming_pattern: "%LINECARD%:%PORT%"
kind: other kind: other
rate: 1000000000 rate: 1000000000
ports: ports:
...@@ -97,8 +101,9 @@ gw: ...@@ -97,8 +101,9 @@ gw:
9: 9:
uid: alpes uid: alpes
port: bmc port: bmc
10: ib