Commit 77f7c526 authored by YannGarcia's avatar YannGarcia
Browse files

Finalyze test case for MEC030

parent a12da094
module AtsMec_WlanInformationAPI_TestCases {
} // End of module AtsMec_WlanInformationAPI_TestCases
......@@ -15,6 +15,7 @@ sources := \
AtsMec_UEidentityAPI_TestCases.ttcn \
AtsMec_V2XInformationServiceAPI_TestCases.ttcn \
AtsMec_DeviceApplicationInterface_TestCases.ttcn \
AtsMec_WlanInformationAPI_TestCases.ttcn \
# AtsMec_MeoPkgm_TestCases.ttcn \
# AtsMec_MepmPkgm_TestCases.ttcn \
# AtsMec_FixedAccessInfoAPI_TestCases.ttcn \
......@@ -37,6 +38,7 @@ modules := ../LibCommon \
../LibMec/UEidentityAPI \
../LibMec/V2XInformationServiceAPI \
../LibMec/DeviceApplicationInterface \
../LibMec/WlanInformationAPI \
../../ccsrc/Ports/LibHttp \
../../ccsrc/EncDec/LibHttp \
../../ccsrc/EncDec/LibMec \
......@@ -50,4 +52,3 @@ modules := ../LibCommon \
../../ccsrc/Protocols/Tcp \
../modules/titan.TestPorts.Common_Components.Abstract_Socket \
......@@ -3,4 +3,5 @@ sources := \
ttcn/V2XInformationServiceAPI_Pics.ttcn \
ttcn/V2XInformationServiceAPI_Pixits.ttcn \
ttcn/V2XInformationServiceAPI_Templates.ttcn \
ttcn/V2XInformationServiceAPI_Functions.ttcn \
......@@ -3,6 +3,9 @@ module V2XInformationServiceAPI_Pixits {
// LibCommon
import from LibCommon_BasicTypesAndValues all;
// JSON
import from JSON all;
modulepar charstring PX_V2X_ECGI := "ecgi,135792468";
modulepar charstring PX_V2X_UNKNOWN_ECGI := "ecgi,1357924689";
......@@ -23,4 +26,26 @@ module V2XInformationServiceAPI_Pixits {
modulepar charstring PX_UNKNOWN_MNC := "796";
} // End of module V2XInformationServiceAPI_Pixits
modulepar JSON.AnyURI PX_PROV_UU_UNI_SUB_CALLBACK := "";
modulepar JSON.AnyURI PX_PROV_UU_MBMS_SUB_CALLBACK := "";
modulepar JSON.AnyURI PX_PROV_PC5_SUB_CALLBACK := "";
modulepar JSON.AnyURI PX_PROV_V2X_SUB_CALLBACK := "";
modulepar charstring PX_V2X_SERVER_IP_ADDRESS := "";
modulepar charstring PX_V2X_SERVER_UDP_PORT := "";
modulepar charstring PX_V2X_MBMS_SERVICE_ID := "";
modulepar charstring PX_V2X_MC_SERVER := "";
modulepar charstring PX_V2X_MC_PORT := "";
modulepar charstring PX_V2X_SERVICE_AREA_ID := "";
modulepar charstring PX_V2X_DST_LAYER_2_ID := "";
} // End of module V2XInformationServiceAPI_Pixits
......@@ -192,4 +192,293 @@ module V2XInformationServiceAPI_Templates {
mnc := p_mnc
} // End of template mw_plmn
template (value) V2xMsgPublication m_v2x_message(
in JSON.String p_msgContent := "AgIAEPQ9JwVAWXGJVq3AIK5gAgAgADDUHgAAASAWhAMQpQcz/+H/+gAQAA==",
in JSON.String p_msgEncodeFormat := "base64",
in MsgType p_msgType := cam,
in StdOrganization p_stdOrganization := ETSI
) := {
msgContent := p_msgContent,
msgEncodeFormat := p_msgEncodeFormat,
msgType := p_msgType,
stdOrganization := p_stdOrganization
} // End of template m_v2x_message
template (present) V2xMsgPublication mw_v2x_message(
template (present) JSON.String p_msgContent := ?,
template (present) JSON.String p_msgEncodeFormat := "base64",
template (present) MsgType p_msgType := ?,
template (present) StdOrganization p_stdOrganization := ETSI
) := {
msgContent := p_msgContent,
msgEncodeFormat := p_msgEncodeFormat,
msgType := p_msgType,
stdOrganization := p_stdOrganization
} // End of template mw_v2x_message
template (omit) ProvChgUuUniSubscription m_prov_chg_uu_uni_subscription(
in template (value) JSON.AnyURI p_callbackReference,
in template (value) ProvChgUuUniSubscriptionFilterCriteria p_filterCriteria,
in template (omit) LinkType p_links := omit,
in template (omit) TimeStamp p_expiryDeadline := omit
) := {
links := p_links,
callbackReference := p_callbackReference,
expiryDeadline := p_expiryDeadline,
filterCriteria := p_filterCriteria,
subscriptionType := "ProvChgUuUniSubscription"
} // End of template m_prov_chg_uu_uni_subscription
template (omit) ProvChgUuUniSubscription m_prov_chg_uu_uni_subscription_invalid(
in template (value) JSON.AnyURI p_callbackReference,
in template (value) ProvChgUuUniSubscriptionFilterCriteria p_filterCriteria,
in template (omit) LinkType p_links := omit,
in template (omit) TimeStamp p_expiryDeadline := omit
) := {
links := p_links,
callbackReference := p_callbackReference,
expiryDeadline := p_expiryDeadline,
filterCriteria := p_filterCriteria,
subscriptionType := "InvalidProvChgUuUniSubscription"
} // End of template m_prov_chg_uu_uni_subscription
template ProvChgUuUniSubscription mw_prov_chg_uu_uni_subscription(
template (present) JSON.AnyURI p_callbackReference := ?,
template (present) ProvChgUuUniSubscriptionFilterCriteria p_filterCriteria := ?,
template LinkType p_links := *,
template TimeStamp p_expiryDeadline := *
) := {
links := p_links,
callbackReference := p_callbackReference,
expiryDeadline := p_expiryDeadline,
filterCriteria := p_filterCriteria,
subscriptionType := "ProvChgUuUniSubscription"
} // End of template mw_prov_chg_uu_uni_subscription
template (omit) ProvChgUuUniSubscriptionFilterCriteria m_prov_chg_uu_uni_filter_criteria(
in template (value) LocationInfo p_location_info,
in template (value) V2xApplicationServer p_v2xApplicationServer,
in template (omit) UuMbmsNeighbourCellInfoList p_neighbourCellInfo := omit
) := {
locationInfo := p_location_info,
neighbourCellInfo := p_neighbourCellInfo,
v2xApplicationServer := p_v2xApplicationServer
} // End of template m_prov_chg_uu_uni_filter_criteria
template ProvChgUuUniSubscriptionFilterCriteria mw_prov_chg_uu_uni_filter_criteria(
template (present) LocationInfo p_location_info := ?,
template (present) V2xApplicationServer p_v2xApplicationServer := ?,
template UuMbmsNeighbourCellInfoList p_neighbourCellInfo := *
) := {
locationInfo := p_location_info,
neighbourCellInfo := p_neighbourCellInfo,
v2xApplicationServer := p_v2xApplicationServer
} // End of template mw_prov_chg_uu_uni_filter_criteria
template (value) V2xApplicationServer m_v2x_application_server(
in JSON.String p_ip_address,
in JSON.String p_udp_port
) := {
ipAddress := p_ip_address,
udpPort := p_udp_port
} // End of template m_v2x_application_server
template (present) V2xApplicationServer mw_v2x_application_server(
template (present) JSON.String p_ip_address := ?,
template (present) JSON.String p_udp_port := ?
) := {
ipAddress := p_ip_address,
udpPort := p_udp_port
} // End of template mw_v2x_application_server
template (omit) ProvChgUuMbmsSubscription m_prov_chg_uu_mbms_subscription(
in template (value) JSON.AnyURI p_callbackReference,
in template (value) ProvChgUuMbmsSubscriptionFilterCriteria p_filterCriteria,
in template (omit) LinkType p_links := omit,
in template (omit) TimeStamp p_expiryDeadline := omit
) := {
links := p_links,
callbackReference := p_callbackReference,
expiryDeadline := p_expiryDeadline,
filterCriteria := p_filterCriteria,
subscriptionType := "ProvChgUuMbmsSubscription"
} // End of template m_prov_chg_uu_mbms_subscription
template ProvChgUuMbmsSubscription mw_prov_chg_uu_mbms_subscription(
template (present) JSON.AnyURI p_callbackReference := ?,
template (present) ProvChgUuMbmsSubscriptionFilterCriteria p_filterCriteria := ?,
template LinkType p_links := *,
template TimeStamp p_expiryDeadline := *
) := {
links := p_links,
callbackReference := p_callbackReference,
expiryDeadline := p_expiryDeadline,
filterCriteria := p_filterCriteria,
subscriptionType := "ProvChgUuMbmsSubscription"
} // End of template mw_prov_chg_uu_mbms_subscription
template (omit) ProvChgUuMbmsSubscriptionFilterCriteria m_prov_chg_uu_mbms_filter_criteria(
in template (value) LocationInfo p_locationInfo,
in template (value) V2xServerUsd p_v2xServerUsd,
template (omit) UuMbmsNeighbourCellInfoList p_neighbourCellInfo := omit
) := {
locationInfo := p_locationInfo,
neighbourCellInfo := p_neighbourCellInfo,
v2xServerUsd := p_v2xServerUsd
} // End of template m_prov_chg_uu_mbms_filter_criteria
template (present) ProvChgUuMbmsSubscriptionFilterCriteria mw_prov_chg_uu_mbms_filter_criteria(
template (present) LocationInfo p_locationInfo := ?,
template (present) V2xServerUsd p_v2xServerUsd := ?,
template UuMbmsNeighbourCellInfoList p_neighbourCellInfo := *
) := {
locationInfo := p_locationInfo,
neighbourCellInfo := p_neighbourCellInfo,
v2xServerUsd := p_v2xServerUsd
} // End of template mw_prov_chg_uu_mbms_filter_criteria
template (value) V2xServerUsd m_v2x_server_usd(
in template (value) ServiceAreaIdentifier p_serviceAreaIdentifier,
in template (value) SdpInfo p_sdpInfo,
in template (value) Tmgi p_tmgi
) := {
serviceAreaIdentifier := p_serviceAreaIdentifier,
sdpInfo := p_sdpInfo,
tmgi := p_tmgi
} // End of template m_v2x_server_usd
template (present) V2xServerUsd mw_v2x_server_usd(
template (present) ServiceAreaIdentifier p_serviceAreaIdentifier := ?,
template (present) SdpInfo p_sdpInfo := ?,
template (present) Tmgi p_tmgi := ?
) := {
serviceAreaIdentifier := p_serviceAreaIdentifier,
sdpInfo := p_sdpInfo,
tmgi := p_tmgi
} // End of template mw_v2x_server_usd
template (value) SdpInfo m_sdp_info(
in JSON.String p_ipMulticastAddress,
in JSON.String p_portNumber
) := {
ipMulticastAddress := p_ipMulticastAddress,
portNumber := p_portNumber
} // End of template m_sdp_info
template (present) SdpInfo mw_sdp_info(
template (present) JSON.String p_ipMulticastAddress := ?,
template (present) JSON.String p_portNumber := ?
) := {
ipMulticastAddress := p_ipMulticastAddress,
portNumber := p_portNumber
} // End of template mw_sdp_info
template (value) Tmgi m_tmgi(
in JSON.String p_mbmsServiceId,
in JSON.String p_mcc,
in JSON.String p_mnc
) := {
mbmsServiceId := p_mbmsServiceId,
mcc := p_mcc,
mnc := p_mnc
} // End of template m_tmgi
template (present) Tmgi mw_tmgi(
template (present) JSON.String p_mbmsServiceId := ?,
template (present) JSON.String p_mcc := ?,
template (present) JSON.String p_mnc := ?
) := {
mbmsServiceId := p_mbmsServiceId,
mcc := p_mcc,
mnc := p_mnc
} // End of template mw_tmgi
template (omit) ProvChgPc5Subscription m_prov_chg_pc5_subscription(
in template (value) JSON.AnyURI p_callbackReference,
in template (value) FilterCriteria p_filterCriteria,
in template (omit) LinkType p_links := omit,
in template (omit) TimeStamp p_expiryDeadline := omit
) := {
links := p_links,
callbackReference := p_callbackReference,
expiryDeadline := p_expiryDeadline,
filterCriteria := p_filterCriteria,
subscriptionType := "ProvChgPc5Subscription"
} // End of template m_prov_chg_pc5_subscription
template (present) ProvChgPc5Subscription mw_prov_chg_pc5_subscription(
template (present) JSON.AnyURI p_callbackReference := ?,
template (present) FilterCriteria p_filterCriteria := ?,
template LinkType p_links := *,
template TimeStamp p_expiryDeadline := *
) := {
links := p_links,
callbackReference := p_callbackReference,
expiryDeadline := p_expiryDeadline,
filterCriteria := p_filterCriteria,
subscriptionType := "ProvChgPc5Subscription"
} // End of template mw_prov_chg_pc5_subscription
template (omit) FilterCriteria m_filter_criteria(
in template (value) JSON.String p_dstLayer2Id,
in template (value) LocationInfo p_locationInfo,
in template (omit) Pc5NeighbourCellInfoList p_neighbourCellInfo := omit
) := {
dstLayer2Id := p_dstLayer2Id,
locationInfo := p_locationInfo,
neighbourCellInfo := p_neighbourCellInfo
} // End of template m_filter_criteria
template (present) FilterCriteria mw_filter_criteria(
template (present) JSON.String p_dstLayer2Id := ?,
template (present) LocationInfo p_locationInfo := ?,
template Pc5NeighbourCellInfoList p_neighbourCellInfo := *
) := {
dstLayer2Id := p_dstLayer2Id,
locationInfo := p_locationInfo,
neighbourCellInfo := p_neighbourCellInfo
} // End of template mw_filter_criteria
template (omit) V2xMsgSubscription m_v2x_msg_subscription(
in template (value) JSON.AnyURI p_callbackReference,
in template (value) V2xMsgSubscriptionFilterCriteria p_filterCriteria,
in template (omit) LinkType p_links := omit,
in template (omit) TimeStamp p_expiryDeadline := omit
) := {
links := p_links,
callbackReference := p_callbackReference,
expiryDeadline := p_expiryDeadline,
filterCriteria := p_filterCriteria,
subscriptionType := "V2xMsgSubscription"
} // End of template m_v2x_msg_subscription
template (present) V2xMsgSubscription mw_v2x_msg_subscription(
template (present) JSON.AnyURI p_callbackReference := ?,
template (present) V2xMsgSubscriptionFilterCriteria p_filterCriteria := ?,
template LinkType p_links := *,
template TimeStamp p_expiryDeadline := *
) := {
links := p_links,
callbackReference := p_callbackReference,
expiryDeadline := p_expiryDeadline,
filterCriteria := p_filterCriteria,
subscriptionType := "V2xMsgSubscription"
} // End of template mw_v2x_msg_subscription
template (omit) V2xMsgSubscriptionFilterCriteria m_v2x_msg_subscription_filter_criteria(
in StdOrganization p_stdOrganization := ETSI,
in template (omit) MsgTypeList p_msgType := { cam, denm }
) := {
msgType := p_msgType,
stdOrganization := p_stdOrganization
} // End of template m_v2x_msg_subscription_filter_criteria
template (present) V2xMsgSubscriptionFilterCriteria mw_v2x_msg_subscription_filter_criteria(
template (present) StdOrganization p_stdOrganization := ETSI,
template MsgTypeList p_msgType := *
) := {
msgType := p_msgType,
stdOrganization := p_stdOrganization
} // End of template mw_v2x_msg_subscription_filter_criteria
} // End of module V2XInformationServiceAPI_Templates
sources := \
ttcn/WlanInformationAPI_TypesAndValues.ttcn \
ttcn/WlanInformationAPI_Pics.ttcn \
ttcn/WlanInformationAPI_Pixits.ttcn \
ttcn/WlanInformationAPI_Templates.ttcn \
module WlanInformationAPI_Pics {
} // End of module WlanInformationAPI_Pics
module WlanInformationAPI_Pixits {
} // End of module WlanInformationAPI_Pixits
module WlanInformationAPI_Templates {
} // End of module WlanInformationAPI_Templates
/**
* @author ETSI / TTF T012
* @version $Url$
* $Id$
* @desc Types ANd Values for ETSI GS MEC 028 V2.1.1 (2020-06)
* @copyright ETSI Copyright Notification
* No part may be reproduced except as authorized by written permission.
* The copyright and the foregoing restriction extend to reproduction in all media.
* All rights reserved.
*/
module WlanInformationAPI_TypesAndValues {
// JSON
import from JSON all;
// LibCommon
import from LibCommon_BasicTypesAndValues all;
/**
* @desc The seconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC
*/
type UInt32 Seconds;
/**
* @desc The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC
*/
type UInt32 NanoSeconds;
/**
* @desc Time stamp description
* @member seconds The seconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC
* @member nanoSeconds The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC
* @see MEC030 Clause 6.5.2 Type: TimeStamp
*/
type record TimeStamp {
Seconds seconds,
NanoSeconds nanoSeconds
}
type record of JSON.String SsidList;
type record of JSON.String IpAddressList;
/**
* @desc Identifiers determining a specific Access Point
* @member macId Unique Identifier assigned to an Access Point
* @member ssid Service Set Identifier to identify logical networks including Basic Service Set and Extended Service Set
* @member ipAddress IPv4 or IPv6 address allocated for the Access Point
* @see ETSI GS MEC 028 Clause 6.5.3 Type: ApIdentity
*/
type record ApIdentity {
JSON.String macId,
SsidList ssid optional,
IpAddressList ipAddress optional
}
/**
* @desc information on HT capabilities of an Access Point
* @member htCapabilityInfo HT Capability Information
* @member ampduParameters A-MPDU parameters
* @member supportedMcsSet Supported MCS set
* @member htExtendedCap Extended HT Capabilities
* @member txBeamFormCap Transmit Beamforming Capabilities
* @member aselCap ASEL capabilities
* @see ETSI GS MEC 028 Clause 6.5.14 Type: HtCapabilities
*/
/*type integer UInt128 (0 .. c_uInt128Max) with {variant "unsigned 64 bit"};
type record HtCapabilities {
UInt16 htCapabilityInfo,
UInt8 ampduParameters,
UInt128 supportedMcsSet,
UInt16 htExtendedCap,
UInt32 txBeamFormCap,
UInt8 aselCap
}*/
/**
* @desc WLAN capabilities of the Access Point
* @member ht Information about Access Point HT capabilities
* @member vht Information about Access Point VHT capabilities
* @member he Information about Access Point HE capabilities
* @member dmg Information about Access Point DMG capabilities
* @member edmg Information about Access Point EDMG capabilities
* @see ETSI GS MEC 028 Clause 6.5.4 Type: WlanCapabilities
*/
/*type record WlanCapabilities {
HtCapabilities ht optional,
VhtCapabilities vht optional,
HeCapabilities he optional,
DmgCapabilities dmg optional,
EdmgCapabilities edmg optional
}*/
} // End of module WlanInformationAPI_TypesAndValues
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment