changes.mady.by.user Niamh Core
Saved on Sep 07, 2021
Saved on Sep 09, 2021
...
*For response output, where applicable the yang-library format and conventions are used 'as is' or extended
Get module set for a cmhandle
Header :Content-Type: application/json
{ "operation": "read", "cmHandleProperties ": { "subSystemId": "system-001" } } }
Response: "schemas": [ { "moduleName": "example-identifier", "revision": "example-version", "namespace": "example-namespace" }, { ... } ] }
{dmiRoot}/dmi/v1/ch/<cmHandle>/moduleSourcesmoduleResources
DMI Plugin will make multiple requests to xNF and combine the result in a list
{ "operation": "read", "dataType": "application/json", "data": { "modules": [ { "name": "pnf-sw-upgrade", "revision": "2019-12-03" } ] }, "cmHandleProperties": { "subSystemId": "system-001" } }
Response: a list yang module references and source for each
[ { "name" : "pnf-sw-upgrade", "revision" : "2019-12-03", "yang-source": "some-source", {...} ]