Jacob Erlbeck | 51a869c | 2013-10-15 12:00:26 +0200 | [diff] [blame^] | 1 | ===== NS protocol test START |
| 2 | --- Initialise BSS 1 --- |
| 3 | |
| 4 | Setup NS-VC: remote 0x01020304:1111, NSVCI 0x1001(4097), NSEI 0x1000(4096) |
| 5 | |
| 6 | PROCESSING RESET from 0x01020304:1111 |
| 7 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 8 | |
| 9 | ==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:1111 |
| 10 | |
| 11 | MESSAGE to BSS, msg length 9 |
| 12 | 03 01 82 10 01 04 82 10 00 |
| 13 | |
| 14 | MESSAGE to BSS, msg length 1 |
| 15 | 0a |
| 16 | |
| 17 | result (RESET) = 9 |
| 18 | |
| 19 | PROCESSING ALIVE from 0x01020304:1111 |
| 20 | 0a |
| 21 | |
| 22 | MESSAGE to BSS, msg length 1 |
| 23 | 0b |
| 24 | |
| 25 | result (ALIVE) = 1 |
| 26 | |
| 27 | PROCESSING UNBLOCK from 0x01020304:1111 |
| 28 | 06 |
| 29 | |
| 30 | ==> got signal NS_UNBLOCK, NS-VC 0x1001/1.2.3.4:1111 |
| 31 | |
| 32 | MESSAGE to BSS, msg length 1 |
| 33 | 07 |
| 34 | |
| 35 | result (UNBLOCK) = 1 |
| 36 | |
| 37 | PROCESSING ALIVE_ACK from 0x01020304:1111 |
| 38 | 0b |
| 39 | |
| 40 | result (ALIVE_ACK) = 0 |
| 41 | |
| 42 | Setup BSSGP: remote 0x01020304:1111, BVCI 0x1002(4098) |
| 43 | |
| 44 | PROCESSING UNITDATA from 0x01020304:1111 |
| 45 | 00 00 00 00 22 04 82 10 02 07 81 08 08 88 10 20 30 40 50 60 10 00 00 00 00 00 |
| 46 | |
| 47 | CALLBACK, event 0, msg length 22, bvci 0x0000 |
| 48 | 22 04 82 10 02 07 81 08 08 88 10 20 30 40 50 60 10 00 00 00 00 00 |
| 49 | |
| 50 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 22 |
| 51 | 22 04 82 10 02 07 81 08 08 88 10 20 30 40 50 60 10 00 00 00 00 00 |
| 52 | |
| 53 | result (UNITDATA) = 0 |
| 54 | |
| 55 | Current NS-VCIs: |
| 56 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111 |
| 57 | |
| 58 | Peers: |
| 59 | NSEI 4096, BVCI 4098, not blocked, RAC 10-32-16464-96 |
| 60 | --- Initialise BSS 2 --- |
| 61 | |
| 62 | Setup NS-VC: remote 0x01020304:2222, NSVCI 0x2001(8193), NSEI 0x2000(8192) |
| 63 | |
| 64 | PROCESSING RESET from 0x01020304:2222 |
| 65 | 02 00 81 01 01 82 20 01 04 82 20 00 |
| 66 | |
| 67 | ==> got signal NS_RESET, NS-VC 0x2001/1.2.3.4:2222 |
| 68 | |
| 69 | MESSAGE to BSS, msg length 9 |
| 70 | 03 01 82 20 01 04 82 20 00 |
| 71 | |
| 72 | MESSAGE to BSS, msg length 1 |
| 73 | 0a |
| 74 | |
| 75 | result (RESET) = 9 |
| 76 | |
| 77 | PROCESSING ALIVE from 0x01020304:2222 |
| 78 | 0a |
| 79 | |
| 80 | MESSAGE to BSS, msg length 1 |
| 81 | 0b |
| 82 | |
| 83 | result (ALIVE) = 1 |
| 84 | |
| 85 | PROCESSING UNBLOCK from 0x01020304:2222 |
| 86 | 06 |
| 87 | |
| 88 | ==> got signal NS_UNBLOCK, NS-VC 0x2001/1.2.3.4:2222 |
| 89 | |
| 90 | MESSAGE to BSS, msg length 1 |
| 91 | 07 |
| 92 | |
| 93 | result (UNBLOCK) = 1 |
| 94 | |
| 95 | PROCESSING ALIVE_ACK from 0x01020304:2222 |
| 96 | 0b |
| 97 | |
| 98 | result (ALIVE_ACK) = 0 |
| 99 | |
| 100 | Setup BSSGP: remote 0x01020304:2222, BVCI 0x2002(8194) |
| 101 | |
| 102 | PROCESSING UNITDATA from 0x01020304:2222 |
| 103 | 00 00 00 00 22 04 82 20 02 07 81 08 08 88 10 20 30 40 50 60 10 00 00 00 00 00 |
| 104 | |
| 105 | CALLBACK, event 0, msg length 22, bvci 0x0000 |
| 106 | 22 04 82 20 02 07 81 08 08 88 10 20 30 40 50 60 10 00 00 00 00 00 |
| 107 | |
| 108 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 22 |
| 109 | 22 04 82 20 02 07 81 08 08 88 10 20 30 40 50 60 10 00 00 00 00 00 |
| 110 | |
| 111 | result (UNITDATA) = 0 |
| 112 | |
| 113 | Current NS-VCIs: |
| 114 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:2222 |
| 115 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111 |
| 116 | |
| 117 | Peers: |
| 118 | NSEI 8192, BVCI 8194, not blocked, RAC 10-32-16464-96 |
| 119 | NSEI 4096, BVCI 4098, not blocked, RAC 10-32-16464-96 |
| 120 | --- Move BSS 1 to new port --- |
| 121 | |
| 122 | Setup NS-VC: remote 0x01020304:3333, NSVCI 0x1001(4097), NSEI 0x1000(4096) |
| 123 | |
| 124 | PROCESSING RESET from 0x01020304:3333 |
| 125 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 126 | |
| 127 | ==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:3333 |
| 128 | |
| 129 | MESSAGE to BSS, msg length 9 |
| 130 | 03 01 82 10 01 04 82 10 00 |
| 131 | |
| 132 | MESSAGE to BSS, msg length 1 |
| 133 | 0a |
| 134 | |
| 135 | result (RESET) = 9 |
| 136 | |
| 137 | PROCESSING ALIVE from 0x01020304:3333 |
| 138 | 0a |
| 139 | |
| 140 | MESSAGE to BSS, msg length 1 |
| 141 | 0b |
| 142 | |
| 143 | result (ALIVE) = 1 |
| 144 | |
| 145 | PROCESSING UNBLOCK from 0x01020304:3333 |
| 146 | 06 |
| 147 | |
| 148 | ==> got signal NS_UNBLOCK, NS-VC 0x1001/1.2.3.4:3333 |
| 149 | |
| 150 | MESSAGE to BSS, msg length 1 |
| 151 | 07 |
| 152 | |
| 153 | result (UNBLOCK) = 1 |
| 154 | |
| 155 | PROCESSING ALIVE_ACK from 0x01020304:3333 |
| 156 | 0b |
| 157 | |
| 158 | result (ALIVE_ACK) = 0 |
| 159 | |
| 160 | Current NS-VCIs: |
| 161 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:2222 |
| 162 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:3333 |
| 163 | |
| 164 | Peers: |
| 165 | NSEI 8192, BVCI 8194, not blocked, RAC 10-32-16464-96 |
| 166 | NSEI 4096, BVCI 4098, not blocked, RAC 10-32-16464-96 |
| 167 | --- Move BSS 2 to former BSS 1 port --- |
| 168 | |
| 169 | Setup NS-VC: remote 0x01020304:1111, NSVCI 0x2001(8193), NSEI 0x2000(8192) |
| 170 | |
| 171 | PROCESSING RESET from 0x01020304:1111 |
| 172 | 02 00 81 01 01 82 20 01 04 82 20 00 |
| 173 | |
| 174 | ==> got signal NS_RESET, NS-VC 0x2001/1.2.3.4:1111 |
| 175 | |
| 176 | MESSAGE to BSS, msg length 9 |
| 177 | 03 01 82 20 01 04 82 20 00 |
| 178 | |
| 179 | MESSAGE to BSS, msg length 1 |
| 180 | 0a |
| 181 | |
| 182 | result (RESET) = 9 |
| 183 | |
| 184 | PROCESSING ALIVE from 0x01020304:1111 |
| 185 | 0a |
| 186 | |
| 187 | MESSAGE to BSS, msg length 1 |
| 188 | 0b |
| 189 | |
| 190 | result (ALIVE) = 1 |
| 191 | |
| 192 | PROCESSING UNBLOCK from 0x01020304:1111 |
| 193 | 06 |
| 194 | |
| 195 | ==> got signal NS_UNBLOCK, NS-VC 0x2001/1.2.3.4:1111 |
| 196 | |
| 197 | MESSAGE to BSS, msg length 1 |
| 198 | 07 |
| 199 | |
| 200 | result (UNBLOCK) = 1 |
| 201 | |
| 202 | PROCESSING ALIVE_ACK from 0x01020304:1111 |
| 203 | 0b |
| 204 | |
| 205 | result (ALIVE_ACK) = 0 |
| 206 | |
| 207 | Current NS-VCIs: |
| 208 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111 |
| 209 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:3333 |
| 210 | |
| 211 | Peers: |
| 212 | NSEI 8192, BVCI 8194, not blocked, RAC 10-32-16464-96 |
| 213 | NSEI 4096, BVCI 4098, not blocked, RAC 10-32-16464-96 |
| 214 | --- Move BSS 1 to current BSS 2 port --- |
| 215 | |
| 216 | Setup NS-VC: remote 0x01020304:1111, NSVCI 0x2001(8193), NSEI 0x2000(8192) |
| 217 | |
| 218 | PROCESSING RESET from 0x01020304:1111 |
| 219 | 02 00 81 01 01 82 20 01 04 82 20 00 |
| 220 | |
| 221 | ==> got signal NS_RESET, NS-VC 0x2001/1.2.3.4:1111 |
| 222 | |
| 223 | MESSAGE to BSS, msg length 9 |
| 224 | 03 01 82 20 01 04 82 20 00 |
| 225 | |
| 226 | MESSAGE to BSS, msg length 1 |
| 227 | 0a |
| 228 | |
| 229 | result (RESET) = 9 |
| 230 | |
| 231 | PROCESSING ALIVE from 0x01020304:1111 |
| 232 | 0a |
| 233 | |
| 234 | MESSAGE to BSS, msg length 1 |
| 235 | 0b |
| 236 | |
| 237 | result (ALIVE) = 1 |
| 238 | |
| 239 | PROCESSING UNBLOCK from 0x01020304:1111 |
| 240 | 06 |
| 241 | |
| 242 | ==> got signal NS_UNBLOCK, NS-VC 0x2001/1.2.3.4:1111 |
| 243 | |
| 244 | MESSAGE to BSS, msg length 1 |
| 245 | 07 |
| 246 | |
| 247 | result (UNBLOCK) = 1 |
| 248 | |
| 249 | PROCESSING ALIVE_ACK from 0x01020304:1111 |
| 250 | 0b |
| 251 | |
| 252 | result (ALIVE_ACK) = 0 |
| 253 | |
| 254 | Current NS-VCIs: |
| 255 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111 |
| 256 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:3333 |
| 257 | |
| 258 | Peers: |
| 259 | NSEI 8192, BVCI 8194, not blocked, RAC 10-32-16464-96 |
| 260 | NSEI 4096, BVCI 4098, not blocked, RAC 10-32-16464-96 |
| 261 | --- Move BSS 2 to new port --- |
| 262 | |
| 263 | Setup NS-VC: remote 0x01020304:4444, NSVCI 0x2001(8193), NSEI 0x2000(8192) |
| 264 | |
| 265 | PROCESSING RESET from 0x01020304:4444 |
| 266 | 02 00 81 01 01 82 20 01 04 82 20 00 |
| 267 | |
| 268 | ==> got signal NS_RESET, NS-VC 0x2001/1.2.3.4:4444 |
| 269 | |
| 270 | MESSAGE to BSS, msg length 9 |
| 271 | 03 01 82 20 01 04 82 20 00 |
| 272 | |
| 273 | MESSAGE to BSS, msg length 1 |
| 274 | 0a |
| 275 | |
| 276 | result (RESET) = 9 |
| 277 | |
| 278 | PROCESSING ALIVE from 0x01020304:4444 |
| 279 | 0a |
| 280 | |
| 281 | MESSAGE to BSS, msg length 1 |
| 282 | 0b |
| 283 | |
| 284 | result (ALIVE) = 1 |
| 285 | |
| 286 | PROCESSING UNBLOCK from 0x01020304:4444 |
| 287 | 06 |
| 288 | |
| 289 | ==> got signal NS_UNBLOCK, NS-VC 0x2001/1.2.3.4:4444 |
| 290 | |
| 291 | MESSAGE to BSS, msg length 1 |
| 292 | 07 |
| 293 | |
| 294 | result (UNBLOCK) = 1 |
| 295 | |
| 296 | PROCESSING ALIVE_ACK from 0x01020304:4444 |
| 297 | 0b |
| 298 | |
| 299 | result (ALIVE_ACK) = 0 |
| 300 | |
| 301 | Current NS-VCIs: |
| 302 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:4444 |
| 303 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:3333 |
| 304 | |
| 305 | Peers: |
| 306 | NSEI 8192, BVCI 8194, not blocked, RAC 10-32-16464-96 |
| 307 | NSEI 4096, BVCI 4098, not blocked, RAC 10-32-16464-96 |
| 308 | --- Move BSS 2 to former BSS 1 port --- |
| 309 | |
| 310 | Setup NS-VC: remote 0x01020304:3333, NSVCI 0x2001(8193), NSEI 0x2000(8192) |
| 311 | |
| 312 | PROCESSING RESET from 0x01020304:3333 |
| 313 | 02 00 81 01 01 82 20 01 04 82 20 00 |
| 314 | |
| 315 | ==> got signal NS_REPLACED: 0x2001/1.2.3.4:4444 -> 0x1001/1.2.3.4:3333 |
| 316 | |
| 317 | ==> got signal NS_RESET, NS-VC 0x2001/1.2.3.4:3333 |
| 318 | |
| 319 | MESSAGE to BSS, msg length 9 |
| 320 | 03 01 82 20 01 04 82 20 00 |
| 321 | |
| 322 | MESSAGE to BSS, msg length 1 |
| 323 | 0a |
| 324 | |
| 325 | result (RESET) = 9 |
| 326 | |
| 327 | PROCESSING ALIVE from 0x01020304:3333 |
| 328 | 0a |
| 329 | |
| 330 | MESSAGE to BSS, msg length 1 |
| 331 | 0b |
| 332 | |
| 333 | result (ALIVE) = 1 |
| 334 | |
| 335 | PROCESSING UNBLOCK from 0x01020304:3333 |
| 336 | 06 |
| 337 | |
| 338 | ==> got signal NS_UNBLOCK, NS-VC 0x2001/1.2.3.4:3333 |
| 339 | |
| 340 | MESSAGE to BSS, msg length 1 |
| 341 | 07 |
| 342 | |
| 343 | result (UNBLOCK) = 1 |
| 344 | |
| 345 | PROCESSING ALIVE_ACK from 0x01020304:3333 |
| 346 | 0b |
| 347 | |
| 348 | result (ALIVE_ACK) = 0 |
| 349 | |
| 350 | Current NS-VCIs: |
| 351 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:3333 |
| 352 | NS-VC replaced other count: 1 |
| 353 | VCI 0x1001, NSEI 0x1000, peer 0x00000000:0 |
| 354 | |
| 355 | Peers: |
| 356 | NSEI 8192, BVCI 8194, not blocked, RAC 10-32-16464-96 |
| 357 | NSEI 4096, BVCI 4098, not blocked, RAC 10-32-16464-96 |
| 358 | ===== NS protocol test END |
| 359 | |