Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand



Req/usecase

REST

Method

 URI / Payload

Request/Response Example
1Get all cmhandles that support a given
module
GETP{ncmp-root}/ncmp/v1/ch/data?module={module-name}
Content: application/json
Scenario : Get the all cmhandles that support a given module
URI : {ncmp-root}/ncmp/v1/ch/data?module=_3gpp-nr-nrm-gnbdufunction
Header :
Accept: application/json
Response:
{
cm-handles : [ "ew534fe", "23ft4", "434fsdf", ... ]
}
2Request (trigger) Data SyncPOST

{ncmp-root}/ncmp/v1/ch/<ch-handle>/sync-data

Scenario : Client requests to sync a node

URI : {ncmp-root}/ncmp/v1/ch/node123/sync-data

Response   : HTTP-Status code (only, no body)

3Get model info for CMHandleGET

{ncmp-root}/ncmp/v1/ch/{cm-handle}/modules

Scenario : Get the model data for CMHandle

URI :{ncmp-root}/ncmp/v1/ch/2334dedf/modules

Header :
      Accept: application/yang-data+json

Response:

{
"ietf-yang-library:modules-set" : [ # from RFC 8525
{
"name" : "5479120c17a619545ea6aff7aa19838b036ebbd7",
"module" : [
{
"name" : "_3gpp-nr-nrm-nrsectorcarrier",
"revision" : "2020-12-09",
"namespace" : "urn:3gpp:sa5:_3gpp-nr-nrmnrnetwork-nrsectorcarrier",
"location" : "http://emsadapter.com/modules/_3gppnr-nrm-nrsectorcarrier",
"submodule" : [
{
"name" : "xxxx-module",
"revision" : "2020-12-17",
"namespace" : "urn:3gpp:sa5:xxx-module",
"submodule" : [
{
...
}
]
}
]
},
{
"name" : "ietf-yang-library",
"revision" : "2016-06-21",
"namespace" : "urn:ietf:params:xml:ns:yang:ietfyang-library"
}
]
}


...