Versions Compared

Key

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

...

Jira
serverONAP JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-200199

Models and data

There was an issue with the original json data provided. We corrected this issue by modifying the root element .

cps-ran-inventory-data-incorrect.json (original)

cps-ran-inventory-data.json (corrected)

and the E2E Network Slicing team was notified. The corrected model and data was later received and all cps-test cases passes.

cps-cavsta-onap-internal2021-01-28.yang

cps-cavsta-Data.txtcps-ran-inventory.yang

Queries used for the RAN inventory model

API PathDescription of Operation
GET 
GET 
/ran-
inventory/sliceProfilesList/{sNSSAI}
coverage-area/pLMNIdList[@mcc={}, and @mnc={}]/coverage-area[@coverageArea={}]

Find a slice profile list that has the given sNSSAI value


Code Block
 list sliceProfilesList{
  		uses SliceProfile;
  		key "sliceProfileId";
  		description "List of slice profiles supported by the ran slice";
  	}


  • use query of cpsPath starting with given path (maybe even add '[') -  '/ran-inventory/sliceProfilesList[@sliceProfileId=\'f33a9dd8-ae51-4acf-8073-c9390c25f6f1\']
  • use json-query tools to only get the 'fragment' that contain required name-value pair
    (probably need native-query annotation)
PUT /ran-inventory/{rannfnssiid}/sliceProfilesList/Add/update the given slice profile for the given rannfnssi

...