Commit 26bf28db authored by juvancic's avatar juvancic
Browse files

test configuration + init

parent a02ebe57
Loading
Loading
Loading
Loading
+32 −32
Original line number Diff line number Diff line
@@ -93,58 +93,58 @@ module LibIot_VxLTE_Functions {
		function f_cf_createVxLteMonitor() runs on ImsTestCoordinator{
			
			if (isvalue(vc_MonIntfList.gmA)){
				vc_vxlte_monitor_components.gmA := f_cf_create_monitor_sip ( vc_MonIntfList.gmA.interfaceName);
				vc_vxlte_monitor_components.gmA := f_cf_create_monitor_sip ( vc_MonIntfList.gmA);
			}
			if (isvalue(vc_MonIntfList.gmB)){
				vc_vxlte_monitor_components.gmB := f_cf_create_monitor_sip ( vc_MonIntfList.gmB.interfaceName);
				vc_vxlte_monitor_components.gmB := f_cf_create_monitor_sip ( vc_MonIntfList.gmB);
			}
			
			if (isvalue(vc_MonIntfList.ic)){
				vc_vxlte_monitor_components.ic := f_cf_create_monitor_sip ( vc_MonIntfList.ic.interfaceName);
				vc_vxlte_monitor_components.ic := f_cf_create_monitor_sip ( vc_MonIntfList.ic);
			}
					
			if (isvalue(vc_MonIntfList.mwPI)){
				vc_vxlte_monitor_components.mwPI := f_cf_create_monitor_sip ( vc_MonIntfList.mwPI.interfaceName);
				vc_vxlte_monitor_components.mwPI := f_cf_create_monitor_sip ( vc_MonIntfList.mwPI);
			}
			if (isvalue(vc_MonIntfList.mwPS)){
				vc_vxlte_monitor_components.mwPS := f_cf_create_monitor_sip ( vc_MonIntfList.mwPS.interfaceName);
				vc_vxlte_monitor_components.mwPS := f_cf_create_monitor_sip ( vc_MonIntfList.mwPS);
			}
			if (isvalue(vc_MonIntfList.mwIS)){
				vc_vxlte_monitor_components.mwIS := f_cf_create_monitor_sip ( vc_MonIntfList.mwIS.interfaceName);
				vc_vxlte_monitor_components.mwIS := f_cf_create_monitor_sip ( vc_MonIntfList.mwIS);
			}
			if (isvalue(vc_MonIntfList.mwPB)){
				vc_vxlte_monitor_components.mwPB := f_cf_create_monitor_sip ( vc_MonIntfList.mwPB.interfaceName);
				vc_vxlte_monitor_components.mwPB := f_cf_create_monitor_sip ( vc_MonIntfList.mwPB);
			}
			if (isvalue(vc_MonIntfList.mwIB)){
				vc_vxlte_monitor_components.mwIB := f_cf_create_monitor_sip ( vc_MonIntfList.mwIB.interfaceName);
				vc_vxlte_monitor_components.mwIB := f_cf_create_monitor_sip ( vc_MonIntfList.mwIB);
			}
			
			if (isvalue(vc_MonIntfList.isc)){
				vc_vxlte_monitor_components.isc := f_cf_create_monitor_sip ( vc_MonIntfList.isc.interfaceName);
				vc_vxlte_monitor_components.isc := f_cf_create_monitor_sip ( vc_MonIntfList.isc);
			}
			
			
			
			if (isvalue(vc_MonIntfList.cxIH)){
				vc_vxlte_monitor_components.cxIH := f_cf_create_monitor_diameter ( vc_MonIntfList.cxIH.interfaceName);
				vc_vxlte_monitor_components.cxIH := f_cf_create_monitor_diameter ( vc_MonIntfList.cxIH);
			}
			if (isvalue(vc_MonIntfList.cxSH)){
				vc_vxlte_monitor_components.cxSH := f_cf_create_monitor_diameter ( vc_MonIntfList.cxSH.interfaceName);
				vc_vxlte_monitor_components.cxSH := f_cf_create_monitor_diameter ( vc_MonIntfList.cxSH);
			}
			if (isvalue(vc_MonIntfList.gx)){
				vc_vxlte_monitor_components.gx := f_cf_create_monitor_diameter ( vc_MonIntfList.gx.interfaceName);
				vc_vxlte_monitor_components.gx := f_cf_create_monitor_diameter ( vc_MonIntfList.gx);
			}
			if (isvalue(vc_MonIntfList.rx)){
				vc_vxlte_monitor_components.rx := f_cf_create_monitor_diameter ( vc_MonIntfList.rx.interfaceName);
				vc_vxlte_monitor_components.rx := f_cf_create_monitor_diameter ( vc_MonIntfList.rx);
			}
			if (isvalue(vc_MonIntfList.s6a)){
				vc_vxlte_monitor_components.s6a := f_cf_create_monitor_diameter ( vc_MonIntfList.s6a.interfaceName);
				vc_vxlte_monitor_components.s6a := f_cf_create_monitor_diameter ( vc_MonIntfList.s6a);
			}
			if (isvalue(vc_MonIntfList.s9)){
				vc_vxlte_monitor_components.s9 := f_cf_create_monitor_diameter ( vc_MonIntfList.s9.interfaceName);
				vc_vxlte_monitor_components.s9 := f_cf_create_monitor_diameter ( vc_MonIntfList.s9);
			}
			if (isvalue(vc_MonIntfList.sh)){
				vc_vxlte_monitor_components.sh := f_cf_create_monitor_diameter ( vc_MonIntfList.sh.interfaceName);
				vc_vxlte_monitor_components.sh := f_cf_create_monitor_diameter ( vc_MonIntfList.sh);
			}		
		}
		
@@ -437,21 +437,21 @@ module LibIot_VxLTE_Functions {
			v_InterfaceAvailable.interfaceName := PX_SIP_GMA_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_SIP_GMA_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_gmA := f_cf_create_monitor_sip ( PX_SIP_GMA_INTERFACENAME );
			v_gmA := f_cf_create_monitor_sip ( valueof(m_MonIntf_Sip_Gm_A)/*PX_SIP_GMA_INTERFACENAME*/ );
			f_cf_monitor_up_sip(v_gmA);
		}
		if (PX_SIP_GMB_MONITORENABLED == true){
			v_InterfaceAvailable.interfaceName := PX_SIP_GMB_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_SIP_GMB_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_gmB := f_cf_create_monitor_sip ( PX_SIP_GMB_INTERFACENAME );
			v_gmB := f_cf_create_monitor_sip (  valueof(m_MonIntf_Sip_Gm_B)/*PX_SIP_GMB_INTERFACENAME*/ );
			f_cf_monitor_up_sip(v_gmB);
		}
		if (PX_SIP_IC_MONITORENABLED == true){
			v_InterfaceAvailable.interfaceName := PX_SIP_IC_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_SIP_IC_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_ic := f_cf_create_monitor_sip ( PX_SIP_IC_INTERFACENAME );
			v_ic := f_cf_create_monitor_sip (  valueof(m_MonIntf_Sip_Ic)/*PX_SIP_IC_INTERFACENAME*/ );
			f_cf_monitor_up_sip(v_ic);
		}
		if (PX_SIP_MW_MONITORENABLED == true){
@@ -459,38 +459,38 @@ module LibIot_VxLTE_Functions {
			v_InterfaceAvailable.interfaceName := PX_SIP_MW_PI_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_SIP_MW_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_mwPI := f_cf_create_monitor_sip ( PX_SIP_MW_PI_INTERFACENAME );
			v_mwPI := f_cf_create_monitor_sip (  valueof(m_MonIntf_Sip_Mw_PI)/*PX_SIP_MW_PI_INTERFACENAME*/ );
			f_cf_monitor_up_sip(v_mwPI);
			/**/
			v_InterfaceAvailable.interfaceName := PX_SIP_MW_PS_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_SIP_MW_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_mwPS := f_cf_create_monitor_sip ( PX_SIP_MW_PS_INTERFACENAME );
			v_mwPS := f_cf_create_monitor_sip ( valueof(m_MonIntf_Sip_Mw_PS)/*PX_SIP_MW_PS_INTERFACENAME*/ );
			f_cf_monitor_up_sip(v_mwPS);
			/**/
			v_InterfaceAvailable.interfaceName := PX_SIP_MW_IS_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_SIP_MW_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_mwSI := f_cf_create_monitor_sip ( PX_SIP_MW_IS_INTERFACENAME );
			v_mwSI := f_cf_create_monitor_sip ( valueof(m_MonIntf_Sip_Mw_IS)/*PX_SIP_MW_IS_INTERFACENAME*/ );
			f_cf_monitor_up_sip(v_mwSI);
			/**/
			v_InterfaceAvailable.interfaceName := PX_SIP_MW_PB_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_SIP_MW_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_mwPB := f_cf_create_monitor_sip ( PX_SIP_MW_PB_INTERFACENAME );
			v_mwPB := f_cf_create_monitor_sip ( valueof(m_MonIntf_Sip_Mw_PB)/*PX_SIP_MW_PB_INTERFACENAME*/ );
			f_cf_monitor_up_sip(v_mwPB);
			/**/
			v_InterfaceAvailable.interfaceName := PX_SIP_MW_IB_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_SIP_MW_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_mwIB := f_cf_create_monitor_sip ( PX_SIP_MW_IB_INTERFACENAME );
			v_mwIB := f_cf_create_monitor_sip ( valueof(m_MonIntf_Sip_Mw_IB)/*PX_SIP_MW_IB_INTERFACENAME*/ );
			f_cf_monitor_up_sip(v_mwIB);		
		}
		if (PX_SIP_ISC_MONITORENABLED == true){
			v_InterfaceAvailable.interfaceName := PX_SIP_ISC_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_SIP_ISC_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_isc := f_cf_create_monitor_sip ( PX_SIP_ISC_INTERFACENAME );
			v_isc := f_cf_create_monitor_sip ( valueof(m_MonIntf_Sip_ISC)/*PX_SIP_ISC_INTERFACENAME*/ );
			f_cf_monitor_up_sip(v_isc);
		}
		
@@ -500,48 +500,48 @@ module LibIot_VxLTE_Functions {
			v_InterfaceAvailable.interfaceName := PX_DIAMETER_CX_IH_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_DIAMETER_CX_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_cxIH := f_cf_create_monitor_diameter ( PX_DIAMETER_CX_IH_INTERFACENAME );
			v_cxIH := f_cf_create_monitor_diameter ( valueof(m_MonIntf_Diameter_Cx_IH)/*PX_DIAMETER_CX_IH_INTERFACENAME*/ );
			f_cf_monitor_up_diameter(v_cxIH);
			/**/
			v_InterfaceAvailable.interfaceName := PX_DIAMETER_CX_SH_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_DIAMETER_CX_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_cxSH := f_cf_create_monitor_diameter ( PX_DIAMETER_CX_SH_INTERFACENAME );
			v_cxSH := f_cf_create_monitor_diameter (  valueof(m_MonIntf_Diameter_Cx_SH)/*PX_DIAMETER_CX_SH_INTERFACENAME*/ );
			f_cf_monitor_up_diameter(v_cxSH);
		}
		if (PX_DIAMETER_GX_MONITORENABLED == true){
			v_InterfaceAvailable.interfaceName := PX_DIAMETER_GX_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_DIAMETER_GX_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_gx := f_cf_create_monitor_diameter ( PX_DIAMETER_GX_INTERFACENAME );
			v_gx := f_cf_create_monitor_diameter (  valueof(m_MonIntf_Diameter_Gx)/*PX_DIAMETER_GX_INTERFACENAME*/ );
			f_cf_monitor_up_diameter(v_gx);
		}
		if (PX_DIAMETER_RX_MONITORENABLED == true){
			v_InterfaceAvailable.interfaceName := PX_DIAMETER_RX_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_DIAMETER_RX_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_rx := f_cf_create_monitor_diameter ( PX_DIAMETER_RX_INTERFACENAME );
			v_rx := f_cf_create_monitor_diameter (  valueof(m_MonIntf_Diameter_Rx)/*PX_DIAMETER_RX_INTERFACENAME*/ );
			f_cf_monitor_up_diameter(v_rx);
		}
		if (PX_DIAMETER_S6A_MONITORENABLED == true){
			v_InterfaceAvailable.interfaceName := PX_DIAMETER_S6A_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_DIAMETER_S6A_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_s6a := f_cf_create_monitor_diameter ( PX_DIAMETER_S6A_INTERFACENAME );
			v_s6a := f_cf_create_monitor_diameter (  valueof(m_MonIntf_Diameter_S6a)/*PX_DIAMETER_S6A_INTERFACENAME*/ );
			f_cf_monitor_up_diameter(v_s6a);
		}
		if (PX_DIAMETER_S9_MONITORENABLED == true){
			v_InterfaceAvailable.interfaceName := PX_DIAMETER_S9_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_DIAMETER_S9_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_s9 := f_cf_create_monitor_diameter ( PX_DIAMETER_S9_INTERFACENAME );
			v_s9 := f_cf_create_monitor_diameter (  valueof(m_MonIntf_Diameter_S9)/*PX_DIAMETER_S9_INTERFACENAME*/ );
			f_cf_monitor_up_diameter(v_s9);
		}
		if (PX_DIAMETER_SH_MONITORENABLED == true){
			v_InterfaceAvailable.interfaceName := PX_DIAMETER_SH_INTERFACENAME; 
			v_InterfaceAvailable.available := PX_DIAMETER_SH_MONITORENABLED;
			v_VxLTE_MonIntf_Available := f_update_MonitorInterfaceList(v_VxLTE_MonIntf_Available,v_InterfaceAvailable);
			v_sh := f_cf_create_monitor_diameter ( PX_DIAMETER_SH_INTERFACENAME );
			v_sh := f_cf_create_monitor_diameter (  valueof(m_MonIntf_Diameter_Sh)/*PX_DIAMETER_SH_INTERFACENAME*/ );
			f_cf_monitor_up_diameter(v_sh);
		}	
	}