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