diff --git a/ttcn/LibIot/LibIot_TypesAndValues.ttcn b/ttcn/LibIot/LibIot_TypesAndValues.ttcn index 8a97ca9c9100f9b50ec6e86e56d3c0bf15324ba9..9960607f9b94a3534c3347d540995ef83382e9cd 100644 --- a/ttcn/LibIot/LibIot_TypesAndValues.ttcn +++ b/ttcn/LibIot/LibIot_TypesAndValues.ttcn @@ -1,143 +1,146 @@ /* - * @author STF 370 + * @author STF 370 * @version $Id: LibIot_TypesAndValues.ttcn 16 2009-06-16 15:06:42Z pintar $ - * @desc This module provides the (message) types and constants used by the test component + * @desc This module provides the (message) types and constants used by the test component * for Iot tests. */ module LibIot_TypesAndValues { - - import from LibCommon_BasicTypesAndValues {type UInt32, UInt16;} + + import from LibCommon_BasicTypesAndValues {type UInt32, UInt16;} - import from LibCommon_VerdictControl {type FncRetCode;} + import from LibCommon_VerdictControl {type FncRetCode;} - group commonTypes { - type enumerated IOTExecMode { e_realtime, e_offline } + group commonTypes { + type enumerated IOTExecMode { e_realtime, e_offline } - type record Status { - FncRetCode code, - charstring reason optional - } - - } - - group interfaceInformationrelatedTypes { - - /** - * - * @desc IP address type e.g. "127.0.0.1" - */ - type charstring IpAddress; - - /** - * - * @desc Type for port number, e.g. "5060" - */ - type UInt16 PortNumber; - - /** - * - * @desc List of port numbers - */ - type record of PortNumber PortNumberList; - - type record InterfaceAvailable { - charstring interfaceName, - boolean available - } - - type set of InterfaceAvailable InterfaceAvailableList; - - /** - * - * @desc Required information for IP interfaces - * @member domainName the domain name - * @member IpAddress the ip address - * @member portNumbers the list of port numbers where message are received - */ - type record IpInterfaceInfo { - charstring domainName optional, - IpAddress IpAddress, - PortNumberList portNumbers - } - - /** - * - * @desc List of IP interfacees - */ - type record of IpInterfaceInfo IpInterfaceInfoList; - - /** - * - * @desc Collection of different interface types, e.g for IP communications - * This type can be extended with new alternative for other interface types - */ - type union InterfaceInfo { - IpInterfaceInfoList IpInterfaceInfo - } - - /** - * - * @desc Type for representing EUT interface information for monitored logical interfaces - * @member interfaceName Name of logical interface - * @member interfaceInfo Interface information specific to this logical interface - */ - type record MonitorInterfaceInfo { - charstring interfaceName, - InterfaceInfo interfaceInfo - } - - /** - * - * @desc List of monitored interfaces - */ - type record of MonitorInterfaceInfo MonitorInterfaceInfoList; - - /** - * - * @desc List of VxLTE Monitor interfaces - */ + type record Status { + FncRetCode code, + charstring reason optional + } + + } + + group interfaceInformationrelatedTypes { + + /** + * + * @desc IP address type e.g. "127.0.0.1" + */ + type charstring IpAddress; + + /** + * + * @desc Type for port number, e.g. "5060" + */ + type UInt16 PortNumber; + + /** + * + * @desc List of port numbers + */ + type record of PortNumber PortNumberList; + + type record InterfaceAvailable { + charstring interfaceName, + boolean available + } + + type set of InterfaceAvailable InterfaceAvailableList; + + /** + * + * @desc Required information for IP interfaces + * @member domainName the domain name + * @member IpAddress the ip address + * @member portNumbers the list of port numbers where message are received + */ + type record IpInterfaceInfo { + charstring domainName optional, + IpAddress IpAddress, + PortNumberList portNumbers + } + + /** + * + * @desc List of IP interfacees + */ + type record of IpInterfaceInfo IpInterfaceInfoList; + + /** + * + * @desc Collection of different interface types, e.g for IP communications + * This type can be extended with new alternative for other interface types + */ + type union InterfaceInfo { + IpInterfaceInfoList IpInterfaceInfo + } + + /** + * + * @desc Type for representing EUT interface information for monitored logical interfaces + * @member interfaceName Name of logical interface + * @member interfaceInfo Interface information specific to this logical interface + */ + type record MonitorInterfaceInfo { + charstring interfaceName, + InterfaceInfo interfaceInfo + } + + /** + * + * @desc List of monitored interfaces + */ + type record of MonitorInterfaceInfo MonitorInterfaceInfoList; + + /** + * + * @desc List of VxLTE Monitor interfaces + */ type record VxLTEMonitorInterfaceList{ - MonitorInterfaceInfo gmA optional, - MonitorInterfaceInfo gmB optional, - MonitorInterfaceInfo ic optional, - MonitorInterfaceInfo mwPI optional,// Mw interface at P-CSCF/I-CSCF or P-CSCF/S-CSCF if I-CSCF not used - MonitorInterfaceInfo mwPS optional, - MonitorInterfaceInfo mwIS optional,// Mw interface at I-CSCF/S-CSCF - MonitorInterfaceInfo mwPB optional,// Mw interface at P-CSCF/IBCF - MonitorInterfaceInfo mwIB optional,// Mw interface at I-CSCF/IBCF - MonitorInterfaceInfo isc optional, - MonitorInterfaceInfo cxIH optional, - MonitorInterfaceInfo cxSH optional, - MonitorInterfaceInfo gx optional, - MonitorInterfaceInfo rx optional, - MonitorInterfaceInfo s6a optional, - MonitorInterfaceInfo s9 optional, - MonitorInterfaceInfo sh optional + MonitorInterfaceInfo gmA optional, + MonitorInterfaceInfo gmB optional, + MonitorInterfaceInfo mwPSAP optional,// MwMmMx interface at E,SCSCF to PSAP + MonitorInterfaceInfo ic optional, + MonitorInterfaceInfo mwPI optional,// Mw interface at P-CSCF/I-CSCF or P-CSCF/S-CSCF if I-CSCF not used + MonitorInterfaceInfo mwPS optional, + MonitorInterfaceInfo mwPE optional,// Mw interface at P-CSCF to E-CSCF + MonitorInterfaceInfo mwIS optional,// Mw interface at I-CSCF/S-CSCF + MonitorInterfaceInfo mwPB optional,// Mw interface at P-CSCF/IBCF + MonitorInterfaceInfo mwIB optional,// Mw interface at I-CSCF/IBCF + MonitorInterfaceInfo mwIE optional,// Mw interface at I-CSCF/S-CSCF to E-CSCF + MonitorInterfaceInfo isc optional, + MonitorInterfaceInfo cxIH optional, + MonitorInterfaceInfo cxSH optional, + MonitorInterfaceInfo gx optional, + MonitorInterfaceInfo rx optional, + MonitorInterfaceInfo s6a optional, + MonitorInterfaceInfo s9 optional, + MonitorInterfaceInfo sh optional } - /** - * - * @desc Product specific EUT interface information - * @member name the name of the vendor - * @member monitorInterfaces monitor interface configuration - */ - type record Product { - charstring productName, - MonitorInterfaceInfoList monitorInterfaces - } - - /** - * - * @desc List of product specificr EUT interface information - */ - type record of Product ProductList; - } - + /** + * + * @desc Product specific EUT interface information + * @member name the name of the vendor + * @member monitorInterfaces monitor interface configuration + */ + type record Product { + charstring productName, + MonitorInterfaceInfoList monitorInterfaces + } + + /** + * + * @desc List of product specificr EUT interface information + */ + type record of Product ProductList; + } + - group adapterConfigurationTypes { - + group adapterConfigurationTypes { + type union CaptureMode { LiveCapture liveCpature, OfflineCapture offlineCapture @@ -147,7 +150,7 @@ module LibIot_TypesAndValues { type record of charstring PhysicalInterfaceList; type record LiveCapture { - PhysicalInterfaceList physicalInterfaces, // TODO document example syntax + PhysicalInterfaceList physicalInterfaces, // TODO document example syntax RecordMode recordMode } @@ -165,8 +168,8 @@ module LibIot_TypesAndValues { } type record CaptureSource { - charstring sessionsPath, // e.g., the path where session's PCAP files are located like /tmp/19 - MergeFileList mergeFileList + charstring sessionsPath, // e.g., the path where session's PCAP files are located like /tmp/19 + MergeFileList mergeFileList } type record TimeOffset @@ -218,9 +221,9 @@ module LibIot_TypesAndValues { type enumerated ProtocolFilter { e_ip, - e_sip, - e_dns, - e_diameter + e_sip, + e_dns, + e_diameter } type record SetFilterReq { @@ -250,35 +253,35 @@ module LibIot_TypesAndValues { Status status } - } - with{ - encode "IOTCodec"; - } + } + with{ + encode "IOTCodec"; + } - group oracleRelatedTypes { - // used for PIXIT definition - type enumerated IotVerdictType { e_e2e, e_conformance } - - // used for verdict handling - type record VerdictType { - verdicttype verdict, - charstring reason optional - } - - type union IotVerdict { - VerdictType e2e, - VerdictType conformance - } - } - /** + group oracleRelatedTypes { + // used for PIXIT definition + type enumerated IotVerdictType { e_e2e, e_conformance } + + // used for verdict handling + type record VerdictType { + verdicttype verdict, + charstring reason optional + } + + type union IotVerdict { + VerdictType e2e, + VerdictType conformance + } + } + /** * @desc Default record */ - type record of default DefaultList; + type record of default DefaultList; - type record ComponentId { - charstring name, - integer index // explain more - } + type record ComponentId { + charstring name, + integer index // explain more + } - type set of ComponentId ComponentIdList; + type set of ComponentId ComponentIdList; } \ No newline at end of file