summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-10-24 09:55:40 -0500
committerMarco Platania <platania@research.att.com>2019-11-04 19:04:33 +0000
commit059963c94c45f8f095179377e25d42f25845875b (patch)
tree17a2a09192c89f634b3ba20d5e01d33131edbc36 /robot/assets/templates
parent51fcd0e26ea5075ffb20cf94374633a4394f1aa4 (diff)
Initial Generic GRA API support
Fixes from testing with GRA on SO Added tags for instantiateVLBGRA, instantiateVFWDTGRA, instantiateGRA Issue-ID: INT-1345 Change-Id: I1e8839530c3335d2682cd4d592785c61cb6bbe45 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/assets/templates')
-rw-r--r--robot/assets/templates/sdnc/preload.GRA.jinja42
1 files changed, 42 insertions, 0 deletions
diff --git a/robot/assets/templates/sdnc/preload.GRA.jinja b/robot/assets/templates/sdnc/preload.GRA.jinja
new file mode 100644
index 00000000..2fc5d03f
--- /dev/null
+++ b/robot/assets/templates/sdnc/preload.GRA.jinja
@@ -0,0 +1,42 @@
+{
+ "input":{
+ "preload-vf-module-topology-information":{
+ "vf-module-topology":{
+ "vf-module-topology-identifier":{
+ "vf-module-name":"{{vf_module_name}}"
+ },
+ "vf-module-parameters": {
+ "param":
+ {{vnf_parameters}}
+ }
+ },
+ "vnf-topology-identifier-structure":{
+ "vnf-name":"{{vf_module_name}}",
+ "vnf-type":"{{vf_module_type}}"
+ },
+ "vnf-resource-assignments":{
+ "availability-zones":{
+ "availability-zone":[
+ "nova"
+ ],
+ "max-count":1
+ },
+ "vnf-networks":{
+ "vnf-network":[]
+ }
+ }
+ },
+ "request-information":{
+ "request-id":"robot12",
+ "order-version":"1",
+ "notification-url":"onap.org",
+ "order-number":"1",
+ "request-action":"PreloadVfModuleRequest"
+ },
+ "sdnc-request-header":{
+ "svc-request-id":"robot12",
+ "svc-notification-url":"http:\/\/onap.org:8080\/adapters\/rest\/SDNCNotify",
+ "svc-action":"reserve"
+ }
+ }
+}