Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:0000000000000001/3" : { |
| 4 | "interfaces" : [ |
| 5 | { |
| 6 | "ips" : [ "10.0.1.254/24" ], |
| 7 | "vlan" : "-1" |
| 8 | } |
| 9 | ] |
| 10 | }, |
| 11 | "of:0000000000000001/4" : { |
| 12 | "interfaces" : [ |
| 13 | { |
| 14 | "ips" : [ "10.0.1.254/24", "200.0.0.200/32" ], |
| 15 | "vlan" : "-1" |
| 16 | } |
| 17 | ] |
| 18 | }, |
| 19 | "of:0000000000000002/3" : { |
| 20 | "interfaces" : [ |
| 21 | { |
| 22 | "ips" : [ "10.0.2.254/24" ], |
| 23 | "vlan" : "-1" |
| 24 | } |
| 25 | ] |
| 26 | }, |
| 27 | "of:0000000000000002/4" : { |
| 28 | "interfaces" : [ |
| 29 | { |
Charles Chan | f2565a9 | 2016-02-10 20:46:58 -0800 | [diff] [blame] | 30 | "ips" : [ "10.0.2.254/24" ], |
Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 31 | "vlan" : "-1" |
| 32 | } |
| 33 | ] |
Charles Chan | f2565a9 | 2016-02-10 20:46:58 -0800 | [diff] [blame] | 34 | }, |
| 35 | "of:0000000000000002/5" : { |
| 36 | "interfaces" : [ |
| 37 | { |
Charles Chan | f2565a9 | 2016-02-10 20:46:58 -0800 | [diff] [blame] | 38 | "ips" : [ "100.0.0.0/24" ], |
| 39 | "vlan" : "-1" |
| 40 | } |
| 41 | ] |
Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 42 | } |
| 43 | }, |
| 44 | "devices" : { |
| 45 | "of:0000000000000001" : { |
| 46 | "segmentrouting" : { |
| 47 | "name" : "Leaf-R1", |
| 48 | "nodeSid" : 101, |
| 49 | "routerIp" : "10.0.1.254", |
| 50 | "routerMac" : "00:00:00:00:01:80", |
| 51 | "isEdgeRouter" : true, |
| 52 | "adjacencySids" : [] |
| 53 | } |
| 54 | }, |
| 55 | "of:0000000000000002" : { |
| 56 | "segmentrouting" : { |
| 57 | "name" : "Leaf-R2", |
| 58 | "nodeSid" : 102, |
| 59 | "routerIp" : "10.0.2.254", |
| 60 | "routerMac" : "00:00:00:00:02:80", |
| 61 | "isEdgeRouter" : true, |
| 62 | "adjacencySids" : [] |
| 63 | } |
| 64 | }, |
| 65 | "of:0000000000000191" : { |
| 66 | "segmentrouting" : { |
| 67 | "name" : "Spine-R1", |
| 68 | "nodeSid" : 103, |
| 69 | "routerIp" : "192.168.0.11", |
| 70 | "routerMac" : "00:00:01:00:11:80", |
| 71 | "isEdgeRouter" : false, |
| 72 | "adjacencySids" : [] |
| 73 | } |
| 74 | }, |
| 75 | "of:0000000000000192" : { |
| 76 | "segmentrouting" : { |
| 77 | "name" : "Spine-R2", |
| 78 | "nodeSid" : 104, |
| 79 | "routerIp" : "192.168.0.22", |
| 80 | "routerMac" : "00:00:01:00:22:80", |
| 81 | "isEdgeRouter" : false, |
| 82 | "adjacencySids" : [] |
| 83 | } |
| 84 | } |
| 85 | }, |
| 86 | "hosts" : { |
| 87 | "00:00:00:00:00:01/-1" : { |
| 88 | "basic": { |
| 89 | "ips": ["10.0.1.1"], |
| 90 | "location": "of:0000000000000001/3" |
| 91 | } |
| 92 | }, |
| 93 | "00:00:00:00:00:02/-1" : { |
| 94 | "basic": { |
| 95 | "ips": ["10.0.1.2"], |
| 96 | "location": "of:0000000000000001/4" |
| 97 | } |
| 98 | }, |
| 99 | "00:00:00:00:00:03/-1" : { |
| 100 | "basic": { |
| 101 | "ips": ["10.0.2.1"], |
| 102 | "location": "of:0000000000000002/3" |
| 103 | } |
| 104 | }, |
| 105 | "00:00:00:00:00:04/-1" : { |
| 106 | "basic": { |
| 107 | "ips": ["10.0.2.2"], |
| 108 | "location": "of:0000000000000002/4" |
| 109 | } |
| 110 | }, |
| 111 | "00:00:00:aa:00:01/-1" : { |
| 112 | "basic": { |
| 113 | "ips": ["200.0.0.200"], |
| 114 | "location": "of:0000000000000001/4" |
| 115 | } |
| 116 | } |
| 117 | }, |
| 118 | "apps" : { |
| 119 | "org.onosproject.segmentrouting" : { |
| 120 | "segmentrouting" : { |
| 121 | "vRouterMacs" : [ |
| 122 | "00:00:00:aa:00:02" |
Charles Chan | f2565a9 | 2016-02-10 20:46:58 -0800 | [diff] [blame] | 123 | ], |
| 124 | "vRouterId" : "of:0000000000000002", |
Charles Chan | d9681e7 | 2016-02-22 19:27:29 -0800 | [diff] [blame] | 125 | "suppressSubnet" : [ |
| 126 | "of:0000000000000002/5" |
| 127 | ], |
| 128 | "suppressHost" : [ |
| 129 | "of:0000000000000002/5" |
Charles Chan | 5270ed0 | 2016-01-30 23:22:37 -0800 | [diff] [blame] | 130 | ] |
| 131 | } |
| 132 | } |
| 133 | } |
| 134 | } |