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