Commit 38eb8144 authored by Gaetan SIMO's avatar Gaetan SIMO
Browse files

[sophia] network api restructured

parent 5b71ff3a
......@@ -162,7 +162,7 @@
"uid": "parapluie-24"
}
],
"rate": 1000
"rate": 1000000000
},
{
"kind": "node",
......@@ -316,7 +316,7 @@
"uid": "parapluie-22"
}
],
"rate": 1000
"rate": 1000000000
},
{
"kind": "node",
......@@ -470,7 +470,7 @@
"uid": "parapluie-29"
}
],
"rate": 1000
"rate": 1000000000
},
{
......@@ -627,7 +627,7 @@
"uid": "parapide-12"
}
],
"rate": 1000
"rate": 1000000000
},
{
"kind": "node",
......@@ -781,7 +781,7 @@
"uid": "parapide-2"
}
],
"rate": 1000
"rate": 1000000000
},
{
"kind": "node",
......@@ -926,7 +926,7 @@
"uid": "paramount-28"
}
],
"rate": 1000
"rate": 1000000000
}
],
"model": "cisco",
......@@ -939,5 +939,8 @@
"uid": "gw",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
}
}
\ No newline at end of file
......@@ -2,8 +2,11 @@
"channels": {
"naming_pattern": "Po%CHANNELID%"
},
"kind": "router",
"kind": "switch",
"linecards": [
{
},
{
"kind": "router",
"naming_pattern": "%LINECARD%/0/%PORT%",
......@@ -16,10 +19,7 @@
"uid": "fastiron"
}
],
"rate": 1000
},
{
"rate": 1000000000
},
{
"kind": "node",
......@@ -123,7 +123,7 @@
"uid": "sol-42"
}
],
"rate": 1000
"rate": 1000000000
},
{
......@@ -241,7 +241,7 @@
"uid": "sol-23"
}
],
"rate": 1000
"rate": 1000000000
}
],
"model": "cisco",
......@@ -254,5 +254,8 @@
"uid": "ciscosol",
"vlans": {
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
}
}
\ No newline at end of file
......@@ -20,7 +20,7 @@
"uid": "fastiron"
}
],
"rate": 1000
"rate": 1000000000
},
{
"kind": "node",
......@@ -174,7 +174,7 @@
"uid": "helios-1"
}
],
"rate": 1000
"rate": 1000000000
},
{
......@@ -274,7 +274,7 @@
"uid": "helios-20"
}
],
"rate": 1000
"rate": 1000000000
}
],
"model": "Foundry",
......@@ -286,6 +286,15 @@
"type": "network_equipment",
"uid": "edgeiron",
"vlans": {
"100": {
"addresses": [
"138.96.20.252"
],
"administrative": true
},
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
}
}
\ No newline at end of file
......@@ -518,5 +518,8 @@
"administrative": true
},
"naming_pattern": "Vlan%VLANID%"
},
"weathermap": {
}
}
\ No newline at end of file
......@@ -12,7 +12,7 @@ gw:
2:
kind: node
naming_pattern: Gi%LINECARD%/%PORT%
rate: 1000
rate: 1000000000
ports:
26: paramount-1
10: paramount-10
......@@ -54,7 +54,7 @@ gw:
3:
kind: node
naming_pattern: Gi%LINECARD%/%PORT%
rate: 1000
rate: 1000000000
ports:
12: paramount-12
13: paramount-13
......@@ -77,14 +77,14 @@ gw:
8:
kind: node
naming_pattern: Gi%LINECARD%/%PORT%
rate: 1000
rate: 1000000000
ports:
45: paramount-28
16: paradent-41
7:
kind: node
naming_pattern: Gi%LINECARD%/%PORT%
rate: 1000
rate: 1000000000
ports:
47: parapide-1
43: parapide-10
......@@ -122,7 +122,7 @@ gw:
6:
kind: node
naming_pattern: Gi%LINECARD%/%PORT%
rate: 1000
rate: 1000000000
ports:
45: parapide-11
48: parapide-12
......@@ -161,7 +161,7 @@ gw:
4:
kind: node
naming_pattern: Gi%LINECARD%/%PORT%
rate: 1000
rate: 1000000000
ports:
46: parapluie-26
32: parapluie-27
......
---
ciscosol:
model: cisco
kind: router
kind: switch
site: sophia
snmp_community: public
vlans:
......@@ -9,10 +9,10 @@ ciscosol:
routes: {}
linecards:
0:
1:
naming_pattern: "%LINECARD%/0/%PORT%"
kind: router
rate: 1000
rate: 1000000000
ports:
1:
uid: fastiron
......@@ -20,7 +20,7 @@ ciscosol:
2:
naming_pattern: "%LINECARD%/0/%PORT%"
kind: node
rate: 1000
rate: 1000000000
ports:
18:
uid: sol-1
......@@ -91,7 +91,7 @@ ciscosol:
7:
naming_pattern: "%LINECARD%/0/%PORT%"
kind: node
rate: 1000
rate: 1000000000
ports:
7:
uid: sol-15
......
......@@ -16,7 +16,7 @@ edgeiron:
0:
naming_pattern: "%LINECARD%/%PORT%"
kind: router
rate: 1000
rate: 1000000000
ports:
1:
uid: fastiron
......@@ -27,7 +27,7 @@ edgeiron:
1:
naming_pattern: "%LINECARD%/%PORT%"
kind: node
rate: 1000
rate: 1000000000
ports:
48: helios-1
47: helios-2
......@@ -76,7 +76,7 @@ edgeiron:
3:
naming_pattern: "%LINECARD%/%PORT%"
kind: node
rate: 1000
rate: 1000000000
ports:
13: helios-19
29: helios-20
......
Markdown is supported
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