Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 1 | ===== NS protocol test START |
| 2 | PROCESSING RESET from 0x01020304:1111 |
| 3 | 02 00 81 01 01 82 11 22 04 82 11 22 |
| 4 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 5 | ==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:1111 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 6 | RESPONSE, msg length 9 |
| 7 | 03 01 82 11 22 04 82 11 22 |
| 8 | |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 9 | RESPONSE, msg length 1 |
| 10 | 0a |
| 11 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 12 | result (RESET) = 9 |
| 13 | |
| 14 | Current NS-VCIs: |
| 15 | VCI 0x1122, NSEI 0x1122, peer 0x01020304:1111 |
| 16 | |
| 17 | PROCESSING ALIVE from 0x01020304:1111 |
| 18 | 0a |
| 19 | |
| 20 | RESPONSE, msg length 1 |
| 21 | 0b |
| 22 | |
| 23 | result (ALIVE) = 1 |
| 24 | |
| 25 | PROCESSING UNBLOCK from 0x01020304:1111 |
| 26 | 06 |
| 27 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 28 | ==> got signal NS_UNBLOCK, NS-VC 0x1122/1.2.3.4:1111 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 29 | RESPONSE, msg length 1 |
| 30 | 07 |
| 31 | |
| 32 | result (UNBLOCK) = 1 |
| 33 | |
| 34 | PROCESSING BSSGP RESET from 0x01020304:1111 |
| 35 | 00 00 00 00 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 36 | |
| 37 | CALLBACK, event 0, msg length 18, bvci 0x0000 |
| 38 | 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 39 | |
| 40 | result (BSSGP RESET) = 0 |
| 41 | |
| 42 | --- Peer port changes, RESET, message remains unchanged --- |
| 43 | |
| 44 | PROCESSING RESET from 0x01020304:2222 |
| 45 | 02 00 81 01 01 82 11 22 04 82 11 22 |
| 46 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 47 | ==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:2222 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 48 | RESPONSE, msg length 9 |
| 49 | 03 01 82 11 22 04 82 11 22 |
| 50 | |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 51 | RESPONSE, msg length 1 |
| 52 | 0a |
| 53 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 54 | result (RESET) = 9 |
| 55 | |
| 56 | Current NS-VCIs: |
| 57 | VCI 0x1122, NSEI 0x1122, peer 0x01020304:2222 |
| 58 | |
| 59 | --- Peer port changes, RESET, VCI changes --- |
| 60 | |
| 61 | PROCESSING RESET from 0x01020304:3333 |
| 62 | 02 00 81 01 01 82 33 44 04 82 11 22 |
| 63 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 64 | ==> got signal NS_RESET, NS-VC 0x3344/1.2.3.4:3333 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 65 | RESPONSE, msg length 9 |
| 66 | 03 01 82 33 44 04 82 11 22 |
| 67 | |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 68 | RESPONSE, msg length 1 |
| 69 | 0a |
| 70 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 71 | result (RESET) = 9 |
| 72 | |
| 73 | Current NS-VCIs: |
| 74 | VCI 0x3344, NSEI 0x1122, peer 0x01020304:3333 |
Jacob Erlbeck | b6390f9 | 2013-10-08 12:04:46 +0200 | [diff] [blame] | 75 | VCI 0x1122, NSEI 0x1122, peer 0x01020304:2222 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 76 | |
| 77 | --- Peer port changes, RESET, NSEI changes --- |
| 78 | |
| 79 | PROCESSING RESET from 0x01020304:4444 |
| 80 | 02 00 81 01 01 82 11 22 04 82 33 44 |
| 81 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 82 | ==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:4444 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 83 | RESPONSE, msg length 9 |
| 84 | 03 01 82 11 22 04 82 33 44 |
| 85 | |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 86 | RESPONSE, msg length 1 |
| 87 | 0a |
| 88 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 89 | result (RESET) = 9 |
| 90 | |
| 91 | Current NS-VCIs: |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 92 | VCI 0x3344, NSEI 0x1122, peer 0x01020304:3333 |
Jacob Erlbeck | b6390f9 | 2013-10-08 12:04:46 +0200 | [diff] [blame] | 93 | VCI 0x1122, NSEI 0x3344, peer 0x01020304:4444 |
Jacob Erlbeck | 5e6d679 | 2013-10-14 22:06:48 +0200 | [diff] [blame^] | 94 | NS-VC changed NSEI : 1 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 95 | |
| 96 | --- Peer port 3333, RESET, VCI is changed back --- |
| 97 | |
| 98 | PROCESSING RESET from 0x01020304:3333 |
| 99 | 02 00 81 01 01 82 11 22 04 82 11 22 |
| 100 | |
Jacob Erlbeck | 5e6d679 | 2013-10-14 22:06:48 +0200 | [diff] [blame^] | 101 | ==> got signal NS_REPLACED: 0x1122/1.2.3.4:4444 -> 0x3344/1.2.3.4:3333 |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 102 | ==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:3333 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 103 | RESPONSE, msg length 9 |
| 104 | 03 01 82 11 22 04 82 11 22 |
| 105 | |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 106 | RESPONSE, msg length 1 |
| 107 | 0a |
| 108 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 109 | result (RESET) = 9 |
| 110 | |
| 111 | Current NS-VCIs: |
Jacob Erlbeck | 5e6d679 | 2013-10-14 22:06:48 +0200 | [diff] [blame^] | 112 | VCI 0x3344, NSEI 0x1122, peer 0x00000000:0 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 113 | VCI 0x1122, NSEI 0x1122, peer 0x01020304:3333 |
Jacob Erlbeck | 5e6d679 | 2013-10-14 22:06:48 +0200 | [diff] [blame^] | 114 | NS-VC replaced other count: 1 |
| 115 | NS-VC changed NSEI : 2 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 116 | |
| 117 | --- Peer port 4444, RESET, NSEI is changed back --- |
| 118 | |
| 119 | PROCESSING RESET from 0x01020304:4444 |
| 120 | 02 00 81 01 01 82 11 22 04 82 11 22 |
| 121 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 122 | ==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:4444 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 123 | RESPONSE, msg length 9 |
| 124 | 03 01 82 11 22 04 82 11 22 |
| 125 | |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 126 | RESPONSE, msg length 1 |
| 127 | 0a |
| 128 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 129 | result (RESET) = 9 |
| 130 | |
| 131 | Current NS-VCIs: |
Jacob Erlbeck | 5e6d679 | 2013-10-14 22:06:48 +0200 | [diff] [blame^] | 132 | VCI 0x3344, NSEI 0x1122, peer 0x00000000:0 |
Jacob Erlbeck | b6390f9 | 2013-10-08 12:04:46 +0200 | [diff] [blame] | 133 | VCI 0x1122, NSEI 0x1122, peer 0x01020304:4444 |
Jacob Erlbeck | 5e6d679 | 2013-10-14 22:06:48 +0200 | [diff] [blame^] | 134 | NS-VC replaced other count: 1 |
| 135 | NS-VC changed NSEI : 2 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 136 | |
| 137 | ===== NS protocol test END |
| 138 | |