- Description: 5GTANGO Sonata Adapter
- Version: 1.0
- Actions:
- Network Slice Management for Virtual Slicer (5Growth Project) (create, instantiate, check, delete).
It is strongly recommended to install this component with the whole SONATA SP. In order to install this component, please follow the procedure described in the official 5GTango Documentation webpage.
If you still want to to install this component alone, just run the following command:
python setup.py install
once installed, to start the component:
python3 main.py
To contribute to the development of this 5GTANGO component, you may use the very same development workflow as for any other 5GTANGO Github project:
- you have to fork the repository and create pull requests.
- you pull requests will be verified and merged once a reviewer accepts it.
As the SONATA Service Platform is composed by multiple modules and all of them using Dockers, the Sonata Adapter environment and its dependencies are already installed within the Docker. This component uses the following dependencies:
- Flask (0.12.2)
- flask-restful
- python-dateutil
- python-uuid
- requests
- xmlrunner (1.7.7)
INFORMATION NOTE: these are minimum versions, it is not tested with the newest versions probably they should be fine. If there's no specific version, the newest versions should work fine but it is not tested.
In order to have a full functionality, it is necessary to install the all the SONATA SP modules, further information in the 5GTango Documentation webpage.
This is the V1.0 of this component, which work with SONATA SP 5.1 (developed by the EU 5GTango project)
No configuration is necessary, as the port where this component listens (8088) is already defined and agreed with the other SONATA SP components.
Each SONATA component has its API definition, the next sub-setions present a basic tng-sonata-adapter API information. Further information about the 5GTANGO software, click in the Global SONATA API Webpage.
Action | HTTP method | Endpoint |
---|---|---|
CREATE A NETWORK SLICE IDENTIFIER | POST | /api/v1/ns |
INSTANTIATE A NETWORK SLICE | PUT | /api/v1/ns/<nsiId> /action/instantiate |
REQUEST THE INFORMATION OF A NETWORK SLICE INSTANTIATION | GET | /api/v1/ns/<nsiId> |
REQUEST THE INFORMATION OF ALL NETWORK SLICE INSTANTIATIONS | GET | /api/v1/ns |
TERMINATE A NETWORK SLICE INSTANTIATION | PUT | /api/v1/ns/<nsiId> /action/terminate |
This component uses the tng-cat and tng-rep as its database references. By using them, the Sonata Adapter data objects are kept in databases managed by thes two components.
This 5GTANGO component is published under Apache 2.0 license. Please see the LICENSE file for more details.
The following lead developers are responsible for this repository and have admin rights. They can, for example, merge pull requests.
- Carlos Marques