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:
50 $ref: '#/components/schemas/cmHandleProperties'
52 ModuleResourcesReadRequest:
70 $ref: '#/components/schemas/cmHandleProperties'
82 example: my-module-name
94 $ref: '#/components/schemas/YangResource'
100 example: my-yang-source
103 example: my-module-name
113 enum: [ read, create, update, patch, delete ]
117 example: my-data-type
122 $ref: '#/components/schemas/cmHandleProperties'
125 example: 3a9ce55c-e365-4dc9-8da3-a06f07cbc6d7
129 additionalProperties:
131 example: {"prop1":"value1","prop2":"value2"}
135 description: No Content
138 description: Bad Request
142 $ref: '#/components/schemas/ErrorMessage'
146 details: The provided request is not valid
148 description: The specified resource was not found
152 $ref: '#/components/schemas/ErrorMessage'
155 message: Resource Not Found
156 details: The requested resource is not found
158 description: Internal Server Error
162 $ref: '#/components/schemas/ErrorMessage'
165 message: Internal Server Error
166 details: Internal Server Error occured
168 description: Not Implemented
172 $ref: '#/components/schemas/ErrorMessage'
175 message: Not Implemented
176 details: Method Not Implemented
181 description: The identifier for a network function, network element, subnetwork, or any other cm object by managed Network CM Proxy
185 example: my-cm-handle
187 resourceIdentifierInQuery:
188 name: resourceIdentifier
190 description: Resource identifier to get/set the resource data
195 example: my-schema:my-node
200 description: options parameter in query, it is mandatory to wrap key(s)=value(s) in parenthesis'()'.
208 options: (key1=value1,key2=value2)
211 options: (key1=value1,key2=value1/value2)
214 options: (key1=10,key2=value2,key3=val31,val32)
218 description: topic name passed from client(NCMP).
229 description: The type of the requested data
233 example: ncmp-datastore:passthrough-operational or ncmp-datastore:passthrough-running