3 description: NCMP to CPS Proxy API
4 title: NCMP to CPS Proxy API
9 /v1/ch/{cm-handle}/data/ds/{datastore-name}:
11 description: Delete resource data from pass-through running for a given cm handle
12 operationId: deleteResourceDataRunningForCmHandle
14 - description: The type of the requested data
19 example: ncmp-datastore:running
21 - description: "The identifier (cmHandle or alternate) for a network function,\
22 \ network element, subnetwork or any other cm object by managed Network\
28 example: my-cm-handle-reference
31 The `resourceIdentifier` parameter specifies the target resource in the GNBDUFunctionConfig model.
32 For ONAP DMI Plugin, the format will follow RESTConf paths. Examples:
33 - All GNBDUFunctions: `/ManagedElement=node1/GNBDUFunction=1`
37 resourceIdentifier: /ManagedElement=node1/GNBDUFunction=1
39 name: resourceIdentifier
43 - description: "Content parameter for request, if content parameter is null,\
44 \ default value is application/json."
49 default: application/json
50 example: application/yang-data+json
52 - description: Authorization parameter for request.
61 description: No Content
67 message: Bad request error message
68 details: Bad request error details
70 $ref: '#/components/schemas/ErrorMessage'
71 description: Bad Request
77 message: Forbidden error message
78 details: Forbidden error details
80 $ref: '#/components/schemas/ErrorMessage'
81 description: Forbidden
87 message: Not found error message
88 details: Not found error details
90 $ref: '#/components/schemas/ErrorMessage'
91 description: The specified resource was not found
97 message: Conflict error message
98 details: Conflict error details
100 $ref: '#/components/schemas/ErrorMessage'
101 description: Conflict
107 message: Internal Server Error
108 details: Internal Server Error occurred
110 $ref: '#/components/schemas/ErrorMessage'
111 description: Internal Server Error
116 message: Bad Gateway Error Message NCMP
121 $ref: '#/components/schemas/DmiErrorMessage'
122 description: Bad Gateway
123 summary: Delete resource data
127 description: Get resource data for given cm handle
128 operationId: getResourceDataForCmHandle
130 - description: The type of the requested data
135 example: ncmp-datastore:running
137 - description: "The identifier (cmHandle or alternate) for a network function,\
138 \ network element, subnetwork or any other cm object by managed Network\
144 example: my-cm-handle-reference
147 The `resourceIdentifier` parameter specifies the target resource in the GNBDUFunctionConfig model.
148 For ONAP DMI Plugin, the format will follow RESTConf paths. Examples:
149 - All GNBDUFunctions: `/ManagedElement=node1/GNBDUFunction=1`
153 resourceIdentifier: /ManagedElement=node1/GNBDUFunction=1
155 name: resourceIdentifier
160 The `options` parameter specifies additional query options. It is mandatory to wrap key(s)=value(s) in parentheses `()`.
161 Examples for GNBDUFunctionConfig queries:
162 - Limit depth of returned sub-tree: `(depth=2)`
163 - Select specific fields: `(fields=attributes(gNBId;gNBDUName))`
164 - Combine options: `(depth=3,fields=attributes(gNBId;gNBDUName))`
169 Select Specific Fields:
171 options: (fields=attributes(gNBId;gNBDUName))
172 Combine Depth and Fields:
174 options: "(depth=3,fields=attributes(gNBId;gNBDUName))"
180 - description: topic parameter in query.
190 - description: Determines if descendants are included in response
192 name: include-descendants
197 - description: Authorization parameter for request.
209 $ref: '#/components/examples/dataSampleResponse'
218 message: Bad request error message
219 details: Bad request error details
221 $ref: '#/components/schemas/ErrorMessage'
222 description: Bad Request
228 message: Forbidden error message
229 details: Forbidden error details
231 $ref: '#/components/schemas/ErrorMessage'
232 description: Forbidden
238 message: Internal Server Error
239 details: Internal Server Error occurred
241 $ref: '#/components/schemas/ErrorMessage'
242 description: Internal Server Error
247 message: Bad Gateway Error Message NCMP
252 $ref: '#/components/schemas/DmiErrorMessage'
253 description: Bad Gateway
254 summary: Get resource data for cm handle
258 description: Patch resource data from pass-through running for the given cm
260 operationId: patchResourceDataRunningForCmHandle
262 - description: The type of the requested data
267 example: ncmp-datastore:running
269 - description: "The identifier (cmHandle or alternate) for a network function,\
270 \ network element, subnetwork or any other cm object by managed Network\
276 example: my-cm-handle-reference
279 The `resourceIdentifier` parameter specifies the target resource in the GNBDUFunctionConfig model.
280 For ONAP DMI Plugin, the format will follow RESTConf paths. Examples:
281 - All GNBDUFunctions: `/ManagedElement=node1/GNBDUFunction=1`
285 resourceIdentifier: /ManagedElement=node1/GNBDUFunction=1
287 name: resourceIdentifier
291 - description: "Content parameter for request, if content parameter is null,\
292 \ default value is application/json."
297 default: application/json
298 example: application/yang-data+json
300 - description: Authorization parameter for request.
311 $ref: '#/components/examples/dataSamplePatchRequest'
327 message: Bad request error message
328 details: Bad request error details
330 $ref: '#/components/schemas/ErrorMessage'
331 description: Bad Request
337 message: Forbidden error message
338 details: Forbidden error details
340 $ref: '#/components/schemas/ErrorMessage'
341 description: Forbidden
347 message: Conflict error message
348 details: Conflict error details
350 $ref: '#/components/schemas/ErrorMessage'
351 description: Conflict
357 message: Internal Server Error
358 details: Internal Server Error occurred
360 $ref: '#/components/schemas/ErrorMessage'
361 description: Internal Server Error
366 message: Bad Gateway Error Message NCMP
371 $ref: '#/components/schemas/DmiErrorMessage'
372 description: Bad Gateway
373 summary: Patch resource data from pass-through running
377 description: create resource data from pass-through running for given cm handle
378 operationId: createResourceDataRunningForCmHandle
380 - description: The type of the requested data
385 example: ncmp-datastore:running
387 - description: "The identifier (cmHandle or alternate) for a network function,\
388 \ network element, subnetwork or any other cm object by managed Network\
394 example: my-cm-handle-reference
397 The `resourceIdentifier` parameter specifies the target resource in the GNBDUFunctionConfig model.
398 For ONAP DMI Plugin, the format will follow RESTConf paths. Examples:
399 - All GNBDUFunctions: `/ManagedElement=node1/GNBDUFunction=1`
403 resourceIdentifier: /ManagedElement=node1/GNBDUFunction=1
405 name: resourceIdentifier
409 - description: "Content parameter for request, if content parameter is null,\
410 \ default value is application/json."
415 default: application/json
416 example: application/yang-data+json
418 - description: Authorization parameter for request.
429 $ref: '#/components/examples/dataSampleRequest'
432 application/yang-data+json:
435 $ref: '#/components/examples/dataSampleRequest'
448 message: Bad request error message
449 details: Bad request error details
451 $ref: '#/components/schemas/ErrorMessage'
452 description: Bad Request
458 message: Forbidden error message
459 details: Forbidden error details
461 $ref: '#/components/schemas/ErrorMessage'
462 description: Forbidden
468 message: Conflict error message
469 details: Conflict error details
471 $ref: '#/components/schemas/ErrorMessage'
472 description: Conflict
478 message: Internal Server Error
479 details: Internal Server Error occurred
481 $ref: '#/components/schemas/ErrorMessage'
482 description: Internal Server Error
487 message: Bad Gateway Error Message NCMP
492 $ref: '#/components/schemas/DmiErrorMessage'
493 description: Bad Gateway
494 summary: create resource data from pass-through running for cm handle
498 description: Update resource data from pass-through running for the given cm
500 operationId: updateResourceDataRunningForCmHandle
502 - description: The type of the requested data
507 example: ncmp-datastore:running
509 - description: "The identifier (cmHandle or alternate) for a network function,\
510 \ network element, subnetwork or any other cm object by managed Network\
516 example: my-cm-handle-reference
519 The `resourceIdentifier` parameter specifies the target resource in the GNBDUFunctionConfig model.
520 For ONAP DMI Plugin, the format will follow RESTConf paths. Examples:
521 - All GNBDUFunctions: `/ManagedElement=node1/GNBDUFunction=1`
525 resourceIdentifier: /ManagedElement=node1/GNBDUFunction=1
527 name: resourceIdentifier
531 - description: "Content parameter for request, if content parameter is null,\
532 \ default value is application/json."
537 default: application/json
538 example: application/yang-data+json
540 - description: Authorization parameter for request.
551 $ref: '#/components/examples/dataSampleRequest'
554 application/yang-data+json:
557 $ref: '#/components/examples/dataSampleRequest'
573 message: Bad request error message
574 details: Bad request error details
576 $ref: '#/components/schemas/ErrorMessage'
577 description: Bad Request
583 message: Forbidden error message
584 details: Forbidden error details
586 $ref: '#/components/schemas/ErrorMessage'
587 description: Forbidden
593 message: Conflict error message
594 details: Conflict error details
596 $ref: '#/components/schemas/ErrorMessage'
597 description: Conflict
603 message: Internal Server Error
604 details: Internal Server Error occurred
606 $ref: '#/components/schemas/ErrorMessage'
607 description: Internal Server Error
612 message: Bad Gateway Error Message NCMP
617 $ref: '#/components/schemas/DmiErrorMessage'
618 description: Bad Gateway
619 summary: Update resource data from pass-through running for a cm handle
624 description: This request will be handled asynchronously using messaging to
625 the supplied topic. The rest response will be an acknowledge with a requestId
626 to identify the relevant messages. A maximum of 200 cm handles per operation
628 operationId: executeDataOperationForCmHandles
630 - description: mandatory topic parameter in query.
640 - description: Authorization parameter for request.
650 $ref: '#/components/schemas/DataOperationRequest'
664 message: Bad request error message
665 details: Bad request error details
667 $ref: '#/components/schemas/ErrorMessage'
668 description: Bad Request
674 message: Forbidden error message
675 details: Forbidden error details
677 $ref: '#/components/schemas/ErrorMessage'
678 description: Forbidden
684 message: Payload Too Large error message
685 details: Payload Too Large error details
687 $ref: '#/components/schemas/ErrorMessage'
688 description: The request is larger than the server is willing or able to
695 message: Internal Server Error
696 details: Internal Server Error occurred
698 $ref: '#/components/schemas/ErrorMessage'
699 description: Internal Server Error
704 message: Bad Gateway Error Message NCMP
709 $ref: '#/components/schemas/DmiErrorMessage'
710 description: Bad Gateway
711 summary: Execute a data operation for group of cm handle references
714 /v1/ch/{cm-handle}/data/ds/{datastore-name}/query:
716 description: Query resource data for a given cm handle
717 operationId: queryResourceDataForCmHandle
719 - description: The type of the requested data
724 example: ncmp-datastore:running
726 - description: "The identifier for a network function, network element, subnetwork\
727 \ or any other cm object by managed Network CM Proxy"
732 example: my-cm-handle
734 - description: "For more details on cps path, please refer https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html"
737 value: //GNBDUFunction
738 list attributes cps path:
739 value: "//GNBDUFunction[@id='1001']"
747 The `options` parameter specifies additional query options. It is mandatory to wrap key(s)=value(s) in parentheses `()`.
748 Examples for GNBDUFunctionConfig queries:
749 - Limit depth of returned sub-tree: `(depth=2)`
750 - Select specific fields: `(fields=attributes(gNBId;gNBDUName))`
751 - Combine options: `(depth=3,fields=attributes(gNBId;gNBDUName))`
756 Select Specific Fields:
758 options: (fields=attributes(gNBId;gNBDUName))
759 Combine Depth and Fields:
761 options: "(depth=3,fields=attributes(gNBId;gNBDUName))"
767 - description: topic parameter in query.
777 - description: Determines if descendants are included in response
779 name: include-descendants
790 $ref: '#/components/examples/dataSampleResponse'
799 message: Bad request error message
800 details: Bad request error details
802 $ref: '#/components/schemas/ErrorMessage'
803 description: Bad Request
809 message: Forbidden error message
810 details: Forbidden error details
812 $ref: '#/components/schemas/ErrorMessage'
813 description: Forbidden
819 message: Internal Server Error
820 details: Internal Server Error occurred
822 $ref: '#/components/schemas/ErrorMessage'
823 description: Internal Server Error
828 message: Bad Gateway Error Message NCMP
833 $ref: '#/components/schemas/DmiErrorMessage'
834 description: Bad Gateway
835 summary: Query resource data for a given cm handle
838 /v1/ch/{cm-handle}/modules:
840 description: fetch all module references (name and revision) for a given cm
842 operationId: getModuleReferencesByCmHandle
844 - description: "The identifier (cmHandle or alternate) for a network function,\
845 \ network element, subnetwork or any other cm object by managed Network\
851 example: my-cm-handle-reference
859 $ref: '#/components/schemas/RestModuleReference'
867 message: Bad request error message
868 details: Bad request error details
870 $ref: '#/components/schemas/ErrorMessage'
871 description: Bad Request
877 message: Forbidden error message
878 details: Forbidden error details
880 $ref: '#/components/schemas/ErrorMessage'
881 description: Forbidden
887 message: Internal Server Error
888 details: Internal Server Error occurred
890 $ref: '#/components/schemas/ErrorMessage'
891 description: Internal Server Error
892 summary: Fetch all module references (name and revision) for a given cm handle
895 /v1/ch/{cm-handle}/modules/definitions:
897 description: "Get module definitions (module name, revision, yang resource)\
898 \ with options to filter on module name and revision"
899 operationId: getModuleDefinitions
901 - description: "The identifier (cmHandle or alternate) for a network function,\
902 \ network element, subnetwork or any other cm object by managed Network\
908 example: my-cm-handle-reference
910 - description: Filter for a module name.This is an optional parameter
917 - description: Filter for a module revision.This is an optional parameter and
918 ignored when no module name is supplied
931 $ref: '#/components/schemas/RestModuleDefinition'
939 message: Forbidden error message
940 details: Forbidden error details
942 $ref: '#/components/schemas/ErrorMessage'
943 description: Forbidden
949 message: Internal Server Error
950 details: Internal Server Error occurred
952 $ref: '#/components/schemas/ErrorMessage'
953 description: Internal Server Error
954 summary: Get module definitions
959 description: Execute cm handle query search and return a list of cm handle details.
960 Any number of conditions can be applied. To be included in the result a cm-handle
961 must fulfill ALL the conditions. An empty collection will be returned in the
962 case that the cm handle does not match a condition. For more on cm handle
963 query search please refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/ncmp-cmhandle-querying.html">cm
964 handle query search Read the Docs</a>.<br/>By supplying a CPS Path it is possible
965 to query on any data related to the cm handle. For more on CPS Path please
966 refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html">CPS
967 Path Read the Docs</a>. The cm handle ancestor is automatically returned for
969 operationId: searchCmHandles
974 Cm handle properties query:
975 $ref: '#/components/examples/pubPropCmHandleQueryParameters'
976 Cm handle modules query:
977 $ref: '#/components/examples/modulesCmHandleQueryParameters'
978 All cm handle query parameters:
979 $ref: '#/components/examples/allCmHandleQueryParameters'
980 Cm handle with CPS path state query:
981 $ref: '#/components/examples/cpsPathCmHandleStateQueryParameters'
982 Cm handle with data sync flag query:
983 $ref: '#/components/examples/cpsPathCmHandleDataSyncQueryParameters'
985 $ref: '#/components/schemas/CmHandleQueryParameters'
993 $ref: '#/components/schemas/RestOutputCmHandle'
1001 message: Bad request error message
1002 details: Bad request error details
1004 $ref: '#/components/schemas/ErrorMessage'
1005 description: Bad Request
1011 message: Forbidden error message
1012 details: Forbidden error details
1014 $ref: '#/components/schemas/ErrorMessage'
1015 description: Forbidden
1021 message: Internal Server Error
1022 details: Internal Server Error occurred
1024 $ref: '#/components/schemas/ErrorMessage'
1025 description: Internal Server Error
1026 summary: Execute cm handle search using the available conditions
1031 description: Retrieve CM handle details and properties by cm handle id
1032 operationId: retrieveCmHandleDetailsById
1034 - description: "The identifier (cmHandle or alternate) for a network function,\
1035 \ network element, subnetwork or any other cm object by managed Network\
1041 example: my-cm-handle-reference
1048 $ref: '#/components/schemas/RestOutputCmHandle'
1055 message: Bad request error message
1056 details: Bad request error details
1058 $ref: '#/components/schemas/ErrorMessage'
1059 description: Bad Request
1065 message: Not found error message
1066 details: Not found error details
1068 $ref: '#/components/schemas/ErrorMessage'
1069 description: The specified resource was not found
1075 message: Internal Server Error
1076 details: Internal Server Error occurred
1078 $ref: '#/components/schemas/ErrorMessage'
1079 description: Internal Server Error
1080 summary: Retrieve CM handle details
1083 /v1/ch/{cm-handle}/properties:
1085 description: Get CM handle properties by cm handle id
1086 operationId: getPublicCmHandlePropertiesByCmHandleId
1088 - description: "The identifier (cmHandle or alternate) for a network function,\
1089 \ network element, subnetwork or any other cm object by managed Network\
1095 example: my-cm-handle-reference
1102 $ref: '#/components/schemas/RestOutputPublicCmHandleProperties'
1109 message: Bad request error message
1110 details: Bad request error details
1112 $ref: '#/components/schemas/ErrorMessage'
1113 description: Bad Request
1119 message: Not found error message
1120 details: Not found error details
1122 $ref: '#/components/schemas/ErrorMessage'
1123 description: The specified resource was not found
1129 message: Internal Server Error
1130 details: Internal Server Error occurred
1132 $ref: '#/components/schemas/ErrorMessage'
1133 description: Internal Server Error
1134 summary: Get CM handle properties
1139 description: Execute cm handle query search and return a list of cm handle references.
1140 Any number of conditions can be applied. To be included in the result a cm
1141 handle must fulfill ALL the conditions. An empty collection will be returned
1142 in the case that the cm handle does not match a condition. For more on cm
1143 handle query search please refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/ncmp-cmhandle-querying.html">cm
1144 handle query search Read the Docs</a>.<br/>By supplying a CPS Path it is possible
1145 to query on any data related to the cm handle. For more on CPS Path please
1146 refer to <a href="https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html">CPS
1147 Path Read the Docs</a>. The cm handle ancestor is automatically returned for
1149 operationId: searchCmHandleIds
1151 - description: Boolean parameter to determine if returned value(s) will be cm
1152 handle ids or alternate ids for a given query
1154 name: outputAlternateId
1163 Cm handle properties query:
1164 $ref: '#/components/examples/pubPropCmHandleQueryParameters'
1165 Cm handle modules query:
1166 $ref: '#/components/examples/modulesCmHandleQueryParameters'
1167 All cm handle query parameters:
1168 $ref: '#/components/examples/allCmHandleQueryParameters'
1169 Cm handle with CPS path state query:
1170 $ref: '#/components/examples/cpsPathCmHandleStateQueryParameters'
1171 Cm handle with data sync flag query:
1172 $ref: '#/components/examples/cpsPathCmHandleDataSyncQueryParameters'
1174 $ref: '#/components/schemas/CmHandleQueryParameters'
1190 message: Bad request error message
1191 details: Bad request error details
1193 $ref: '#/components/schemas/ErrorMessage'
1194 description: Bad Request
1200 message: Forbidden error message
1201 details: Forbidden error details
1203 $ref: '#/components/schemas/ErrorMessage'
1204 description: Forbidden
1210 message: Not found error message
1211 details: Not found error details
1213 $ref: '#/components/schemas/ErrorMessage'
1214 description: The specified resource was not found
1220 message: Internal Server Error
1221 details: Internal Server Error occurred
1223 $ref: '#/components/schemas/ErrorMessage'
1224 description: Internal Server Error
1225 summary: Execute cm handle query upon a given set of query parameters
1228 /v1/ch/{cm-handle}/state:
1230 description: Get CM handle state by cm handle id
1231 operationId: getCmHandleStateByCmHandleId
1233 - description: "The identifier (cmHandle or alternate) for a network function,\
1234 \ network element, subnetwork or any other cm object by managed Network\
1240 example: my-cm-handle-reference
1247 $ref: '#/components/schemas/RestOutputCmHandleCompositeState'
1254 message: Bad request error message
1255 details: Bad request error details
1257 $ref: '#/components/schemas/ErrorMessage'
1258 description: Bad Request
1264 message: Not found error message
1265 details: Not found error details
1267 $ref: '#/components/schemas/ErrorMessage'
1268 description: The specified resource was not found
1274 message: Internal Server Error
1275 details: Internal Server Error occurred
1277 $ref: '#/components/schemas/ErrorMessage'
1278 description: Internal Server Error
1279 summary: Get CM handle state
1282 /v1/ch/{cm-handle}/data-sync:
1284 description: Set the data sync enabled flag to true or false for a specified
1285 Cm-Handle. This will in turn set the data sync state to UNSYNCHRONIZED and
1286 NONE_REQUESTED respectfully.
1287 operationId: setDataSyncEnabledFlagForCmHandle
1289 - description: "The identifier for a network function, network element, subnetwork\
1290 \ or any other cm object by managed Network CM Proxy"
1295 example: my-cm-handle
1297 - description: Is used to enable or disable the data synchronization flag
1299 name: dataSyncEnabled
1316 message: Bad request error message
1317 details: Bad request error details
1319 $ref: '#/components/schemas/ErrorMessage'
1320 description: Bad Request
1326 message: Forbidden error message
1327 details: Forbidden error details
1329 $ref: '#/components/schemas/ErrorMessage'
1330 description: Forbidden
1336 message: Internal Server Error
1337 details: Internal Server Error occurred
1339 $ref: '#/components/schemas/ErrorMessage'
1340 description: Internal Server Error
1345 message: Bad Gateway Error Message NCMP
1350 $ref: '#/components/schemas/DmiErrorMessage'
1351 description: Bad Gateway
1352 summary: Set the Data Sync Enabled Flag
1358 description: Sample response with GNBDUFunction configuration
1359 summary: Sample response
1361 gnbdu3gpp:GNBDUFunction:
1369 reportIndicator: enabled
1370 reportInterval: 1000
1371 nrofRIMRSReportInfo: 5
1372 maxPropagationDelay: 32767
1373 RimRSReportInfoList:
1375 propagationDelay: 20
1376 functionalityOfRIMRS: RS1
1378 propagationDelay: 15
1379 functionalityOfRIMRS: RS2
1380 configurable5QISetRef: /5QISet-001
1381 dynamic5QISetRef: /Dynamic5QISet-001
1383 description: Sample request body for GNBDUFunction configuration
1384 summary: Sample request
1386 gnbdu3gpp:GNBDUFunction:
1394 reportIndicator: enabled
1395 reportInterval: 1000
1396 nrofRIMRSReportInfo: 5
1397 maxPropagationDelay: 32767
1398 RimRSReportInfoList:
1400 propagationDelay: 20
1401 functionalityOfRIMRS: RS1
1403 propagationDelay: 15
1404 functionalityOfRIMRS: RS2
1405 dataSamplePatchRequest:
1406 description: Sample patch request to modify GNBDUFunction
1407 summary: Sample patch request
1409 ietf-restconf:yang-patch:
1414 target: /gnbdu3gpp:GNBDUFunction
1416 gnbdu3gpp:GNBDUFunction:
1424 reportIndicator: disabled
1425 reportInterval: 2000
1426 nrofRIMRSReportInfo: 3
1427 maxPropagationDelay: 20000
1430 target: /gnbdu3gpp:GNBDUFunction
1432 gnbdu3gpp:GNBDUFunction:
1433 configurable5QISetRef: /5QISet-001
1434 dynamic5QISetRef: /Dynamic5QISet-001
1435 pubPropCmHandleQueryParameters:
1437 cmHandleQueryParameters:
1438 - conditionName: hasAllProperties
1439 conditionParameters:
1443 modulesCmHandleQueryParameters:
1445 cmHandleQueryParameters:
1446 - conditionName: hasAllModules
1447 conditionParameters:
1448 - moduleName: my-module-1
1449 - moduleName: my-module-2
1450 - moduleName: my-module-3
1451 allCmHandleQueryParameters:
1453 cmHandleQueryParameters:
1454 - conditionName: hasAllModules
1455 conditionParameters:
1456 - moduleName: my-module-1
1457 - moduleName: my-module-2
1458 - moduleName: my-module-3
1459 - conditionName: hasAllProperties
1460 conditionParameters:
1464 - conditionName: cmHandleWithCpsPath
1465 conditionParameters:
1466 - cpsPath: "//state[@cm-handle-state='ADVISED']"
1467 cpsPathCmHandleStateQueryParameters:
1469 cmHandleQueryParameters:
1470 - conditionName: cmHandleWithCpsPath
1471 conditionParameters:
1472 - cpsPath: "//state[@cm-handle-state='LOCKED']"
1473 cpsPathCmHandleDataSyncQueryParameters:
1475 cmHandleQueryParameters:
1476 - conditionName: cmHandleWithCpsPath
1477 conditionParameters:
1478 - cpsPath: "//state[@data-sync-enabled='true']"
1481 description: The type of the requested data
1483 name: datastore-name
1486 example: ncmp-datastore:running
1488 cmHandleReferenceInPath:
1489 description: "The identifier (cmHandle or alternate) for a network function,\
1490 \ network element, subnetwork or any other cm object by managed Network CM\
1496 example: my-cm-handle-reference
1498 resourceIdentifierInQuery:
1500 The `resourceIdentifier` parameter specifies the target resource in the GNBDUFunctionConfig model.
1501 For ONAP DMI Plugin, the format will follow RESTConf paths. Examples:
1502 - All GNBDUFunctions: `/ManagedElement=node1/GNBDUFunction=1`
1506 resourceIdentifier: /ManagedElement=node1/GNBDUFunction=1
1508 name: resourceIdentifier
1512 optionsParamInQuery:
1514 The `options` parameter specifies additional query options. It is mandatory to wrap key(s)=value(s) in parentheses `()`.
1515 Examples for GNBDUFunctionConfig queries:
1516 - Limit depth of returned sub-tree: `(depth=2)`
1517 - Select specific fields: `(fields=attributes(gNBId;gNBDUName))`
1518 - Combine options: `(depth=3,fields=attributes(gNBId;gNBDUName))`
1523 Select Specific Fields:
1525 options: (fields=attributes(gNBId;gNBDUName))
1526 Combine Depth and Fields:
1528 options: "(depth=3,fields=attributes(gNBId;gNBDUName))"
1535 description: topic parameter in query.
1539 topic: my-topic-name
1545 includeDescendantsOptionInQuery:
1546 description: Determines if descendants are included in response
1548 name: include-descendants
1553 authorizationParamInHeader:
1554 description: Authorization parameter for request.
1560 contentParamInHeader:
1561 description: "Content parameter for request, if content parameter is null, default\
1562 \ value is application/json."
1567 default: application/json
1568 example: application/yang-data+json
1570 requiredTopicParamInQuery:
1571 description: mandatory topic parameter in query.
1575 topic: my-topic-name
1582 description: "The identifier for a network function, network element, subnetwork\
1583 \ or any other cm object by managed Network CM Proxy"
1588 example: my-cm-handle
1591 description: "For more details on cps path, please refer https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html"
1594 value: //GNBDUFunction
1595 list attributes cps path:
1596 value: "//GNBDUFunction[@id='1001']"
1604 description: Filter for a module name.This is an optional parameter
1612 description: Filter for a module revision.This is an optional parameter and
1613 ignored when no module name is supplied
1620 outputAlternateIdOptionInQuery:
1621 description: Boolean parameter to determine if returned value(s) will be cm
1622 handle ids or alternate ids for a given query
1624 name: outputAlternateId
1630 description: Is used to enable or disable the data synchronization flag
1632 name: dataSyncEnabled
1643 message: Bad request error message
1644 details: Bad request error details
1646 $ref: '#/components/schemas/ErrorMessage'
1647 description: Bad Request
1653 message: Forbidden error message
1654 details: Forbidden error details
1656 $ref: '#/components/schemas/ErrorMessage'
1657 description: Forbidden
1658 InternalServerError:
1663 message: Internal Server Error
1664 details: Internal Server Error occurred
1666 $ref: '#/components/schemas/ErrorMessage'
1667 description: Internal Server Error
1672 message: Bad Gateway Error Message NCMP
1677 $ref: '#/components/schemas/DmiErrorMessage'
1678 description: Bad Gateway
1690 message: Conflict error message
1691 details: Conflict error details
1693 $ref: '#/components/schemas/ErrorMessage'
1694 description: Conflict
1697 description: Created
1700 description: No Content
1706 message: Not found error message
1707 details: Not found error details
1709 $ref: '#/components/schemas/ErrorMessage'
1710 description: The specified resource was not found
1716 message: Payload Too Large error message
1717 details: Payload Too Large error details
1719 $ref: '#/components/schemas/ErrorMessage'
1720 description: The request is larger than the server is willing or able to process
1738 message: Bad Gateway Error Message NCMP
1744 example: Bad Gateway Error Message NCMP
1747 $ref: '#/components/schemas/DmiErrorMessage_dmi_response'
1748 title: DMI Error Message
1750 DataOperationRequest:
1753 - resourceIdentifier: /ManagedElement=NRNode1/GNBDUFunction=1
1755 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1757 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1759 datastore: ncmp-datastore:passthrough-operational
1760 options: (fields=NRCellDU/attributes/cellLocalId)
1763 - resourceIdentifier: /ManagedElement=NRNode1/GNBDUFunction=1
1765 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1767 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1769 datastore: ncmp-datastore:passthrough-operational
1770 options: (fields=NRCellDU/attributes/cellLocalId)
1775 description: contains group of data operation requests
1777 $ref: '#/components/schemas/DataOperationDefinition'
1779 title: execute data operation for given array of operations
1781 DataOperationDefinition:
1783 resourceIdentifier: /ManagedElement=NRNode1/GNBDUFunction=1
1785 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1787 - "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1789 datastore: ncmp-datastore:passthrough-operational
1790 options: (fields=NRCellDU/attributes/cellLocalId)
1801 example: ncmp-datastore:passthrough-operational
1804 example: (fields=NRCellDU/attributes/cellLocalId)
1807 example: /ManagedElement=NRNode1/GNBDUFunction=1
1811 description: "targeted cm handle references, maximum of 200 supported.\
1812 \ If this limit is exceeded the request will be refused."
1813 example: "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
1821 RestModuleReference:
1823 moduleName: my-module-name
1824 revision: my-module-revision
1827 example: my-module-name
1830 example: my-module-revision
1832 title: Module reference details
1834 RestModuleDefinition:
1836 moduleName: my-module-name
1837 content: "module _3gpp-nr-nrm-gnbdufunction {\n yang-version 1.1;\n namespace\
1838 \ 'urn:3gpp:sa5:_3gpp-nr-nrm-gnbdufunction';\n prefix gnbdu3gpp;\n revision\
1839 \ '2020-09-15' {\n description\n 'Defines the YANG mapping of the\
1840 \ GNBDUFunction Information \n Object Class (IOC) that is part of the\
1841 \ NR Network Resource Model (NRM). \n Copyright 2024, 3GPP Organizational\
1842 \ Partners (ARIB, ATIS, CCSA, ETSI, TSDSI,\n TTA, TTC). All rights reserved.';\n\
1844 revision: 2020-09-15
1847 example: my-module-name
1853 example: "module _3gpp-nr-nrm-gnbdufunction {\n yang-version 1.1;\n namespace\
1854 \ 'urn:3gpp:sa5:_3gpp-nr-nrm-gnbdufunction';\n prefix gnbdu3gpp;\n revision\
1855 \ '2020-09-15' {\n description\n 'Defines the YANG mapping of the\
1856 \ GNBDUFunction Information \n Object Class (IOC) that is part of\
1857 \ the NR Network Resource Model (NRM). \n Copyright 2024, 3GPP Organizational\
1858 \ Partners (ARIB, ATIS, CCSA, ETSI, TSDSI,\n TTA, TTC). All rights\
1859 \ reserved.';\n }\n}\n"
1861 title: Module definitions
1863 CmHandleQueryParameters:
1865 cmHandleQueryParameters:
1866 - conditionParameters:
1867 - key: conditionParameters
1868 - key: conditionParameters
1869 conditionName: conditionName
1870 - conditionParameters:
1871 - key: conditionParameters
1872 - key: conditionParameters
1873 conditionName: conditionName
1876 conditionParameters:
1877 - moduleName: my-module
1878 - moduleName: my-module
1880 conditionParameters:
1881 - moduleName: my-module
1882 - moduleName: my-module
1884 cmHandleQueryParameters:
1886 $ref: '#/components/schemas/ConditionProperties'
1890 description: "not necessary, it is just for backward compatibility"
1892 $ref: '#/components/schemas/OldConditionProperties'
1894 title: Cm Handle query parameters for executing cm handle search
1896 ConditionProperties:
1898 conditionParameters:
1899 - key: conditionParameters
1900 - key: conditionParameters
1901 conditionName: conditionName
1905 conditionParameters:
1907 additionalProperties:
1911 OldConditionProperties:
1915 conditionParameters:
1916 - moduleName: my-module
1917 - moduleName: my-module
1921 conditionParameters:
1923 $ref: '#/components/schemas/ModuleNameAsJsonObject'
1925 ModuleNameAsJsonObject:
1927 moduleName: my-module
1934 cmHandle: my-cm-handle1
1935 alternateId: "Subnetwork=Europe,ManagedElement=X123"
1936 dataProducerIdentifier: my-data-producer-identifier
1937 publicCmHandleProperties:
1943 dataSyncEnabled: false
1946 lastSyncTime: 2022-12-31T20:30:40.000+0000
1947 syncState: NONE_REQUESTED
1949 lastSyncTime: 2022-12-31T20:30:40.000+0000
1950 syncState: NONE_REQUESTED
1951 cmHandleState: ADVISED
1953 reason: LOCKED_MISBEHAVING
1954 details: locked due to failure in module sync
1955 lastUpdateTime: 2022-12-31T20:30:40.000+0000
1956 trustLevel: COMPLETE
1957 moduleSetTag: my-module-set-tag
1960 example: my-cm-handle1
1962 publicCmHandleProperties:
1964 additionalProperties:
1971 additionalProperties:
1976 $ref: '#/components/schemas/CmHandleCompositeState'
1978 description: Current trust level of the relevant CM handle ID.
1982 example: my-module-set-tag
1985 example: "Subnetwork=Europe,ManagedElement=X123"
1987 dataProducerIdentifier:
1988 example: my-data-producer-identifier
1990 title: CM handle Details
1992 CmHandleCompositeState:
1994 dataSyncEnabled: false
1997 lastSyncTime: 2022-12-31T20:30:40.000+0000
1998 syncState: NONE_REQUESTED
2000 lastSyncTime: 2022-12-31T20:30:40.000+0000
2001 syncState: NONE_REQUESTED
2002 cmHandleState: ADVISED
2004 reason: LOCKED_MISBEHAVING
2005 details: locked due to failure in module sync
2006 lastUpdateTime: 2022-12-31T20:30:40.000+0000
2012 $ref: '#/components/schemas/lock-reason'
2014 example: 2022-12-31T20:30:40.000+0000
2020 $ref: '#/components/schemas/dataStores'
2024 reason: LOCKED_MISBEHAVING
2025 details: locked due to failure in module sync
2028 example: LOCKED_MISBEHAVING
2031 example: locked due to failure in module sync
2037 lastSyncTime: 2022-12-31T20:30:40.000+0000
2038 syncState: NONE_REQUESTED
2040 lastSyncTime: 2022-12-31T20:30:40.000+0000
2041 syncState: NONE_REQUESTED
2044 $ref: '#/components/schemas/sync-state'
2046 $ref: '#/components/schemas/sync-state'
2050 lastSyncTime: 2022-12-31T20:30:40.000+0000
2051 syncState: NONE_REQUESTED
2054 example: NONE_REQUESTED
2057 example: 2022-12-31T20:30:40.000+0000
2061 description: Current trust level of the relevant CM handle ID.
2064 RestOutputPublicCmHandleProperties:
2066 publicCmHandleProperties:
2070 publicCmHandleProperties:
2072 additionalProperties:
2078 RestOutputCmHandleCompositeState:
2081 dataSyncEnabled: false
2084 lastSyncTime: 2022-12-31T20:30:40.000+0000
2085 syncState: NONE_REQUESTED
2087 lastSyncTime: 2022-12-31T20:30:40.000+0000
2088 syncState: NONE_REQUESTED
2089 cmHandleState: ADVISED
2091 reason: LOCKED_MISBEHAVING
2092 details: locked due to failure in module sync
2093 lastUpdateTime: 2022-12-31T20:30:40.000+0000
2096 $ref: '#/components/schemas/CmHandleCompositeState'
2098 DmiErrorMessage_dmi_response:
2107 example: Bad Request