summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Scripts/python/RestconfConfigDeploy.py
AgeCommit message (Collapse)AuthorFilesLines
2019-04-08Fix blueprint dataottero1-2/+2
Request parameter nf-id should be: pnf-id ODL key name ODL-private-key should be: ODL_private_key_0 Change-Id: I846112c3bd6a80d21a4b5de0845ce99d06b0515f Issue-ID: CCSDK-1208 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-04-05Retrieving PNF IP address from payloadottero1-2/+2
PNF IP is now retrieved from the payload Issue-ID: CCSDK-926 Change-Id: I6942fc0000564553ae16bd1067351f00ca254d10 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-03-28Addressing last review commentsottero1-1/+9
Addressing comments done in the last review: https://gerrit.onap.org/r/#/c/83516/ Change-Id: I5bdac316fd07b5a82eea7a67425d8c402514c46a Issue-ID: CCSDK-926 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-03-27Creating a reusable Restconf clientottero1-77/+22
The code in RestconfConfigDeploy.py that was responsible for making the Restconf connections was extracted to another script, making it reusa- ble by other blueprints Change-Id: Ib7d8870f29c76b120ccd3e3e5ba7e13765414269 Issue-ID: CCSDK-926 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-03-26Implementing the requested improvementsottero1-54/+69
Addressing comments done in https://gerrit.onap.org/r/#/c/82315/ and in the subsequent CDS weekly call. (Resubmitting patch done on previous repo, https://gerrit.onap.org/r/#/c/83063/) Change-Id: I6f948dedf972c33ea6fe0f65884f23cd48adcfba Issue-ID: CCSDK-926 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-03-25Migrate ccsdk/apps to ccsdk/cdsAlexis de Talhouët1-1/+1
Issue-ID: CCSDK-1177 Issue-ID: CCSDK-1178 Change-Id: I0c02702fbec52211ca367abbba72aebecee8cbaa Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-17Adding custom headers capability to REST clientottero1-0/+112
For YANG PATCH requests to ODL to work, they need to have a Content- type header of application/yang.patch+json and should not have Accept as application/json Current REST client inserts a default header to the requests with this content: Content-Type: application/json Accept: application/json The solution was to add the possibility of sending custom headers alon- gside the other parameters. Change-Id: I2cf0cd2ef7b87f4f5a246d427dffafe266cb33f7 Issue-ID: CCSDK-926 Signed-off-by: ottero <rodrigo.ottero@est.tech>