example: '(fields=NRCellDU/attributes/cellLocalId)'
resourceIdentifier:
type: string
- example: 'NRCellDU/attributes/cellLocalId'
+ example: '/ManagedElement=NRNode1/GNBDUFunction=1'
targetIds:
type: array
items:
description: Sample request body for GNBDUFunction configuration
value:
gnbdu3gpp:GNBDUFunction:
- gNBId: 12345
- gNBIdLength: 32
- gNBDUId: 67890
- gNBDUName: "DU-1"
+ id: 12345
+ attributes:
+ gNBId: 5
+ gNBIdLength: 32
+ gNBDUId: 67890
+ gNBDUName: "DU-1"
rimRSReportConf:
reportIndicator: "enabled"
reportInterval: 1000
target: /gnbdu3gpp:GNBDUFunction
value:
gnbdu3gpp:GNBDUFunction:
- gNBId: 54321
- gNBIdLength: 32
- gNBDUId: 98765
- gNBDUName: "DU-2"
+ id: 54321
+ attributes:
+ gNBId: 5
+ gNBIdLength: 32
+ gNBDUId: 98765
+ gNBDUName: "DU-2"
rimRSReportConf:
reportIndicator: "disabled"
reportInterval: 2000
description: Sample response with GNBDUFunction configuration
value:
gnbdu3gpp:GNBDUFunction:
- gNBId: 12345
- gNBIdLength: 32
- gNBDUId: 67890
- gNBDUName: "DU-1"
+ id: 12345
+ attributes:
+ gNBId: 5
+ gNBIdLength: 32
+ gNBDUId: 67890
+ gNBDUName: "DU-1"
rimRSReportConf:
reportIndicator: "enabled"
reportInterval: 1000
cpsPathInQuery:
name: cps-path
in: query
- description: |
- The `cps-path` parameter allows referencing elements in the GNBDUFunctionConfig data model.
- For more details on cps path, please refer to:
- [CPS Path Documentation](https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html).
- Example paths:
- - Root GNBDUFunction: `/GNBDUFunction`
- - Specific gNB ID: `/GNBDUFunction[@gNBId='1001']`
- - RIM-RS Reporting Config: `/GNBDUFunction[@gNBId='1001']/rimRSReportConf`
+ description: For more details on cps path, please refer https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html
required: false
schema:
type: string
- default: "/GNBDUFunction"
+ default: /
examples:
- GNBDUFunction Root:
- value: "//GNBDUFunction"
- Specific gNB ID:
- value: "//GNBDUFunction[@gNBId='1001']"
- RIM-RS Reporting Config:
- value: "//GNBDUFunction[@gNBId='1001']/rimRSReportConf"
+ container cps path:
+ value: '//GNBDUFunction'
+ list attributes cps path:
+ value: "//GNBDUFunction[@id='1001']"
dmiPluginIdentifierInQuery:
name: dmi-plugin-identifier
in: query
description: |
The `resourceIdentifier` parameter specifies the target resource in the GNBDUFunctionConfig model.
For ONAP DMI Plugin, the format will follow RESTConf paths. Examples:
- - All GNBDUFunctions: `/GNBDUFunction`
- - Specific GNBDUFunction by gNBId: `/GNBDUFunction[@gNBId='1001']`
- - RIM-RS Reporting Configuration: `/GNBDUFunction[@gNBId='1001']/rimRSReportConf`
+ - All GNBDUFunctions: `/ManagedElement=node1/GNBDUFunction=1`
required: true
schema:
type: string
examples:
sample 1:
value:
- resourceIdentifier: \GNBDUFunction
- sample 2:
- value:
- resourceIdentifier: \GNBDUFunction[@gNBId='1001']
- sample 3:
- value:
- resourceIdentifier: \GNBDUFunction[@gNBId='1001']\rimRSReportConf
- sample 4:
- value:
- resourceIdentifier: parent=GNBDUFunction,child=gNBId:1001
+ resourceIdentifier: '/ManagedElement=node1/GNBDUFunction=1'
optionsParamInQuery:
name: options
in: query
The `options` parameter specifies additional query options. It is mandatory to wrap key(s)=value(s) in parentheses `()`.
Examples for GNBDUFunctionConfig queries:
- Limit depth of returned sub-tree: `(depth=2)`
- - Select specific fields: `(fields=gNBId,gNBDUName)`
- - Combine options: `(depth=3,fields=gNBId,gNBDUName)`
+ - Select specific fields: `(fields=attributes(gNBId;gNBDUName))`
+ - Combine options: `(depth=3,fields=attributes(gNBId;gNBDUName))`
required: false
schema:
type: string
options: (depth=2)
Select Specific Fields:
value:
- options: (fields=gNBId,gNBDUName)
+ options: (fields=attributes(gNBId;gNBDUName))
Combine Depth and Fields:
value:
- options: (depth=3,fields=gNBId,gNBDUName)
+ options: (depth=3,fields=attributes(gNBId;gNBDUName))
topicParamInQuery:
name: topic
in: query
- description: |
The `resourceIdentifier` parameter specifies the target resource in the GNBDUFunctionConfig model.
For ONAP DMI Plugin, the format will follow RESTConf paths. Examples:
- - All GNBDUFunctions: `/GNBDUFunction`
- - Specific GNBDUFunction by gNBId: `/GNBDUFunction[@gNBId='1001']`
- - RIM-RS Reporting Configuration: `/GNBDUFunction[@gNBId='1001']/rimRSReportConf`
+ - All GNBDUFunctions: `'/ManagedElement=NRNode1/GNBDUFunction=1'`
examples:
sample 1:
value:
- resourceIdentifier: \GNBDUFunction
- sample 2:
- value:
- resourceIdentifier: "\\GNBDUFunction[@gNBId='1001']"
- sample 3:
- value:
- resourceIdentifier: "\\GNBDUFunction[@gNBId='1001']\\rimRSReportConf"
- sample 4:
- value:
- resourceIdentifier: "parent=GNBDUFunction,child=gNBId:1001"
+ resourceIdentifier: '/ManagedElement=NRNode1/GNBDUFunction=1'
in: query
name: resourceIdentifier
required: true
- description: |
The `resourceIdentifier` parameter specifies the target resource in the GNBDUFunctionConfig model.
For ONAP DMI Plugin, the format will follow RESTConf paths. Examples:
- - All GNBDUFunctions: `/GNBDUFunction`
- - Specific GNBDUFunction by gNBId: `/GNBDUFunction[@gNBId='1001']`
- - RIM-RS Reporting Configuration: `/GNBDUFunction[@gNBId='1001']/rimRSReportConf`
+ - All GNBDUFunctions: `/ManagedElement=NRNode1/GNBDUFunction=1`
examples:
sample 1:
value:
- resourceIdentifier: \GNBDUFunction
- sample 2:
- value:
- resourceIdentifier: "\\GNBDUFunction[@gNBId='1001']"
- sample 3:
- value:
- resourceIdentifier: "\\GNBDUFunction[@gNBId='1001']\\rimRSReportConf"
- sample 4:
- value:
- resourceIdentifier: "parent=GNBDUFunction,child=gNBId:1001"
+ resourceIdentifier: '/ManagedElement=NRNode1/GNBDUFunction=1'
in: query
name: resourceIdentifier
required: true
The `options` parameter specifies additional query options. It is mandatory to wrap key(s)=value(s) in parentheses `()`.
Examples for GNBDUFunctionConfig queries:
- Limit depth of returned sub-tree: `(depth=2)`
- - Select specific fields: `(fields=gNBId,gNBDUName)`
- - Combine options: `(depth=3,fields=gNBId,gNBDUName)`
+ - Select specific fields: `(fields=id,gNBDUName)`
+ - Combine options: `(depth=3,fields=id,gNBDUName)`
examples:
Limit Depth:
value:
options: (depth=2)
Select Specific Fields:
value:
- options: "(fields=gNBId,gNBDUName)"
+ options: "(fields=id,gNBDUName)"
Combine Depth and Fields:
value:
- options: "(depth=3,fields=gNBId,gNBDUName)"
+ options: "(depth=3,fields=id,gNBDUName)"
in: query
name: options
required: false
- description: |
The `resourceIdentifier` parameter specifies the target resource in the GNBDUFunctionConfig model.
For ONAP DMI Plugin, the format will follow RESTConf paths. Examples:
- - All GNBDUFunctions: `/GNBDUFunction`
- - Specific GNBDUFunction by gNBId: `/GNBDUFunction[@gNBId='1001']`
- - RIM-RS Reporting Configuration: `/GNBDUFunction[@gNBId='1001']/rimRSReportConf`
+ - All GNBDUFunctions: `/ManagedElement=NRNode1/GNBDUFunction=1`
examples:
sample 1:
value:
- resourceIdentifier: \GNBDUFunction
- sample 2:
- value:
- resourceIdentifier: "\\GNBDUFunction[@gNBId='1001']"
- sample 3:
- value:
- resourceIdentifier: "\\GNBDUFunction[@gNBId='1001']\\rimRSReportConf"
- sample 4:
- value:
- resourceIdentifier: "parent=GNBDUFunction,child=gNBId:1001"
+ resourceIdentifier: '/ManagedElement=NRNode1/GNBDUFunction=1'
in: query
name: resourceIdentifier
required: true
- description: |
The `resourceIdentifier` parameter specifies the target resource in the GNBDUFunctionConfig model.
For ONAP DMI Plugin, the format will follow RESTConf paths. Examples:
- - All GNBDUFunctions: `/GNBDUFunction`
- - Specific GNBDUFunction by gNBId: `/GNBDUFunction[@gNBId='1001']`
- - RIM-RS Reporting Configuration: `/GNBDUFunction[@gNBId='1001']/rimRSReportConf`
+ - All GNBDUFunctions: `/ManagedElement=NRNode1/GNBDUFunction=1`
examples:
sample 1:
value:
- resourceIdentifier: \GNBDUFunction
- sample 2:
- value:
- resourceIdentifier: "\\GNBDUFunction[@gNBId='1001']"
- sample 3:
- value:
- resourceIdentifier: "\\GNBDUFunction[@gNBId='1001']\\rimRSReportConf"
- sample 4:
- value:
- resourceIdentifier: "parent=GNBDUFunction,child=gNBId:1001"
+ resourceIdentifier: '/ManagedElement=NRNode1/GNBDUFunction=1'
in: query
name: resourceIdentifier
required: true
- description: |
The `resourceIdentifier` parameter specifies the target resource in the GNBDUFunctionConfig model.
For ONAP DMI Plugin, the format will follow RESTConf paths. Examples:
- - All GNBDUFunctions: `/GNBDUFunction`
- - Specific GNBDUFunction by gNBId: `/GNBDUFunction[@gNBId='1001']`
- - RIM-RS Reporting Configuration: `/GNBDUFunction[@gNBId='1001']/rimRSReportConf`
+ - All GNBDUFunctions: `/ManagedElement=NRNode1/GNBDUFunction=1`
examples:
sample 1:
value:
- resourceIdentifier: \GNBDUFunction
- sample 2:
- value:
- resourceIdentifier: "\\GNBDUFunction[@gNBId='1001']"
- sample 3:
- value:
- resourceIdentifier: "\\GNBDUFunction[@gNBId='1001']\\rimRSReportConf"
- sample 4:
- value:
- resourceIdentifier: "parent=GNBDUFunction,child=gNBId:1001"
+ resourceIdentifier: '/ManagedElement=NRNode1/GNBDUFunction=1'
in: query
name: resourceIdentifier
required: true
schema:
example: my-cm-handle
type: string
- - description: |
- The `cps-path` parameter allows referencing elements in the GNBDUFunctionConfig data model.
- For more details on cps path, please refer to:
- [CPS Path Documentation](https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html).
- Example paths:
- - Root GNBDUFunction: `/GNBDUFunction`
- - Specific gNB ID: `/GNBDUFunction[@gNBId='1001']`
- - RIM-RS Reporting Config: `/GNBDUFunction[@gNBId='1001']/rimRSReportConf`
+ - description: For more details on cps path, please refer https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html
examples:
- GNBDUFunction Root:
- value: //GNBDUFunction
- Specific gNB ID:
- value: "//GNBDUFunction[@gNBId='1001']"
- RIM-RS Reporting Config:
- value: "//GNBDUFunction[@gNBId='1001']/rimRSReportConf"
+ container cps path:
+ value: '/GNBDUFunction'
+ list attributes cps path:
+ value: "//GNBDUFunction[@id='1001']"
in: query
name: cps-path
required: false
schema:
- default: /GNBDUFunction
+ default: /
type: string
- description: |
The `options` parameter specifies additional query options. It is mandatory to wrap key(s)=value(s) in parentheses `()`.
Examples for GNBDUFunctionConfig queries:
- Limit depth of returned sub-tree: `(depth=2)`
- - Select specific fields: `(fields=gNBId,gNBDUName)`
- - Combine options: `(depth=3,fields=gNBId,gNBDUName)`
+ - Select specific fields: `(fields=attributes(gNBId;gNBDUName))`
+ - Combine options: `(depth=3,fields=attributes(gNBId;gNBDUName))`
examples:
Limit Depth:
value:
options: (depth=2)
Select Specific Fields:
value:
- options: "(fields=gNBId,gNBDUName)"
+ options: "(fields=attributes(gNBId;gNBDUName))"
Combine Depth and Fields:
value:
- options: "(depth=3,fields=gNBId,gNBDUName)"
+ options: "(depth=3,fields=attributes(gNBId;gNBDUName))"
in: query
name: options
required: false
summary: Sample response
value:
gnbdu3gpp:GNBDUFunction:
- gNBId: 12345
- gNBIdLength: 32
- gNBDUId: 67890
- gNBDUName: DU-1
+ id: 12345
+ attributes:
+ gNBId: 5
+ gNBIdLength: 32
+ gNBDUId: 67890
+ gNBDUName: DU-1
rimRSReportConf:
reportIndicator: enabled
reportInterval: 1000
summary: Sample request
value:
gnbdu3gpp:GNBDUFunction:
- gNBId: 12345
- gNBIdLength: 32
- gNBDUId: 67890
- gNBDUName: DU-1
+ id: 12345
+ attributes:
+ gNBId: 5
+ gNBIdLength: 32
+ gNBDUId: 67890
+ gNBDUName: DU-1
rimRSReportConf:
reportIndicator: enabled
reportInterval: 1000
target: /gnbdu3gpp:GNBDUFunction
value:
gnbdu3gpp:GNBDUFunction:
- gNBId: 54321
- gNBIdLength: 32
- gNBDUId: 98765
- gNBDUName: DU-2
+ id: 54321
+ attributes:
+ gNBId: 5
+ gNBIdLength: 32
+ gNBDUId: 98765
+ gNBDUName: DU-2
rimRSReportConf:
reportIndicator: disabled
reportInterval: 2000
description: |
The `resourceIdentifier` parameter specifies the target resource in the GNBDUFunctionConfig model.
For ONAP DMI Plugin, the format will follow RESTConf paths. Examples:
- - All GNBDUFunctions: `/GNBDUFunction`
- - Specific GNBDUFunction by gNBId: `/GNBDUFunction[@gNBId='1001']`
- - RIM-RS Reporting Configuration: `/GNBDUFunction[@gNBId='1001']/rimRSReportConf`
+ - All GNBDUFunctions: `/ManagedElement=NRNode1/GNBDUFunction=1`
examples:
sample 1:
value:
- resourceIdentifier: \GNBDUFunction
- sample 2:
- value:
- resourceIdentifier: "\\GNBDUFunction[@gNBId='1001']"
- sample 3:
- value:
- resourceIdentifier: "\\GNBDUFunction[@gNBId='1001']\\rimRSReportConf"
- sample 4:
- value:
- resourceIdentifier: "parent=GNBDUFunction,child=gNBId:1001"
+ resourceIdentifier: '/ManagedElement=NRNode1/GNBDUFunction=1'
in: query
name: resourceIdentifier
required: true
The `options` parameter specifies additional query options. It is mandatory to wrap key(s)=value(s) in parentheses `()`.
Examples for GNBDUFunctionConfig queries:
- Limit depth of returned sub-tree: `(depth=2)`
- - Select specific fields: `(fields=gNBId,gNBDUName)`
- - Combine options: `(depth=3,fields=gNBId,gNBDUName)`
+ - Select specific fields: `(fields=attributes(gNBId;gNBDUName))`
+ - Combine options: `(depth=3,fields=attributes(gNBId;gNBDUName))`
examples:
Limit Depth:
value:
options: (depth=2)
Select Specific Fields:
value:
- options: "(fields=gNBId,gNBDUName)"
+ options: "(fields=attributes(gNBId;gNBDUName))"
Combine Depth and Fields:
value:
- options: "(depth=3,fields=gNBId,gNBDUName)"
+ options: "(depth=3,fields=attributes(gNBId;gNBDUName))"
in: query
name: options
required: false
[CPS Path Documentation](https://docs.onap.org/projects/onap-cps/en/latest/cps-path.html).
Example paths:
- Root GNBDUFunction: `/GNBDUFunction`
- - Specific gNB ID: `/GNBDUFunction[@gNBId='1001']`
- - RIM-RS Reporting Config: `/GNBDUFunction[@gNBId='1001']/rimRSReportConf`
+ - Specific gNB ID: `//GNBDUFunction[@id='1001']`
+ - RIM-RS Reporting Config: `//GNBDUFunction[@id='1001']/rimRSReportConf`
examples:
GNBDUFunction Root:
- value: //GNBDUFunction
+ value: /GNBDUFunction
Specific gNB ID:
- value: "//GNBDUFunction[@gNBId='1001']"
+ value: "//GNBDUFunction[@id='1001']"
RIM-RS Reporting Config:
- value: "//GNBDUFunction[@gNBId='1001']/rimRSReportConf"
+ value: "//GNBDUFunction[@id='1001']/rimRSReportConf"
in: query
name: cps-path
required: false
schema:
- default: /GNBDUFunction
+ default: /
type: string
moduleNameInQuery:
description: Filter for a module name.This is an optional parameter
DataOperationRequest:
example:
operations:
- - resourceIdentifier: NRCellDU/attributes/cellLocalId
+ - resourceIdentifier: '/ManagedElement=NRNode1/GNBDUFunction=1'
targetIds:
- "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
]"
options: (fields=NRCellDU/attributes/cellLocalId)
operationId: "12"
operation: read
- - resourceIdentifier: NRCellDU/attributes/cellLocalId
+ - resourceIdentifier: '/ManagedElement=NRNode1/GNBDUFunction=1'
targetIds:
- "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
]"
type: object
DataOperationDefinition:
example:
- resourceIdentifier: NRCellDU/attributes/cellLocalId
+ resourceIdentifier: '/ManagedElement=NRNode1/GNBDUFunction=1'
targetIds:
- "[\"da310eecdb8d44c2acc0ddaae01174b1\",\"c748c58f8e0b438f9fd1f28370b17d47\"\
]"
example: (fields=NRCellDU/attributes/cellLocalId)
type: string
resourceIdentifier:
- example: NRCellDU/attributes/cellLocalId
+ example: '/ManagedElement=NRNode1/GNBDUFunction=1'
type: string
targetIds:
items: