CN-UPB / tng-sdk-benchmark

5GTANGO SDK tool for fully automated VNF and network service benchmarking and profiling.
https://5gtango.eu
Apache License 2.0
2 stars 6 forks source link

Research OSM API connection #3

Closed qarawlus closed 5 years ago

qarawlus commented 5 years ago

Research and experiment with the OSM API connection and write ideas on how a possible connection can be created with tng-bench

qarawlus commented 5 years ago

Current ideas in for OSM NBI function calls:

Afterwards, we can SSH into the VM to get performance data. This is an initial thought of mine as of now and can be changed upon further research.

One challenge that I believe we will face is sending requests in multiple formats. I saw that doing POST on instances requires sending YAML requests, while the rest send requests using JSON.

avimehenwal commented 5 years ago
SuganthiJagan commented 5 years ago

Also, we could use PyYAML package for converting from JSON to YAML.

SuganthiJagan commented 5 years ago

To get performance/identity data, a suggestion could be using LDAP in common service call. But need to research further on its feasibility.

SuganthiJagan commented 5 years ago

https://osm.etsi.org/wikipub/index.php/OSM_Integration_Guidelines

qarawlus commented 5 years ago

Complete API documentation https://osm.etsi.org/wikipub/index.php/NBI_API_Description

avimehenwal commented 5 years ago

Here is a documentation of NBI API call which I have tested

https://documenter.getpostman.com/view/8208840/SVYqPJoK?version=latest

cURL command for request

Screenshot from 2019-08-04 21-44-28

PS: I think we should unpublish the documentation after some time as it has username and passwords!?