Loading DiameterRx/ttcn/DiameterRx_Steps.ttcn3 +19 −8 Original line number Diff line number Diff line Loading @@ -13,10 +13,28 @@ //LibDiameter import from LibDiameter_TypesAndValues all; import from LibDiameter_Templates all; import from LibDiameter_Steps all; import from LibDiameter_Interface {type DiameterComponent;}; //AtsCommon //DiameterRx import from DiameterRx_Templates all; import from DiameterRx_PIXITS all; group GlobalSteps { /* * @desc This is a test step that awaits session esthablishment by the IUT * @param */ function f_IUT_session_esthablishment() runs on DiameterComponent { f_awaiting_AAR(mw_AAR_dummy); // IUT esthablish Diameter session f_send_AAA(m_AAA_modified_ResultCode_ANCA(vc_sessionId, vc_originHost, vc_originRealm, vc_authApplicationId, m_resultCode(m_resultCode_diameterSuccess), omit)); } // end function f_AF_IUT_session_esthablishment } function f_framedIpAddress4 () return template Framed_IP_Address_AVP Loading Loading @@ -46,11 +64,4 @@ {return( {ipv6:= PX_ANCA_ipv6 } ) } else {return( {ipv4:= PX_ANCA_ipv4 } )} } function f_IPAdressLength () return integer {if (PX_IPv6) {return(8) } else {return(4) } } } // end module DiameterRx_Steps No newline at end of file DiameterRx/ttcn/DiameterRx_Templates.ttcn +17 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,9 @@ module DiameterRx_Templates { //LibDiameter import from LibDiameter_TypesAndValues all; import from LibDiameter_Templates all; // import from AtsCommon_PIXITS all; //DiameterRx import from DiameterRx_PIXITS all; Loading Loading @@ -1066,4 +1068,18 @@ module DiameterRx_Templates { } //end group Rxmodified_templates } //end group RxMessageTemplates group FunctionsForTemplates { function f_IPAdressLength () return integer {if (PX_IPv6) {return(8) } else {return(4) } } }//end group FunctionsForTemplates }//end module LibDiameter_Templates No newline at end of file Loading
DiameterRx/ttcn/DiameterRx_Steps.ttcn3 +19 −8 Original line number Diff line number Diff line Loading @@ -13,10 +13,28 @@ //LibDiameter import from LibDiameter_TypesAndValues all; import from LibDiameter_Templates all; import from LibDiameter_Steps all; import from LibDiameter_Interface {type DiameterComponent;}; //AtsCommon //DiameterRx import from DiameterRx_Templates all; import from DiameterRx_PIXITS all; group GlobalSteps { /* * @desc This is a test step that awaits session esthablishment by the IUT * @param */ function f_IUT_session_esthablishment() runs on DiameterComponent { f_awaiting_AAR(mw_AAR_dummy); // IUT esthablish Diameter session f_send_AAA(m_AAA_modified_ResultCode_ANCA(vc_sessionId, vc_originHost, vc_originRealm, vc_authApplicationId, m_resultCode(m_resultCode_diameterSuccess), omit)); } // end function f_AF_IUT_session_esthablishment } function f_framedIpAddress4 () return template Framed_IP_Address_AVP Loading Loading @@ -46,11 +64,4 @@ {return( {ipv6:= PX_ANCA_ipv6 } ) } else {return( {ipv4:= PX_ANCA_ipv4 } )} } function f_IPAdressLength () return integer {if (PX_IPv6) {return(8) } else {return(4) } } } // end module DiameterRx_Steps No newline at end of file
DiameterRx/ttcn/DiameterRx_Templates.ttcn +17 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,9 @@ module DiameterRx_Templates { //LibDiameter import from LibDiameter_TypesAndValues all; import from LibDiameter_Templates all; // import from AtsCommon_PIXITS all; //DiameterRx import from DiameterRx_PIXITS all; Loading Loading @@ -1066,4 +1068,18 @@ module DiameterRx_Templates { } //end group Rxmodified_templates } //end group RxMessageTemplates group FunctionsForTemplates { function f_IPAdressLength () return integer {if (PX_IPv6) {return(8) } else {return(4) } } }//end group FunctionsForTemplates }//end module LibDiameter_Templates No newline at end of file