aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/appc
diff options
context:
space:
mode:
authorAaron Hay <ah415j@att.com>2018-08-05 13:01:17 -0400
committerAaron Hay <ah415j@att.com>2018-08-13 17:12:43 -0400
commitc3f081d1107c8c82399fb193779b0ac3e121dd91 (patch)
tree48da3ba8abb4894bf2f6b1075ab116fe0625a1fa /robot/assets/templates/appc
parent644ca6a36498c72e93977413529500fdf1c72eea (diff)
Add APPC CDT preload capability
Add template files and update the demo and appc interface files to support APPC CDT preload capability. Change-Id: I975a9bd0490b388e921ad5f6d21d021eff64f6ce Issue-ID: APPC-914 Signed-off-by: Aaron Hay <ah415j@att.com>
Diffstat (limited to 'robot/assets/templates/appc')
-rw-r--r--robot/assets/templates/appc/pd_ConfigScaleOut_vLoadBalancer_vLoadBalancer-test0_0.0.1V_vLB.yaml31
-rw-r--r--robot/assets/templates/appc/reference_AllAction_vLoadBalancer_vLoadBalancer-test0_0.0.1V.json46
-rw-r--r--robot/assets/templates/appc/template_ConfigScaleOut_vLoadBalancer_vLoadBalancer-test0_0.0.1V_vLB.xml9
3 files changed, 86 insertions, 0 deletions
diff --git a/robot/assets/templates/appc/pd_ConfigScaleOut_vLoadBalancer_vLoadBalancer-test0_0.0.1V_vLB.yaml b/robot/assets/templates/appc/pd_ConfigScaleOut_vLoadBalancer_vLoadBalancer-test0_0.0.1V_vLB.yaml
new file mode 100644
index 00000000..8b308dcb
--- /dev/null
+++ b/robot/assets/templates/appc/pd_ConfigScaleOut_vLoadBalancer_vLoadBalancer-test0_0.0.1V_vLB.yaml
@@ -0,0 +1,31 @@
+---
+kind: "Property Definition"
+version: V1
+vnf-parameter-list:
+- name: ip-addr
+ type: null
+ description: null
+ required: "true"
+ default: null
+ source: Manual
+ rule-type: null
+ request-keys: null
+ response-keys: null
+- name: oam-ip-addr
+ type: null
+ description: null
+ required: "true"
+ default: null
+ source: Manual
+ rule-type: null
+ request-keys: null
+ response-keys: null
+- name: enabled
+ type: null
+ description: null
+ required: "true"
+ default: null
+ source: Manual
+ rule-type: null
+ request-keys: null
+ response-keys: null
diff --git a/robot/assets/templates/appc/reference_AllAction_vLoadBalancer_vLoadBalancer-test0_0.0.1V.json b/robot/assets/templates/appc/reference_AllAction_vLoadBalancer_vLoadBalancer-test0_0.0.1V.json
new file mode 100644
index 00000000..137cb7a6
--- /dev/null
+++ b/robot/assets/templates/appc/reference_AllAction_vLoadBalancer_vLoadBalancer-test0_0.0.1V.json
@@ -0,0 +1,46 @@
+{
+ "reference_data": [
+ {
+ "action": "ConfigScaleOut",
+ "action-level": "vnf",
+ "scope": {
+ "vnf-type": "vLoadBalancer/vLoadBalancer-test 0",
+ "vnfc-type": ""
+ },
+ "template": "Y",
+ "vm": [],
+ "device-protocol": "NETCONF-XML",
+ "user-name": "admin",
+ "port-number": "2831",
+ "artifact-list": [
+ {
+ "artifact-name": "template_ConfigScaleOut_vLoadBalancer_vLoadBalancer-test0_0.0.1V_vLB.xml",
+ "artifact-type": "config_template"
+ },
+ {
+ "artifact-name": "pd_ConfigScaleOut_vLoadBalancer_vLoadBalancer-test0_0.0.1V_vLB.yaml",
+ "artifact-type": "parameter_definitions"
+ }
+ ],
+ "template-id-list": [
+ "vLB"
+ ],
+ "template-id": "vLB",
+ "scopeType": "vnf-type"
+ },
+ {
+ "action": "AllAction",
+ "action-level": "vnf",
+ "scope": {
+ "vnf-type": "vLoadBalancer/vLoadBalancer-test 0",
+ "vnfc-type": ""
+ },
+ "artifact-list": [
+ {
+ "artifact-name": "reference_AllAction_vLoadBalancer_vLoadBalancer-test0_0.0.1V.json",
+ "artifact-type": "reference_template"
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file
diff --git a/robot/assets/templates/appc/template_ConfigScaleOut_vLoadBalancer_vLoadBalancer-test0_0.0.1V_vLB.xml b/robot/assets/templates/appc/template_ConfigScaleOut_vLoadBalancer_vLoadBalancer-test0_0.0.1V_vLB.xml
new file mode 100644
index 00000000..61d24976
--- /dev/null
+++ b/robot/assets/templates/appc/template_ConfigScaleOut_vLoadBalancer_vLoadBalancer-test0_0.0.1V_vLB.xml
@@ -0,0 +1,9 @@
+<vlb-business-vnf-onap-plugin xmlns="urn:opendaylight:params:xml:ns:yang:vlb-business-vnf-onap-plugin">
+ <vdns-instances>
+ <vdns-instance>
+ <ip-addr>${ip-addr}</ip-addr>
+ <oam-ip-addr>${oam-ip-addr}</oam-ip-addr>
+ <enabled>${enabled}</enabled>
+ </vdns-instance>
+ </vdns-instances>
+</vlb-business-vnf-onap-plugin> \ No newline at end of file