You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 19
Next »
References
CPS-2155
-
Getting issue details...
STATUS
Assumptions
<optional, assumptions are like decisions made upfront ie. everyone agrees on the answer but they are important to mention>
# | Assumption | Notes |
---|
1 | The input parameters for async read/write can be jobId and a list of DataSubJob | Replacing the list of FNDs with DataSubJob object as defined below. |
Issues & Decisions
| Issue | Notes | Decision |
---|
1 | dataaccepttype Do we need to consider this parameter in our NCMP internal Java interface? |
|
|
2 | datacontenttype Do we need to consider this parameter in our NCMP internal Java interface? |
|
|
3 | attributes This has plural but all examples contain a single String, why?
|
|
|
4 | The study mentions 'fields and attributes ". None of the examples use 'fields '. We can see only 'value' Objects (in the write use cases) |
|
|
<Note. use green for closed issues, yellow for important ones if needed>
Proposed Datastructure for Operation
Name | Description | Type |
---|
path | It is a unique identifier of a managed object (MO) on a network element. Defines the resource on which operation is executed. Typically could be Fully Distinguished Name (FDN). | String |
op | Describes the operation to execute. The value can be: "add", "replace", "remove", "action", "read" | String |
operationId | Unique identifier of the operation within the request | Integer |
attributes | Allows selection of specific fields for attributes with complex data type for the operation. | List of String |
value | It is for only WRITE operation. | Object |
scopeType | ScopeType selects MOs depending on relationships with Base Managed Object. Only for READ operation. | String |
scopeLevel | Only for READ operation. Only used once the scope type when BASE_NTH_LEVEL. | Integer |
filter | The parameter is used to filter the scoped Managed Objects. Only Managed Objects passing the filter criteria will be fetched. | String |
Examples from DCM Study
DataJob Read request (rAPP -> DCM)
{
"dataaccepttype": "application/vnd.3gpp.object-tree-hierarchical+json",
"datacontenttype": "application/3gpp-json-patch+json",
"data": [
{
"op": "read",
"operationId": 1,
"path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR03gNodeBRadio00003/ManagedElement=NR03gNodeBRadio00003/GNBCUCPFunction=2",
"attributes": "userLabel",
"scope": {
"scopeType" : "BASE_ONLY"
}
},
{
"op": "read",
"operationId": 2,
"path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR01gNodeBRadio00001/ManagedElement=NR01gNodeBRadio00001/GNBDUFunction=1",
"filter": "NRCellDU/attributes/administrativeState==LOCKED"
},
{
"op": "read",
"operationId": 3,
"path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR03gNodeBRadio00003/ManagedElement=NR03gNodeBRadio00003/GNBCUCPFunction=1",
"attributes ": "cellId"
}]
}
Datajob Write request (rAPP -> DCM)
{
"dataaccepttype": "application/vnd.3gpp.object-tree-hierarchical+json",
"datacontenttype": "application/3gpp-json-patch+json",
"data": [
{
"op": "add",
"path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR03gNodeBRadio00003/ManagedElement=NR03gNodeBRadio00003/GNBCUCPFunction=1/EUtraNetwork=1/EUtranFrequency=12",
"value": {
"id": "12",
"attributes": {
"userLabel": "label12",
"arfcnValueEUtranDl": "12"
}
}
},
{
"op": "add",
"path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR03gNodeBRadio00003/ManagedElement=NR03gNodeBRadio00003/GNBCUCPFunction=1/EUtraNetwork=1/EUtranFrequency=11",
"value": {
"id": "11",
"attributes": {
"userLabel": "label11"
}
}
},
{
"op": "replace",
"path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR03gNodeBRadio00003/ManagedElement=NR03gNodeBRadio00003/GNBCUCPFunction=1/EUtraNetwork=1/EUtranFrequency=1#/attributes/userLabel",
"value": "label1"
},
{
"op": "remove",
"path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR03gNodeBRadio00003/ManagedElement=NR03gNodeBRadio00003/GNBCUCPFunction=1/EUtraNetwork=1/EUtranFrequency=13"
},
{
"op": "action",
"path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR03gNodeBRadio00003/ManagedElement=NR03gNodeBRadio00003",
"value": "sync"
}
]
}