blob: a9cc13495ae0be52e26fee43e53b171b687ba76c [file] [log] [blame]
Jonghwan Hyun3731d6a2017-10-19 11:59:31 -07001{
2 "ports" : {
3 "of:0000000000000001/2" : {
4 "interfaces" : [
5 {
6 "ips" : [ "10.0.1.254/24" ],
7 "vlan-untagged": 10
8 }
9 ]
10 },
11 "of:0000000000000001/3" : {
12 "interfaces" : [
13 {
14 "ips" : [ "10.0.1.254/24" ],
15 "vlan-tagged": [20]
16 }
17 ]
18 },
19 "of:0000000000000002/2" : {
20 "interfaces" : [
21 {
22 "ips" : [ "10.0.1.254/24" ],
23 "vlan-untagged": 10
24 }
25 ]
26 },
27 "of:0000000000000002/3" : {
28 "interfaces" : [
29 {
30 "ips" : [ "10.0.1.254/24" ],
31 "vlan-tagged": [20]
32 }
33 ]
34 }
35 },
36 "hosts" : {
37 "00:AA:00:00:00:01/None": {
38 "basic": {
39 "ips": ["10.0.2.1"],
40 "locations": ["of:0000000000000001/2", "of:0000000000000002/2"]
41 }
42 },
43 "00:AA:00:00:00:02/20" : {
44 "basic": {
45 "ips": ["10.0.2.2"],
46 "locations": ["of:0000000000000001/3", "of:0000000000000002/3"]
47 }
48 }
49 },
50 "devices" : {
51 "of:0000000000000001" : {
52 "segmentrouting" : {
53 "ipv4NodeSid" : 1,
54 "ipv4Loopback" : "192.168.0.1",
55 "routerMac" : "00:00:00:00:00:01",
56 "isEdgeRouter" : true,
57 "pairDeviceId" : "of:0000000000000002",
58 "pairLocalPort" : 1,
59 "adjacencySids" : []
60 },
61 "basic" : {
62 "driver" : "ofdpa-ovs"
63 }
64 },
65 "of:0000000000000002" : {
66 "segmentrouting" : {
67 "ipv4NodeSid" : 1,
68 "ipv4Loopback" : "192.168.0.2",
69 "routerMac" : "00:00:00:00:00:01",
70 "isEdgeRouter" : true,
71 "pairDeviceId" : "of:0000000000000001",
72 "pairLocalPort" : 1,
73 "adjacencySids" : []
74 },
75 "basic" : {
76 "driver" : "ofdpa-ovs"
77 }
78 }
79 }
80}