Commit 1bb45657 authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

New TPs for Gx interface added.

parent 3023c91d
Loading
Loading
Loading
Loading
+148 −0
Original line number Diff line number Diff line
@@ -707,6 +707,154 @@ group g_PCRF {
        p_monitorCompRef.done;
    } // End of function f_mtc_check_TP_GX_PCRF_RAR_01
    
    /**
     * Starts monitor component behavior for TP_GX_PCRF_RAR_02
     * @param p_monitorCompRef Reference to monitor component
     * <pre>
     * Test objective  "When IUT receives ST-Request from P-CSCF to remove all relevant previously created bearers then IUT sends an RA-Request."
     *
     * <pre>
     * 
     * Config Id CF_VxLTE_INT
     * 
     * Initial conditions with {
     *     the UE_A entity isAttachedTo the EPC_A and
     *     the UE_A entity isRegisteredTo the IMS_A and
     *     the UE_A entity previouslyEstablishedCallWith the UE_B
     * }
     * 
     * ensure that {
     *     when {
     *         the IMS_P_CSCF_A entity sends an STR
     *         to the EPC_PCRF_A entity
     *     }
     *     then {
     *         the EPC_PCRF_A entity sends the RAR containing
     *             Charging_Rule_Remove_AVP containing
     *                 Charging_Rule_Name_AVP
     *             ;
     *         ;
     *         to the EPC_PGW_A entity
     *    }
     * }
     * </pre>
     * @see TS 103 653-1 clause 7.7
     */
    function f_mtc_check_TP_GX_PCRF_RAR_02(
        DiameterInterfaceMonitor p_monitorCompRef
    ) runs on ImsTestCoordinator {
        p_monitorCompRef.start (
            f_receiveDiameterMsg ( { rAR_MSG := mw_RAR_ChargingRuleRemove}, 
                                   "TP_RX_PCRF_RAR_02",
                                   true )
        );
        p_monitorCompRef.done;
    } // End of function f_mtc_check_TP_GX_PCRF_RAR_02
    
    /**
     * Starts monitor component behavior for TP_GX_PCRF_RAR_03
     * @param p_monitorCompRef Reference to monitor component
     * <pre>
     * Test objective  "When IUT receives AA-Answer from home PCRF then IUT sends an RA-Request due to the Session Bearer procedure"
     *
     * <pre>
     * 
     * Config Id CF_VxLTE_RMI
     * 
     * Initial conditions with {
     *     the UE_A entity isAttachedTo the EPC_B and
     *     the UE_A entity isRegisteredTo the IMS_A
     * }
     * 
     * ensure that {
     *         the EPC_PCRF_A entity sends an AAA
     *         to the EPC_PCRF_B entity
     *     }
     *     then {
     *         the EPC_PCRF_B entity sends the RAR containing
     *             Charging_Rule_Install_AVP containing
     *                 Charging_Rule_Definition_AVP containing
     *                     Charging_Rule_Name_AVP
     *                     Flow_Information_AVP containing
     *                         Flow_Description_AVP
     *                     Flow_Status_AVP
     *                     Flows_AVP containing
     *                         Media_Component_Number_AVP
     *                     ;,
     *                     QOS_Information_AVP containing
     *                         QOS_Class_Identifier_AVP
     *                             indicating value 
     *                                 "QCI_1 for voice or
     *                                  QCI_2 for video";,
     *                         Max_Requested_Bandwidth_UL_AVP
     *                         Max_Requested_Bandwidth_DL_AVP
     *                         Guaranteed_Bitrate_UL_AVP
     *                         Guaranteed_Bitrate_DL_AVP
     *                         Allocation_Retention_Priority_AVP
     *                     ;
     *                 ;
     *             ;
     *         ;
     *         to the EPC_PGW_A entity
     *    }
     * }
     * </pre>
     * @see TS 103 653-1 clause 7.7
     */
    function f_mtc_check_TP_GX_PCRF_RAR_03(
        DiameterInterfaceMonitor p_monitorCompRef
    ) runs on ImsTestCoordinator {
        p_monitorCompRef.start (
            f_receiveDiameterMsg ( { rAR_MSG := mw_RAR_ChargingRuleInstall(mw_chrgRuleInstall_Qos)}, //During validation some additions may be required
                                   "TP_RX_PCRF_RAR_03",
                                   true )
        );
        p_monitorCompRef.done;
    } // End of function f_mtc_check_TP_GX_PCRF_RAR_03
    
    /**
     * Starts monitor component behavior for TP_GX_PCRF_RAR_04
     * @param p_monitorCompRef Reference to monitor component
     * <pre>
     * Test objective  "When IUT receives ST-Answer from home PCRF then IUT sends an RA-Request."
     *
     * <pre>
     * 
     * Config Id CF_VxLTE_RMI
     * 
     * Initial conditions with {
     *     the UE_A entity isAttachedTo the EPC_B and
     *     the UE_A entity isRegisteredTo the IMS_A
     * }
     * 
     * ensure that {
     *     when {
     *         the EPC_PCRF_A entity sends an STA
     *              to the EPC_PCRF_B entity
     *         }
     *     then {
     *         the EPC_PCRF_B entity sends the RAR containing
     *             Charging_Rule_Remove_AVP containing
     *                 Charging_Rule_Name_AVP
     *             ;
     *         ;
     *         to the EPC_PGW_A entity
     *    }
     * }
     * </pre>
     * @see TS 103 653-1 clause 7.7
     */
    function f_mtc_check_TP_GX_PCRF_RAR_04(
        DiameterInterfaceMonitor p_monitorCompRef
    ) runs on ImsTestCoordinator {
        p_monitorCompRef.start (
            f_receiveDiameterMsg ( { rAR_MSG := mw_RAR_ChargingRuleRemove},//During validation some additions may be required 
                                   "TP_RX_PCRF_RAR_04",
                                   true )
        );
        p_monitorCompRef.done;
    } // End of function f_mtc_check_TP_GX_PCRF_RAR_04


} // end group g_PCRF