Versions Compared

Key

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

...

                             pnf-ipv4-address, netconf-server-port, netconf-username, netconf-password, stream-count

curl --location --request POST 'http://localhost:30499/api/v1/execution-service/process' \
--header 'Content-Type: application/json;charset=UTF-8' \
--header 'Accept: application/json;charset=UTF-8,application/json' \
--header 'Authorization: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==' \
--header 'Host: cds-blueprints-processor-http:8080' \
--header 'Content-Type: text/plain' \
--data-raw '{
"actionIdentifiers": {
"mode": "sync",
"blueprintName": "pnf-netconf",
"blueprintVersion": "1.0.0",
"actionName": "config-assing"
},
"payload": {
"config-assign-request": {
"resolution-key": "day-0",
"config-assign-properties": {
"pnf-id": "abcd",
"pnf-ipv4-address": "192.168.122.20",
"netconf-password": "admin",
"netconf-username": "admin",
"netconf-server-port": "netconf-server-port",
"stream-count": "5"

}
}
},
"commonHeader": {
"subRequestId": "143748f9-3cd5-4910-81c9-a4601ff2ea58",
"requestId": "e5eb1f1e-3386-435d-b290-d49d8af8db4c",
"originatorId": "SDNC_DG"
}
}'

              Day-1 : config-assign parameters

                            pnf-ipv4-address, netconf-server-port, netconf-username, netconf-password, stream-count

...


Config-Deploy


  • config-deploy request will send the Day-0 or Day-1 resolution key as part of the REST call.

...