...
Then, we can use a Postman collection that has 3 Rest Calls and some code to automate the instantiation of the vDNS use case:
| |||||||
| |||||||
| |||||||
|
Environment preparation for the Postman Collection:
...
This happens via a python script that uses netconf library to connect to the vLB and deploys the baseconfig and the incremental config on the vLB via Netconf.SO Instantiation call and response
Results of the Postman Rest calls:
Below the output of the calls shown in the video:
Code Block | ||||
---|---|---|---|---|
| ||||
GET /sdc/v1/catalog/services
{
{
"uuid": "ad40aa27-b3fe-4fc3-8755-ebb1494f5913",
"invariantUUID": "fa3a6aa5-c77d-4b94-b300-9b7a2eb21627",
"name": "cds-svc-99",
"version": "1.0",
"toscaModelURL": "/sdc/v1/catalog/services/ad40aa27-b3fe-4fc3-8755-ebb1494f5913/toscaModel",
"category": "Network Service",
"lifecycleState": "CERTIFIED",
"lastUpdaterUserId": "jm0007",
"distributionStatus": "DISTRIBUTED"
}
} |