blob: c8e118b8a1de7099195a1f8101f5b0b00f797d19 [file] [log] [blame]
Lee Yongjae7c27bb42017-11-17 12:00:45 +09001{
2
3 "devices":{
4 "of:0000000000000011":{ "basic":{ "name":"LS1", "latitude":35, "longitude":-100 } },
5 "of:0000000000000012":{ "basic":{ "name":"LS2", "latitude":35, "longitude":-90 } },
6 "of:0000000000000021":{ "basic":{ "name":"SS1", "latitude":40, "longitude":-100 } },
7 "of:0000000000000022":{ "basic":{ "name":"SS2", "latitude":40, "longitude":-90 } }
8 },
9
10 "ports" : {
11 "of:0000000000000011/1" : { "interfaces" : [ { "name" : "h11" } ] },
12 "of:0000000000000011/2" : { "interfaces" : [ { "name" : "h12" } ] },
13 "of:0000000000000011/3" : { "interfaces" : [ { "name" : "h13" } ] },
14 "of:0000000000000011/4" : { "interfaces" : [ { "name" : "h14" } ] },
15 "of:0000000000000011/5" : { "interfaces" : [ { "name" : "d11" } ] },
16 "of:0000000000000011/6" : { "interfaces" : [ { "name" : "d12" } ] },
17 "of:0000000000000011/7" : { "interfaces" : [ { "name" : "LS1_SS1" } ] },
18 "of:0000000000000011/8" : { "interfaces" : [ { "name" : "LS1_SS2" } ] },
19
20 "of:0000000000000012/1" : { "interfaces" : [ { "name" : "h21" } ] } ,
21 "of:0000000000000012/2" : { "interfaces" : [ { "name" : "h22" } ] },
22 "of:0000000000000012/3" : { "interfaces" : [ { "name" : "h23" } ] },
23 "of:0000000000000012/4" : { "interfaces" : [ { "name" : "h24" } ] },
24 "of:0000000000000012/5" : { "interfaces" : [ { "name" : "d21" } ] },
25 "of:0000000000000012/6" : { "interfaces" : [ { "name" : "d22" } ] },
26 "of:0000000000000012/7" : { "interfaces" : [ { "name" : "LS2_SS1" } ] },
27 "of:0000000000000012/8" : { "interfaces" : [ { "name" : "LS2_SS2" } ] },
28
29 "of:0000000000000021/1" : { "interfaces" : [ { "name" : "SS1_LS1" } ] },
30 "of:0000000000000021/2" : { "interfaces" : [ { "name" : "SS1_LS2" } ] },
31
32 "of:0000000000000022/1" : { "interfaces" : [ { "name" : "SS2_LS1" } ] },
33 "of:0000000000000022/2" : { "interfaces" : [ { "name" : "SS2_LS2" } ] }
34
35 },
36
37 "apps" : {
38 "org.onosproject.simplefabric" : {
39 "simpleFabric" : {
40 "l2Networks" : [
Lee Yongjae6dc7e4f2017-12-06 16:17:51 +090041 { "name" : "LEAF1", "interfaces" : ["h11", "h12", "h13", "h14", "d11", "d12" ], "l2Forward" : true, "l2Broadcast" : true },
42 { "name" : "LEAF2", "interfaces" : ["h21", "h22", "h23", "h24", "d21", "d22" ], "l2Forward" : true, "l2Broadcast" : true }
Lee Yongjae7c27bb42017-11-17 12:00:45 +090043 ],
44 "ipSubnets" : [
45 { "ipPrefix" : "10.0.1.0/24", "gatewayIp" : "10.0.1.1", "gatewayMac" : "00:00:10:00:01:01", "l2NetworkName" : "LEAF1" },
46 { "ipPrefix" : "10.0.2.0/24", "gatewayIp" : "10.0.2.1", "gatewayMac" : "00:00:10:00:02:01", "l2NetworkName" : "LEAF2" }
47 ],
48 "borderRoutes" : [
49 { "ipPrefix" : "0.0.0.0/0", "nextHop" : "10.0.1.2" }
50 ]
51 }
52 }
53 }
54
55}
56