summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/templates
diff options
context:
space:
mode:
authorvmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com>2020-09-08 17:06:57 +0000
committervmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com>2020-09-08 17:07:19 +0000
commit4557a0e400de554ef3474bcd5d7c36a85b5be937 (patch)
tree882ced41c5b1fab1350a0274afd93f19a93c752f /components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/templates
parentb708ee62df489337479bd00a4f0cd5b502d2f9c9 (diff)
PNF demo blueprint
Change-Id: I830174d054fdd11fe8ebfbdeafe4abeb5b223dac Issue-ID: CCSDK-2624 Signed-off-by: vmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com>
Diffstat (limited to 'components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/templates')
-rw-r--r--components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/templates/day-n-pnf-config.template29
-rw-r--r--components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/templates/pnf-config-deploy.template27
2 files changed, 56 insertions, 0 deletions
diff --git a/components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/templates/day-n-pnf-config.template b/components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/templates/day-n-pnf-config.template
new file mode 100644
index 000000000..474af68c8
--- /dev/null
+++ b/components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/templates/day-n-pnf-config.template
@@ -0,0 +1,29 @@
+{
+ "actionIdentifiers": {
+ "mode": "sync",
+ "blueprintName": "pnf_netconf",
+ "blueprintVersion": "1.0.0",
+ "actionName": "config-assign"
+ },
+ "payload": {
+ "config-assign-request": {
+ "template-prefix": [
+ "pnf", "netconfrpc"
+ ],
+ "resolution-key": "CONFIG_NAME",
+ "config-assign-properties": {
+ "pnf-id": "abcd",
+ "pnf-ipv4-address": "PNF_IP_ADDRESS",
+ "netconf-password": "netconf",
+ "netconf-username": "netconf",
+ "netconf-server-port": "830",
+ "stream-count": "STREAM_COUNT"
+ }
+ }
+ },
+ "commonHeader": {
+ "subRequestId": "143748f9-3cd5-4910-81c9-a4601ff2ea58",
+ "requestId": "e5eb1f1e-3386-435d-b290-d49d8af8db4c",
+ "originatorId": "SDNC_DG"
+ }
+}
diff --git a/components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/templates/pnf-config-deploy.template b/components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/templates/pnf-config-deploy.template
new file mode 100644
index 000000000..9103d2d03
--- /dev/null
+++ b/components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Scripts/templates/pnf-config-deploy.template
@@ -0,0 +1,27 @@
+{
+ "actionIdentifiers": {
+ "mode": "sync",
+ "blueprintName": "pnf_netconf",
+ "blueprintVersion": "1.0.0",
+ "actionName": "config-deploy"
+ },
+ "payload": {
+ "config-deploy-request": {
+ "resolution-key": "CONFIG_NAME",
+ "config-deploy-properties": {
+ "pnf-id": "abcd",
+ "pnf-ipv4-address": "PNF_IP_ADDRESS",
+ "netconf-password": "NETCONF_PASSWORD",
+ "netconf-username": "NETCONF_USERNAME"
+ }
+ }
+ }
+
+ ,
+ "commonHeader": {
+ "subRequestId": "143748f9-3cd5-4910-81c9-a4601ff2ea58",
+ "requestId": "e5eb1f1e-3386-435d-b290-d49d8af8db4c",
+ "originatorId": "SDNC_DG"
+ }
+}
+