An extension of ONAP SDK, to use ORAN and ONAP components programmatically with Python code
ORAN SDK is an extension of ONAP SDK. Please check doc site to find out all the features about ONAP SDK.
This project aims to provide a consistent and complete set of interactions with ORAN’s many services.
Using few python commands, you should be able to run different tests with different components from ONAP and ORAN.
Ensure you have executed the script located in ... scripts/layer-0/0-setup-tests-env.sh This will setup eveything for you.
This project uses tox to run all the tests and do lint and docstyle checks.
$ tox
To run only the unit test:
$ tox -e unit-tests
To run the integration tests, start all the needed ONAP and ORAN components & network simulators first on kubernetes.
Go to scripts/layer-2 directory and start all the needed components with the scripts.
Then execute the integration tests with command:
$ tox -e oran-tests
To run code analyse and check check styles:
$ tox -e pylint
To check compliance with Python docstring conventions:
$ tox -e pydocstyle