Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Latest commit

 

History

History
59 lines (38 loc) · 1.53 KB

README.md

File metadata and controls

59 lines (38 loc) · 1.53 KB

5G EVE Experiment NSD composer

A REST API module to compose experiment NSDs. It can also validate blueprints and generate NSDs from them.

Install

Docker images are available on Docker Hub. Check the latest tag (version) available. Run the application with:

docker run -p 8086:8086 -d mpergolesi/exp-nsd-composer:<latest-tag>

Wait for the application to start, then test it with:

curl http://localhost:8086/vsb/schema

OpenApi

Once running, you can get the OpenAPI specification by visiting (change host if needed):

Development

Some dependencies are not available in Maven repository. Check pom.xml.

Compile the project with:

mvn clean package

Build the Docker image with:

docker build --no-cache=true --build-arg BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \
    --build-arg BUILD_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) \
    -t <your-repo>/exp-nsd-composer:$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) .

Graph export for visualization

Debug log often provides network topology export into graphviz format. Running tests will produce output examples.

Copy the output to a text file called 'example.txt' and create a PNG with

circo -Tpng example.txt -o example.png

Or copy the output to an online Graphviz editor like Edotor.