- RFC 7159 - The JavaScript Object Notation (JSON) Data Interchange Format, accessible [here](https://tools.ietf.org/html/rfc7159.html)
NOTE All draft can be found in the 'IETF XML Registry', accessible [here](https://www.iana.org/assignments/xml-registry/xml-registry.xhtml)
## Download required libraries
## STFs/TTFs
The following STFs were or are currently involved in the evolutions of the ETSI MEC protocols project:
- STF 569, STF 625, TTF T012
This projects requires the LibCommon and LibIts libraries to compile. The libraries location are git submodules of the current repository.
Once you have cloned the present repository, in order to install the libraries you want to execute:
# Installation
git submodule init
git submodule update
The ETSI MEC protocols project builds and tests regularly on the following platforms:
- Linux (Ubuntu)
- Windows ([Cygwin x64](https://cygwin.com/install.html), [Npcap SDK x64](https://nmap.org/npcap/#download) and [OpenSSL-Windows x64](https://www.openssl.org) are required)
Alternatively, you may clone the project together with the required libraries with the following command:
Note: The [OpenSSL](https://www.openssl.org) version >= 1.1.1 is also required.
git clone --recurse-submodules <URL to the repository>
## Installation
@@ -45,6 +49,7 @@ The MEC Testing Framework project builds and tests regularly on the following pl
Note: The [OpenSSL](https://www.openssl.org) version > 1.1.x is also required.
### How to do it?
They are two different methods:
@@ -66,50 +71,82 @@ Vagrant requires a virtual machine. You can use either VirtualBox or WMware.
Docker does not need a virtual machine, so it is the more efficant way.
### Using Vagrant
### Using TITAN compiler on a Docker image
In this configuration, TITAN compiler is located on a Docker image and the sources and the outputs are located on the host.
- Update your default environment with the content of the script $HOME/dev/TTF012_Mec/scripts/devenv.bash.ubuntu
- Update your default environment with the content of the script $HOME/dev/gs032p3-ttcn-test-suite/scripts/devenv.bash.ubuntu
- Switch to the next clause (Usage)
## Usage
# Generate certificates for TLS and MEC security support
This clause describes how generate certificates desrived from Let's encrypt certificate. These certificate will be used for TS mutual authentication and for MEC Security tests.
<b>NOTE:</b>
- Certficates shall be renewed every 3 months
- The port 80 shall be vailable for standalone validation
Pre-requisites:
- You need to install python and [certbot](https://manpages.ubuntu.com/manpages/impish/en/man1/certbot.1.html).
To generate certifcates, execute the following command:
<b>NOTE:</b> For testing certificate generation and renewal, use the certbot's --dry-run option.
# Usage
This clause describes how to compile and execute an Abstract Test Suite.
@@ -237,16 +331,16 @@ Procedure using Eclipse TITAN:
- Start eclipse using a new workspace, (e.g. with the name workspace_titan)
- Download and follow the steps to install Eclipse plugins for TITAN, accessible [here]{https://www.eclipse.org/downloads/download.php?file=/titan/Eclipse_installationguide.pdf}
- Open the workspace_titan
- Create a new TITAN project (e.g. TTF012_Mec)
- Create a new TITAN project (e.g. gs032p3-ttcn-test-suite)
<TODO>
Procedure in TITAN command line:
- Open several SSH session (PuTTY...)
- Change to the directory ~/dev/TTF012_Mec/src/AtsMec/objs
- Change to the directory ~/dev/gs032p3-ttcn-test-suite/src/AtsMec/objs
- Build the test suite AtsMec
```sh
$ cd ~/dev/TTF012_Mec/ &&export ATS=AtsMec
$ cd ~/dev/gs032p3-ttcn-test-suite/ &&export ATS=AtsMec
$ make
...
```
@@ -258,7 +352,7 @@ $ make
- To run the test suite, execute the following command:
```sh
$ cd ~/dev/TTF012_Mec/scripts/
$ cd ~/dev/gs032p3-ttcn-test-suite/scripts/
$ ./run-all.bash
...
```
@@ -266,7 +360,7 @@ $ ./run-all.bash
- The log files are located in ../logs folder. You can edit them using any editor or using the Eclipse TITAN log plugins
## How to Report a Bug
# How to Report a Bug
The ETSI MEC Testing Framework project is under constant development, so it is possible that you will
encounter a bug while using it. Please report bugs at cti_support at etsi dot org.