blob: ea3654acd1be29d17564df58c4f20a3b93727812 [file] [log] [blame]
Luca Prete084caaf2016-10-18 15:55:10 +02001{
2 "devices": {
Luca Prete9829bf12016-11-10 21:49:53 -08003 "of:0000000000000001": { "basic": { "name": "s1", "latitude": 39.736623, "longitude": -104.984887 }},
4 "of:0000000000000002": { "basic": { "name": "s2", "latitude": 41.498928, "longitude": -81.695217 }},
5 "of:0000000000000003": { "basic": { "name": "s3", "latitude": 33.749017, "longitude": -84.394168 }},
6 "of:0000000000000004": { "basic": { "name": "s4", "latitude": 33.448289, "longitude": -112.076299 }},
7 "of:0000000000000005": { "basic": { "name": "s5", "latitude": 34.056346, "longitude": -118.235951 }},
8 "of:0000000000000006": { "basic": { "name": "s6", "latitude": 40.728270, "longitude": -73.994483 }}
Luca Prete084caaf2016-10-18 15:55:10 +02009 },
10 "hosts": {
Luca Prete9829bf12016-11-10 21:49:53 -080011 "00:00:00:00:00:01/100": { "basic": { "location": "of:0000000000000001/1", "ips": [ "10.0.0.1" ], "name": "h1", "latitude": 40.888148, "longitude": -103.459878 }},
12 "00:00:00:00:00:02/200": { "basic": { "location": "of:0000000000000002/1", "ips": [ "10.0.0.2" ], "name": "h2", "latitude": 42.756945, "longitude": -79.831317 }},
13 "00:00:00:00:00:03/300": { "basic": { "location": "of:0000000000000003/1", "ips": [ "10.0.0.3" ], "name": "h3", "latitude": 35.427493, "longitude": -83.885831 }},
14 "00:00:00:00:00:04/400": { "basic": { "location": "of:0000000000000004/1", "ips": [ "10.0.0.4" ], "name": "h4", "latitude": 34.662290, "longitude": -110.946662 }},
15 "00:00:00:00:00:05/-1": { "basic": { "location": "of:0000000000000005/1", "ips": [ "10.0.0.5" ], "name": "h5", "latitude": 33.224634, "longitude": -121.532943 }},
16 "00:00:00:00:00:06/-1": { "basic": { "location": "of:0000000000000006/1", "ips": [ "10.0.0.6" ], "name": "h6", "latitude": 42.395459, "longitude": -75.293563 }}
Luca Prete084caaf2016-10-18 15:55:10 +020017 },
18 "ports": {
19 "of:0000000000000001/1": {
20 "interfaces": [
21 {
Luca Prete9829bf12016-11-10 21:49:53 -080022 "name": "h1",
23 "vlan": "100"
Luca Prete084caaf2016-10-18 15:55:10 +020024 }
25 ]
26 },
27 "of:0000000000000002/1": {
28 "interfaces": [
29 {
Luca Prete9829bf12016-11-10 21:49:53 -080030 "name": "h2",
31 "vlan": "200"
Luca Prete084caaf2016-10-18 15:55:10 +020032 }
33 ]
34 },
35 "of:0000000000000003/1": {
36 "interfaces": [
37 {
Luca Prete9829bf12016-11-10 21:49:53 -080038 "name": "h3",
39 "vlan": "300"
Luca Prete084caaf2016-10-18 15:55:10 +020040 }
41 ]
42 },
43 "of:0000000000000004/1": {
44 "interfaces": [
45 {
Luca Prete9829bf12016-11-10 21:49:53 -080046 "name": "h4",
47 "vlan": "400"
Carolina Fernandezb1cef5c2016-11-22 19:18:40 +010048 }
49 ]
50 },
51 "of:0000000000000005/1": {
52 "interfaces": [
53 {
Luca Prete9829bf12016-11-10 21:49:53 -080054 "name": "h5"
55 }
56 ]
57 },
58 "of:0000000000000006/1": {
59 "interfaces": [
60 {
61 "name": "h6"
Luca Prete084caaf2016-10-18 15:55:10 +020062 }
63 ]
64 }
65 },
66 "apps" : {
67 "org.onosproject.vpls" : {
Luca Prete9829bf12016-11-10 21:49:53 -080068 "vpls" : {
Luca Prete092e8952016-10-26 16:25:56 +020069 "vplsList" : [
Luca Prete084caaf2016-10-18 15:55:10 +020070 {
Carolina Fernandezb1cef5c2016-11-22 19:18:40 +010071 "name" : "VPLS1",
Luca Prete9829bf12016-11-10 21:49:53 -080072 "interfaces" : ["h1", "h2", "h5", "h6"]
Luca Prete084caaf2016-10-18 15:55:10 +020073 },
74 {
Carolina Fernandezb1cef5c2016-11-22 19:18:40 +010075 "name" : "VPLS2",
Luca Prete9829bf12016-11-10 21:49:53 -080076 "interfaces" : ["h3", "h4"],
77 "encapsulation" : "vlan"
Luca Prete084caaf2016-10-18 15:55:10 +020078 }
79 ]
80 }
81 }
82 }
83}