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