Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 3 | "of:0000000000000001/1" : { |
| 4 | "interfaces" : [ |
| 5 | { |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 6 | "ips" : [ "10.0.1.254/24" ], |
| 7 | "vlan-untagged" : 100 |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 8 | } |
| 9 | ] |
| 10 | }, |
| 11 | "of:0000000000000001/2" : { |
| 12 | "interfaces" : [ |
| 13 | { |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 14 | "ips" : [ "10.0.1.254/24" ], |
| 15 | "vlan-untagged" : 100 |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 16 | } |
| 17 | ] |
| 18 | }, |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 19 | "of:0000000000000001/3" : { |
| 20 | "interfaces" : [ |
| 21 | { |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 22 | "ips" : [ "10.0.1.254/24" ], |
| 23 | "vlan-untagged" : 100 |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 24 | } |
| 25 | ] |
| 26 | }, |
| 27 | "of:0000000000000001/4" : { |
| 28 | "interfaces" : [ |
| 29 | { |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 30 | "ips" : [ "10.0.1.254/24" ], |
| 31 | "vlan-untagged" : 100 |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 32 | } |
| 33 | ] |
| 34 | }, |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 35 | "of:0000000000000002/1" : { |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 36 | "interfaces" : [ |
| 37 | { |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 38 | "ips" : [ "10.0.2.254/24" ], |
| 39 | "vlan-untagged" : 200 |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 40 | } |
| 41 | ] |
| 42 | }, |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 43 | "of:0000000000000002/2" : { |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 44 | "interfaces" : [ |
| 45 | { |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 46 | "ips" : [ "10.0.2.254/24" ], |
| 47 | "vlan-untagged" : 200 |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 48 | } |
| 49 | ] |
| 50 | } |
| 51 | }, |
| 52 | "devices" : { |
| 53 | "of:0000000000000001" : { |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 54 | "basic":{ "driver" : "ofdpa-ovs" }, |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 55 | "segmentrouting" : { |
| 56 | "name" : "Leaf-R1", |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 57 | "ipv4NodeSid" : 1, |
| 58 | "ipv4Loopback" : "192.168.0.1", |
Flavio Castro | 4c0165e | 2016-05-24 17:53:50 -0700 | [diff] [blame] | 59 | "routerMac" : "10:00:00:00:00:01", |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 60 | "isEdgeRouter" : true, |
| 61 | "adjacencySids" : [] |
| 62 | } |
| 63 | }, |
| 64 | "of:0000000000000002" : { |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 65 | "basic":{ "driver" : "ofdpa-ovs" }, |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 66 | "segmentrouting" : { |
| 67 | "name" : "Leaf-R2", |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 68 | "ipv4NodeSid" : 2, |
| 69 | "ipv4Loopback" : "192.168.0.2", |
Flavio Castro | 4c0165e | 2016-05-24 17:53:50 -0700 | [diff] [blame] | 70 | "routerMac" : "10:00:00:00:00:02", |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 71 | "isEdgeRouter" : true, |
| 72 | "adjacencySids" : [] |
| 73 | } |
| 74 | }, |
| 75 | "of:0000000000000101" : { |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 76 | "basic":{ "driver" : "ofdpa-ovs" }, |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 77 | "segmentrouting" : { |
| 78 | "name" : "Spine-R1", |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 79 | "ipv4NodeSid" : 101, |
| 80 | "ipv4Loopback" : "192.168.0.101", |
Flavio Castro | 4c0165e | 2016-05-24 17:53:50 -0700 | [diff] [blame] | 81 | "routerMac" : "10:00:00:00:01:01", |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 82 | "isEdgeRouter" : false, |
| 83 | "adjacencySids" : [] |
| 84 | } |
| 85 | }, |
| 86 | "of:0000000000000102" : { |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 87 | "basic":{ "driver" : "ofdpa-ovs" }, |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 88 | "segmentrouting" : { |
| 89 | "name" : "Spine-R2", |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 90 | "ipv4NodeSid" : 102, |
| 91 | "ipv4Loopback" : "192.168.0.102", |
Flavio Castro | 4c0165e | 2016-05-24 17:53:50 -0700 | [diff] [blame] | 92 | "routerMac" : "10:00:00:00:01:02", |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 93 | "isEdgeRouter" : false, |
| 94 | "adjacencySids" : [] |
| 95 | } |
| 96 | } |
| 97 | }, |
| 98 | "hosts" : { |
Flavio Castro | 4cd37c1 | 2016-03-28 07:39:16 -0700 | [diff] [blame] | 99 | "00:00:00:00:00:01/-1" : { |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 100 | "basic": { |
| 101 | "ips": ["10.0.1.1"], |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 102 | "locations": ["of:0000000000000001/1"] |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 103 | } |
| 104 | }, |
Flavio Castro | 4cd37c1 | 2016-03-28 07:39:16 -0700 | [diff] [blame] | 105 | "00:00:00:00:00:02/-1" : { |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 106 | "basic": { |
| 107 | "ips": ["10.0.1.2"], |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 108 | "locations": ["of:0000000000000001/2"] |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 109 | } |
| 110 | }, |
Flavio Castro | 4cd37c1 | 2016-03-28 07:39:16 -0700 | [diff] [blame] | 111 | "00:00:00:00:00:03/-1" : { |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 112 | "basic": { |
| 113 | "ips": ["10.0.2.1"], |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 114 | "locations": ["of:0000000000000002/1"] |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 115 | } |
| 116 | }, |
Flavio Castro | 4cd37c1 | 2016-03-28 07:39:16 -0700 | [diff] [blame] | 117 | "00:00:00:00:00:04/-1" : { |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 118 | "basic": { |
| 119 | "ips": ["10.0.2.2"], |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 120 | "locations": ["of:0000000000000002/2"] |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 121 | } |
| 122 | } |
Flavio Castro | e168f7f | 2016-06-24 15:53:12 -0700 | [diff] [blame] | 123 | }, |
| 124 | "apps": { |
| 125 | "org.onosproject.segmentrouting": { |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 126 | "xconnect": { |
| 127 | "of:0000000000000001": [ |
| 128 | { |
| 129 | "vlan": 5, |
| 130 | "ports": [5,7], |
| 131 | "name": "OLT 1" |
| 132 | }, |
| 133 | { |
| 134 | "vlan": 10, |
| 135 | "ports": [5,8], |
| 136 | "name": "OLT 2" |
| 137 | } |
| 138 | ] |
| 139 | } |
Flavio Castro | e168f7f | 2016-06-24 15:53:12 -0700 | [diff] [blame] | 140 | } |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 141 | } |
| 142 | } |