Commit 7d260c21 authored by Gaetan SIMO's avatar Gaetan SIMO
Browse files

[lyon] network api restructured

parent 5770abc2
......@@ -158,7 +158,7 @@
},
{
"kind": "router",
"port": 317,
"port": "5:17",
"uid": "gw"
}
],
......@@ -175,5 +175,8 @@
"uid": "bettie",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
}
}
\ No newline at end of file
......@@ -156,27 +156,27 @@
},
{
"kind": "switch",
"port": 0,
"port": "0:0",
"uid": "yumi"
},
{
"kind": "switch",
"port": 141,
"port": "2:21",
"uid": "pat"
},
{
"kind": "switch",
"port": 142,
"port": "2:22",
"uid": "pat"
},
{
"kind": "switch",
"port": 143,
"port": "2:23",
"uid": "pat"
},
{
"kind": "switch",
"port": 144,
"port": "2:24",
"uid": "pat"
}
],
......@@ -193,5 +193,8 @@
"uid": "chris",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
}
}
\ No newline at end of file
......@@ -288,11 +288,11 @@
},
{
"port": 61,
"port": "1:1",
"uid": "venus"
},
{
"port": 61,
"port": "1:1",
"uid": "salome"
},
{
......@@ -351,21 +351,21 @@
"uid": "coutoo"
},
{
"port": 61,
"port": "1:1",
"uid": "pat"
},
{
"port": 107,
"port": "1:47",
"rate": 100000000,
"uid": "zybline"
},
{
"port": 108,
"port": "1:48",
"rate": 100000000,
"uid": "zybline"
},
{
"port": 108,
"port": "1:48",
"rate": 100000000,
"uid": "bettie"
}
......@@ -383,5 +383,8 @@
"uid": "gw",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
}
}
\ No newline at end of file
......@@ -15,7 +15,7 @@
},
{
"port": 314,
"port": "5:14",
"uid": "gw"
}
],
......@@ -93,22 +93,22 @@
},
{
"kind": "switch",
"port": 165,
"port": "2:45",
"uid": "chris"
},
{
"kind": "switch",
"port": 166,
"port": "2:46",
"uid": "chris"
},
{
"kind": "switch",
"port": 167,
"port": "2:47",
"uid": "chris"
},
{
"kind": "switch",
"port": 168,
"port": "2:48",
"uid": "chris"
}
],
......@@ -125,5 +125,8 @@
"uid": "pat",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
}
}
\ No newline at end of file
......@@ -39,5 +39,8 @@
"uid": "salome",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
}
}
\ No newline at end of file
......@@ -39,5 +39,8 @@
"uid": "venus",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
}
}
\ No newline at end of file
......@@ -10,7 +10,7 @@
"ports": [
{
"kind": "switch",
"port": 164,
"port": "2:44",
"uid": "chris"
}
],
......@@ -27,5 +27,8 @@
"uid": "yumi",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
}
}
\ No newline at end of file
......@@ -155,12 +155,12 @@
},
{
"kind": "router",
"port": 315,
"port": "5:15",
"uid": "gw"
},
{
"kind": "router",
"port": 316,
"port": "5:16",
"uid": "gw"
}
],
......@@ -177,5 +177,8 @@
"uid": "zybline",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
}
}
\ No newline at end of file
......@@ -58,7 +58,7 @@ bettie:
48:
uid: gw
kind: router
port: 5:17
port: "5:17"
channels:
naming_pattern: Po%CHANNELID%
......@@ -74,19 +74,19 @@ chris:
45:
uid: pat
kind: switch
port: 2:21
port: "2:21"
46:
uid: pat
kind: switch
port: 2:22
port: "2:22"
47:
uid: pat
kind: switch
port: 2:23
port: "2:23"
48:
uid: pat
kind: switch
port: 2:24
port: "2:24"
channels:
naming_pattern: Po%CHANNELID%
......@@ -112,10 +112,10 @@ gw:
ports:
1:
uid: venus
port: 1:1
port: "1:1"
2:
uid: salome
port: 1:1
port: "1:1"
3:
uid: nexus
port: eth0
......@@ -162,18 +162,18 @@ gw:
kind: other
14:
uid: pat
port: 1:1
port: "1:1"
15:
uid: zybline
rate: 100000000
port: 1:47
port: "1:47"
16:
uid: zybline
rate: 100000000
port: 1:48
port: "1:48"
17:
uid: bettie
rate: 100000000
port: 1:48
port: "1:48"
channels:
naming_pattern: Po%CHANNELID%
......@@ -16,7 +16,7 @@ pat:
ports:
1:
uid: gw
port: 5:14
port: "5:14"
2:
naming_pattern: "%LINECARD%:%PORT%"
kind: node
......@@ -48,19 +48,19 @@ pat:
21:
uid: chris
kind: switch
port: 2:45
port: "2:45"
22:
uid: chris
kind: switch
port: 2:46
port: "2:46"
23:
uid: chris
kind: switch
port: 2:47
port: "2:47"
24:
uid: chris
kind: switch
port: 2:48
port: "2:48"
channels:
naming_pattern: Po%CHANNELID%
......@@ -17,7 +17,7 @@ yumi:
0:
uid: chris
kind: switch
port: 2:44
port: "2:44"
channels:
naming_pattern: Po%CHANNELID%
......@@ -57,11 +57,11 @@ zybline:
47:
uid: gw
kind: router
port: 5:15
port: "5:15"
48:
uid: gw
kind: router
port: 5:16
port: "5:16"
channels:
naming_pattern: Po%CHANNELID%
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment