The 5GASP Testing Descriptors CLI is a command-line interface designed to create 5GASP Testing Descriptors for Network Applications.
- List the 5GASP Testbeds
- List the Available Tests
- Create a Testing Descriptor
Before installing the requirements, the usage of a virtual environment is recommended. To install the requirements, run:
pip install -r requirements.txt
You can find the code inside the /5gasp-cli/src/ directory. To list all CLI commands, run:
python3 main.py --help
To list all parameters of a command, run:
python3 main.py COMMAND --help
python3 main.py list-testbeds
python3 main.py list-available-tests
python3 main.py create-testing-descriptor
This command has the following options:
- One or more NSDs (Network Service Descriptors) can be passed to infer connection point tags from, using the following command:
python3 main.py create-testing-descriptor --infer-tags-from-nsd <nsd_location>
- The path of the generated descriptor can be passed using:
python3 main.py create-testing-descriptor --output-filepath <path_to_file>
NOTE: Both options can be used simultaneously
For the documentation, the Sphinx documentation generator was used.
To create a new page, create a markdown file inside the /5gasp-cli/docs/ directory.
To generate the documentation for that file, inside the same directory, insert the file's name on the index.rst file (without the .md extension).
To build the documentation, run:
1. make clean
2. make html
Then, inside the same directory, open the index.html file:
open _build/html/index.html
- Eduardo Santos: eduardosantoshf
- Rafael Direito: rafael-direito