4 .* EDML webpage: http://cpi.ericsson.se/dwaxe/
5 .* EDML2PDF converter: http://dwaxe.ericsson.se/x2pdf
6 .* EDML user guide: http://www.lmc.ericsson.se/~lmcmarg/isit/edml_ug.html
8 .* Document header information
9 :docname.Test Description
10 :docno.xx/152 91-CRL 113 200 Uen
14 :prep.ETH/RZX Jeno Balasko (ethbaat)
15 :appr.ETH/RZX (Roland Gecse)
18 :title.Test description of the TTCN-3 Semantic Analyzer: IPv6
20 .*---------------------------------------------------------------------*
22 .*---------------------------------------------------------------------*
23 .*---------------------------------------------------------------------*
25 .*---------------------------------------------------------------------*
27 REV DATE PREPARED CHANGE
28 __________________________________________________
29 PA1 2011-11-16 ETHBAAT New document for TITAN R8I
31 .*---------------------------------------------------------------------*
33 .*---------------------------------------------------------------------*
34 The purpose of this Test Description is to define and describe the function
35 test activity for the IPv6 functionality of the TTCN-3 executor including
36 the relevant configuration options and the configuration file parser, the
37 component create argument setting.
38 :nl.SA-1/x: Unknown object.
39 :p.The specification of the test cases can be found in this document.
40 .*---------------------------------------------------------------------*
42 .*---------------------------------------------------------------------*
43 .*---------------------------------------------------------------------*
45 .*---------------------------------------------------------------------*
46 No specific hardware requirement.
47 .*---------------------------------------------------------------------*
49 .*---------------------------------------------------------------------*
50 Tests shall be carried out on the following platforms:
52 :li D='1.'.Solaris 8 (Sun OS 5.8) (gcc 3.0.4)
53 :li D='2.'.SUSE Linux Enterprise server 8 (2.4.19-4GB) (gcc 3.2)
54 :li D='3.'.CYGWIN_NT-5.0 (Cygwin DLL: 1.5.12) on Windows 2000 (gcc 3.3.3)
56 .*---------------------------------------------------------------------*
58 .*---------------------------------------------------------------------*
59 The test environment had been setup in CVS. The tester program is stored in:
60 :nl.TTCNv3/function_test/Tools/SAtester.pl
61 :nl.Test cases are stored with extension .script in the directory:
62 :nl.TTCNv3/function_test/Semantic_Analyser/
63 .*---------------------------------------------------------------------*
65 .*---------------------------------------------------------------------*
66 Install proper TITAN binaries on the used platforms and make sure that
67 your environment settings are correct:
69 :li D='1.'.TTCN3_DIR is set
70 :li D='2.'.$TTCN3_DIR/bin is added to the PATH variable
71 :li D='3.'.$TTCN3_DIR/lib is added to the LD_LIBRARY_PATH variable
72 :li D='4.'.Perl 5.6.0 or higher is available on the platform
73 :li D='5.'.Create a symlink to your Perl binary into the directory where the
74 test cases are stored:
75 :nl.ln -s <your Perl> perl
77 .*---------------------------------------------------------------------*
79 .*---------------------------------------------------------------------*
80 A tester program had been written in Perl especially for the Semantic Analyser
81 tests. For the list of command line parameters, type 'SAtester.pl -help', for the
82 complete documentation, type 'SAtester.pl -doc'.
83 :p.Test cases are specified in the Test Description documents in EDML format.
84 The tester program parses these files and generates the TTCN-3/ASN.1 modules, then
85 calls the compiler to compile them. The result printout is then matched against
86 different patterns to be able to set the verdict. Test cases contain not only
87 the source modules, but the patterns as well.
88 :p.The tester program allows one-by-one execution of test cases and batched
90 :p.NOTE: the tester program requires Perl 5.6.0 or higher.
91 .*---------------------------------------------------------------------*
93 .*---------------------------------------------------------------------*
94 Ref [1]: SA-1/x: Unknown object
95 :nl.Explanation: all unknown objects shall be detected by SA.
96 .*---------------------------------------------------------------------*
98 .*---------------------------------------------------------------------*
99 Test cases are based on TTCN-3 BNF according to the followings:
101 :li D='1.'.For each 'basic' definition a complete coverage is done (e.g. for
102 expressions, assignments, etc.). 'Basic' means that the definition is
103 used in several places.
104 :li D='2.'.For each definition a complete coverage is done, except for basic
105 definitions, in which case only 1-2 examples are covered, not the
106 whole basic definition. This is to avoid testing all possible subcases
107 for all possible places it may appear.
108 :nl.NOTE: a complete coverage means that all occurances are tested where
109 the specific definition may occur. This is however not complete. Only
110 one occurance is tested for each construct.
111 :li D='3.'.Test case names are contsructed following the path in the BNF in TTCN-3
112 and following the possible notations/subtyping in ASN.1.
114 .*---------------------------------------------------------------------*
116 .*---------------------------------------------------------------------*
117 The following structures are not covered:
121 .*---------------------------------------------------------------------*
122 :h1.REQUIREMENT-BASED TESTS
123 .*---------------------------------------------------------------------*
124 .*---------------------------------------------------------------------*
125 :h2.Testing IPv6 feature
126 .*---------------------------------------------------------------------*
127 .*---------------------------------------------------------------------*
128 :h3. Existing named address for mctr, and for component host address
129 .*---------------------------------------------------------------------*
132 <TC - Existing named address for mctr, and for component host address >
136 <MODULE TTCN A A.ttcn>
139 charstring tsp_ipaddr1:="localhost"
140 charstring tsp_port1 := "9999"
143 type component MTC {}
144 type component C1_CT {}
146 function f_c1_behavior() runs on C1_CT {
151 testcase tc_1() runs on MTC {
152 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
153 vc_1.start(f_c1_behavior());
164 <MODULE CFG Temp Temp.cfg>
167 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
169 mctr_ipaddr := tcclab1
171 tsp_ipaddr1 := $mctr_ipaddr
175 LocalAddress := ${ mctr_ipaddr, hostname}
178 Overall verdict: pass
184 .*---------------------------------------------------------------------*
185 :h3. Existing IPv4 address for mctr, and not existing name for component address
186 .*---------------------------------------------------------------------*
189 <TC - Existing IPv4 address for mctr, and not existing name for component address >
193 <MODULE TTCN A A.ttcn>
196 charstring tsp_ipaddr1:="localhost"
197 charstring tsp_port1 := "9999"
200 type component MTC {}
201 type component C1_CT {}
203 function f_c1_behavior() runs on C1_CT {
204 log(">>>f_c1_behavior started<<<");
209 testcase tc_1() runs on MTC {
210 var C1_CT vc_1 := C1_CT.create("First","localhome");
211 vc_1.start(f_c1_behavior());
222 <MODULE CFG Temp Temp.cfg>
225 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
229 LocalAddress := tcclab1
234 Dynamic test case error:
239 .*---------------------------------------------------------------------*
240 :h3. IPv4 address for mctr, and for component address (eth0)
241 .*---------------------------------------------------------------------*
244 <TC - IPv4 address for mctr, and for component host address (eth0) >
248 <MODULE TTCN A A.ttcn>
251 charstring tsp_ipaddr1:="localhost"
252 charstring tsp_port1 := "9999"
255 type component MTC {}
256 type component C1_CT {}
258 function f_c1_behavior() runs on C1_CT {
259 log(">>>f_c1_behavior started<<<");
264 testcase tc_1() runs on MTC {
265 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
266 vc_1.start(f_c1_behavior());
277 <MODULE CFG Temp Temp.cfg>
280 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
282 mctr_ipaddr := "172.31.21.7"
284 tsp_ipaddr1 := $mctr_ipaddr
288 LocalAddress := ${ mctr_ipaddr, hostname}
293 Overall verdict: pass
299 .*---------------------------------------------------------------------*
300 :h3. IPv4 address for mctr, and for component address (eth2)
301 .*---------------------------------------------------------------------*
304 <TC - IPv4 address for mctr, and for component host address (eth2) >
308 <MODULE TTCN A A.ttcn>
311 charstring tsp_ipaddr1:="localhost"
312 charstring tsp_port1 := "9999"
315 type component MTC {}
316 type component C1_CT {}
318 function f_c1_behavior() runs on C1_CT {
319 log(">>>f_c1_behavior started<<<");
324 testcase tc_1() runs on MTC {
325 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
326 vc_1.start(f_c1_behavior());
337 <MODULE CFG Temp Temp.cfg>
340 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
342 mctr_ipaddr := "192.168.1.1" //eth2
344 tsp_ipaddr1 := $mctr_ipaddr
348 LocalAddress := ${ mctr_ipaddr, hostname}
353 Overall verdict: pass
359 .*---------------------------------------------------------------------*
360 :h3. IPv4 address for mctr, and brief IPv6 address for component address(eth0, Scope:Global)
361 .*---------------------------------------------------------------------*
364 <TC - IPv4 address for mctr, and brief IPv6 address for component address (eth0, Scope:Global)>
368 <MODULE TTCN A A.ttcn>
371 charstring tsp_ipaddr1:="localhost"
372 charstring tsp_port1 := "9999"
375 type component MTC {}
376 type component C1_CT {}
378 function f_c1_behavior() runs on C1_CT {
379 log(">>>f_c1_behavior started<<<");
384 testcase tc_1() runs on MTC {
385 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
386 vc_1.start(f_c1_behavior());
397 <MODULE CFG Temp Temp.cfg>
400 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
402 tsp_ipaddr1 := "fd0a:f452:f524::7"
407 LocalAddress := 172.31.21.7
412 No suitable host was found to create a new PTC
419 .*---------------------------------------------------------------------*
420 :h3. IPv4 address for mctr, and brief IPv6 address for component address (eth0, Scope:Link)
421 .*---------------------------------------------------------------------*
424 <TC - IPv4 address for mctr, and brief IPv6 address for component address (eth0, Scope:Link) >
428 <MODULE TTCN A A.ttcn>
431 charstring tsp_ipaddr1:="localhost"
432 charstring tsp_port1 := "9999"
435 type component MTC {}
436 type component C1_CT {}
438 function f_c1_behavior() runs on C1_CT {
439 log(">>>f_c1_behavior started<<<");
444 testcase tc_1() runs on MTC {
445 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
446 vc_1.start(f_c1_behavior());
457 <MODULE CFG Temp Temp.cfg>
460 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
462 tsp_ipaddr1 := "fe80::215:17ff:fe48:23d0%eth0" //Scope:Link
466 LocalAddress := 172.31.21.7
471 No suitable host was found to create a new PTC
477 .*---------------------------------------------------------------------*
478 :h3. IPv4 address for mctr, and IPv6 address of longer form for component address (eth0, Scope:Global)
479 .*---------------------------------------------------------------------*
482 <TC - IPv4 address for mctr, and IPv6 address of longer form for component address (eth0, Scope:Global) >
486 <MODULE TTCN A A.ttcn>
489 charstring tsp_ipaddr1:="localhost"
490 charstring tsp_port1 := "9999"
493 type component MTC {}
494 type component C1_CT {}
496 function f_c1_behavior() runs on C1_CT {
497 log(">>>f_c1_behavior started<<<");
502 testcase tc_1() runs on MTC {
503 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
504 vc_1.start(f_c1_behavior());
515 <MODULE CFG Temp Temp.cfg>
518 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
520 tsp_ipaddr1 := "fd0a:f452:f524:0:0:0:0:7"
524 LocalAddress := 172.31.21.7
529 No suitable host was found to create a new PTC
536 .*---------------------------------------------------------------------*
537 :h3. IPv4 address for mctr, and IPv6 address of longest form for component address (eth0, Scope:Global)
538 .*---------------------------------------------------------------------*
541 <TC - IPv4 address for mctr, and IPv6 address of longest form for component address (eth0, Scope:Global)>
545 <MODULE TTCN A A.ttcn>
548 charstring tsp_ipaddr1:="localhost"
549 charstring tsp_port1 := "9999"
552 type component MTC {}
553 type component C1_CT {}
555 function f_c1_behavior() runs on C1_CT {
556 log(">>>f_c1_behavior started<<<");
561 testcase tc_1() runs on MTC {
562 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
563 vc_1.start(f_c1_behavior());
574 <MODULE CFG Temp Temp.cfg>
577 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
579 mctr_ipaddr := "fd0a:f452:f524:0000:0000:0000:0000:0007"
581 tsp_ipaddr1 := $mctr_ipaddr
585 LocalAddress := 172.31.21.7
590 No suitable host was found to create a new PTC
596 .*---------------------------------------------------------------------*
597 :h3. IPv6 address of short form, no network length, syntax error for mctr 1.
598 .*---------------------------------------------------------------------*
601 <TC - IPv6 address of short form, no network length, syntax error for mctr 1. >
605 <MODULE TTCN A A.ttcn>
608 type component MTC {}
610 testcase tc_1() runs on MTC {
621 <MODULE CFG Temp Temp.cfg>
624 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
629 LocalAddress := BUBU::7
634 Error was found in the configuration file. Exiting
640 .*---------------------------------------------------------------------*
641 :h3. IPv6 address of short form, no network length, syntax error for mctr 2.
642 .*---------------------------------------------------------------------*
645 <TC - IPv6 address of short form, no network length, syntax error for mctr 2 >
649 <MODULE TTCN A A.ttcn>
652 type component MTC {}
654 testcase tc_1() runs on MTC {
665 <MODULE CFG Temp Temp.cfg>
668 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
673 LocalAddress := FD0A:f452:f524:::7
683 .*---------------------------------------------------------------------*
684 :h3. IPv6 address of short form, no network length, for mctr (eth0, Scope: Global)
685 .*---------------------------------------------------------------------*
688 <TC - IPv6 address of short form, no network length, for mctr (eth0, Scope: Global)>
692 <MODULE TTCN A A.ttcn>
695 type component MTC {}
697 testcase tc_1() runs on MTC {
708 <MODULE CFG Temp Temp.cfg>
711 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
716 LocalAddress := fd0a:f452:f524::7
721 Overall verdict: pass
726 .*---------------------------------------------------------------------*
727 :h3. IPv6 address of longer form, no network length, for mctr (eth0, Scope: Global)
728 .*---------------------------------------------------------------------*
731 <TC - IPv6 address of longer form, no network length, for mctr (eth0, Scope: Global) >
735 <MODULE TTCN A A.ttcn>
738 type component MTC {}
740 testcase tc_1() runs on MTC {
751 <MODULE CFG Temp Temp.cfg>
754 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
759 LocalAddress := fd0a:f452:f524:0:0:0:0:7
764 Overall verdict: pass
769 .*---------------------------------------------------------------------*
770 :h3. IPv6 address of longest form, no network length, for mctr (eth0, Scope: Global)
771 .*---------------------------------------------------------------------*
774 <TC - IPv6 address of longest form, no network length, for mctr (eth0, Scope: Global)>
778 <MODULE TTCN A A.ttcn>
781 type component MTC {}
783 testcase tc_1() runs on MTC {
794 <MODULE CFG Temp Temp.cfg>
797 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
802 LocalAddress := fd0a:f452:f524:0000:0000:0000:0000:0007
807 Overall verdict: pass
813 .*---------------------------------------------------------------------*
814 :h3. IPv6 address of longest form, no network length, for mctr (eth0, Scope: Global), localhost for created component
815 .*---------------------------------------------------------------------*
818 <TC - IPv6 address of longest form, no network length, for mctr (eth0, Scope: Global), localhost for created component>
822 <MODULE TTCN A A.ttcn>
825 charstring tsp_ipaddr1:="localhost"
826 charstring tsp_port1 := "9999"
828 type component MTC {}
829 type component C1_CT {}
831 function f_c1_behavior() runs on C1_CT {
832 log(">>>f_c1_behavior started<<<");
837 testcase tc_1() runs on MTC {
838 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
839 vc_1.start(f_c1_behavior());
846 <MODULE CFG Temp Temp.cfg>
849 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
854 LocalAddress := fd0a:f452:f524:0000:0000:0000:0000:0007
859 No suitable host was found to create a new PTC
864 .*---------------------------------------------------------------------*
865 :h3. IPv6 address in hostname macro (eth0, Scope: Global)
866 .*---------------------------------------------------------------------*
869 <TC - IPv6 address in hostname macro (eth0, Scope: Global)>
873 <MODULE TTCN A A.ttcn>
876 type component MTC {}
878 testcase tc_1() runs on MTC {
889 <MODULE CFG Temp Temp.cfg>
892 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
894 mctr_ipaddr := fd0a:f452:f524::7 //eth0, Scope:Global
898 LocalAddress := ${ mctr_ipaddr, hostname}
903 Overall verdict: pass
909 .*---------------------------------------------------------------------*
910 :h3. IPv6 address of short form, no network length, for mctr (eth0, Scope: Link)
911 .*---------------------------------------------------------------------*
914 <TC - IPv6 address of short form, no network length, for mctr (eth0, Scope: Link)>
918 <MODULE TTCN A A.ttcn>
921 type component MTC {}
923 testcase tc_1() runs on MTC {
934 <MODULE CFG Temp Temp.cfg>
937 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
942 LocalAddress := fe80::215:17ff:fe48:23d0%eth0
947 Overall verdict: pass
952 .*---------------------------------------------------------------------*
953 :h3. IPv6 address of longer form, no network length, for mctr (eth0, Scope: Link)
954 .*---------------------------------------------------------------------*
957 <TC - IPv6 address of longer form, no network length, for mctr (eth0, Scope: Link)>
961 <MODULE TTCN A A.ttcn>
964 type component MTC {}
966 testcase tc_1() runs on MTC {
977 <MODULE CFG Temp Temp.cfg>
980 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
985 LocalAddress := fe80:0:0:0:215:17ff:fe48:23d0%eth0
990 Overall verdict: pass
996 .*---------------------------------------------------------------------*
997 :h3. IPv6 address of longest form, no network length, for mctr (eth0, Scope: Link)
998 .*---------------------------------------------------------------------*
1001 <TC - IPv6 address of longest form, no network length, for mctr (eth0, Scope: Link)>
1005 <MODULE TTCN A A.ttcn>
1008 type component MTC {}
1010 testcase tc_1() runs on MTC {
1021 <MODULE CFG Temp Temp.cfg>
1024 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
1029 LocalAddress := fe80:0000:0000:0000:0215:17ff:fe48:23d0%eth0
1034 Overall verdict: pass
1039 .*---------------------------------------------------------------------*
1040 :h3. IPv6 address of brief format for mctr, and for component address (eth0, Scope:Link)
1041 .*---------------------------------------------------------------------*
1044 <TC - IPv6 address of brief format for mctr, and for component address (eth0, Scope:Link) >
1048 <MODULE TTCN A A.ttcn>
1051 charstring tsp_ipaddr1:="localhost"
1052 charstring tsp_port1 := "9999"
1055 type component MTC {}
1056 type component C1_CT {}
1058 function f_c1_behavior() runs on C1_CT {
1059 log(">>>f_c1_behavior started<<<");
1064 testcase tc_1() runs on MTC {
1065 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
1066 vc_1.start(f_c1_behavior());
1077 <MODULE CFG Temp Temp.cfg>
1080 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
1082 tsp_ipaddr1 := "fe80::215:17ff:fe48:23d0%eth0"
1086 LocalAddress := fe80::215:17ff:fe48:23d0%eth0
1091 Overall verdict: pass
1097 .*---------------------------------------------------------------------*
1098 :h3. IPv6 address of brief format for mctr, and name for component host address (eth0, Scope:Global)
1099 .*---------------------------------------------------------------------*
1102 <TC - IPv6 address of brief format for mctr, and name for component host address (eth0, Scope:Global) >
1106 <MODULE TTCN A A.ttcn>
1109 charstring tsp_ipaddr1:="localhost"
1110 charstring tsp_port1 := "9999"
1113 type component MTC {}
1114 type component C1_CT {}
1116 function f_c1_behavior() runs on C1_CT {
1121 testcase tc_1() runs on MTC {
1122 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
1123 vc_1.start(f_c1_behavior());
1134 <MODULE CFG Temp Temp.cfg>
1137 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
1139 tsp_ipaddr1 := "tcclab1"
1143 LocalAddress := fd0a:f452:f524::7
1146 Overall verdict: pass
1151 .*---------------------------------------------------------------------*
1152 :h3. IPv6 address of brief format for mctr, and full name for component host address (eth0, Scope:Global)
1153 .*---------------------------------------------------------------------*
1156 <TC - IPv6 address of brief format for mctr, and full name for component host address (eth0, Scope:Global) >
1160 <MODULE TTCN A A.ttcn>
1163 charstring tsp_ipaddr1:="localhost"
1164 charstring tsp_port1 := "9999"
1167 type component MTC {}
1168 type component C1_CT {}
1170 function f_c1_behavior() runs on C1_CT {
1175 testcase tc_1() runs on MTC {
1176 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
1177 vc_1.start(f_c1_behavior());
1188 <MODULE CFG Temp Temp.cfg>
1191 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
1193 tsp_ipaddr1 := "tcclab1.tccnet.eth.ericsson.se"
1197 LocalAddress := fd0a:f452:f524::7
1200 Overall verdict: pass
1206 .*---------------------------------------------------------------------*
1207 :h3. IPv6 address of brief format for mctr, and name for component host address (eth0, Scope:Link Local)
1208 .*---------------------------------------------------------------------*
1211 <TC - IPv6 address of brief format for mctr, and name for component host address (eth0, Scope:Link Local) >
1215 <MODULE TTCN A A.ttcn>
1218 charstring tsp_ipaddr1:="localhost"
1219 charstring tsp_port1 := "9999"
1222 type component MTC {}
1223 type component C1_CT {}
1225 function f_c1_behavior() runs on C1_CT {
1230 testcase tc_1() runs on MTC {
1231 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
1232 vc_1.start(f_c1_behavior());
1243 <MODULE CFG Temp Temp.cfg>
1246 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
1248 tsp_ipaddr1 := "tcclab1"
1252 LocalAddress := fe80::215:17ff:fe48:23d0%eth0
1255 Overall verdict: pass
1261 .*---------------------------------------------------------------------*
1262 :h3. IPv6 address for mctr, and brief IPv6 address for component address(eth0, Scope:Global)
1263 .*---------------------------------------------------------------------*
1266 <TC - IPv6 address for mctr, and brief IPv6 address for component address (eth0, Scope:Global)>
1270 <MODULE TTCN A A.ttcn>
1273 charstring tsp_ipaddr1:="localhost"
1274 charstring tsp_port1 := "9999"
1277 type component MTC {}
1278 type component C1_CT {}
1280 function f_c1_behavior() runs on C1_CT {
1281 log(">>>f_c1_behavior started<<<");
1286 testcase tc_1() runs on MTC {
1287 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
1288 vc_1.start(f_c1_behavior());
1299 <MODULE CFG Temp Temp.cfg>
1302 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
1304 tsp_ipaddr1 := "fd0a:f452:f524::7"
1309 LocalAddress := fd0a:f452:f524::7
1314 Overall verdict: pass
1320 .*---------------------------------------------------------------------*
1321 :h3. IPv6 address for mctr, and longer IPv6 address for component address(eth0, Scope:Global)
1322 .*---------------------------------------------------------------------*
1325 <TC - IPv6 address for mctr, and longer IPv6 address for component address (eth0, Scope:Global)>
1329 <MODULE TTCN A A.ttcn>
1332 charstring tsp_ipaddr1:="localhost"
1333 charstring tsp_port1 := "9999"
1336 type component MTC {}
1337 type component C1_CT {}
1339 function f_c1_behavior() runs on C1_CT {
1340 log(">>>f_c1_behavior started<<<");
1345 testcase tc_1() runs on MTC {
1346 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
1347 vc_1.start(f_c1_behavior());
1358 <MODULE CFG Temp Temp.cfg>
1361 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
1363 tsp_ipaddr1 := "fd0a:f452:f524:0:0:0:0:7"
1368 LocalAddress := fd0a:f452:f524:0:0:0:0:7
1373 Overall verdict: pass
1379 .*---------------------------------------------------------------------*
1380 :h3. IPv6 address for mctr, and longest IPv6 address for component address(eth0, Scope:Global)
1381 .*---------------------------------------------------------------------*
1384 <TC - IPv6 address for mctr, and longest IPv6 address for component address (eth0, Scope:Global)>
1388 <MODULE TTCN A A.ttcn>
1391 charstring tsp_ipaddr1:="localhost"
1392 charstring tsp_port1 := "9999"
1395 type component MTC {}
1396 type component C1_CT {}
1398 function f_c1_behavior() runs on C1_CT {
1399 log(">>>f_c1_behavior started<<<");
1404 testcase tc_1() runs on MTC {
1405 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
1406 vc_1.start(f_c1_behavior());
1417 <MODULE CFG Temp Temp.cfg>
1420 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
1422 tsp_ipaddr1 := "fd0a:f452:f524:0000:0000:0000:0000:0007"
1427 LocalAddress := fd0a:f452:f524::7
1432 Overall verdict: pass
1439 .*---------------------------------------------------------------------*
1440 :h3. IPv6 address for mctr, and brief IPv6 address for component address(eth1, Scope:Global)
1441 .*---------------------------------------------------------------------*
1444 <TC - IPv6 address for mctr, and brief IPv6 address for component address (eth1, Scope:Global)>
1448 <MODULE TTCN A A.ttcn>
1451 charstring tsp_ipaddr1:="localhost"
1452 charstring tsp_port1 := "9999"
1455 type component MTC {}
1456 type component C1_CT {}
1458 function f_c1_behavior() runs on C1_CT {
1459 log(">>>f_c1_behavior started<<<");
1464 testcase tc_1() runs on MTC {
1465 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
1466 vc_1.start(f_c1_behavior());
1477 <MODULE CFG Temp Temp.cfg>
1480 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
1482 tsp_ipaddr1 := "fdb2:30de:34bd::7" //eth1
1487 LocalAddress := fdb2:30de:34bd::7 //eth1
1492 Overall verdict: pass
1499 .*---------------------------------------------------------------------*
1500 :h3. IPv6 address for mctr, and longer IPv6 address for component address (eth1, Scope:Global)
1501 .*---------------------------------------------------------------------*
1504 <TC - IPv6 address for mctr, and longer IPv6 address for component address (eth1, Scope:Global)>
1508 <MODULE TTCN A A.ttcn>
1511 charstring tsp_ipaddr1:="localhost"
1512 charstring tsp_port1 := "9999"
1515 type component MTC {}
1516 type component C1_CT {}
1518 function f_c1_behavior() runs on C1_CT {
1519 log(">>>f_c1_behavior started<<<");
1524 testcase tc_1() runs on MTC {
1525 var C1_CT vc_1 := C1_CT.create("First",tsp_ipaddr1);
1526 vc_1.start(f_c1_behavior());
1537 <MODULE CFG Temp Temp.cfg>
1540 ConsoleMask := WARNING | ERROR | TESTCASE | STATISTICS
1542 tsp_ipaddr1 := "FD0a:f452:f524:0:0:0:0:07"
1547 LocalAddress := fd0a:f452:f524::7
1552 Overall verdict: pass