Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Emergency VoLTE Interoperability Tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
INT - Core Network and Interoperability Testing
Voice and Video over LTE
Emergency VoLTE Interoperability Tests
Commits
47d0f7f9
Commit
47d0f7f9
authored
1 year ago
by
Iztok Juvancic
Browse files
Options
Downloads
Patches
Plain Diff
added emergency config parameters/intefcaes
parent
6fd1f542
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!6
Update master branch for closing TTF T010
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ttcn/LibIot/LibIot_VxLTE_Functions.ttcn
+73
-20
73 additions, 20 deletions
ttcn/LibIot/LibIot_VxLTE_Functions.ttcn
with
73 additions
and
20 deletions
ttcn/LibIot/LibIot_VxLTE_Functions.ttcn
+
73
−
20
View file @
47d0f7f9
...
...
@@ -54,9 +54,15 @@ module LibIot_VxLTE_Functions {
if
(
PX_SIP_GMB_MONITORENABLED
==
true
){
vc_MonIntfList
.
gmB
:=
valueof
(
m_MonIntf_Sip_Gm_B
);
}
if
(
PX_SIP_MW_PSAP_MONITORENABLED
==
true
){
vc_MonIntfList
.
mwPSAP
:=
valueof
(
m_MonIntf_Sip_Mw_PSAP
);
}
if
(
PX_SIP_MM_B_PSAP_MONITORENABLED
==
true
){
vc_MonIntfList
.
mmB_PSAP
:=
valueof
(
m_MonIntf_Sip_MmB_PSAP
);
}
if
(
PX_SIP_MW_EB_MONITORENABLED
==
true
){
vc_MonIntfList
.
mwEB
:=
valueof
(
m_MonIntf_Sip_Mw_EB
);
}
if
(
PX_SIP_MW_S_PSAP_MONITORENABLED
==
true
){
vc_MonIntfList
.
mwS_PSAP
:=
valueof
(
m_MonIntf_Sip_MwS_PSAP
);
}
if
(
PX_SIP_IC_MONITORENABLED
==
true
){
vc_MonIntfList
.
ic
:=
valueof
(
m_MonIntf_Sip_Ic
);
}
...
...
@@ -124,9 +130,15 @@ module LibIot_VxLTE_Functions {
vc_vxlte_monitor_components
.
gmB
:=
f_cf_create_monitor_sip
(
vc_MonIntfList
.
gmB
);
}
if
(
isvalue
(
vc_MonIntfList
.
mwPSAP
)){
vc_vxlte_monitor_components
.
mwPSAP
:=
f_cf_create_monitor_sip
(
vc_MonIntfList
.
mwPSAP
);
}
if
(
isvalue
(
vc_MonIntfList
.
mmB_PSAP
)){
vc_vxlte_monitor_components
.
mmB_PSAP
:=
f_cf_create_monitor_sip
(
vc_MonIntfList
.
mmB_PSAP
);
}
if
(
isvalue
(
vc_MonIntfList
.
mwEB
)){
vc_vxlte_monitor_components
.
mwEB
:=
f_cf_create_monitor_sip
(
vc_MonIntfList
.
mwEB
);
}
if
(
isvalue
(
vc_MonIntfList
.
mwS_PSAP
)){
vc_vxlte_monitor_components
.
mwS_PSAP
:=
f_cf_create_monitor_sip
(
vc_MonIntfList
.
mwS_PSAP
);
}
if
(
isvalue
(
vc_MonIntfList
.
ic
)){
vc_vxlte_monitor_components
.
ic
:=
f_cf_create_monitor_sip
(
vc_MonIntfList
.
ic
);
}
...
...
@@ -211,16 +223,33 @@ module LibIot_VxLTE_Functions {
)));
}
if
(
isvalue
(
vc_MonIntfList
.
m
w
PSAP
)){
f_cf_monitor_up_sip
(
vc_vxlte_monitor_components
.
m
w
PSAP
);
vc_vxlte_monitor_components
.
m
wPI
.
start
(
f_cf_setFilter
(
if
(
isvalue
(
vc_MonIntfList
.
m
mB_
PSAP
)){
f_cf_monitor_up_sip
(
vc_vxlte_monitor_components
.
m
mB_
PSAP
);
vc_vxlte_monitor_components
.
m
mB_PSAP
.
start
(
f_cf_setFilter
(
valueof
(
m_SetFilterReq
(
e_sip
,
{
vc_MonIntfList
.
m
w
PSAP
.
interfaceInfo
}
{
vc_MonIntfList
.
m
mB_
PSAP
.
interfaceInfo
}
)
)));
}
if
(
isvalue
(
vc_MonIntfList
.
mwEB
)){
f_cf_monitor_up_sip
(
vc_vxlte_monitor_components
.
mwEB
);
vc_vxlte_monitor_components
.
mwEB
.
start
(
f_cf_setFilter
(
valueof
(
m_SetFilterReq
(
e_sip
,
{
vc_MonIntfList
.
mwEB
.
interfaceInfo
}
)
)));
}
if
(
isvalue
(
vc_MonIntfList
.
mwS_PSAP
)){
f_cf_monitor_up_sip
(
vc_vxlte_monitor_components
.
mwS_PSAP
);
vc_vxlte_monitor_components
.
mwS_PSAP
.
start
(
f_cf_setFilter
(
valueof
(
m_SetFilterReq
(
e_sip
,
{
vc_MonIntfList
.
mwS_PSAP
.
interfaceInfo
}
)
)));
}
if
(
isvalue
(
vc_MonIntfList
.
ic
)){
f_cf_monitor_up_sip
(
vc_vxlte_monitor_components
.
ic
);
vc_vxlte_monitor_components
.
ic
.
start
(
f_cf_setFilter
(
...
...
@@ -394,9 +423,15 @@ module LibIot_VxLTE_Functions {
if
(
isvalue
(
vc_MonIntfList
.
gmB
)){
f_cf_monitor_down_sip
(
vc_vxlte_monitor_components
.
gmB
);
}
if
(
isvalue
(
vc_MonIntfList
.
m
w
PSAP
)){
f_cf_monitor_down_sip
(
vc_vxlte_monitor_components
.
m
w
PSAP
);
if
(
isvalue
(
vc_MonIntfList
.
m
mB_
PSAP
)){
f_cf_monitor_down_sip
(
vc_vxlte_monitor_components
.
m
mB_
PSAP
);
}
if
(
isvalue
(
vc_MonIntfList
.
mwEB
)){
f_cf_monitor_down_sip
(
vc_vxlte_monitor_components
.
mwEB
);
}
if
(
isvalue
(
vc_MonIntfList
.
mwS_PSAP
)){
f_cf_monitor_down_sip
(
vc_vxlte_monitor_components
.
mwS_PSAP
);
}
if
(
isvalue
(
vc_MonIntfList
.
ic
)){
f_cf_monitor_down_sip
(
vc_vxlte_monitor_components
.
ic
);
}
...
...
@@ -488,7 +523,9 @@ module LibIot_VxLTE_Functions {
if
((
isvalue
(
vc_MonIntfList
.
gmA
))
and
(
vc_MonIntfList
.
gmA
.
interfaceName
==
p_interfaceName
)){
return
true
;}
//if ((isvalue(vc_MonIntfList.gmB)) and (vc_MonIntfList.gmB.interfaceName==p_interfaceName)){ return true;}
if
((
isvalue
(
vc_MonIntfList
.
mwPSAP
))
and
(
vc_MonIntfList
.
mwPSAP
.
interfaceName
==
p_interfaceName
)){
return
true
;}
if
((
isvalue
(
vc_MonIntfList
.
mmB_PSAP
))
and
(
vc_MonIntfList
.
mmB_PSAP
.
interfaceName
==
p_interfaceName
)){
return
true
;}
if
((
isvalue
(
vc_MonIntfList
.
mwEB
))
and
(
vc_MonIntfList
.
mwEB
.
interfaceName
==
p_interfaceName
)){
return
true
;}
if
((
isvalue
(
vc_MonIntfList
.
mwS_PSAP
))
and
(
vc_MonIntfList
.
mwS_PSAP
.
interfaceName
==
p_interfaceName
)){
return
true
;}
if
((
isvalue
(
vc_MonIntfList
.
ic
))
and
(
vc_MonIntfList
.
ic
.
interfaceName
==
p_interfaceName
)){
return
true
;}
if
((
isvalue
(
vc_MonIntfList
.
mwPI
))
and
(
vc_MonIntfList
.
mwPI
.
interfaceName
==
p_interfaceName
)){
return
true
;}
...
...
@@ -531,7 +568,7 @@ module LibIot_VxLTE_Functions {
var
InterfaceAvailableList
v_VxLTE_MonIntf_Available
;
var
InterfaceAvailable
v_InterfaceAvailable
;
var
SipInterfaceMonitor
v_gmA
,
v_gmB
,
v_m
w
PSAP
,
v_ic
,
v_mwPI
,
v_mwPS
,
v_mwPE
,
v_mwSI
,
v_mwPB
,
v_mwIB
,
v_mwIE
,
v_isc
;
var
SipInterfaceMonitor
v_gmA
,
v_gmB
,
v_m
mBPSAP
,
v_mwEB
,
v_mwS
PSAP
,
v_ic
,
v_mwPI
,
v_mwPS
,
v_mwPE
,
v_mwSI
,
v_mwPB
,
v_mwIB
,
v_mwIE
,
v_isc
;
var
DiameterInterfaceMonitor
v_cxIH
,
v_cxSH
,
v_gx
,
v_rx
,
v_s6a
,
v_s9
,
v_sh
;
if
(
PX_SIP_GMA_MONITORENABLED
==
true
){
...
...
@@ -548,14 +585,30 @@ module LibIot_VxLTE_Functions {
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_M
W
_PSAP_MONITORENABLED
==
true
){
if
(
PX_SIP_M
M_B
_PSAP_MONITORENABLED
==
true
){
v_InterfaceAvailable
.
interfaceName
:=
PX_SIP_M
W
_PSAP_INTERFACENAME
;
v_InterfaceAvailable
.
available
:=
PX_SIP_M
W
_PSAP_MONITORENABLED
;
v_InterfaceAvailable
.
interfaceName
:=
PX_SIP_M
M_B
_PSAP_INTERFACENAME
;
v_InterfaceAvailable
.
available
:=
PX_SIP_M
M_B
_PSAP_MONITORENABLED
;
v_VxLTE_MonIntf_Available
:=
f_update_MonitorInterfaceList
(
v_VxLTE_MonIntf_Available
,
v_InterfaceAvailable
);
v_m
w
PSAP
:=
f_cf_create_monitor_sip
(
valueof
(
m_MonIntf_Sip_M
w
_PSAP
)
/*PX_SIP_MW_PSAP_INTERFACENAME*/
);
f_cf_monitor_up_sip
(
v_m
w
PSAP
);
v_m
mB
PSAP
:=
f_cf_create_monitor_sip
(
valueof
(
m_MonIntf_Sip_M
mB
_PSAP
)
/*PX_SIP_MW_PSAP_INTERFACENAME*/
);
f_cf_monitor_up_sip
(
v_m
mB
PSAP
);
}
if
(
PX_SIP_MW_EB_MONITORENABLED
==
true
){
v_InterfaceAvailable
.
interfaceName
:=
PX_SIP_MW_EB_INTERFACENAME
;
v_InterfaceAvailable
.
available
:=
PX_SIP_MW_EB_MONITORENABLED
;
v_VxLTE_MonIntf_Available
:=
f_update_MonitorInterfaceList
(
v_VxLTE_MonIntf_Available
,
v_InterfaceAvailable
);
v_mwEB
:=
f_cf_create_monitor_sip
(
valueof
(
m_MonIntf_Sip_Mw_EB
)
/*PX_SIP_MW_PI_INTERFACENAME*/
);
f_cf_monitor_up_sip
(
v_mwEB
);
}
if
(
PX_SIP_MW_S_PSAP_MONITORENABLED
==
true
){
v_InterfaceAvailable
.
interfaceName
:=
PX_SIP_MW_S_PSAP_INTERFACENAME
;
v_InterfaceAvailable
.
available
:=
PX_SIP_MW_S_PSAP_MONITORENABLED
;
v_VxLTE_MonIntf_Available
:=
f_update_MonitorInterfaceList
(
v_VxLTE_MonIntf_Available
,
v_InterfaceAvailable
);
v_mwSPSAP
:=
f_cf_create_monitor_sip
(
valueof
(
m_MonIntf_Sip_MwS_PSAP
)
/*PX_SIP_MW_PSAP_INTERFACENAME*/
);
f_cf_monitor_up_sip
(
v_mwSPSAP
);
}
if
(
PX_SIP_IC_MONITORENABLED
==
true
){
v_InterfaceAvailable
.
interfaceName
:=
PX_SIP_IC_INTERFACENAME
;
v_InterfaceAvailable
.
available
:=
PX_SIP_IC_MONITORENABLED
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment