Flavio Castro | 02b4363 | 2016-06-20 17:07:27 -0700 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 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 | 02b4363 | 2016-06-20 17:07:27 -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 | 02b4363 | 2016-06-20 17:07:27 -0700 | [diff] [blame] | 16 | } |
| 17 | ] |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 18 | }, |
| 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 | ab163ca | 2016-07-07 14:05:00 -0700 | [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 | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 32 | } |
| 33 | ] |
Flavio Castro | 02b4363 | 2016-06-20 17:07:27 -0700 | [diff] [blame] | 34 | } |
| 35 | }, |
| 36 | "devices" : { |
| 37 | "of:0000000000000001" : { |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 38 | "basic":{ "driver" : "ofdpa-ovs" }, |
Flavio Castro | 02b4363 | 2016-06-20 17:07:27 -0700 | [diff] [blame] | 39 | "segmentrouting" : { |
| 40 | "name" : "Leaf-R1", |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 41 | "ipv4NodeSid" : 1, |
| 42 | "ipv4Loopback" : "192.168.0.1", |
Flavio Castro | 02b4363 | 2016-06-20 17:07:27 -0700 | [diff] [blame] | 43 | "routerMac" : "10:00:00:00:00:01", |
| 44 | "isEdgeRouter" : true, |
| 45 | "adjacencySids" : [] |
| 46 | } |
| 47 | } |
| 48 | }, |
Flavio Castro | 02b4363 | 2016-06-20 17:07:27 -0700 | [diff] [blame] | 49 | "hosts" : { |
| 50 | "00:00:00:00:00:01/-1" : { |
| 51 | "basic": { |
| 52 | "ips": ["10.0.1.1"], |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 53 | "locations": ["of:0000000000000001/1"] |
Flavio Castro | 02b4363 | 2016-06-20 17:07:27 -0700 | [diff] [blame] | 54 | } |
| 55 | }, |
| 56 | "00:00:00:00:00:02/-1" : { |
| 57 | "basic": { |
| 58 | "ips": ["10.0.1.2"], |
Jonghwan Hyun | 76a02b7 | 2018-01-30 16:40:48 +0900 | [diff] [blame] | 59 | "locations": ["of:0000000000000001/2"] |
Flavio Castro | 02b4363 | 2016-06-20 17:07:27 -0700 | [diff] [blame] | 60 | } |
| 61 | } |
Flavio Castro | e168f7f | 2016-06-24 15:53:12 -0700 | [diff] [blame] | 62 | }, |
| 63 | "apps": { |
| 64 | "org.onosproject.segmentrouting": { |
Flavio Castro | ab163ca | 2016-07-07 14:05:00 -0700 | [diff] [blame] | 65 | "xconnect": { |
| 66 | "of:0000000000000001": [ |
| 67 | { |
| 68 | "vlan": 5, |
| 69 | "ports": [5, 7], |
| 70 | "name": "OLT 1" |
| 71 | }, |
| 72 | { |
| 73 | "vlan": 10, |
| 74 | "ports": [5, 8], |
| 75 | "name": "OLT 2" |
| 76 | } |
| 77 | ] |
| 78 | } |
Flavio Castro | e168f7f | 2016-06-24 15:53:12 -0700 | [diff] [blame] | 79 | } |
Flavio Castro | 02b4363 | 2016-06-20 17:07:27 -0700 | [diff] [blame] | 80 | } |
Flavio Castro | 02b4363 | 2016-06-20 17:07:27 -0700 | [diff] [blame] | 81 | } |