A REST API module to compose experiment NSDs. It can also validate blueprints and generate NSDs from them.
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
Once running, you can get the OpenAPI specification by visiting (change host if needed):
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) .
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.