Commit 8fddcf9b authored by poglitsch's avatar poglitsch
Browse files

new postambles added

parent 060f14be
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
@@ -440,6 +440,38 @@ module AtsImsIot_Functions {
     		return v_status;
     	}
     	
    	/**
    	 * @desc
    	 *     Preamble to handle user registration in roaming network from test coordinator
    	 * @param p_userCompRef Reference ot IMS UE user component
    	 * @return true in case of successfull execution otherwise false
    	 */
     	function f_PR_user_roaming_registration(EquipmentUser p_userCompRef, ImsUserInfo p_userInfo) 
     	runs on TestCoordinator return boolean {
     		var boolean v_status := true; 
			if( p_userInfo.publicId  == "" ) { return false; } 
     		
     		// TODO check roaming registration
     		v_status := f_mtc_userRegister(p_userCompRef, p_userInfo.publicId, p_userInfo.privateId, p_userInfo.password); 
     		
     		return v_status;
     	}
     	
    	/**
    	 * @desc
    	 *     Postamble to handle user deregistration in roaming network from test coordinator
    	 * @param p_userCompRef Reference ot IMS UE user component
    	 * @return true in case of successfull execution otherwise false
    	 */
     	function f_PO_user_roaming_deregistration(EquipmentUser p_userCompRef) runs on ImsTestCoordinator return boolean {
     		var boolean v_status := true; 
     		
     		// TODO check roaming de-registration
     		v_status := f_mtc_userDeregister(p_userCompRef, "*"); // deregister all previous users
     		
     		return v_status;
     	}

    	/**
    	 * @desc Get the S-CSCF FQDN address of referenced EUT 
    	 */