summaryrefslogtreecommitdiffstats
path: root/installation/src/main
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-10-18 16:27:28 -0400
committerDan Timoney <dtimoney@att.com>2017-10-18 16:29:52 -0400
commite5434a77ea0d75a44622f5ee881674bda1abc309 (patch)
treee239a0d31138180acc4e58772df77406dfa1f8bb /installation/src/main
parent56ed84193a0caf8cab1e5cee9c698cbfcd9c7f01 (diff)
Add missing generic resource properties
Generic resource API expects a properties file to define endpoints used by restapicallnode. Change-Id: Ia9786167236d520966034e50399a86b76eda9b68 Issue-ID: SDNC-136 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: c0907b920aa7609f9ab6a2d6db715de1b6208c09
Diffstat (limited to 'installation/src/main')
-rwxr-xr-xinstallation/src/main/properties/generic-resource-api-dg.properties20
1 files changed, 20 insertions, 0 deletions
diff --git a/installation/src/main/properties/generic-resource-api-dg.properties b/installation/src/main/properties/generic-resource-api-dg.properties
new file mode 100755
index 00000000..86e0927b
--- /dev/null
+++ b/installation/src/main/properties/generic-resource-api-dg.properties
@@ -0,0 +1,20 @@
+restapi.templateDir=/opt/bvc/restapi/templates
+controller.url=http://localhost:8181
+controller.user=admin
+controller.pwd=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
+# Templates
+restapi.sz.templatefile=security-zone-allotted-resource.json
+restapi.cr.templatefile=contrail-route-allotted-resource.json
+restapi.parentsvc.templatefile=parent-provided-allotted-resource.json
+restapi.network-ar.templatefile=network-provided-allotted-resources.json
+restapi.vnf-ar.templatefile=vnf-provided-allotted-resources.json
+# URLs
+restapi.cr-allottedresource=/restconf/config/GENERIC-RESOURCE-API:contrail-route-allotted-resources/contrail-route-allotted-resource/{allotted-resource-id}/
+restapi.sz-allottedresource=/restconf/config/GENERIC-RESOURCE-API:security-zone-allotted-resources/security-zone-allotted-resource/{allotted-resource-id}/
+restapi.vnf-provided-allottedresource=/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data/vnfs/vnf/{vnf-id}/vnf-data/vnf-provided-allotted-resources/
+restapi.network-provided-allottedresource=/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data/vnfs/vnf/{vnf-id}/vnf-data/vnf-provided-allotted-resources/
+restapi.pm-configuration=/restconf/config/GENERIC-RESOURCE-API:port-mirror-configurations/port-mirror-configuration/{configuration-id}/
+restapi.network=/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data/networks
+restapi.vnf=/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data/vnfs
+restapi.parent-provided-resource=/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data/provided-allotted-resources/provided-allotted-resource/{allotted-resource-id}/
+restapi.network-provided-resource=/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data/networks/network/{network-id}/network-data/network-provided-allotted-resources/