The objective of this page is to give you some basics about setting up ONAP PNF simulator and how to create a simple CDS blueprint model to perform config-assign and config-deploy using CDS REST API interfaces.
...
Day-0 : config-assign parameters
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
...