Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 1 | { |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 2 | "devices":{ |
| 3 | "of:0000000000000001":{ |
| 4 | "basic":{ |
| 5 | "driver":"ofdpa-ovs" |
| 6 | }, |
| 7 | "segmentrouting":{ |
| 8 | "adjacencySids":[], |
| 9 | "ipv4Loopback":"192.168.0.1", |
| 10 | "ipv4NodeSid":201, |
| 11 | "isEdgeRouter":true, |
| 12 | "pairDeviceId":"of:0000000000000002", |
| 13 | "pairLocalPort":5, |
| 14 | "routerMac":"00:00:00:00:00:01" |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 15 | } |
| 16 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 17 | "of:0000000000000002":{ |
| 18 | "basic":{ |
| 19 | "driver":"ofdpa-ovs" |
| 20 | }, |
| 21 | "segmentrouting":{ |
| 22 | "adjacencySids":[], |
| 23 | "ipv4Loopback":"192.168.0.2", |
| 24 | "ipv4NodeSid":202, |
| 25 | "isEdgeRouter":true, |
| 26 | "pairDeviceId":"of:0000000000000001", |
| 27 | "pairLocalPort":5, |
| 28 | "routerMac":"00:00:00:00:00:01" |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 29 | } |
| 30 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 31 | "of:0000000000000003":{ |
| 32 | "basic":{ |
| 33 | "driver":"ofdpa-ovs" |
| 34 | }, |
| 35 | "segmentrouting":{ |
| 36 | "adjacencySids":[], |
| 37 | "ipv4Loopback":"192.168.0.3", |
| 38 | "ipv4NodeSid":203, |
| 39 | "isEdgeRouter":true, |
| 40 | "pairDeviceId":"of:0000000000000004", |
| 41 | "pairLocalPort":5, |
| 42 | "routerMac":"00:00:00:00:00:02" |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 43 | } |
| 44 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 45 | "of:0000000000000004":{ |
| 46 | "basic":{ |
| 47 | "driver":"ofdpa-ovs" |
| 48 | }, |
| 49 | "segmentrouting":{ |
| 50 | "adjacencySids":[], |
| 51 | "ipv4Loopback":"192.168.0.4", |
| 52 | "ipv4NodeSid":204, |
| 53 | "isEdgeRouter":true, |
| 54 | "pairDeviceId":"of:0000000000000003", |
| 55 | "pairLocalPort":5, |
| 56 | "routerMac":"00:00:00:00:00:02" |
| 57 | } |
| 58 | }, |
| 59 | "of:0000000000000101":{ |
| 60 | "basic":{ |
| 61 | "driver":"ofdpa-ovs" |
| 62 | }, |
| 63 | "segmentrouting":{ |
| 64 | "adjacencySids":[], |
| 65 | "ipv4Loopback":"192.168.0.101", |
| 66 | "ipv4NodeSid":101, |
| 67 | "isEdgeRouter":false, |
| 68 | "routerMac":"00:00:00:00:01:01" |
| 69 | } |
| 70 | }, |
| 71 | "of:0000000000000102":{ |
| 72 | "basic":{ |
| 73 | "driver":"ofdpa-ovs" |
| 74 | }, |
| 75 | "segmentrouting":{ |
| 76 | "adjacencySids":[], |
| 77 | "ipv4Loopback":"192.168.0.102", |
| 78 | "ipv4NodeSid":102, |
| 79 | "isEdgeRouter":false, |
| 80 | "routerMac":"00:00:00:00:01:02" |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 81 | } |
| 82 | } |
| 83 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 84 | "hosts":{ |
| 85 | "00:aa:00:00:00:01/10":{ |
| 86 | "basic":{ |
| 87 | "ips":[ |
| 88 | "10.0.2.1" |
| 89 | ], |
| 90 | "locations":[ |
| 91 | "of:0000000000000001/6", |
| 92 | "of:0000000000000002/6" |
| 93 | ] |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 94 | } |
| 95 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 96 | "00:aa:00:00:00:02/10":{ |
| 97 | "basic":{ |
| 98 | "ips":[ |
| 99 | "10.0.2.2" |
| 100 | ], |
| 101 | "locations":[ |
| 102 | "of:0000000000000001/7", |
| 103 | "of:0000000000000002/7" |
| 104 | ] |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 105 | } |
| 106 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 107 | "00:aa:00:00:00:03/20":{ |
| 108 | "basic":{ |
| 109 | "ips":[ |
| 110 | "10.0.3.1" |
| 111 | ], |
| 112 | "locations":[ |
| 113 | "of:0000000000000003/6", |
| 114 | "of:0000000000000004/6" |
| 115 | ] |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 116 | } |
| 117 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 118 | "00:aa:00:00:00:04/20":{ |
| 119 | "basic":{ |
| 120 | "ips":[ |
| 121 | "10.0.3.2" |
| 122 | ], |
| 123 | "locations":[ |
| 124 | "of:0000000000000003/7", |
| 125 | "of:0000000000000004/7" |
| 126 | ] |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 127 | } |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 128 | } |
| 129 | }, |
| 130 | "ports":{ |
| 131 | "of:0000000000000001/6":{ |
| 132 | "interfaces":[ |
| 133 | { |
| 134 | "ips":[ |
| 135 | "10.0.2.254/24" |
| 136 | ], |
| 137 | "vlan-tagged":[ |
| 138 | 10 |
| 139 | ] |
| 140 | } |
| 141 | ] |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 142 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 143 | "of:0000000000000001/7":{ |
| 144 | "interfaces":[ |
| 145 | { |
| 146 | "ips":[ |
| 147 | "10.0.2.254/24" |
| 148 | ], |
| 149 | "vlan-tagged":[ |
| 150 | 10 |
| 151 | ] |
| 152 | } |
| 153 | ] |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 154 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 155 | "of:0000000000000002/6":{ |
| 156 | "interfaces":[ |
| 157 | { |
| 158 | "ips":[ |
| 159 | "10.0.2.254/24" |
| 160 | ], |
| 161 | "vlan-tagged":[ |
| 162 | 10 |
| 163 | ] |
| 164 | } |
| 165 | ] |
| 166 | }, |
| 167 | "of:0000000000000002/7":{ |
| 168 | "interfaces":[ |
| 169 | { |
| 170 | "ips":[ |
| 171 | "10.0.2.254/24" |
| 172 | ], |
| 173 | "vlan-tagged":[ |
| 174 | 10 |
| 175 | ] |
| 176 | } |
| 177 | ] |
| 178 | }, |
| 179 | "of:0000000000000003/6":{ |
| 180 | "interfaces":[ |
| 181 | { |
| 182 | "ips":[ |
| 183 | "10.0.3.254/24" |
| 184 | ], |
| 185 | "vlan-tagged":[ |
| 186 | 20 |
| 187 | ] |
| 188 | } |
| 189 | ] |
| 190 | }, |
| 191 | "of:0000000000000003/7":{ |
| 192 | "interfaces":[ |
| 193 | { |
| 194 | "ips":[ |
| 195 | "10.0.3.254/24" |
| 196 | ], |
| 197 | "vlan-tagged":[ |
| 198 | 20 |
| 199 | ] |
| 200 | } |
| 201 | ] |
| 202 | }, |
| 203 | "of:0000000000000004/6":{ |
| 204 | "interfaces":[ |
| 205 | { |
| 206 | "ips":[ |
| 207 | "10.0.3.254/24" |
| 208 | ], |
| 209 | "vlan-tagged":[ |
| 210 | 20 |
| 211 | ] |
| 212 | } |
| 213 | ] |
| 214 | }, |
| 215 | "of:0000000000000004/7":{ |
| 216 | "interfaces":[ |
| 217 | { |
| 218 | "ips":[ |
| 219 | "10.0.3.254/24" |
| 220 | ], |
| 221 | "vlan-tagged":[ |
| 222 | 20 |
| 223 | ] |
| 224 | } |
| 225 | ] |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 226 | } |
| 227 | } |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 228 | } |