Closed qarawlus closed 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.
pyang
already has modules/functions to transform JSON to YAML
and vice-versa.~
yang
is NETCONF
parserAlso, we could use PyYAML package for converting from JSON to YAML.
To get performance/identity data, a suggestion could be using LDAP in common service call. But need to research further on its feasibility.
Complete API documentation https://osm.etsi.org/wikipub/index.php/NBI_API_Description
Here is a documentation of NBI API call which I have tested
https://documenter.getpostman.com/view/8208840/SVYqPJoK?version=latest
PS: I think we should unpublish the documentation after some time as it has username and passwords!?
Research and experiment with the OSM API connection and write ideas on how a possible connection can be created with tng-bench