Loading DiameterCx/ttcn/DiameterCx_Cx_TCFunctions.ttcn3 0 → 100644 +62 −0 Original line number Diff line number Diff line /** * @author STF 480 * @version $Id: $ * @desc This module provides Cx test functions used by the test cases * for IMS-DIAMETER tests. */ module DiameterCx_Cx_TCFunctions { // LibCommon import from LibCommon_Sync {function f_selfOrClientSyncAndVerdict; const c_prDone, c_tbDone, c_poDone;} import from LibCommon_VerdictControl all ; // LibDiameter import from LibDiameter_Types_CxDx_AVPs all; import from LibDiameter_TypesAndValues all; import from LibDiameter_Templates all; import from LibDiameter_Interface all; import from LibDiameter_Steps all; import from LibDiameter_Types_Base_AVPs all; //DiameterCx import from DiameterCx_Templates all; import from DiameterCx_Steps all; import from DiameterCx_PIXITS all; group TP_HSSRole{ // §5.2.1.1 group TP_HSSRole_MS {//Cx Messages //TODO all TC Functions } // group TP_HSSRole_MS group TP_HSSRole_UA {//Cx UA } // group TP_HSSRole_UA group TP_HSSRole_SA {//Cx SA } // group TP_HSSRole_SA group TP_HSSRole_RT {//Cx RT } // group TP_HSSRole_RT group TP_HSSRole_LI {//Cx LI } // group TP_HSSRole_LI group TP_HSSRole_PP {//Cx PP } // group TP_HSSRole_PP group TP_HSSRole_MA {//Cx MA } // group TP_HSSRole_MA group TP_HSSRole_EH {//Cx EH } // group TP_HSSRole_EH } // group TP_HSSRole group TP_CSCFRole{ // §5.2.1.2 group TP_CSCFRole_MS {//Cx Messages } // group TP_CSCFRole_MS group TP_CSCFRole_UA {//Cx UA } // group TP_CSCFRole_UA group TP_CSCFRole_SA {//Cx SA } // group TP_CSCFRole_SA group TP_CSCFRole_RT {//Cx RT } // group TP_CSCFRole_RT group TP_CSCFRole_LI {//Cx LI } // group TP_CSCFRole_LI group TP_CSCFRole_PP {//Cx PP } // group TP_CSCFRole_PP } // group TP_CSCFRole }// end module DiameterCx_Cx_TCFunctions No newline at end of file DiameterCx/ttcn/DiameterCx_PICS.ttcn 0 → 100644 +14 −0 Original line number Diff line number Diff line /** * @author STF 480 * @version $Id: $ * @desc This module provides the PICS used for the DiameterCx tests. * See ETSI DTS/INT-103-1 */ module DiameterCx_PICS { group PICS_A2{ //TODO for all tables }//end group PICS_A2 } // End of module DiameterCx_PICS No newline at end of file DiameterCx/ttcn/DiameterCx_PIXITS.ttcn 0 → 100644 +122 −0 Original line number Diff line number Diff line /** * @author STF 480 * @version $Id: $ * @desc This module provides the PIXIT used for the Cx DIAMETER tests. */ module DiameterCx_PIXITS { //LibCommon import from LibCommon_BasicTypesAndValues all; //LibDiameter import from LibDiameter_Types_Base_AVPs all; import from LibDiameter_Types_CxDx_AVPs all; import from LibDiameter_TypesAndValues all; group Port_and_addresses{ group Cx_Port_and_addresses{ /** @desc charstring, PIXIT item A-7/1 * IP address of the test system */ modulepar charstring PX_DIAMETER_CX_ETS_IPADDR := "1.1.1.1"; /** @desc charstring, PIXIT item A-7/2 * IP address of the system under test */ modulepar charstring PX_DIAMETER_CX_SUT_IPADDR := "1.1.1.2"; /** @desc charstring, PIXIT item A-7/3 * Port number of the test system */ modulepar integer PX_DIAMETER_CX_ETS_PORT := 3868; /** @desc charstring, PIXIT item A-7/4 * Port number of the system under test */ modulepar integer PX_DIAMETER_CX_SUT_PORT := 3868; } } // SUT specific implementation variants group DiameterCommonCxData{ /** @desc UTF8String, PIXIT item A-7/5 The Session-Id AVP (AVP Code 263) is of type UTF8String and is used to identify a specific session (see Section 8); All messages pertaining to a specific session MUST include only one Session-Id AVP and the same value MUST be used throughout the life of a session; When present, the Session-Id SHOULD appear immediately following the Diameter Header (see Section 3); Ref: RFC 3588 section 8-8 */ modulepar UTF8String PX_SessionID := "hss.etsi.org;1317059245;52;21823490"; /** @desc charstring, PIXIT item A-7/6 The Origin-Host AVP (AVP Code 264) is of type DiameterIdentity, and MUST be present in all Diameter messages; This AVP identifies the endpoint that originated the Diameter message; Relay agents MUST NOT modify this AVP; The value of the Origin-Host AVP is guaranteed to be unique within a single host; Ref: RFC 3588 section 6-3. NOTE: could be AF or PCRF role: pcscf.example.com pcrf.example.com */ modulepar charstring PX_OriginHost := "origin.etsi.org"; /** @desc charstring, PIXIT item A-7/7 The Origin-Realm AVP (AVP Code 296) is of type DiameterIdentity; This AVP contains the Realm of the originator of any Diameter message and MUST be present in all messages; Ref: RFC 3588 section 6-4 */ modulepar charstring PX_OriginRealm := "etsi.org"; /** @desc charstring, PIXIT item A-7/8 The Destination-Host AVP (AVP Code 293) is of type DiameterIdentity; This AVP MUST be present in all unsolicited agent initiated messages, MAY be present in request messages, and MUST NOT be present in Answer messages; Ref: RFC 3588 section 6-5. NOTE: could be AF or PCRF role: pcscf.example.com pcrf.example.com */ modulepar charstring PX_DestinationHost := "destination.etsi.org"; /** @desc charstring, PIXIT item A-7/9 The Destination-Realm AVP (AVP Code 283) is of type DiameterIdentity, and contains the realm the message is to be routed to; The Destination-Realm AVP MUST NOT be present in Answer messages. Diameter Clients insert the realm portion of the User-Name AVP; Diameter servers initiating a request message use the value of the Origin-Realm AVP from a previous message received from the intended target host (unless it is known a priori); When present, the Destination-Realm AVP is used to perform message routing decisions; Ref: RFC 3588 section 6-6 */ modulepar charstring PX_DestinationRealm := "myalupcrf.etsi.org"; } //end group DiameterCommonCxData } // end module DiameterCx_PIXITS No newline at end of file DiameterCx/ttcn/DiameterCx_SIP_TCFunctions.ttcn3 0 → 100644 +38 −0 Original line number Diff line number Diff line /** * @author STF 480 * @version $Id: $ * @desc This module provides SIP test functions used by the test cases * for IMS-DIAMETER tests. */ module DiameterCx_SIP_TCFunctions { // LibCommon import from LibCommon_Sync {function f_selfOrClientSyncAndVerdict; const c_prDone, c_tbDone, c_poDone;} import from LibCommon_VerdictControl all ; // LibDiameter import from LibDiameter_Types_CxDx_AVPs all; import from LibDiameter_TypesAndValues all; import from LibDiameter_Templates all; import from LibDiameter_Interface all; import from LibDiameter_Steps all; import from LibDiameter_Types_Base_AVPs all; //LibSIP and LibIMS group TP_CSCFRole{ // §5.2.1.2 group TP_CSCFRole_MS {//Cx Messages } // group TP_CSCFRole_MS group TP_CSCFRole_UA {//Cx UA } // group TP_CSCFRole_UA group TP_CSCFRole_SA {//Cx SA } // group TP_CSCFRole_SA group TP_CSCFRole_RT {//Cx RT } // group TP_CSCFRole_RT group TP_CSCFRole_LI {//Cx LI } // group TP_CSCFRole_LI group TP_CSCFRole_PP {//Cx PP } // group TP_CSCFRole_PP } // group TP_CSCFRole }// end module DiameterCx_SIP_TCFunctions No newline at end of file DiameterCx/ttcn/DiameterCx_SIP_Templates.ttcn 0 → 100644 +17 −0 Original line number Diff line number Diff line /** * @author STF 480 * @version $Id: $ * @desc This module defines SIP Diameter Templates for message, header, and * structured types. <br> * Note that any changes made to the definitions in this module * may be overwritten by future releases of this library * End users are encouraged to contact the distributers of this * module regarding their modifications or additions * @remark Any additions to the templates shall follow the design rules * and always modify base templates only; */ module DiameterCx_SIP_Templates { }//end module DiameterCx_SIP_Templates No newline at end of file Loading
DiameterCx/ttcn/DiameterCx_Cx_TCFunctions.ttcn3 0 → 100644 +62 −0 Original line number Diff line number Diff line /** * @author STF 480 * @version $Id: $ * @desc This module provides Cx test functions used by the test cases * for IMS-DIAMETER tests. */ module DiameterCx_Cx_TCFunctions { // LibCommon import from LibCommon_Sync {function f_selfOrClientSyncAndVerdict; const c_prDone, c_tbDone, c_poDone;} import from LibCommon_VerdictControl all ; // LibDiameter import from LibDiameter_Types_CxDx_AVPs all; import from LibDiameter_TypesAndValues all; import from LibDiameter_Templates all; import from LibDiameter_Interface all; import from LibDiameter_Steps all; import from LibDiameter_Types_Base_AVPs all; //DiameterCx import from DiameterCx_Templates all; import from DiameterCx_Steps all; import from DiameterCx_PIXITS all; group TP_HSSRole{ // §5.2.1.1 group TP_HSSRole_MS {//Cx Messages //TODO all TC Functions } // group TP_HSSRole_MS group TP_HSSRole_UA {//Cx UA } // group TP_HSSRole_UA group TP_HSSRole_SA {//Cx SA } // group TP_HSSRole_SA group TP_HSSRole_RT {//Cx RT } // group TP_HSSRole_RT group TP_HSSRole_LI {//Cx LI } // group TP_HSSRole_LI group TP_HSSRole_PP {//Cx PP } // group TP_HSSRole_PP group TP_HSSRole_MA {//Cx MA } // group TP_HSSRole_MA group TP_HSSRole_EH {//Cx EH } // group TP_HSSRole_EH } // group TP_HSSRole group TP_CSCFRole{ // §5.2.1.2 group TP_CSCFRole_MS {//Cx Messages } // group TP_CSCFRole_MS group TP_CSCFRole_UA {//Cx UA } // group TP_CSCFRole_UA group TP_CSCFRole_SA {//Cx SA } // group TP_CSCFRole_SA group TP_CSCFRole_RT {//Cx RT } // group TP_CSCFRole_RT group TP_CSCFRole_LI {//Cx LI } // group TP_CSCFRole_LI group TP_CSCFRole_PP {//Cx PP } // group TP_CSCFRole_PP } // group TP_CSCFRole }// end module DiameterCx_Cx_TCFunctions No newline at end of file
DiameterCx/ttcn/DiameterCx_PICS.ttcn 0 → 100644 +14 −0 Original line number Diff line number Diff line /** * @author STF 480 * @version $Id: $ * @desc This module provides the PICS used for the DiameterCx tests. * See ETSI DTS/INT-103-1 */ module DiameterCx_PICS { group PICS_A2{ //TODO for all tables }//end group PICS_A2 } // End of module DiameterCx_PICS No newline at end of file
DiameterCx/ttcn/DiameterCx_PIXITS.ttcn 0 → 100644 +122 −0 Original line number Diff line number Diff line /** * @author STF 480 * @version $Id: $ * @desc This module provides the PIXIT used for the Cx DIAMETER tests. */ module DiameterCx_PIXITS { //LibCommon import from LibCommon_BasicTypesAndValues all; //LibDiameter import from LibDiameter_Types_Base_AVPs all; import from LibDiameter_Types_CxDx_AVPs all; import from LibDiameter_TypesAndValues all; group Port_and_addresses{ group Cx_Port_and_addresses{ /** @desc charstring, PIXIT item A-7/1 * IP address of the test system */ modulepar charstring PX_DIAMETER_CX_ETS_IPADDR := "1.1.1.1"; /** @desc charstring, PIXIT item A-7/2 * IP address of the system under test */ modulepar charstring PX_DIAMETER_CX_SUT_IPADDR := "1.1.1.2"; /** @desc charstring, PIXIT item A-7/3 * Port number of the test system */ modulepar integer PX_DIAMETER_CX_ETS_PORT := 3868; /** @desc charstring, PIXIT item A-7/4 * Port number of the system under test */ modulepar integer PX_DIAMETER_CX_SUT_PORT := 3868; } } // SUT specific implementation variants group DiameterCommonCxData{ /** @desc UTF8String, PIXIT item A-7/5 The Session-Id AVP (AVP Code 263) is of type UTF8String and is used to identify a specific session (see Section 8); All messages pertaining to a specific session MUST include only one Session-Id AVP and the same value MUST be used throughout the life of a session; When present, the Session-Id SHOULD appear immediately following the Diameter Header (see Section 3); Ref: RFC 3588 section 8-8 */ modulepar UTF8String PX_SessionID := "hss.etsi.org;1317059245;52;21823490"; /** @desc charstring, PIXIT item A-7/6 The Origin-Host AVP (AVP Code 264) is of type DiameterIdentity, and MUST be present in all Diameter messages; This AVP identifies the endpoint that originated the Diameter message; Relay agents MUST NOT modify this AVP; The value of the Origin-Host AVP is guaranteed to be unique within a single host; Ref: RFC 3588 section 6-3. NOTE: could be AF or PCRF role: pcscf.example.com pcrf.example.com */ modulepar charstring PX_OriginHost := "origin.etsi.org"; /** @desc charstring, PIXIT item A-7/7 The Origin-Realm AVP (AVP Code 296) is of type DiameterIdentity; This AVP contains the Realm of the originator of any Diameter message and MUST be present in all messages; Ref: RFC 3588 section 6-4 */ modulepar charstring PX_OriginRealm := "etsi.org"; /** @desc charstring, PIXIT item A-7/8 The Destination-Host AVP (AVP Code 293) is of type DiameterIdentity; This AVP MUST be present in all unsolicited agent initiated messages, MAY be present in request messages, and MUST NOT be present in Answer messages; Ref: RFC 3588 section 6-5. NOTE: could be AF or PCRF role: pcscf.example.com pcrf.example.com */ modulepar charstring PX_DestinationHost := "destination.etsi.org"; /** @desc charstring, PIXIT item A-7/9 The Destination-Realm AVP (AVP Code 283) is of type DiameterIdentity, and contains the realm the message is to be routed to; The Destination-Realm AVP MUST NOT be present in Answer messages. Diameter Clients insert the realm portion of the User-Name AVP; Diameter servers initiating a request message use the value of the Origin-Realm AVP from a previous message received from the intended target host (unless it is known a priori); When present, the Destination-Realm AVP is used to perform message routing decisions; Ref: RFC 3588 section 6-6 */ modulepar charstring PX_DestinationRealm := "myalupcrf.etsi.org"; } //end group DiameterCommonCxData } // end module DiameterCx_PIXITS No newline at end of file
DiameterCx/ttcn/DiameterCx_SIP_TCFunctions.ttcn3 0 → 100644 +38 −0 Original line number Diff line number Diff line /** * @author STF 480 * @version $Id: $ * @desc This module provides SIP test functions used by the test cases * for IMS-DIAMETER tests. */ module DiameterCx_SIP_TCFunctions { // LibCommon import from LibCommon_Sync {function f_selfOrClientSyncAndVerdict; const c_prDone, c_tbDone, c_poDone;} import from LibCommon_VerdictControl all ; // LibDiameter import from LibDiameter_Types_CxDx_AVPs all; import from LibDiameter_TypesAndValues all; import from LibDiameter_Templates all; import from LibDiameter_Interface all; import from LibDiameter_Steps all; import from LibDiameter_Types_Base_AVPs all; //LibSIP and LibIMS group TP_CSCFRole{ // §5.2.1.2 group TP_CSCFRole_MS {//Cx Messages } // group TP_CSCFRole_MS group TP_CSCFRole_UA {//Cx UA } // group TP_CSCFRole_UA group TP_CSCFRole_SA {//Cx SA } // group TP_CSCFRole_SA group TP_CSCFRole_RT {//Cx RT } // group TP_CSCFRole_RT group TP_CSCFRole_LI {//Cx LI } // group TP_CSCFRole_LI group TP_CSCFRole_PP {//Cx PP } // group TP_CSCFRole_PP } // group TP_CSCFRole }// end module DiameterCx_SIP_TCFunctions No newline at end of file
DiameterCx/ttcn/DiameterCx_SIP_Templates.ttcn 0 → 100644 +17 −0 Original line number Diff line number Diff line /** * @author STF 480 * @version $Id: $ * @desc This module defines SIP Diameter Templates for message, header, and * structured types. <br> * Note that any changes made to the definitions in this module * may be overwritten by future releases of this library * End users are encouraged to contact the distributers of this * module regarding their modifications or additions * @remark Any additions to the templates shall follow the design rules * and always modify base templates only; */ module DiameterCx_SIP_Templates { }//end module DiameterCx_SIP_Templates No newline at end of file