1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2021-2023 Nordix Foundation
3 # Modifications Copyright (C) 2022 Bell Canada
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
42 example: ["cmHandleId1","cmHandleId2","cmHandleId3"]
46 ModuleReferencesRequest:
52 $ref: '#/components/schemas/cmHandleProperties'
54 ResourceDataOperationRequests:
58 title: 'DataOperationRequest'
64 description: 'it is recommended that the operationId is unique within the scope of the request'
69 example: 'ncmp-datastore:passthrough-operational'
72 example: 'some option'
75 example: 'some resource identifier'
79 $ref: '#/components/schemas/cmHandle'
99 otherProp: other value
101 ModuleResourcesReadRequest:
106 description: Module set tag of the given cm handle
107 example: Module-set-tag-1
124 $ref: '#/components/schemas/cmHandleProperties'
136 example: my-module-name
142 example: my-namespace
147 $ref: '#/components/schemas/YangResource'
153 example: my-yang-source
156 example: my-module-name
166 enum: [ read, create, update, patch, delete ]
170 example: my-data-type
175 $ref: '#/components/schemas/cmHandleProperties'
178 example: 3a9ce55c-e365-4dc9-8da3-a06f07cbc6d7
183 additionalProperties:
185 example: {"prop1":"value1","prop2":"value2"}
189 description: No Content
193 description: Bad Request
197 $ref: '#/components/schemas/ErrorMessage'
201 details: The provided request is not valid
204 description: The specified resource was not found
208 $ref: '#/components/schemas/ErrorMessage'
211 message: Resource Not Found
212 details: The requested resource is not found
215 description: Internal Server Error
219 $ref: '#/components/schemas/ErrorMessage'
222 message: Internal Server Error
223 details: Internal Server Error occured
226 description: Not Implemented
230 $ref: '#/components/schemas/ErrorMessage'
233 message: Not Implemented
234 details: Method Not Implemented
240 description: The identifier for a network function, network element, subnetwork, or any other cm object by managed Network CM Proxy
244 example: my-cm-handle
246 resourceIdentifierInQuery:
247 name: resourceIdentifier
249 description: Resource identifier to get/set the resource data
254 example: my-schema:my-node
259 description: options parameter in query, it is mandatory to wrap key(s)=value(s) in parenthesis'()'.
267 options: (key1=value1,key2=value2)
270 options: (key1=value1,key2=value1/value2)
273 options: (key1=10,key2=value2,key3=val31,val32)
278 description: topic name passed from client(NCMP).
287 requiredTopicParamInQuery:
290 description: mandatory topic name passed from client(NCMP).
300 moduleSetTagParamInQuery:
303 description: Module set tag of the given cm handle.
311 requiredRequestIdParamInQuery:
314 description: request Id generated by NCMP and sent as an acknowledgement for the client request the same including here.
321 value: 4753fc1f-7de2-449a-b306-a6204b5370b3
326 description: The type of the requested data
330 example: ncmp-datastore:passthrough-operational or ncmp-datastore:passthrough-running