Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

...

idtab

In ONAP Dublin release, CDS community has contributed design time and run time mS for supporting declarative model driven controller provisioning and configuration management. From the run time perspective, the blueprint processors offers Self-Service-API. 

Deck of Cards
idtab


Card
labelWhat is CDS Dynamic API Strategy?

The Self-Service API is

a single endpoint API that is supported by the

integrated with controller blueprint process that is able to execute declarative and model driven controller

workfow

action (such as DG/component)

that

which is model in the controller blueprint archive package. The ONAP community shall show case VNF and PNF use case for supporting post instantiation configuration using the config assign and config deploy actions.

  • config-assign - Resolve config params and generates the configlet based on the resolved params and meshed templates.
  • config-deploy - Deploy the configlet that has been generated during config-assign action.


Learn more about the workflow actions of config-assign and config-deploy payload definition by clicking on the above two tabs.


SO client: https://github.com/onap/so/tree/master/common/src/main/java/org/onap/so/client/cds

SDNC client: https://github.com/onap/ccsdk-sli-adaptors/tree/master/grpc-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/grpc

Image Added


Anchor
config-assign action
config-assign action

Card
labelconfig-assign


Section
bordertrue


Column
width50%

action Identifiers container

Name

Data

Type

Description
actionNamestring
blueprintNamestring
blueprintVersionstring
modeenumeration [sync, async]

sync used for config-assign action

async used for config-deploy action


commonHeader Container

Name

Data

Type

Description
originatorIdstringexample: "so"
requestIdstring
subRequestIdstring


payload Container

Name

Data

Type

Description
config-assign-request {container
resolution-keystring
config-assign-properties{containercontains data summary for model information, vnf information, pnf information and instance params.
service-instance-idstring
pnf-idstring

//Note pnf-id is applicable for PNF Use Case. For VNF use case CDS controller blueprint archive will be model to include vnf-id

pnf-namestring//Note pnf-name applicable for PNF Use Case. For VNF use case CDS controller blueprint archive will be model to include vnf-name
service-model-uuidstring
pnf-customization-uuidstring
instanceParam1string
instanceParam2string
etc.




}
closed config-assign-properties container
}
closed config-assign-request



Column
width50%


JSON Viewer
width550
height650
{
  "actionIdentifiers": {
    "actionName": "config-assign",
    "blueprintName": "configuration_over_restconf",
    "blueprintVersion": "1.0.0",
    "mode": "sync"
  },
  "commonHeader": {
    "originatorId": "sdnc",
    "requestId": "123456-1000",
    "subRequestId": "sub-123456-1000"
  },
  "payload": {
    "config-assign-request": {
      "resolution-key": "RES-KEY 4",
      "config-assign-properties": {
        "service-instance-id": "siid_1234",
        "pnf-id": "netopeer2",
        "pnf-name": "10.149.89.217",
        "service-model-uuid": "service-model-uuid",
        "pnf-customization-uuid": "pnf-customization-uuid"
      }
    }
  }
}




Anchor
config-deploy action
config-deploy action

Card
labelconfig-deploy


Section
bordertrue


Column
width50%

action Identifiers container

Name

Data

Type

Description
actionNamestring
blueprintNamestring
blueprintVersionstring
modeenumeration [sync, async]

sync used for config-assign action

async used for config-deploy action


commonHeader Container

Name

Data

Type

Description
originatorIdstringexample: "so"
requestIdstring
subRequestIdstring


payload Container

Name

Data

Type

Description
config-deploy-request {container
resolution-keystring
config-deploy-properties{containercontains data summary for model information, vnf information, pnf information and instance params.
service-instance-idstring
pnf-idstring
pnf-namestring
service-model-uuidstring
pnf-customization-uuidstring



}
closed config-deploy-properties container
}
closed config-deploy-request



Column
width50%


JSON Viewer
width550
height650
{
  "actionIdentifiers": {
    "actionName": "config-deploy",
    "blueprintName": "configuration_over_restconf",
    "blueprintVersion": "1.0.0",
    "mode": "sync"
  },
  "commonHeader": {
    "originatorId": "sdnc",
    "requestId": "123456-1000",
    "subRequestId": "sub-123456-1000"
  },
  "payload": {
    "config-deploy-request": {
      "resolution-key": "RES-KEY 4",
      "config-deploy-properties": {
        
        "service-instance-id": "siid_1234",
        "pnf-id": "netopeer2",
        "pnf-name": "10.149.89.217",
        "service-model-uuid": "service-model-uuid",
        "pnf-customization-uuid": "pnf-customization-uuid"
      }
    }
  }
}





...