| /////////////////////////////////////////////////////////////////////////////// |
| // // |
| // Copyright Test Competence Center (TCC) ETH 2009 // |
| // // |
| // The copyright to the computer program(s) herein is the property of TCC. // |
| // The program(s) may be used and/or copied only with the written permission // |
| // of TCC or in accordance with the terms and conditions stipulated in the // |
| // agreement/contract under which the program(s) have been supplied // |
| /////////////////////////////////////////////////////////////////////////////// |
| // |
| // File: MBT_Qtronic_Demo.cfg |
| // Rev: <RnXnn> |
| // Prodnr: CNL 113 659 |
| // Updated: 2010-10-01 |
| // Contact: http://ttcn.ericsson.se |
| /////////////////////////////////////////////////////////////////////////////// |
| [DEFINE] |
| //num_entities := 1 |
| //Number of simulated entities |
| |
| [LOGGING] |
| ConsoleMask := TTCN_ERROR | TTCN_STATISTICS | TTCN_ACTION | TTCN_WARNING |
| #FileMask := LOG_ALL | TTCN_DEBUG | TTCN_USER | TTCN_PORTEVENT |
| FileMask := TTCN_USER | TTCN_ERROR | TTCN_WARNING |
| #FileMask := ERROR | STATISTICS | PARALLEL | ACTION | WARNING |
| #LogFile := "%l/%e.%h-%t%r.%s" |
| LogEntityName := Yes |
| LogEventTypes := Yes//Subcategories; |
| SourceInfoFormat := Stack |
| |
| [TESTPORT_PARAMETERS] |
| //*.*.debug := "YES"; |
| |
| [MODULE_PARAMETERS] |
| |
| |
| ///////////////////////////////////////////////// |
| // Logging settings |
| ///////////////////////////////////////////////// |
| tsp_Mapper_enableDebug := false; |
| |
| tsp_debug_EPTF_SchedulerFunctions := false; |
| tsp_debugVerbose_EPTF_SchedulerFunctions := false; |
| |
| tsp_EPTF_LGenBaseDebugTraffic := false; |
| tsp_EPTF_LGenBaseDebug := false; |
| |
| tsp_EPTF_MBT_LGen_debug := false; |
| |
| tsp_EPTF_GTP_loggingEnable := false; |
| tsp_EPTF_GTP_Transport_loggingDebug := false; |
| tsp_EPTF_GTP_Transport_loggingIO := true; |
| |
| tsp_EPTF_LANL2_loggingEnable := false; |
| tsp_EPTF_LANL2_Transport_loggingEnable := false; |
| |
| ///////////////////////////////////////////////// |
| // GTP settings |
| ///////////////////////////////////////////////// |
| #tsp_EPTF_GTP_localIP := "127.0.0.1"; |
| tsp_EPTF_GTP_localIP := "10.160.46.161"; |
| tsp_EPTF_GTP_localControlPort := 2123; |
| tsp_EPTF_GTP_localDataPort := 2152; |
| |
| #tsp_EPTF_GTP_remoteIP := "127.0.0.1"; |
| tsp_EPTF_GTP_remoteIP := "10.161.46.161"; |
| tsp_EPTF_GTP_remoteControlPort := 2123; |
| tsp_EPTF_GTP_remoteDataPort := 2152; |
| |
| ///////////////////////////////////////////////// |
| // LANL2 settings |
| ///////////////////////////////////////////////// |
| tsp_EPTF_LANL2_connectionInfoList := |
| { |
| { |
| locHost := "10.160.46.1", |
| locPort := 40000, |
| remHost := "20.46.0.2", |
| remPort := 50000, |
| proto := udp, |
| payload := '00000000'O |
| } |
| } |
| |
| tsp_EPTF_LANL2_Transport_srcMacAddr := '18a9053b9b32'O |
| tsp_EPTF_LANL2_Transport_dstMacAddr := '001db55bcff0'O //'002159b2dff0'O |
| |
| ///////////////////////////////////////////////// |
| // TELNET settings |
| ///////////////////////////////////////////////// |
| tsp_EPTF_TELNET_remoteHost:="10.132.1.220" |
| tsp_EPTF_TELNET_remotePort := 23; |
| tsp_EPTF_TELNET_localHost:="10.132.250.26" |
| tsp_EPTF_TELNET_localPort:= 60201 |
| |
| tsp_EPTF_TELNET_loggingEnable := true; |
| tsp_EPTF_TELNET_Transport_loggingEnable := true; |
| |
| tsp_EPTF_TELNET_Transport_loginSkipped := false |
| tsp_EPTF_TELNET_Transport_userName := "erv" |
| tsp_EPTF_TELNET_Transport_password := "ggsn" |
| |
| //tsp_EPTF_TELNET_Transport_PlayListDB := {{{msg:="echo me",resp:=omit}}}; |
| tsp_EPTF_TELNET_PlayListDB := {{ |
| {msg:="show chassis hardware\n",resp:="*j20-46-[01][>] "} |
| //,{msg:="op tc_2589_33_Dynamic_filter_rules_over_Gx_shall_be_ignored\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="edit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="show services ggsn apn | match ""apn.*.com {""\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="exit\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="edit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="set services ggsn apn apn1.com pdp-context creation blocked\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="commit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="exit\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="edit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="set services ggsn apn apn2.com pdp-context creation blocked\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="commit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="exit\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="edit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="set services ggsn apn apn3.com pdp-context creation blocked\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="commit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="exit\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="edit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="set services ggsn apn apn4.com pdp-context creation blocked\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="commit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="exit\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="edit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="set services ggsn apn apn5.com pdp-context creation blocked\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="commit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="exit\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="edit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="show services ggsn apn | match ""apn.*.com {""\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="exit\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="request services ggsn pdp terminate apn apn1.com\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="request services ggsn pdp terminate apn apn2.com\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="request services ggsn pdp terminate apn apn3.com\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="request services ggsn pdp terminate apn apn4.com\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="request services ggsn pdp terminate apn apn5.com\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="edit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="load override ft-j20-46.ttcn.mpg.conf\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="commit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="exit\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="edit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="set services ggsn apn apn1.com pdp-context creation blocked\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="commit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="exit\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="edit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="delete services ggsn apn apn1.com pdp-context pdp-type\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="delete services ggsn apn apn1.com pdp-context ipv6-address\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="delete services ggsn apn apn1.com pdp-context ipv6-address-allocation\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="commit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="exit\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="edit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="set services ggsn apn apn1.com pdp-context address-allocation local-pool\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="commit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="exit\n",resp:="*j20-46-[01][>] "} |
| ,{msg:="edit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="set services ggsn apn apn1.com pdp-context creation unblocked\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="commit\n",resp:="*j20-46-[01][#] "} |
| ,{msg:="exit\n",resp:="*j20-46-[01][>] "} |
| |
| }}; |
| tsp_EPTF_TELNET_Transport_PromptList := {"etibben","j20-46-[01][>#%]"} |
| |
| [TESTPORT_PARAMETERS] |
| *.IPL4_PCO.debug := "NO" |
| *.LANL2_PCO.eth_interface_name := "eth1.2301"//eth1" |
| *.LANL2_PCO.promiscuous_mode := "1" |
| *.LANL2_PCO.packet_filter := "ip or ip6 or arp" |
| |
| [EXECUTE] |
| MBT_Qtronic_Testcases.control |
| #MBT_Qtronic_Testcases.tc_Test_Case_1 |
| #MBT_Qtronic_Testcases.tc_Test_Case_2 |
| #MBT_Qtronic_Testcases.tc_Test_Case_3 |
| #MBT_Qtronic_Testcases.tc_Test_Case_4 |
| #MBT_Qtronic_Testcases.tc_Test_Case_5 |
| #MBT_Qtronic_Testcases.tc_Test_Case_6 |
| #MBT_Qtronic_Testcases.tc_Test_Case_7 |
| #MBT_Qtronic_Testcases.tc_Test_Case_8 |
| #MBT_Qtronic_Testcases.tc_Test_Case_9 |
| #MBT_Qtronic_Testcases.tc_Test_Case_10 |