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