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", |
| 47 | "isEdgeRouter" : true |
| 48 | } |
| 49 | }, |
| 50 | "of:0000000000000002" : { |
| 51 | "segmentrouting" : { |
| 52 | "name" : "Leaf-R2", |
| 53 | "nodeSid" : 102, |
| 54 | "routerIp" : "10.0.2.254", |
| 55 | "routerMac" : "00:00:00:00:02:80", |
| 56 | "isEdgeRouter" : true |
| 57 | } |
| 58 | }, |
| 59 | "of:0000000000000191" : { |
| 60 | "segmentrouting" : { |
| 61 | "name" : "Spine-R1", |
| 62 | "nodeSid" : 103, |
| 63 | "routerIp" : "192.168.0.11", |
| 64 | "routerMac" : "00:00:01:00:11:80", |
| 65 | "isEdgeRouter" : false |
| 66 | } |
| 67 | }, |
| 68 | "of:0000000000000192" : { |
| 69 | "segmentrouting" : { |
| 70 | "name" : "Spine-R2", |
| 71 | "nodeSid" : 104, |
| 72 | "routerIp" : "192.168.0.22", |
| 73 | "routerMac" : "00:00:01:00:22:80", |
| 74 | "isEdgeRouter" : false |
| 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 | } |