Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
MEC TTCN-3 Test Suite
Commits
c56308e2
Commit
c56308e2
authored
Mar 02, 2022
by
Miguel Angel Reina Ortega
Browse files
Merge branch 'v2.1.1-dev'
parents
3ef2a297
6aad2ffd
Changes
170
Expand all
Hide whitespace changes
Inline
Side-by-side
ccsrc/externals/module.mk
0 → 100644
View file @
c56308e2
sources
:=
LibMec_ExternalFunctions.cc
ccsrc/
Framework/src
/loggers.cc
→
ccsrc/
loggers
/loggers.cc
View file @
c56308e2
File moved
ccsrc/
Framework/include
/loggers.hh
→
ccsrc/
loggers
/loggers.hh
View file @
c56308e2
File moved
ccsrc/loggers/module.mk
0 → 100644
View file @
c56308e2
sources
:=
loggers.cc
includes
:=
.
config.mk
0 → 100644
View file @
c56308e2
#TTCN3_DIR
:
= /cygdrive/c/Tools/Titan
#WPCAP_DLL_PATH := /cygdrive/c/windows/system32/npcap/wpcap.dll
#NPCAP_INCLUDE := /cygdrive/c/PROGRA~1/Npcap/sdk/include
T3Q_PATH
=
./tools/t3q-v2.0.0b30
T3Q_CONFIG
=
t3q.cfg
T3D_PATH
=
./tools/t3d-v2.0.0b30
T3D_CONFIG
=
t3d.cfg
docker/Dockerfile
View file @
c56308e2
FROM
stfubuntu:18.04
MAINTAINER
ETSI
S
TF
569
MAINTAINER
ETSI
T
TF
T012
LABEL
description="
S
TF
569
_Mec Docker Image"
LABEL
description="
T
TF
_T012
_Mec Docker Image"
ENV
TERM=linux \
HOME=/home/etsi \
HOSTNAME=docker-titan-
S
TF
569
HOSTNAME=docker-titan-
T
TF
_T012
COPY
home /home/etsi
...
...
docker/Dockerfile.stfubuntu
View file @
c56308e2
...
...
@@ -13,7 +13,7 @@ RUN echo "docker-STF-dev" > /etc/hostname \
&& DEBIAN_FRONTEND=noninteractive apt-get install software-properties-common -y \
&& DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:linuxuprising/java -y \
&& DEBIAN_FRONTEND=noninteractive apt-get update \
&& ( echo "oracle-java1
4
-installer shared/accepted-oracle-license-v1-2 boolean true" | debconf-set-selections -v ) \
&& ( echo "oracle-java1
5
-installer shared/accepted-oracle-license-v1-2 boolean true" | debconf-set-selections -v ) \
&& DEBIAN_FRONTEND=noninteractive apt-get --allow-unauthenticated install -y \
autoconf \
bison \
...
...
@@ -32,10 +32,12 @@ RUN echo "docker-STF-dev" > /etc/hostname \
gnutls-bin \
graphviz \
iputils-ping \
libedit2 \
libedit-dev \
libffi-dev \
libglib2.0-dev \
libgcrypt-dev \
libjsoncpp-dev \
libncurses5-dev \
libpcap-dev \
libqt5svg5-dev \
...
...
@@ -50,8 +52,8 @@ RUN echo "docker-STF-dev" > /etc/hostname \
lsof \
net-tools \
ntp \
oracle-java1
4
-installer \
oracle-java1
4
-set-default \
oracle-java1
5
-installer \
oracle-java1
5
-set-default \
openssh-server \
pkg-config \
python3-dev \
...
...
docker/README.md
View file @
c56308e2
...
...
@@ -52,7 +52,7 @@ inet6:localhost
Execute
```run.cmd```
or launch a command line window and run the command
```
docker run -it --net=host -e DISPLAY=192.168.99.1:0
s
tf
569
_mec:latest```
```
docker run -it --net=host -e DISPLAY=192.168.99.1:0
t
tf
_t012
_mec:latest```
NOTE: Modify the IP address in the command for the address of 'VirtualBox Hot-Only Network'.
...
...
@@ -62,7 +62,7 @@ Execute ```run.sh``` or launch a command line window and run the command
```
sh
docker run -it --net=host -e DISPLAY=$DISPLAY
\
-v /tmp/.X11-unix:/tmp/.X11-unix
s
tf
569
_mec:latest
-v /tmp/.X11-unix:/tmp/.X11-unix
t
tf
_t012
_mec:latest
```
### Import eclipse project
...
...
@@ -76,14 +76,14 @@ docker run -it --net=host -e DISPLAY=$DISPLAY \
- eclipse not found: check the PATH environment variable. It shall contain $HOME/bin path. Otherwise add it:
```export PATH=$HOME/bin:$PATH```
2. Run "File -> Import" and import the ```~/dev/
S
TF
569
_Mec/
S
TF
569
.tpd``` file.
2. Run "File -> Import" and import the ```~/dev/
T
TF
_T012
_Mec/
T
TF
_T012_Mec
.tpd``` file.
This can take a time, be patient.
**Do not run build in eclipse**, we don't have enough time.
### Build the project
```
cd ~/Workspace/
S
TF
569
/bin
```
```
cd ~/Workspace/
T
TF
_T012_Mec
/bin
```
```
make
```
...
...
docker/build.sh
View file @
c56308e2
...
...
@@ -10,10 +10,10 @@ if [ -z `docker images -q stfubuntu` ]; then
docker build
--no-cache
--tag
stfubuntu:18.04
-f
Dockerfile.stfubuntu
--force-rm
.
||
exit
1
fi
docker build
--no-cache
--tag
s
tf
569
_mec
--force-rm
.
||
(
echo
"Docker build failed:
$?
"
;
exit
1
)
docker build
--no-cache
--tag
t
tf
_t012
_mec
--force-rm
.
||
(
echo
"Docker build failed:
$?
"
;
exit
1
)
docker images
docker inspect
s
tf
569
_mec:latest
||
(
echo
"Docker inspect failed:
$?
"
;
exit
1
)
docker inspect
t
tf
_t012
_mec:latest
||
(
echo
"Docker inspect failed:
$?
"
;
exit
1
)
# That's all Floks
exit
0
docker/home/etc/init.d/40-
s
tf
569
.sh
→
docker/home/etc/init.d/40-
t
tf
_t012
.sh
View file @
c56308e2
...
...
@@ -3,29 +3,31 @@
#set -e
set
-vx
echo
-e
"*****************************
\n
* Checkout
S
TF
569
sources
\n
*****************************
\n
"
echo
-e
"*****************************
\n
* Checkout
T
TF
T012
sources
\n
*****************************
\n
"
mkdir
-p
${
HOME
}
/dev
&&
cd
${
HOME
}
/dev
||
exit
1
git clone
--recurse-submodules
-b
devel
--single-branch
https://forge.etsi.org/rep/mec/gs032p3-ttcn-test-suite.git
S
TF
569
_Mec
cd
/home/etsi/dev/
S
TF
569
_Mec/ttcn
git clone
--recurse-submodules
-b
ttf_t012
--single-branch
https://forge.etsi.org/rep/mec/gs032p3-ttcn-test-suite.git
T
TF
_T012
_Mec
cd
/home/etsi/dev/
T
TF
_T012
_Mec/ttcn
git clone https://forge.etsi.org/gitlab/LIBS/LibCommon.git ./LibCommon
git clone
-bTTF0002
https://forge.etsi.org/gitlab/LIBS/LibIts ./LibIts
cd
/home/etsi/dev/STF569_Mec/ttcn/LibIts
git checkout TTF0002
cd
/home/etsi/dev/TTF_T012_Mec/ttcn/LibIts
rm
-fr
asn1 t3q xsd
cd
ttcn
&&
rm
-fr
BTP CAM Common DENM GeoNetworking Ipv6OverGeoNetworking IVIM MapemSpatem Pki Security SremSsem
cd
ttcn
&&
rm
-fr
BTP CAM Common DENM GeoNetworking Ipv6OverGeoNetworking IVIM MapemSpatem Pki Security SremSsem Rtcmem
echo
-e
"*****************************
\n
* Set up environment
\n
*****************************
\n
"
cd
/home/etsi/dev/
S
TF
569
_Mec/scripts
ln
-sf
/home/etsi/dev/
S
TF
569
_Mec/scripts/devenv.bash.ubuntu /home/etsi/devenv.bash
cd
/home/etsi/dev/
T
TF
_T012
_Mec/scripts
ln
-sf
/home/etsi/dev/
T
TF
_T012
_Mec/scripts/devenv.bash.ubuntu /home/etsi/devenv.bash
.
/home/etsi/devenv.bash
set
echo
-e
"*****************************
\n
* Apply patched
\n
*****************************
\n
"
cd
/home/etsi/dev/TTF_T012_Mec
cp
./ttcn/patch_lib_common_titan/module.mk ./ttcn/LibCommon/
cp
./ttcn/patch_lib_common_titan/
*
.ttcn ./ttcn/LibCommon/ttcn
cp
./ttcn/patch_lib_http/
*
.ttcn ./ttcn/LibIts/ttcn/Http/
cp
./ttcn/patch_lib_its/module.mk ./ttcn/LibIts/
echo
-e
"*****************************
\n
* Build Mec test suite
\n
*****************************
\n
"
cd
/home/etsi/dev/STF569_Mec/scripts
./update_mec_project.bash
cd
/home/etsi/dev/etsi_mec/src/AtsMec/objs
../bin/mec_generate_makefile.bash
export
ATS
=
AtsMec
make
echo
-e
"*****************************
\n
* Init Eclipse Workspace
\n
*****************************
\n
"
mkdir
-p
${
HOME
}
/dev/Workspace/STF569/bin/
cd
${
HOME
}
/dev/Workspace/STF569
docker/home/etc/titan_repos.txt
View file @
c56308e2
https://git
hub.com
/eclipse/titan.core.git
https://git
hub.com
/eclipse/titan.TestPorts.Common_Components.Abstract_Socket.git
https://git
hub.com
/eclipse/titan.TestPorts.HTTPmsg.git
https://git
hub.com
/eclipse/titan.TestPorts.LANL2asp.git
https://git
hub.com
/eclipse/titan.TestPorts.PCAPasp.git
https://git
hub.com
/eclipse/titan.TestPorts.PIPEasp.git
https://git
hub.com
/eclipse/titan.TestPorts.SCTPasp.git
https://git
hub.com
/eclipse/titan.TestPorts.SIPmsg.git
https://git
hub.com
/eclipse/titan.TestPorts.SQLasp.git
https://git
hub.com
/eclipse/titan.TestPorts.TCPasp.git
https://git
hub.com
/eclipse/titan.TestPorts.TELNETasp.git
https://git
hub.com
/eclipse/titan.TestPorts.UDPasp.git
https://git
hub.com
/eclipse/titan.ProtocolModules.COMMON.git
https://git
hub.com
/eclipse/titan.ProtocolModules.DHCP.git
https://git
hub.com
/eclipse/titan.ProtocolModules.DHCPv6.git
https://git
hub.com
/eclipse/titan.ProtocolModules.DIAMETER_ProtocolModule_Generator.git
https://git
hub.com
/eclipse/titan.ProtocolModules.DNS.git
https://git
hub.com
/eclipse/titan.ProtocolModules.ICMP.git
https://git
hub.com
/eclipse/titan.ProtocolModules.ICMPv6.git
https://git
hub.com
/eclipse/titan.ProtocolModules.IP.git
https://git
hub.com
/eclipse/titan.ProtocolModules.RTP.git
https://git
hub.com
/eclipse/titan.ProtocolModules.RTSP.git
https://git
hub.com
/eclipse/titan.ProtocolModules.SMPP.git
https://git
hub.com
/eclipse/titan.ProtocolModules.SMTP.git
https://git
hub.com
/eclipse/titan.ProtocolModules.SNMP.git
https://git
hub.com
/eclipse/titan.ProtocolModules.TCP.git
https://git
hub.com
/eclipse/titan.ProtocolModules.UDP.git
https://git
hub.com
/eclipse/titan.ProtocolModules.XMPP.git
https://git
hub.com
/eclipse/titan.misc.git
https://git
hub.com
/eclipse/titan.TestPorts.LDAPasp_RFC4511.git
https://git
hub.com
/eclipse/titan.TestPorts.LDAPmsg.git
https://git
hub.com
/eclipse/titan.TestPorts.Common_Components.Socket-API.git
https://git
hub.com
/eclipse/titan.TestPorts.SSHCLIENTasp.git
https://git
hub.com
/eclipse/titan.TestPorts.STDINOUTmsg.git
https://git
hub.com
/eclipse/titan.TestPorts.SUNRPCasp.git
https://git
hub.com
/eclipse/titan.TestPorts.UNIX_DOMAIN_SOCKETasp.git
https://git
hub.com
/eclipse/titan.TestPorts.IPL4asp.git
https://git
hub.com
/eclipse/titan.ProtocolModules.FrameRelay.git
https://git
hub.com
/eclipse/titan.ProtocolModules.H248_v2.git
https://git
hub.com
/eclipse/titan.ProtocolModules.IMAP_4rev1.git
https://git
hub.com
/eclipse/titan.ProtocolModules.ICAP.git
https://git
hub.com
/eclipse/titan.ProtocolModules.IKEv2.git
https://git
hub.com
/eclipse/titan.ProtocolModules.IPsec.git
https://git
hub.com
/eclipse/titan.ProtocolModules.IUA.git
https://git
hub.com
/eclipse/titan.ProtocolModules.JSON_v07_2006.git
https://git
hub.com
/eclipse/titan.ProtocolModules.L2TP.git
https://git
hub.com
/eclipse/titan.ProtocolModules.M3UA.git
https://git
hub.com
/eclipse/titan.ProtocolModules.MIME.git
https://git
hub.com
/eclipse/titan.ProtocolModules.MSRP.git
https://git
hub.com
/eclipse/titan.ProtocolModules.PPP.git
https://git
hub.com
/eclipse/titan.ProtocolModules.ProtoBuff.git
https://git
hub.com
/eclipse/titan.ProtocolModules.RADIUS_ProtocolModule_Generator.git
https://git
hub.com
/eclipse/titan.ProtocolModules.SRTP.git
https://git
hub.com
/eclipse/titan.ProtocolModules.WebSocket.git
https://git
hub.com
/eclipse/titan.ProtocolModules.HTTP2.0.git
https://git
hub.com
/eclipse/titan.Libraries.TCCUsefulFunctions.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.core.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.Common_Components.Abstract_Socket.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.HTTPmsg.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.LANL2asp.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.PCAPasp.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.PIPEasp.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.SCTPasp.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.SIPmsg.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.SQLasp.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.TCPasp.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.TELNETasp.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.UDPasp.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.COMMON.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.DHCP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.DHCPv6.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.DIAMETER_ProtocolModule_Generator.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.DNS.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.ICMP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.ICMPv6.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.IP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.RTP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.RTSP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.SMPP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.SMTP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.SNMP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.TCP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.UDP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.XMPP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.misc.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.LDAPasp_RFC4511.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.LDAPmsg.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.Common_Components.Socket-API.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.SSHCLIENTasp.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.STDINOUTmsg.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.SUNRPCasp.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.UNIX_DOMAIN_SOCKETasp.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.TestPorts.IPL4asp.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.FrameRelay.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.H248_v2.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.IMAP_4rev1.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.ICAP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.IKEv2.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.IPsec.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.IUA.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.JSON_v07_2006.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.L2TP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.M3UA.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.MIME.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.MSRP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.PPP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.ProtoBuff.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.RADIUS_ProtocolModule_Generator.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.SRTP.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.WebSocket.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.ProtocolModules.HTTP2.0.git
https://git
lab.eclipse.org
/eclipse/titan
/titan
.Libraries.TCCUsefulFunctions.git
docker/run.sh
View file @
c56308e2
...
...
@@ -5,7 +5,7 @@
#set -e
set
-vx
docker run
--interactive
--tty
--rm
--publish
2222:22
--env
DISPLAY
=
$DISPLAY
--volume
/tmp/.X11-unix:/tmp/.X11-unix
--cap-add
=
NET_RAW
--cap-add
=
NET_ADMIN
s
tf
569
_mec:latest
docker run
--interactive
--tty
--rm
--publish
2222:22
--env
DISPLAY
=
$DISPLAY
--volume
/tmp/.X11-unix:/tmp/.X11-unix
--cap-add
=
NET_RAW
--cap-add
=
NET_ADMIN
t
tf
_t012
_mec:latest
# That's all Floks
exit
0
etc/AtsMec/AtsMec_Mockoon.cf_
0 → 100644
View file @
c56308e2
This diff is collapsed.
Click to expand it.
etc/AtsMec/AtsMec_Sandbox.cf_
0 → 100644
View file @
c56308e2
[MODULE_PARAMETERS]
# This section shall contain the values of all parameters that are defined in your TTCN-3 modules.
# IUT roles
LibCommon_Time.PX_TAC := 30.0
#LibCommon_Time.PX_TWAIT := 30.0
LibCommon_Sync.PX_TSYNC_TIME_LIMIT := 30.0;
LibCommon_Sync.PX_TSHUT_DOWN_TIME_LIMIT := 30.0;
LibItsHttp_Pics.PICS_HEADER_HOST := "try-mec.etsi.org"
LibItsHttp_Pics.PICS_HEADER_CONTENT_TYPE := "application/json"
LibItsHttp_Pics.PICS_USE_TOKEN_HEADER := true
#LibItsHttp_Pics.PICS_TOKEN_HEADER := "Basic WrongToken"
LibMec_Pics.PICS_ROOT_API := "sbxog70p4h" # Need to sign in on https://try-mec.etsi.org/, section 'Try-it from your MEC application'
# LibMec_Pixits
LibMec_Pixits.PX_ME_APP_Q_ZONE_ID_URI := "/location/v2/queries/zones"
LibMec_Pixits.PX_ME_APP_Q_USERS_LIST_URI := "/location/v2/queries/users"
LibMec_Pixits.PX_RNIS_SUBSCRITIONS_URI := "/rni/v2/subscriptions"
LibMec_Pixits.PX_RNIS_QUERIES_URI := "/rni/v2/queries"
LibMec_Pixits.PX_MEC_SVC_MGMT_APPS_URI := "/mec_service_mgmt/v2/applications"
LibMec_Pixits.PX_ME_APP_SUPPORT_URI := "/mec_app_support/v2/applications"
LibMec_Pixits.PX_SVC_MGMT_TRANS_URI := "/mec_service_mgmt/v2/transports"
LibMec_Pixits.PX_ME_APP_SUPPORT_TIMING_CAPS_URI := "/mec_app_support/v2/timing/timing_caps"
LibMec_Pixits.PX_ME_APP_SUPPORT_TIMING_CURRENT_URI := "/mec_app_support/v2/timing/current_time"
# Mec-011 AppEnblementAPI
AppEnablementAPI_Pixits.PX_APP_INSTANCE_ID := "appInst01"
AppEnablementAPI_Pixits.PX_SERVICE_NAME := "serName"
AppEnablementAPI_Pixits.PX_SERVICE_ID := "serInst01"
AppEnablementAPI_Pixits.PX_SERVICE_INFO_VERSION := "1.0.0"
AppEnablementAPI_Pixits.PX_NEW_SERVICE_INFO_VERSION := "1.0.0"
AppEnablementAPI_Pixits.PX_SERVICE_INFO_STATE := ACTIVE
AppEnablementAPI_Pixits.PX_SUBSCRIPTION_ID := "7777"
AppEnablementAPI_Pixits.PX_DNS_RULE_ID := "route2home"
AppEnablementAPI_Pixits.PX_DOMAIN_NAME := "etsi.org"
AppEnablementAPI_Pixits.PX_IP_ADDRESS := "10.10.0.2"
AppEnablementAPI_Pixits.PX_TTL := 8
AppEnablementAPI_Pixits.PX_TRAFFIC_RULE_ID := "trafficRuleId01"
# Mec-012 RnisAPI
RnisAPI_Pixits.PX_SUBSCRIPTION_HREF_VALUE := "cell_change"
RnisAPI_Pixits.PX_SUBSCRIPTION_TYPE := CELL_CHANGE
RnisAPI_Pixits.PX_SUBSCRIPTION_ID := "7777"
RnisAPI_Pixits.PX_ASSOCIATE_ID_VALUE := "192.0.0.2"
RnisAPI_Pixits.PX_CELL_ID := "0x4040404"
RnisAPI_Pixits.PX_C_ID := "0xFFFFFFFF"
RnisAPI_Pixits.PX_APP_INS_ID := "01"
RnisAPI_Pixits.PX_APP_ID := "19"
RnisAPI_Pixits.PX_E_RAB_ID := 0
RnisAPI_Pixits.PX_QCI := 0
# Mec-013 LocationAPI
LocationAPI_Pics.PICS_LOCATION_API_SUPPORTED := true
LocationAPI_Pixits.PX_ZONE_ID := "zone02"
LocationAPI_Pixits.PX_ACCESS_POINT_ID := "4g-macro-cell-4"
LocationAPI_Pixits.PX_USER := "10.10.0.1"
LocationAPI_Pixits.PX_CLIENT_ID := "0123"
LocationAPI_Pixits.PX_SUBSCRIPTION_ID := "subscription0123"
UEidentityAPI_Pics.PICS_UE_IDENTITY_API_SUPPORTED := false
BwManagementAPI_Pics.PICS_BWMANAGEMENT_API_SUPPORTED := false
[LOGGING]
# In this section you can specify the name of the log file and the classes of events
# you want to log into the file or display on console (standard error).
LogFile := "../logs/AtsMec/%e.%h-%r.%s"
FileMask := LOG_ALL | USER | DEBUG | MATCHING
ConsoleMask := LOG_ALL | USER | DEBUG | MATCHING
#FileMask := ERROR | WARNING | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | PORTEVENT
#ConsoleMask := ERROR | WARNING | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | PORTEVENT
LogSourceInfo := Stack
LogEntityName:= Yes
LogEventTypes:= Yes
#TimeStampFormat := DateTime
[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=try-mec.etsi.org,port=443,use_ssl=1)"
#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=1)"
[DEFINE]
# In this section you can create macro definitions,
# that can be used in other configuration file sections except [INCLUDE] and [ORDERED_INCLUDE].
[INCLUDE]
# To use configuration settings given in other configuration files,
# the configuration files just need to be listed in this section, with their full or relative pathnames.
[ORDERED_INCLUDE]
# To use configuration settings given in other configuration files,
# the configuration files just need to be listed in this section, with their full or relative pathnames.
[EXTERNAL_COMMANDS]
# This section can define external commands (shell scripts) to be executed by the ETS
# whenever a control part or test case is started or terminated.
#BeginTestCase := ""
#EndTestCase := ""
#BeginControlPart := ""
#EndControlPart := ""
[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_SRV_UETAG_001_OK
#AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_001_BR
#AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_001_NF
#AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_002_OK
#AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_002_BR
#AtsMec_UEidentityAPI_TestCases.TC_MEC_SRV_UETAG_002_PF
# ETSI GS MEC 013
AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCLOOK_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCLOOK_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCLOOK_001_NF
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCSUB_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCSUB_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCSUB_002_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UELOCSUB_002_NF
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UETRACKSUB_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UETRACKSUB_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UETRACKSUB_002_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UETRACKSUB_002_NF
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFLOOK_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFLOOK_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFLOOK_001_NF
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFSUB_001_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFSUB_001_BR
#AtsMec_LocationAPI_TestCases.TC_MEC_SRV_UEINFSUB_002_OK
#AtsMec_LocationAPI_TestCases.TC_MEC_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_SRV_UEDISTLOOK_001_OK
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_UEDISTLOOK_001_BR
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_UEDISTSUB_001_OK
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_UEDISTSUB_001_BR
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_UEDISTSUB_002_OK
#AtsMec_RadioNodeLocationAPI_TestCases.TC_MEC_SRV_UEDISTSUB_002_NF
# ETSI GS MEC 012
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_011_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_012_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_011_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_012_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_016_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_017_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_018_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_019_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_016_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_016_NF
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_017_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_017_NF
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_018_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_018_NF
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_019_BR
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_019_NF
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_001_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_002_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_003_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_004_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_005_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_006_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_007_OK
#AtsMec_RnisAPI_TestCases.TC_MEC_SRV_RNIS_008_OK
# ETSI GS MEC 011
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSAQ_001_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSAQ_001_BR
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSAQ_002_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSAQ_002_BR
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSAQ_002_NF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSAQ_003_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSAQ_003_NF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSAQ_004_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSAQ_004_BR
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSAQ_004_NF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSAQ_004_PF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSUB_001_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSUB_001_NF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSUB_002_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSUB_002_BR
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSUB_003_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSUB_003_NF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSUB_004_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_APPSUB_004_NF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_DNS_001_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_DNS_002_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_DNS_002_NF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_DNS_003_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_DNS_003_BR
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_DNS_003_NF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_DNS_003_PF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_SAQ_001_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_SAQ_001_BR
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_SAQ_002_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_SAQ_002_NF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_SRVSUB_001_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_SRVSUB_001_NF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_SRVSUB_002_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_SRVSUB_002_BR
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_SRVSUB_003_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_SRVSUB_003_NF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_SRVSUB_004_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_SRVSUB_004_NF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TIME_001_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TIME_002_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TRAF_001_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TRAF_001_NF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TRAF_002_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TRAF_003_OK
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TRAF_003_BR
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TRAF_003_NF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TRAF_003_PF
#AtsMec_AppEnablementAPI_TestCases.TC_MEC_SRV_TRANS_001_OK
[GROUPS]
# In this section you can specify groups of hosts. These groups can be used inside the
# [COMPONENTS] section to restrict the creation of certain PTCs to a given set of hosts.
[COMPONENTS]
# This section consists of rules restricting the location of created PTCs.
[MAIN_CONTROLLER]
# The options herein control the behavior of MC.
KillTimer := 10.0
LocalAddress := 127.0.0.1
TCPPort := 12000
NumHCs := 1
etc/AtsMec/AtsMec_Simu.cf_
0 → 100644
View file @
c56308e2
[MODULE_PARAMETERS]
# This section shall contain the values of all parameters that are defined in your TTCN-3 modules.
# IUT roles
LibCommon_Time.PX_TAC := 30.0
#LibCommon_Time.PX_TWAIT := 30.0
LibCommon_Sync.PX_TSYNC_TIME_LIMIT := 30.0;
LibCommon_Sync.PX_TSHUT_DOWN_TIME_LIMIT := 30.0;
LibItsHttp_Pics.PICS_HEADER_HOST := "127.0.0.1"
LibItsHttp_Pics.PICS_HEADER_CONTENT_TYPE := "application/json"
LibItsHttp_Pics.PICS_USE_TOKEN_HEADER := true
#LibItsHttp_Pics.PICS_TOKEN_HEADER := "Basic WrongToken"
LibMec_Pics.PICS_ROOT_API := "" # Need to sign in on https://try-mec.etsi.org/, section 'Try-it from your MEC application'
# LibMec_Pixits
LibMec_Pixits.PX_ME_APP_Q_ZONE_ID_URI := "/location/v2/queries/zones"
LibMec_Pixits.PX_ME_APP_Q_USERS_LIST_URI := "/location/v2/queries/users"
LibMec_Pixits.PX_RNIS_SUBSCRITIONS_URI := "/rni/v2/subscriptions"
LibMec_Pixits.PX_RNIS_QUERIES_URI := "/rni/v2/queries"
LibMec_Pixits.PX_MEC_SVC_MGMT_APPS_URI := "/mec_service_mgmt/v2/applications"
LibMec_Pixits.PX_ME_APP_SUPPORT_URI := "/mec_app_support/v2/applications"
LibMec_Pixits.PX_SVC_MGMT_TRANS_URI := "/mec_service_mgmt/v2/transports"
LibMec_Pixits.PX_ME_APP_SUPPORT_TIMING_CAPS_URI := "/mec_app_support/v2/timing/timing_caps"
LibMec_Pixits.PX_ME_APP_SUPPORT_TIMING_CURRENT_URI := "/mec_app_support/v2/timing/current_time"
# Mec-011 AppEnblementAPI
AppEnablementAPI_Pixits.PX_APP_INSTANCE_ID := "appInst01"
AppEnablementAPI_Pixits.PX_SERVICE_NAME := "serName"
AppEnablementAPI_Pixits.PX_SERVICE_ID := "serInst01"
AppEnablementAPI_Pixits.PX_SERVICE_INFO_VERSION := "1.0.0"
AppEnablementAPI_Pixits.PX_NEW_SERVICE_INFO_VERSION := "1.0.0"
AppEnablementAPI_Pixits.PX_SERVICE_INFO_STATE := ACTIVE
AppEnablementAPI_Pixits.PX_SUBSCRIPTION_ID := "7777"
AppEnablementAPI_Pixits.PX_DNS_RULE_ID := "route2home"
AppEnablementAPI_Pixits.PX_DOMAIN_NAME := "etsi.org"
AppEnablementAPI_Pixits.PX_IP_ADDRESS := "10.10.0.2"
AppEnablementAPI_Pixits.PX_TTL := 8
AppEnablementAPI_Pixits.PX_TRAFFIC_RULE_ID := "trafficRuleId01"
# Mec-012 RnisAPI
RnisAPI_Pixits.PX_SUBSCRIPTION_HREF_VALUE := "cell_change"
RnisAPI_Pixits.PX_SUBSCRIPTION_TYPE := CELL_CHANGE
RnisAPI_Pixits.PX_SUBSCRIPTION_ID := "7777"
RnisAPI_Pixits.PX_ASSOCIATE_ID_VALUE := "192.0.0.2"
RnisAPI_Pixits.PX_CELL_ID := "0x4040404"
RnisAPI_Pixits.PX_C_ID := "0xFFFFFFFF"
RnisAPI_Pixits.PX_APP_INS_ID := "01"
RnisAPI_Pixits.PX_APP_ID := "19"
RnisAPI_Pixits.PX_E_RAB_ID := 0
RnisAPI_Pixits.PX_QCI := 0
# Mec-013 LocationAPI
LocationAPI_Pics.PICS_LOCATION_API_SUPPORTED := true
LocationAPI_Pixits.PX_ZONE_ID := "zone02"
LocationAPI_Pixits.PX_ACCESS_POINT_ID := "4g-macro-cell-4"
LocationAPI_Pixits.PX_USER := "10.10.0.1"
LocationAPI_Pixits.PX_CLIENT_ID := "0123"
LocationAPI_Pixits.PX_SUBSCRIPTION_ID := "subscription0123"
UEidentityAPI_Pics.PICS_UE_IDENTITY_API_SUPPORTED := false
BwManagementAPI_Pics.PICS_BWMANAGEMENT_API_SUPPORTED := false
[LOGGING]
# In this section you can specify the name of the log file and the classes of events
# you want to log into the file or display on console (standard error).
LogFile := "../logs/AtsMec/%e.%h-%r.%s"
FileMask := LOG_ALL | USER | DEBUG | MATCHING
ConsoleMask := LOG_ALL | USER | DEBUG | MATCHING
#FileMask := ERROR | WARNING | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | PORTEVENT
#ConsoleMask := ERROR | WARNING | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | PORTEVENT
LogSourceInfo := Stack
LogEntityName:= Yes
LogEventTypes:= Yes
#TimeStampFormat := DateTime
[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=try-mec.etsi.org,port=443,use_ssl=1)"
system.httpPort.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server=127.0.0.1,port=8081,use_ssl=0)"
system.httpPort_notif.params := "HTTP(codecs=json:json_codec)/TCP(debug=1,server_mode=1,local_port=8082,use_ssl=1)"
[DEFINE]
# In this section you can create macro definitions,
# that can be used in other configuration file sections except [INCLUDE] and [ORDERED_INCLUDE].
[INCLUDE]
# To use configuration settings given in other configuration files,
# the configuration files just need to be listed in this section, with their full or relative pathnames.
[ORDERED_INCLUDE]