Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit f1b25ccb authored by Gaetan SIMO's avatar Gaetan SIMO

[nancy] Updating network api

parent 9f80b098
......@@ -4,12 +4,9 @@
},
"kind": "switch",
"linecards": [
{
},
{
"kind": "node",
"naming_pattern": "%LINECARD:A%%PORT%",
"naming_pattern": "GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -139,7 +136,7 @@
},
{
"kind": "router",
"naming_pattern": "%LINECARD:A%%PORT%",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -163,6 +160,12 @@
"type": "network_equipment",
"uid": "sgraphene1",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
"1": {
"addresses": [
"172.16.79.201"
],
"administrative": true
},
"naming_pattern": "Vlan-interface%VLANID%"
}
}
\ No newline at end of file
......@@ -4,12 +4,9 @@
},
"kind": "switch",
"linecards": [
{
},
{
"kind": "node",
"naming_pattern": "%LINECARD:A%%PORT%",
"naming_pattern": "GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -124,7 +121,7 @@
},
{
"kind": "router",
"naming_pattern": "%LINECARD:A%%PORT%",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -148,6 +145,12 @@
"type": "network_equipment",
"uid": "sgraphene2",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
"1": {
"addresses": [
"172.16.79.202"
],
"administrative": true
},
"naming_pattern": "Vlan-interface%VLANID%"
}
}
\ No newline at end of file
......@@ -4,12 +4,9 @@
},
"kind": "switch",
"linecards": [
{
},
{
"kind": "node",
"naming_pattern": "%LINECARD:A%%PORT%",
"naming_pattern": "GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -109,7 +106,7 @@
},
{
"kind": "router",
"naming_pattern": "%LINECARD:A%%PORT%",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -133,6 +130,12 @@
"type": "network_equipment",
"uid": "sgraphene3",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
"1": {
"addresses": [
"172.16.79.203"
],
"administrative": true
},
"naming_pattern": "Vlan-interface%VLANID%"
}
}
\ No newline at end of file
......@@ -4,12 +4,9 @@
},
"kind": "switch",
"linecards": [
{
},
{
"kind": "node",
"naming_pattern": "%LINECARD:A%%PORT%",
"naming_pattern": "GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -139,7 +136,7 @@
},
{
"kind": "router",
"naming_pattern": "%LINECARD:A%%PORT%",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -160,6 +157,12 @@
"type": "network_equipment",
"uid": "sgraphene4",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
"1": {
"addresses": [
"172.16.79.204"
],
"administrative": true
},
"naming_pattern": "Vlan-interface%VLANID%"
}
}
\ No newline at end of file
......@@ -199,6 +199,12 @@
"type": "network_equipment",
"uid": "sgravillon1",
"vlans": {
"100": {
"addresses": [
"172.16.79.254"
],
"administrative": true
},
"naming_pattern": "Vlan%VLANID%"
}
}
\ No newline at end of file
......@@ -4,12 +4,9 @@
},
"kind": "switch",
"linecards": [
{
},
{
"kind": "node",
"naming_pattern": "%LINECARD:A%%PORT%",
"naming_pattern": "GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -148,7 +145,7 @@
},
{
"kind": "router",
"naming_pattern": "%LINECARD:A%%PORT%",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -172,6 +169,12 @@
"type": "network_equipment",
"uid": "sgriffon1",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
"1": {
"addresses": [
"172.16.79.205"
],
"administrative": true
},
"naming_pattern": "Vlan-interface%VLANID%"
}
}
\ No newline at end of file
......@@ -4,12 +4,9 @@
},
"kind": "switch",
"linecards": [
{
},
{
"kind": "node",
"naming_pattern": "%LINECARD:A%%PORT%",
"naming_pattern": "GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -148,7 +145,7 @@
},
{
"kind": "router",
"naming_pattern": "%LINECARD:A%%PORT%",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -169,6 +166,12 @@
"type": "network_equipment",
"uid": "sgriffon2",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
"1": {
"addresses": [
"172.16.79.206"
],
"administrative": true
},
"naming_pattern": "Vlan-interface%VLANID%"
}
}
\ No newline at end of file
......@@ -4,12 +4,9 @@
},
"kind": "switch",
"linecards": [
{
},
{
"kind": "node",
"naming_pattern": "%LINECARD:A%%PORT%",
"naming_pattern": "GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -151,7 +148,7 @@
},
{
"kind": "router",
"naming_pattern": "%LINECARD:A%%PORT%",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -172,6 +169,12 @@
"type": "network_equipment",
"uid": "sgriffon3",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
"1": {
"addresses": [
"172.16.79.207"
],
"administrative": true
},
"naming_pattern": "Vlan-interface%VLANID%"
}
}
\ No newline at end of file
......@@ -6,7 +6,7 @@
"linecards": [
{
"kind": "node",
"naming_pattern": "T%LINECARD%/%PORT%",
"naming_pattern": "GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -145,7 +145,7 @@
},
{
"kind": "switch",
"naming_pattern": "T%LINECARD%/%PORT%",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -161,7 +161,7 @@
},
{
"kind": "router",
"naming_pattern": "T%LINECARD%/%PORT%",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -187,6 +187,12 @@
"type": "network_equipment",
"uid": "stalc1",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
"1": {
"addresses": [
"172.16.79.224"
],
"administrative": true
},
"naming_pattern": "Vlan-interface%VLANID%"
}
}
\ No newline at end of file
......@@ -6,7 +6,7 @@
"linecards": [
{
"kind": "node",
"naming_pattern": "G%LINECARD%/%PORT%",
"naming_pattern": "GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -142,7 +142,7 @@
},
{
"kind": "switch",
"naming_pattern": "T%LINECARD%/%PORT%",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -158,7 +158,7 @@
},
{
"kind": "other",
"naming_pattern": "T%LINECARD%/%PORT%",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -182,6 +182,12 @@
"type": "network_equipment",
"uid": "stalc2",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
"1": {
"addresses": [
"172.16.79.225"
],
"administrative": true
},
"naming_pattern": "Vlan-interface%VLANID%"
}
}
\ No newline at end of file
......@@ -6,7 +6,7 @@
"linecards": [
{
"kind": "node",
"naming_pattern": "G%LINECARD%/%PORT%",
"naming_pattern": "GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -142,7 +142,7 @@
},
{
"kind": "switch",
"naming_pattern": "T%LINECARD%/%PORT%",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -166,6 +166,12 @@
"type": "network_equipment",
"uid": "stalc3",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
"1": {
"addresses": [
"172.16.79.226"
],
"administrative": true
},
"naming_pattern": "Vlan-interface%VLANID%"
}
}
\ No newline at end of file
......@@ -9,7 +9,7 @@
},
{
"kind": "switch",
"naming_pattern": "T%LINECARD%/%PORT%",
"naming_pattern": "Ten-GigabitEthernet1/%LINECARD%/%PORT%",
"ports": [
{
......@@ -33,6 +33,12 @@
"type": "network_equipment",
"uid": "stalc4",
"vlans": {
"100": {
"addresses": [
"172.16.79.227"
],
"administrative": true
},
"naming_pattern": "Vlan%VLANID%"
}
}
\ No newline at end of file
......@@ -5,12 +5,16 @@ sgraphene1:
site: nancy
snmp_community: public
vlans:
naming_pattern: Vlan%VLANID%
naming_pattern: Vlan-interface%VLANID%
"1":
administrative: yes
addresses:
- 172.16.79.201
routes: {}
linecards:
1:
naming_pattern: "%LINECARD:A%%PORT%"
0:
naming_pattern: "GigabitEthernet1/%LINECARD%/%PORT%"
kind: node
rate: 10000000000
ports:
......@@ -53,8 +57,8 @@ sgraphene1:
38: graphene-37
37: graphene-38
40: graphene-39
2:
naming_pattern: "%LINECARD:A%%PORT%"
1:
naming_pattern: "Ten-GigabitEthernet1/%LINECARD%/%PORT%"
kind: router
rate: 100000000
ports:
......
......@@ -5,12 +5,16 @@ sgraphene2:
site: nancy
snmp_community: public
vlans:
naming_pattern: Vlan%VLANID%
naming_pattern: Vlan-interface%VLANID%
"1":
administrative: yes
addresses:
- 172.16.79.202
routes: {}
linecards:
1:
naming_pattern: "%LINECARD:A%%PORT%"
0:
naming_pattern: "GigabitEthernet1/%LINECARD%/%PORT%"
kind: node
rate: 10000000000
ports:
......@@ -49,8 +53,8 @@ sgraphene2:
33: graphene-72
34: graphene-73
35: graphene-74
2:
naming_pattern: "%LINECARD:A%%PORT%"
1:
naming_pattern: "Ten-GigabitEthernet1/%LINECARD%/%PORT%"
kind: router
rate: 100000000
ports:
......
......@@ -5,12 +5,16 @@ sgraphene3:
site: nancy
snmp_community: public
vlans:
naming_pattern: Vlan%VLANID%
naming_pattern: Vlan-interface%VLANID%
"1":
administrative: yes
addresses:
- 172.16.79.203
routes: {}
linecards:
1:
naming_pattern: "%LINECARD:A%%PORT%"
0:
naming_pattern: "GigabitEthernet1/%LINECARD%/%PORT%"
kind: node
rate: 10000000000
ports:
......@@ -44,8 +48,8 @@ sgraphene3:
27: graphene-102
30: graphene-103
29: graphene-104
2:
naming_pattern: "%LINECARD:A%%PORT%"
1:
naming_pattern: "Ten-GigabitEthernet1/%LINECARD%/%PORT%"
kind: router
rate: 100000000
ports:
......
......@@ -5,12 +5,16 @@ sgraphene4:
site: nancy
snmp_community: public
vlans:
naming_pattern: Vlan%VLANID%
naming_pattern: Vlan-interface%VLANID%
"1":
administrative: yes
addresses:
- 172.16.79.204
routes: {}
linecards:
1:
naming_pattern: "%LINECARD:A%%PORT%"
0:
naming_pattern: "GigabitEthernet1/%LINECARD%/%PORT%"
kind: node
rate: 10000000000
ports:
......@@ -54,8 +58,8 @@ sgraphene4:
38: graphene-142
39: graphene-143
40: graphene-144
2:
naming_pattern: "%LINECARD:A%%PORT%"
1:
naming_pattern: "Ten-GigabitEthernet1/%LINECARD%/%PORT%"
kind: router
rate: 100000000
ports:
......
......@@ -6,6 +6,10 @@ sgravillon1:
snmp_community: public
vlans:
naming_pattern: Vlan%VLANID%
"100":
administrative: yes
addresses:
- 172.16.79.254
routes: {}
linecards:
......
......@@ -5,12 +5,16 @@ sgriffon1:
site: nancy
snmp_community: public
vlans:
naming_pattern: Vlan%VLANID%
naming_pattern: Vlan-interface%VLANID%
"1":
administrative: yes
addresses:
- 172.16.79.205
routes: {}
linecards:
1:
naming_pattern: "%LINECARD:A%%PORT%"
0:
naming_pattern: "GigabitEthernet1/%LINECARD%/%PORT%"
kind: node
rate: 10000000000
ports:
......@@ -46,8 +50,8 @@ sgriffon1:
11: griffon-58
12: griffon-59
13: griffon-60
2:
naming_pattern: "%LINECARD:A%%PORT%"
1:
naming_pattern: "Ten-GigabitEthernet1/%LINECARD%/%PORT%"
kind: router
rate: 100000000
ports:
......
......@@ -5,12 +5,16 @@ sgriffon2:
site: nancy
snmp_community: public
vlans:
naming_pattern: Vlan%VLANID%
naming_pattern: Vlan-interface%VLANID%
"1":
administrative: yes
addresses:
- 172.16.79.206
routes: {}
linecards:
1:
naming_pattern: "%LINECARD:A%%PORT%"
0:
naming_pattern: "GigabitEthernet1/%LINECARD%/%PORT%"
kind: node
rate: 10000000000
ports:
......@@ -42,8 +46,8 @@ sgriffon2:
41: griffon-55
42: griffon-56
43: griffon-57
2:
naming_pattern: "%LINECARD:A%%PORT%"
1:
naming_pattern: "Ten-GigabitEthernet1/%LINECARD%/%PORT%"
kind: router
rate: 100000000