Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:0000000000000001/3" : { |
| 4 | "interfaces" : [ |
| 5 | { |
| 6 | "ips" : [ "10.0.1.254/24" ] |
| 7 | } |
| 8 | ] |
| 9 | }, |
| 10 | "of:0000000000000001/4" : { |
| 11 | "interfaces" : [ |
| 12 | { |
| 13 | "ips" : [ "10.0.1.254/24" ] |
| 14 | } |
| 15 | ] |
| 16 | }, |
| 17 | "of:0000000000000002/3" : { |
| 18 | "interfaces" : [ |
| 19 | { |
| 20 | "ips" : [ "10.0.2.254/24" ] |
| 21 | } |
| 22 | ] |
| 23 | }, |
| 24 | "of:0000000000000002/4" : { |
| 25 | "interfaces" : [ |
| 26 | { |
| 27 | "ips" : [ "10.0.2.254/24" ] |
| 28 | } |
| 29 | ] |
| 30 | } |
| 31 | }, |
| 32 | "devices" : { |
| 33 | "of:0000000000000001" : { |
| 34 | "basic":{ "driver" : "ofdpa-cpqd" }, |
| 35 | "segmentrouting" : { |
| 36 | "name" : "Leaf-R1", |
| 37 | "nodeSid" : 1, |
| 38 | "routerIp" : "192.168.0.1", |
| 39 | "routerMac" : "00:00:00:00:00:01", |
| 40 | "isEdgeRouter" : true, |
| 41 | "adjacencySids" : [] |
| 42 | } |
| 43 | }, |
| 44 | "of:0000000000000002" : { |
| 45 | "basic":{ "driver" : "ofdpa-cpqd" }, |
| 46 | "segmentrouting" : { |
| 47 | "name" : "Leaf-R2", |
| 48 | "nodeSid" : 2, |
| 49 | "routerIp" : "192.168.0.2", |
| 50 | "routerMac" : "00:00:00:00:00:02", |
| 51 | "isEdgeRouter" : true, |
| 52 | "adjacencySids" : [] |
| 53 | } |
| 54 | }, |
| 55 | "of:0000000000000101" : { |
| 56 | "basic":{ "driver" : "ofdpa-cpqd" }, |
| 57 | "segmentrouting" : { |
| 58 | "name" : "Spine-R1", |
| 59 | "nodeSid" : 101, |
| 60 | "routerIp" : "192.168.0.101", |
| 61 | "routerMac" : "00:00:00:00:01:01", |
| 62 | "isEdgeRouter" : false, |
| 63 | "adjacencySids" : [] |
| 64 | } |
| 65 | }, |
| 66 | "of:0000000000000102" : { |
| 67 | "basic":{ "driver" : "ofdpa-cpqd" }, |
| 68 | "segmentrouting" : { |
| 69 | "name" : "Spine-R2", |
| 70 | "nodeSid" : 102, |
| 71 | "routerIp" : "192.168.0.102", |
| 72 | "routerMac" : "00:00:00:00:01:02", |
| 73 | "isEdgeRouter" : false, |
| 74 | "adjacencySids" : [] |
| 75 | } |
| 76 | } |
| 77 | }, |
| 78 | "hosts" : { |
Flavio Castro | 4cd37c1 | 2016-03-28 07:39:16 -0700 | [diff] [blame] | 79 | "00:00:00:00:00:01/-1" : { |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 80 | "basic": { |
| 81 | "ips": ["10.0.1.1"], |
| 82 | "location": "of:0000000000000001/3" |
| 83 | } |
| 84 | }, |
Flavio Castro | 4cd37c1 | 2016-03-28 07:39:16 -0700 | [diff] [blame] | 85 | "00:00:00:00:00:02/-1" : { |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 86 | "basic": { |
| 87 | "ips": ["10.0.1.2"], |
| 88 | "location": "of:0000000000000001/4" |
| 89 | } |
| 90 | }, |
Flavio Castro | 4cd37c1 | 2016-03-28 07:39:16 -0700 | [diff] [blame] | 91 | "00:00:00:00:00:03/-1" : { |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 92 | "basic": { |
| 93 | "ips": ["10.0.2.1"], |
| 94 | "location": "of:0000000000000002/3" |
| 95 | } |
| 96 | }, |
Flavio Castro | 4cd37c1 | 2016-03-28 07:39:16 -0700 | [diff] [blame] | 97 | "00:00:00:00:00:04/-1" : { |
Flavio Castro | cc38a54 | 2016-03-03 13:15:46 -0800 | [diff] [blame] | 98 | "basic": { |
| 99 | "ips": ["10.0.2.2"], |
| 100 | "location": "of:0000000000000002/4" |
| 101 | } |
| 102 | } |
| 103 | } |
| 104 | } |