/* * @author STF 370 * @version $Id: LibIot_PIXITS.ttcn 277 2009-06-16 15:06:42Z pintar $ * @desc This module provides PIXIT parameters which need to be * changeable within validation */ module LibIot_PIXITS { import from LibIot_TypesAndValues { type IOTExecMode, IotVerdictType, CaptureMode, RecordMode, FileList, TimeOffset, EutInterfaceInfoList, ProtocolFilter, IpAddress, PortNumber, ProductList, InterfaceAvailableList; } /** * @desc PIXIT defines which verdict (E2E or conformance)is to be kept track of with the TTCN-3 verdict. * Note that the verdict not chosen will be only available in log statements. */ modulepar IotVerdictType PX_TTCN3_VERDICT := e_conformance; /** * * @desc Maximum time limit used by monitor component for waiting for expected incoming messages */ modulepar float PX_MAX_MSG_WAIT := 10.0; /** * * @desc Example of module parameter based entry of EUT interface information for all products particpating in an interoperability event */ modulepar ProductList PX_PRODUCTS := { { // productIndex = 0 productName := "Ericsson", monitorInterfaces := { { interfaceName := "Gm", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.ericsson.etsi", IpAddress := "192.86.1.97", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.2", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.3", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.37", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.38", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.66", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.67", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.98", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.99", portNumbers := {5060} } } } }, { interfaceName := "Ic", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.ericsson.etsi", IpAddress := "192.86.1.97", portNumbers := {5060} }, { domainName := "icscf.ericsson.etsi", IpAddress := "192.86.1.98", portNumbers := {5060} }, { domainName := "scscf.ericsson.etsi", IpAddress := "192.86.1.99", portNumbers := {5060} } } } }, { interfaceName := "Isc", interfaceInfo := { IpInterfaceInfo := { { domainName := "telephonyas.ericsson.etsi", IpAddress := "192.86.1.109", portNumbers := {} }, { domainName := "presenceas.ericsson.etsi", IpAddress := "192.86.1.106", portNumbers := {} }, { domainName := "mtasout.ericsson.etsi", IpAddress := "0.0.0.0", portNumbers := {} }, { domainName := "scscf.ericsson.etsi", IpAddress := "192.86.1.99", portNumbers := {5060} } } } } } }, { // productIndex = 1 productName := "Thomson", monitorInterfaces := { { interfaceName := "Gm", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.thomson.etsi", IpAddress := "10.10.2.10", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.8", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.9", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.41", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.42", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.70", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.71", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.106", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.107", portNumbers := {5060} } } } }, { interfaceName := "Ic", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.thomson.etsi", IpAddress := "10.10.2.10", portNumbers := {5060} }, { domainName := "icscf.thomson.etsi", IpAddress := "10.10.2.10", portNumbers := {5180,5185} }, { domainName := "scscf.thomson.etsi", IpAddress := "10.10.2.10", portNumbers := {5185,5187,5188,5189} } } } }, { interfaceName := "Isc", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.thomson.etsi", IpAddress := "10.10.2.10", portNumbers := {5060} }, { domainName := "telephonyas.thomson.net", IpAddress := "10.10.2.20", portNumbers := {5076} } } } } } }, { // productIndex = 2 productName := "NSN", monitorInterfaces := { { interfaceName := "Gm", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf-gm.nsn.etsi", IpAddress := "10.10.1.99", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.16", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.17", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.39", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.40", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.68", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.69", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.100", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.101", portNumbers := {5060} } } } }, { interfaceName := "Ic", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf-mw.nsn.etsi", IpAddress := "10.10.1.67", portNumbers := {5070} }, { domainName := "icscf.nsn.etsi", IpAddress := "10.10.1.67", portNumbers := {5080} }, { domainName := "scscf.nsn.etsi", IpAddress := "10.10.1.67", portNumbers := {5090} }, { domainName := "pcscf-mw.nsn.etsi", IpAddress := "10.10.1.67", portNumbers := {5070} } } } }, { interfaceName := "Isc", interfaceInfo := { IpInterfaceInfo := { { domainName := "as.nsn.etsi", IpAddress := "0.0.0.0", portNumbers := {5060} } } } } } }, { // productIndex = 3 productName := "Italtel", monitorInterfaces := { { interfaceName := "Gm", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.italtel.net", IpAddress := "172.31.14.6", portNumbers := {5060} } } } }, { interfaceName := "Ic", interfaceInfo := { IpInterfaceInfo := { { domainName := "icscf.italtel.net", IpAddress := "172.31.14.2", portNumbers := {5160} }, { domainName := "scscf.italtel.net", IpAddress := "172.31.14.10", portNumbers := {5160} } } } }, { interfaceName := "Isc", interfaceInfo := { IpInterfaceInfo := { { domainName := "as.italtel.net", IpAddress := "172.31.14.6", portNumbers := {5060} } } } } } }, { // productIndex = 4 productName := "EXFO", monitorInterfaces := { { interfaceName := "Gm", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.exfo.net", IpAddress := "172.31.15.3", portNumbers := {5060} } } } }, { interfaceName := "Ic", interfaceInfo := { IpInterfaceInfo := { { domainName := "icscf.exfo.net", IpAddress := "172.31.15.2", portNumbers := {5160} }, { domainName := "scscf.exfo", IpAddress := "172.31.15.4", portNumbers := {5160} } } } }, { interfaceName := "Isc", interfaceInfo := { IpInterfaceInfo := { { domainName := "as.exfo.net", IpAddress := "172.31.15.6", portNumbers := {5060} } } } } } }, { // productIndex = 5 productName := "Iskratel", monitorInterfaces := { { interfaceName := "Gm", interfaceInfo := { IpInterfaceInfo := { { domainName := "ptech.iskratel.etsi", IpAddress := "10.10.14.14", portNumbers := {5070} }, { domainName := omit, IpAddress := "10.10.20.6", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.7", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.35", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.36", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.74", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.75", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.104", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.105", portNumbers := {5060} } } } }, { interfaceName := "Ic", interfaceInfo := { IpInterfaceInfo := { { domainName := "ptech.iskratel.etsi", IpAddress := "10.10.14.14", portNumbers := {5070} }, { domainName := "itech.iskratel.etsi", IpAddress := "10.10.14.10", portNumbers := {5080} }, { domainName := "stech.iskratel.etsi", IpAddress := "10.10.14.18", portNumbers := {5090} }, { domainName := "stech.iskratel.etsi", IpAddress := "10.10.14.6", portNumbers := {5090} } } } }, { interfaceName := "Isc", interfaceInfo := { IpInterfaceInfo := { { domainName := "astech.iskratel.etsi", IpAddress := "10.10.14.30", portNumbers := {5060} }, { domainName := "stech.iskratel.etsi", IpAddress := "10.10.14.6", portNumbers := {5090} } } } } } }, { // productIndex = 6 productName := "Starrent", monitorInterfaces := { { interfaceName := "Gm", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.starrent.etsi", IpAddress := "10.10.15.10", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.10", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.11", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.43", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.44", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.70", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.71", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.108", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.109", portNumbers := {5060} } } } }, { interfaceName := "Ic", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.starrent.etsi", IpAddress := "10.10.15.10", portNumbers := {5060} }, { domainName := "scscf.starrent.etsi", IpAddress := "10.10.15.11", portNumbers := {5160} } } } }, { interfaceName := "Isc", interfaceInfo := { IpInterfaceInfo := { { domainName := "as.starrent.etsi", IpAddress := "0.0.0.0", portNumbers := {5060} } } } } } }, { // productIndex = 7 productName := "Acme Packet", monitorInterfaces := { { interfaceName := "Gm", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.acme.etsi", IpAddress := "10.10.16.40", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.12", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.13", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.47", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.48", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.78", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.79", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.110", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.111", portNumbers := {5060} } } } }, { interfaceName := "Ic", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.acme.etsi", IpAddress := "10.10.16.40", portNumbers := {5060} } } } }, { interfaceName := "Isc", interfaceInfo := { IpInterfaceInfo := { { domainName := "as.acme.etsi", IpAddress := "0.0.0.0", portNumbers := {5060} } } } } } }, { // productIndex = 8 productName := "Nexcom", monitorInterfaces := { { interfaceName := "Gm", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.nexcom.etsi", IpAddress := "10.10.7.18", portNumbers := {5080, 5055} }, { domainName := omit, IpAddress := "10.10.20.14", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.15", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.49", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.50", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.80", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.81", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.112", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.113", portNumbers := {5060} } } } }, { interfaceName := "Ic", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.nexcom.etsi", IpAddress := "10.10.7.18", portNumbers := {5080, 5055} }, { domainName := "icscf.nexcom.etsi", IpAddress := "10.10.7.18", portNumbers := {5060} }, { domainName := "scscf.nexcom.etsi", IpAddress := "10.10.7.18", portNumbers := {5070} } } } }, { interfaceName := "Isc", interfaceInfo := { IpInterfaceInfo := { { domainName := "as.nexcom.etsi", IpAddress := "0.0.0.0", portNumbers := {5060} } } } } } }, { // productIndex = 9 productName := "Hutaro", monitorInterfaces := { { interfaceName := "Gm", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.hutaro.etsi", IpAddress := "10.10.9.26", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.4", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.5", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.45", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.46", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.72", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.73", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.102", portNumbers := {5060} }, { domainName := omit, IpAddress := "10.10.20.103", portNumbers := {5060} } } } }, { interfaceName := "Ic", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.hutaro.etsi", IpAddress := "10.10.9.26", portNumbers := {5060} }, { domainName := "icscf.hutaro.etsi", IpAddress := "10.10.9.10", portNumbers := {5080} }, { domainName := "scscf.hutaro.etsi", IpAddress := "127.0.0.1", portNumbers := {5090} } } } }, { interfaceName := "Isc", interfaceInfo := { IpInterfaceInfo := { { domainName := "as.hutaro.etsi", IpAddress := "0.0.0.0", portNumbers := {5060} } } } } } }, { // productIndex = 10 productName := "Testing Tech IMS Core", monitorInterfaces := { { interfaceName := "Gm", interfaceInfo := { IpInterfaceInfo := { { domainName := "pcscf.testingtech.com", IpAddress := "127.0.0.1", portNumbers := {5060, 5061} } } } }, { interfaceName := "Ic", interfaceInfo := { IpInterfaceInfo := { { domainName := "icscf.testingtech.com", IpAddress := "127.0.0.1", portNumbers := {5080} }, { domainName := "scscf.testingtech.com", IpAddress := "127.0.0.1", portNumbers := {5090} } } } }, { interfaceName := "Isc", interfaceInfo := { IpInterfaceInfo := { { domainName := "as.testingtech.com", IpAddress := "127.0.0.1", portNumbers := {5060} } } } } } } } /** * * @desc Selects product based on index in PX_PRODCUTS vendor list for EUT_A * */ modulepar integer PX_EUT_A := 6; /** * * @desc Selects product based on index in PX_PRODCUTS vendor list for EUT_B */ modulepar integer PX_EUT_B := 8; /** * * @desc Selects product based on index in PX_PRODCUTS vendor list for EUT_B_B2 */ modulepar integer PX_EUT_B_B2 := 2; /** * * @desc Selects if interfaces should be considered in the evaluation * interfaceName needs to be consistent to AtsImsIot_TestConfiguration */ modulepar InterfaceAvailableList PX_AVAILABLE_INTERFACES := { { interfaceName := "Gm A", available := true }, { interfaceName := "Gm B", available := true }, { interfaceName := "Ic", available := true }, { interfaceName := "Isc A", available := true }, { interfaceName := "Isc B", available := true }, { interfaceName := "User A", available := true }, { interfaceName := "User B", available := true }, { interfaceName := "User A2", available := true }, { interfaceName := "User B2", available := true } } group adapterGeneralConfiguration { /** * * @desc Maximum time limit used by trigger component for waiting for EUT response after command has been sent */ modulepar float PX_EUT_TRIGGER_RESPONSE := 15.0; /** * @desc * In case of offline mode, it defines the path where all sessions's Pcap files are located. */ modulepar charstring PX_IOT_PCAP_SESSIONS_PATH := "c:/Captures/Result/MS2 Wed Afternoon 1"; // Do not forget to upgrade PX_EUT_A and PX_EUT_B /** * @desc * Defines if the record traffic capture mode must be activated or not. */ modulepar RecordMode PX_IOT_RECORD_MODE := e_norecord; /** * @desc * Defines list of the files to merge. */ modulepar FileList PX_IOT_FILE_MERGE_LIST := { "TD_IMS_MESS_0001_19.pcap", "TD_IMS_MESS_0001_20.pcap" }; /** * @desc * Defines the location of the files to merge. */ modulepar charstring PX_IOT_FILE_MERGE_PATH := "."; /** * @desc * Defines the location of the files to merge. */ modulepar charstring PX_IOT_MERGE_TOOL_PATH := "C:\Program Files\WireShark"; /** * @desc * Defines the time stamp offset to start playing record traffic capture file. */ modulepar TimeOffset PX_IOT_TIMESTAMP_OFFSET := { seconds := 0, microseconds := 0 }; /** * @desc * List of the network interfaces to monitor. * Use ';' to separate the interfaces */ modulepar charstring PX_IOT_IFACES := "rpcap://\Device\NPF_{9E2D0FCD-C7F5-401D-B736-F0D4F8814715}"; modulepar EutInterfaceInfoList PX_IOT_EUTs_IFACE_INFO_LIST := { { eut := "User A", ipAddress := "127.0.0.1", portNumber := 6610 }, { eut := "User B", ipAddress := "127.0.0.1", portNumber := 6611 } }; } // group adapterGlobalConfiguration }