aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/policy
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-06-20 15:04:04 -0400
committerDR695H <dr695h@att.com>2019-06-20 15:04:04 -0400
commit3bb6cf4b938d3e725860606d3ddaa8eecd872151 (patch)
treee03ccb5b30413d9fc7b3cef8c5ef0827d2e641d2 /robot/assets/templates/policy
parent3440942ef2c78e1a8eb07c70c1a03b3834beaecf (diff)
replace aai, closeloop, sdc with jinja
Issue-ID: TEST-158 Change-Id: I95a783f26e28512cb4fc98e50931d62001c489c6 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/assets/templates/policy')
-rw-r--r--robot/assets/templates/policy/closedloop_configpolicy.jinja (renamed from robot/assets/templates/policy/closedloop_configpolicy.template)0
-rw-r--r--robot/assets/templates/policy/closedloop_createpolicy.jinja (renamed from robot/assets/templates/policy/closedloop_createpolicy.template)2
-rw-r--r--robot/assets/templates/policy/closedloop_deletepolicy.jinja (renamed from robot/assets/templates/policy/closedloop_deletepolicy.template)2
-rw-r--r--robot/assets/templates/policy/closedloop_getconfigpolicy.jinja (renamed from robot/assets/templates/policy/closedloop_getconfigpolicy.template)2
-rw-r--r--robot/assets/templates/policy/closedloop_opspolicy.jinja (renamed from robot/assets/templates/policy/closedloop_opspolicy.template)2
-rw-r--r--robot/assets/templates/policy/closedloop_pushpolicy.jinja5
-rw-r--r--robot/assets/templates/policy/closedloop_pushpolicy.template5
7 files changed, 9 insertions, 9 deletions
diff --git a/robot/assets/templates/policy/closedloop_configpolicy.template b/robot/assets/templates/policy/closedloop_configpolicy.jinja
index 3f3575b4..3f3575b4 100644
--- a/robot/assets/templates/policy/closedloop_configpolicy.template
+++ b/robot/assets/templates/policy/closedloop_configpolicy.jinja
diff --git a/robot/assets/templates/policy/closedloop_createpolicy.template b/robot/assets/templates/policy/closedloop_createpolicy.jinja
index 7c693e84..bbb1f1ad 100644
--- a/robot/assets/templates/policy/closedloop_createpolicy.template
+++ b/robot/assets/templates/policy/closedloop_createpolicy.jinja
@@ -1,6 +1,6 @@
{
"policyConfigType": "BRMS_PARAM",
- "policyName": "${policy_name}",
+ "policyName": "{{policy_name}}",
"policyDescription": "Create BRMS Param policy",
"attributes": {
"RULE": {
diff --git a/robot/assets/templates/policy/closedloop_deletepolicy.template b/robot/assets/templates/policy/closedloop_deletepolicy.jinja
index 55510102..73c5badf 100644
--- a/robot/assets/templates/policy/closedloop_deletepolicy.template
+++ b/robot/assets/templates/policy/closedloop_deletepolicy.jinja
@@ -1,5 +1,5 @@
{
"pdpGroup": "default",
"policyComponent": "PDP",
- "policyName": "${policy_name}"
+ "policyName": "{{policy_name}}"
}
diff --git a/robot/assets/templates/policy/closedloop_getconfigpolicy.template b/robot/assets/templates/policy/closedloop_getconfigpolicy.jinja
index 34145e5b..f1142b57 100644
--- a/robot/assets/templates/policy/closedloop_getconfigpolicy.template
+++ b/robot/assets/templates/policy/closedloop_getconfigpolicy.jinja
@@ -3,6 +3,6 @@
},
"configName" : ".*",
"ecompName" : "DCAE",
- "policyName" : "${config_policy_name}",
+ "policyName" : "{{config_policy_name}}",
"unique" : true
} \ No newline at end of file
diff --git a/robot/assets/templates/policy/closedloop_opspolicy.template b/robot/assets/templates/policy/closedloop_opspolicy.jinja
index 722c9dca..0a2cc08a 100644
--- a/robot/assets/templates/policy/closedloop_opspolicy.template
+++ b/robot/assets/templates/policy/closedloop_opspolicy.jinja
@@ -1,7 +1,7 @@
{
"policyConfigType": "BRMS_PARAM",
- "policyName": "${policy_name}",
+ "policyName": "{{policy_name}}",
"policyDescription": "Create BRMS Param policy for vFW",
"attributes": {
"RULE": {
diff --git a/robot/assets/templates/policy/closedloop_pushpolicy.jinja b/robot/assets/templates/policy/closedloop_pushpolicy.jinja
new file mode 100644
index 00000000..7be4c9a9
--- /dev/null
+++ b/robot/assets/templates/policy/closedloop_pushpolicy.jinja
@@ -0,0 +1,5 @@
+{
+ "policyName" : "{{policy_name}}",
+ "policyType" : "{{policy_type}}",
+ "pdpGroup" : "default"
+} \ No newline at end of file
diff --git a/robot/assets/templates/policy/closedloop_pushpolicy.template b/robot/assets/templates/policy/closedloop_pushpolicy.template
deleted file mode 100644
index ce1d4859..00000000
--- a/robot/assets/templates/policy/closedloop_pushpolicy.template
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "policyName" : "${policy_name}",
- "policyType" : "${policy_type}",
- "pdpGroup" : "default"
-} \ No newline at end of file