Commit c4550902 authored by Iztok Juvancic's avatar Iztok Juvancic
Browse files

added emergency attach TD

parent 0c7f6cf5
Loading
Loading
Loading
Loading
+83 −1
Original line number Diff line number Diff line
@@ -97,6 +97,8 @@ group g_HSS {
            );
            p_monitorCompRef.done;
        }
        

    } // End of function f_mtc_check_TP_S6A_HSS_AIA_01
    
    /**
@@ -371,7 +373,84 @@ group g_HSS {
        }
    } // End of function f_mtc_check_TP_S6A_HSS_ULA_02

	group ES{
		/**
		 * Starts monitor component behavior for TP_S6A_HSS_ECO_ULA_01
		 * @param p_monitorCompRef Reference to monitor component
		 * <pre>
		 *Test objective  "Verify that IUT after receipt of UL-Request sends UL-Answer containing Emergency-Info AVP."
         *
         *Reference 
         *   "TS 129 272 [10], clause 5.2.1.1.2"
        
         *Config Id CF_VxLTE_INT_ES
        
         *PICS Selection NONE
        
         *Initial conditions with {
         *   the UE_A entity isNotAttachedTo the EPC_A and
         *   the UE_A entity isNotRegisteredTo the IMS_A
         *}
         *
         *Expected behaviour
         *   ensure that {
         *       when {
         *           the EPC_MME_A entity sends a ULR
         *           to the IMS_HSS_A entity
         *       }
         *       then {
         *           the IMS_HSS_A entity sends the ULA containing
         *               Subscription_Data_AVP containing
         *                   Emergency_Info_AVP indicating value PDN_GW;,
         *               Result_Code_AVP
         *                   indicating value DIAMETER_SUCCESS
         *               ULA_Flags_AVP;
         *           to the EPC_MME_A entity
         *       }
         *   } 
		 * </pre>
		 */
		function f_mtc_check_TP_S6A_HSS_ECO_ULA_01(
			DiameterInterfaceMonitor p_monitorCompRef,
			in boolean p_checkMessage := false,
			in boolean p_forward_to_mtc := false
		) runs on ImsTestCoordinator {
			if (isvalue(p_monitorCompRef)){
//				p_monitorCompRef.start (
//					f_Iot_Diameter_receive(
//						{
//							DIAMETER_MSG:{ uLR_MSG := mw_ULR_userName }
//						},
//						{
//							DIAMETER_MSG:{ uLR_MSG := mw_ULR_basic }
//						},
//						{0, omit},
//						"TP_S6A_HSS_ULA_01 - ULR",
//						p_forward_to_mtc,
//						p_checkMessage 
//					)
//				);
//				p_monitorCompRef.done;
            
				p_monitorCompRef.start (
					f_Iot_Diameter_receive(
						{
							DIAMETER_MSG:{ uLA_MSG := mw_ULA_subsdata_flags }
						},
						{
							DIAMETER_MSG:{ uLA_MSG := mw_ULA_basic }
						},
						{0, omit},
						"TP_S6A_HSS_ECO_ULA_01 - ULA",
						p_forward_to_mtc,
						p_checkMessage 
					)
				);
				p_monitorCompRef.done;
			}
		} // End of function f_mtc_check_TP_S6A_HSS_ECO_ULA_01
		    
	}// end group ES
} // end group g_HSS

group g_MME {
@@ -675,6 +754,9 @@ group g_MME {
        }
    } // End of function f_mtc_check_TP_S6A_MME_ULR_02

  group ES{
	    
  }// end group ES

} // end group g_MME