Commit 8fb418af authored by YannGarcia's avatar YannGarcia
Browse files

Review TCs for MEC015

parent b6bff973
......@@ -66,7 +66,7 @@ LocationAPI_Pixits.PX_SUBSCRIPTION_ID := "subscription0123"
UEidentityAPI_Pics.PICS_UE_IDENTITY_API_SUPPORTED := false
# Mec-015 TrafficManagementAPI
BwManagementAPI_Pics.PICS_BWMANAGEMENT_API_SUPPORTED := true
TrafficManagementAPI_Pics.PICS_BWMANAGEMENT_API_SUPPORTED := true
[LOGGING]
# In this section you can specify the name of the log file and the classes of events
......@@ -84,7 +84,7 @@ LogEventTypes:= Yes
[TESTPORT_PARAMETERS]
# In this section you can specify parameters that are passed to Test Ports.
system.httpPort.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server=192.168.1.39,port=3004,use_ssl=0)"
system.httpPort.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server=192.168.1.39,port=30015,use_ssl=0)"
#system.httpPort.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server=try-mec.etsi.org,port=443,use_ssl=1)"
system.httpPort_notif.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server_mode=1,local_port=8081,use_ssl=0)"
......@@ -112,70 +112,6 @@ system.httpPort_notif.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server
[EXECUTE]
# In this section you can specify what parts of your test suite you want to execute.
#AtsMec_TestControl.control
#AtsMec_UEidentityAPI_TestCases.TC_MEC_MEC014_SRV_UETAG_001_OK
#AtsMec_UEidentityAPI_TestCases.TC_MEC_MEC014_SRV_UETAG_001_BR
#AtsMec_UEidentityAPI_TestCases.TC_MEC_MEC014_SRV_UETAG_001_NF
#AtsMec_UEidentityAPI_TestCases.TC_MEC_MEC014_SRV_UETAG_002_OK
#AtsMec_UEidentityAPI_TestCases.TC_MEC_MEC014_SRV_UETAG_002_BR
#AtsMec_UEidentityAPI_TestCases.TC_MEC_MEC014_SRV_UETAG_002_PF
# ETSI GS MEC 013
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UELOCLOOK_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UELOCLOOK_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UELOCLOOK_001_NF
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UELOCSUB_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UELOCSUB_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UELOCSUB_002_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UELOCSUB_002_NF
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UETRACKSUB_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UETRACKSUB_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UETRACKSUB_002_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UETRACKSUB_002_NF
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEINFLOOK_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEINFLOOK_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEINFLOOK_001_NF
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEINFSUB_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEINFSUB_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEINFSUB_002_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEINFSUB_002_NF
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_RLOCLOOK_001_OK
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_RLOCLOOK_001_NF
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_UEAREASUB_001_OK
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_UEAREASUB_001_BR
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_UEAREASUB_002_OK
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_UEAREASUB_002_NF
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_MEC013_SRV_UEDISTLOOK_001_OK
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_MEC013_SRV_UEDISTLOOK_001_BR
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_MEC013_SRV_UEDISTSUB_001_OK
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_MEC013_SRV_UEDISTSUB_001_BR
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_MEC013_SRV_UEDISTSUB_002_OK
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_MEC013_SRV_UEDISTSUB_002_NF
# ETSI GS MEC 012
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_011_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_012_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_011_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_012_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_016_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_017_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_018_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_019_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_016_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_016_NF
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_017_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_017_NF
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_018_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_018_NF
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_019_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_019_NF
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_001_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_002_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_003_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_004_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_005_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_006_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_007_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_008_OK
# ETSI GS MEC 011
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSAQ_001_OK
......@@ -227,19 +163,128 @@ system.httpPort_notif.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TRAF_003_PF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TRANS_001_OK
# ETSI GS MEC 012
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_011_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_012_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_011_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_012_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_016_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_017_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_018_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_019_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_016_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_016_NF
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_017_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_017_NF
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_018_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_018_NF
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_019_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_019_NF
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_001_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_002_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_003_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_004_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_005_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_006_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_007_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_MEC012_SRV_RNIS_008_OK
# ETSI GS MEC 013
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UELOCLOOK_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UELOCLOOK_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UELOCLOOK_001_NF
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UELOCSUB_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UELOCSUB_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UELOCSUB_002_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UELOCSUB_002_NF
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UETRACKSUB_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UETRACKSUB_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UETRACKSUB_002_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UETRACKSUB_002_NF
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEINFLOOK_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEINFLOOK_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEINFLOOK_001_NF
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEINFSUB_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEINFSUB_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEINFSUB_002_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_MEC013_SRV_UEINFSUB_002_NF
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_RLOCLOOK_001_OK
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_RLOCLOOK_001_NF
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_UEAREASUB_001_OK
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_UEAREASUB_001_BR
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_UEAREASUB_002_OK
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_UEAREASUB_002_NF
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_MEC013_SRV_UEDISTLOOK_001_OK
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_MEC013_SRV_UEDISTLOOK_001_BR
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_MEC013_SRV_UEDISTSUB_001_OK
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_MEC013_SRV_UEDISTSUB_001_BR
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_MEC013_SRV_UEDISTSUB_002_OK
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_MEC013_SRV_UEDISTSUB_002_NF
#AtsMec_UEidentityAPI_TestCases.TC_MEC_MEC014_SRV_UETAG_001_OK
#AtsMec_UEidentityAPI_TestCases.TC_MEC_MEC014_SRV_UETAG_001_BR
#AtsMec_UEidentityAPI_TestCases.TC_MEC_MEC014_SRV_UETAG_001_NF
#AtsMec_UEidentityAPI_TestCases.TC_MEC_MEC014_SRV_UETAG_002_OK
#AtsMec_UEidentityAPI_TestCases.TC_MEC_MEC014_SRV_UETAG_002_BR
#AtsMec_UEidentityAPI_TestCases.TC_MEC_MEC014_SRV_UETAG_002_PF
# ETSI GS MEC 015
#AtsMec_BwManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_001_OK
#AtsMec_BwManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_002_OK
#AtsMec_BwManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_002_BR
AtsMec_BwManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_002_NF
# Check that the IUT responds with the list of configured bandwidth allocations when queried by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_001_OK
# Check that the IUT responds with a configured bandwidth allocation when queried by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_002_OK
# Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_002_BR
# Check that the IUT responds with an error when a request with an unknown resource URI is sent by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_002_NF
# Check that the IUT responds with a registration and initialisation approval for the requested bandwidth requirements sent by a MEC Application
AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_003_OK_01
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_003_OK_02
# Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_003_BR_01
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_003_BR_02
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_003_BR_03
# Check that the IUT responds with the configured bandwidth allocation when queried by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_004_OK
# Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_004_NF
# Check that the IUT updates the requested bandwidth requirements when commanded by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_005_OK
# Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_005_BR
# Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_005_NF
# Check that the IUT when provided with just the changes (deltas) updates the requested bandwidth requirements when commanded by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_006_OK
#Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_006_BR
# Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_006_NF
# Check that the IUT unregisters from the Bandwidth Management Service when commanded by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_007_OK
# Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_TM_007_NF
# Check that the IUT responds with the Multi-access Traffic Steering information when queried by a MEC Application
#AtsMec_MultiAccessSteeringInfoAPI_TestCases.TC_MEC_MEC015_SRV_MTS_001_OK
# Check that the IUT responds with the list of configured Multi-access Traffic Steering when queried by a MEC Application
#AtsMec_MultiAccessSteeringInfoAPI_TestCases.TC_MEC_MEC015_SRV_MTS_002_OK
#Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_MTS_002_BR
# Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_MTS_002_NF
# Check that the IUT responds with a configured Multi-access Traffic Steering when queried by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_MTS_003_OK
#Check that the IUT responds with an error when a request with incorrect parameters is sent by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_MTS_003_BR
# Check that the IUT responds with an error when a request for an unknown URI is sent by a MEC Application
#AtsMec_TrafficManagementAPI_TestCases.TC_MEC_MEC015_SRV_MTS_003_NF
# ETSI GS MEC 016
# ETSI GS MEC 028
# ETSI GS MEC 030
AtsMec_V2XInformationAPI_TestCases.TC_MEC_MEC030_SRV_V2X_001_OK_01
#AtsMec_V2XInformationAPI_TestCases.TC_MEC_MEC030_SRV_V2X_001_OK_01
[GROUPS]
......
This diff is collapsed.
......@@ -5,6 +5,7 @@ sources := \
AtsMec_AppEnablementAPI_TestCases.ttcn \
AtsMec_AppLCM_TestCases.ttcn \
AtsMec_TrafficManagementAPI_TestCases.ttcn \
AtsMec_MultiAccessSteeringInfoAPI_TestCases.ttcn \
AtsMec_Grant_TestCases.ttcn \
AtsMec_LocationAPI_TestCases.ttcn \
AtsMec_RadioNodeLocationAPI_TestCases.ttcn \
......
......@@ -2,4 +2,5 @@ sources := \
ttcn/TrafficManagementAPI_Pics.ttcn \
ttcn/TrafficManagementAPI_Pixits.ttcn \
ttcn/TrafficManagementAPI_Templates.ttcn \
ttcn/TrafficManagementAPI_Functions.ttcn \
ttcn/TrafficManagementAPI_TypesAndValues.ttcn
......@@ -10,45 +10,47 @@ module TrafficManagementAPI_Templates {
import from TrafficManagementAPI_TypesAndValues all;
import from TrafficManagementAPI_Pixits all;
template (value) BwInfo m_bw_info(
in AppInsId p_appInsId := PX_APP_INSTANCE_ID,
in RequestType p_requestType,
//in FixedBWPriority p_fixedBWPriority,
in FixedAllocation p_fixedAllocation,
in AllocationDirection p_allocationDirection
) := {
template (omit) BwInfo m_bw_info(
in AppInsId p_appInsId := PX_APP_INSTANCE_ID,
in BwRequestType p_requestType,
in FixedAllocation p_fixedAllocation,
in AllocationDirection p_allocationDirection,
in template (omit) SessionFilter p_sessionFilter := omit,
in template (omit) FixedBWPriority p_fixedBWPriority := omit
) := {
timeStamp := omit,
appInsId := p_appInsId,
requestType := p_requestType,
sessionFilter := omit,
fixedBWPriority := omit, //p_fixedBWPriority,
sessionFilter := p_sessionFilter,
fixedBWPriority := p_fixedBWPriority,
fixedAllocation := p_fixedAllocation,
allocationDirection := p_allocationDirection
} // End of template m_bw_info
template (present) BwInfo mw_bw_info(
template (present) AppInsId p_appInsId := ?,
template (present) RequestType p_requestType := ?,
template (present) FixedBWPriority p_fixedBWPriority := ?,
template (present) FixedAllocation p_fixedAllocation := ?,
template (present) AllocationDirection p_allocationDirection := ?
) := {
template BwInfo mw_bw_info(
template (present) AppInsId p_appInsId := ?,
template (present) BwRequestType p_requestType := ?,
template (present) FixedAllocation p_fixedAllocation := ?,
template (present) AllocationDirection p_allocationDirection := ?,
template SessionFilter p_sessionFilter := *,
template FixedBWPriority p_fixedBWPriority := *
) := {
timeStamp := *,
appInsId := p_appInsId,
requestType := p_requestType,
sessionFilter := *,
sessionFilter := p_sessionFilter,
fixedBWPriority := p_fixedBWPriority,
fixedAllocation := p_fixedAllocation,
allocationDirection := p_allocationDirection
} // End of template mw_bw_info
template (value) BwInfoDeltas m_bw_info_delta(
template (omit) BwInfoDeltas m_bw_info_deltas(
in AppInsId p_appInsId := PX_APP_INSTANCE_ID,
in RequestType p_requestType,
in template (value) SessionFilter p_sessionFilter,
in FixedBWPriority p_fixedBWPriority,
in FixedAllocation p_fixedAllocation,
in AllocationDirection p_allocationDirection
in BwRequestType p_requestType,
in template (omit) SessionFilter p_sessionFilter := omit,
in template (omit) FixedAllocation p_fixedAllocation := omit,
in template (omit) AllocationDirection p_allocationDirection := omit,
in template (omit) FixedBWPriority p_fixedBWPriority := omit
) := {
appInsId := p_appInsId,
requestType := p_requestType,
......@@ -56,22 +58,156 @@ module TrafficManagementAPI_Templates {
fixedBWPriority := p_fixedBWPriority,
fixedAllocation := p_fixedAllocation,
allocationDirection := p_allocationDirection
} // End of template m_bw_info_delta
} // End of template m_bw_info_deltas
template (present) BwInfoDeltas mw_bw_info_delta(
template (present) AppInsId p_appInsId := ?,
template (present) RequestType p_requestType := ?,
template (present) SessionFilter p_sessionFilter := ?,
template (present) FixedBWPriority p_fixedBWPriority := ?,
template (present) FixedAllocation p_fixedAllocation := ?,
template (present) AllocationDirection p_allocationDirection := ?
) := {
template BwInfoDeltas mw_bw_info_deltas(
template (present) AppInsId p_appInsId := ?,
template (present) BwRequestType p_requestType := ?,
template (present) SessionFilter p_sessionFilter := ?,
template (present) FixedAllocation p_fixedAllocation := ?,
template (present) AllocationDirection p_allocationDirection := ?,
template FixedBWPriority p_fixedBWPriority := *
) := {
appInsId := p_appInsId,
requestType := p_requestType,
sessionFilter := p_sessionFilter,
fixedBWPriority := p_fixedBWPriority,
fixedAllocation := p_fixedAllocation,
allocationDirection := p_allocationDirection
} // End of template mw_bw_info_delta
} // End of template mw_bw_info_deltas
template (omit) SessionFilterItems m_session_filter(
in template (value) SourceIp p_sourceIp,
in template (value) SourcePort p_sourcePort,
in template (omit) DstAddress p_dstAddress := omit,
in template (omit) DstPort p_dstPort := omit,
in template (omit) Protocol p_protocol := omit
) := {
sourceIp := p_sourceIp,
sourcePort := p_sourcePort,
dstAddress := p_dstAddress,
dstPort := p_dstPort,
protocol := p_protocol
} // End of template m_session_filter
template SessionFilterItems mw_session_filter(
template (present) SourceIp p_sourceIp := ?,
template (present) SourcePort p_sourcePort := ?,
template DstAddress p_dstAddress := *,
template DstPort p_dstPort := *,
template Protocol p_protocol := *
) := {
sourceIp := p_sourceIp,
sourcePort := p_sourcePort,
dstAddress := p_dstAddress,
dstPort := p_dstPort,
protocol := p_protocol
} // End of template mw_session_filter
template (omit) MtsCapabilityInfo m_mts_capability_info(
in template (value) MtsAccessInfos p_mtsAccessInfo,
in template (value) MtsModes p_mtsMode,
in template (omit) TimeStamp p_timeStamp := omit
) := {
timeStamp := p_timeStamp,
mtsAccessInfo := p_mtsAccessInfo,
mtsMode := p_mtsMode
} // End of template m_mts_capability_info
template MtsCapabilityInfo mw_mts_capability_info(
template (present) MtsAccessInfos p_mtsAccessInfo := ?,
template (present) MtsModes p_mtsMode := ?,
template TimeStamp p_timeStamp := *
) := {
timeStamp := p_timeStamp,
mtsAccessInfo := p_mtsAccessInfo,
mtsMode := p_mtsMode
} // End of template mw_mts_capability_info
template (omit) MtsSessionInfo m_mts_session_info(
in template (value) AppInsId p_appInsId,
in template (value) MtsRequestType p_requestType,
in template (value) QosD p_qosD,
in template (value) MtsMode p_mtsMode,
in template (value) TrafficDirection p_trafficDirection,
in template (omit) FlowFilter p_flowFilter := omit,
in template (omit) TimeStamp p_timeStamp := omit
) := {
timeStamp := p_timeStamp,
appInsId := p_appInsId,
requestType := p_requestType,
flowFilter := p_flowFilter,
qosD := p_qosD,
mtsMode := p_mtsMode,
trafficDirection := p_trafficDirection
} // End of template m_mts_session_info
template MtsSessionInfo mw_mts_session_info(
template (present) AppInsId p_appInsId := ?,
template (present) MtsRequestType p_requestType := ?,
template (present) QosD p_qosD := ?,
template (present) MtsMode p_mtsMode := ?,
template (present) TrafficDirection p_trafficDirection := ?,
template FlowFilter p_flowFilter := *,
template TimeStamp p_timeStamp := *
) := {
timeStamp := p_timeStamp,
appInsId := p_appInsId,
requestType := p_requestType,
flowFilter := p_flowFilter,
qosD := p_qosD,
mtsMode := p_mtsMode,
trafficDirection := p_trafficDirection
} // End of template mw_mts_session_info
template (value) QosD m_qosd(
in UInt32 p_minTpt := 128,
in UInt32 p_maxLatency := 128,
in UInt32 p_maxLoss := 128,
in UInt32 p_maxJitter := 128,
in Priority p_priority := Low
) := {
minTpt := p_minTpt,
maxLatency := p_maxLatency,
maxLoss := p_maxLoss,
maxJitter := p_maxJitter,
priority := p_priority
} // End of template m_qosd
template (value) QosD m_qosd_1(
in UInt32 p_minTpt := 64,
in UInt32 p_maxLatency := 64
) := {
minTpt := p_minTpt,
maxLatency := p_maxLatency,
maxLoss := omit,
maxJitter := omit,
priority := omit
} // End of template m_qosd_1
template QosD mw_qosd(
template UInt32 p_minTpt := *,
template UInt32 p_maxLatency := *,
template UInt32 p_maxLoss := *,
template UInt32 p_maxJitter := *,
template Priority p_priority := *
) := {
minTpt := p_minTpt,
maxLatency := p_maxLatency,
maxLoss := p_maxLoss,
maxJitter := p_maxJitter,
priority := p_priority
} // End of template mw_qosd
template QosD mw_qosd_1(
template UInt32 p_minTpt := ?,
template UInt32 p_maxLatency := ?
) := {
minTpt := p_minTpt,
maxLatency := p_maxLatency,
maxLoss := omit,
maxJitter := omit,
priority := omit
} // End of template mw_qos1
} // End of module TrafficManagementAPI_Templates
} // End of module TrafficManagementAPI_Templates
......@@ -19,7 +19,7 @@ module TrafficManagementAPI_TypesAndValues {
type record BwInfo {
TimeStamp timeStamp optional,
AppInsId appInsId,
RequestType requestType,
BwRequestType requestType,
SessionFilter sessionFilter optional,
FixedBWPriority fixedBWPriority optional,
FixedAllocation fixedAllocation,
......@@ -38,7 +38,7 @@ module TrafficManagementAPI_TypesAndValues {
*/
type record BwInfoDeltas {
AppInsId appInsId,
RequestType requestType,
BwRequestType requestType,
SessionFilter sessionFilter optional,
FixedBWPriority fixedBWPriority optional,
FixedAllocation fixedAllocation optional,
......@@ -63,13 +63,20 @@ module TrafficManagementAPI_TypesAndValues {
/**
* @desc Numeric value (0 - 255) corresponding to specific type of consumer
*/
type enumerated RequestType {
type enumerated BwRequestType {
APPLICATION_SPECIFIC_BW_ALLOCATION (0),
SESSION_SPECIFIC_BW_ALLOCATION (1)
} with {
variant "JSON: as number"
}
type enumerated MtsRequestType {
APPLICATION_SPECIFIC_MTS_ALLOCATION (0),
SESSION_SPECIFIC_MTS_ALLOCATION (1)
} with {
variant "JSON: as number"
}
/**
* @desc Session filtering criteria, applicable when requestType is set as SESSION_SPECIFIC_BW_ALLOCATION. Any filtering criteria shall define a single session only. In case multiple sessions match sessionFilter the request shall be rejected
*/
......@@ -216,16 +223,15 @@ module TrafficManagementAPI_TypesAndValues {
* @member flowFilter Traffic flow filtering criteria, applicable only
* @member qosD QoS requirement description of the MTS session
* @member mtsMode Numeric value corresponding to a specific MTS operation
* @member trafficDirection The direction of the requested MTS session
supported by the TMS
* @member trafficDirection The direction of the requested MTS session supported by the TMS
*/
type record MtsSessionInfo {
TimeStamp timeStamp optional,
AppInsId appInsId,
RequestType requestType,
MtsRequestType requestType,
FlowFilter flowFilter optional,
QosD qosD,
MtsModes mtsMode,
MtsMode mtsMode,
TrafficDirection trafficDirection
}
type record of MtsSessionInfo MtsSessionInfos
......
......@@ -26,6 +26,10 @@ module LibMec_Pixits {
modulepar charstring PX_ME_BWM_URI := "/bwm/v1/bw_allocations";
modulepar charstring PX_ME_MTS_INFO_URI := "/mts/v1/mts_info";
modulepar charstring PX_ME_MTS_SESSIONS_URI := "/mts/v1/mts_sessions";
modulepar charstring PX_ME_APP_AMS_URI := "/amsi/v1/appMobilityServices"
modulepar charstring PX_ME_APP_AMS_SUBS := "/amsi/v1/subscriptions"
......
......@@ -63,6 +63,10 @@ module LibItsHttp_JsonMessageBodyTypes {
L2Meas l2Meas,
BwInfoList bwInfoList,
BwInfo bwInfo,
BwInfoDeltas bwInfoDeltas,
MtsCapabilityInfo mtsCapabilityInfo,
MtsSessionInfo mtsSessionInfo,
MtsSessionInfos mtsSessionInfos,
TransportInfoList transportInfoList,
TrafficRuleList trafficRuleList,
TrafficRule trafficRule,
......
......@@ -712,7 +712,7 @@ group ams_api {
} // End of group rnis_notifications
group bw_management_api {
group traffic_management_api {
template (value) JsonBody m_body_json_bw_info(
in template (value) BwInfo p_bwInfo
......@@ -726,13 +726,55 @@ group ams_api {
bwInfo := p_bwInfo
} // End of template mw_body_json_bw_info
template (value) JsonBody m_body_json_bw_info_deltas(
in template (value) BwInfoDeltas p_bwInfoDeltas
) := {
bwInfoDeltas := p_bwInfoDeltas
} // End of template m_body_json_bw_info_deltas
template (present) JsonBody mw_body_json_bw_info_deltas(
template (present) BwInfoDeltas p_bwInfoDeltas := ?
) := {
bwInfoDeltas := p_bwInfoDeltas
} // End of template mw_body_json_bw_info_deltas
template (present) JsonBody mw_body_json_bw_info_list(
template (present) BwInfoList p_bwInfoList := ?
) := {
bwInfoList := p_bwInfoList