Policy CSIT Files

Issue-Id: POLICY-77
Signed-off-by: RAJU <cr770w@att.com>
Change-Id: Ib957acf286b51ae17dc48ff8d4d336f7c5f91d59
diff --git a/test/csit/tests/policy/suite1/Policy-CSIT.robot b/test/csit/tests/policy/suite1/Policy-CSIT.robot
index be52cd2..c7cc725 100644
--- a/test/csit/tests/policy/suite1/Policy-CSIT.robot
+++ b/test/csit/tests/policy/suite1/Policy-CSIT.robot
@@ -7,16 +7,16 @@
 Resource    json_templater.robot
 
 *** Variables ***
-${RESOURCE_PATH_CREATE}        /pdp/createPolicy
-${RESOURCE_PATH_CREATE_PUSH}        /pdp/pushPolicy
-${RESOURCE_PATH_CREATE_DELETE}        /pdp/deletePolicy
-${RESOURCE_PATH_GET_CONFIG}    /pdp/getConfig
+${RESOURCE_PATH_CREATE}        /pdp/api/createPolicy
+${RESOURCE_PATH_CREATE_PUSH}        /pdp/api/pushPolicy
+${RESOURCE_PATH_CREATE_DELETE}        /pdp/api/deletePolicy
+${RESOURCE_PATH_GET_CONFIG}    /pdp/api/getConfig
 ${CREATE_CONFIG_VFW_TEMPLATE}    ${CURDIR}/configpolicy_vFW.template
 ${CREATE_CONFIG_VDNS_TEMPLATE}    ${CURDIR}/configpolicy_vDNS.template
 ${CREATE_CONFIG_VCPE_TEMPLATE}    ${CURDIR}/configpolicy_vCPE.template
-${CREATE_OPS_VFW_TEMPLATE}    ${CURDIR}/opspolicy_VFW.template
+${CREATE_OPS_VFW_TEMPLATE}    ${CURDIR}/opspolicy_VFW_R1.template
 ${PUSH_POLICY_TEMPLATE}   ${CURDIR}/pushpolicy.template
-${CREATE_OPS_VDNS_TEMPLATE}    ${CURDIR}/opspolicy_VDNS.template
+${CREATE_OPS_VDNS_TEMPLATE}    ${CURDIR}/opspolicy_VDNS_R1.template
 ${DEL_POLICY_TEMPLATE}   ${CURDIR}/deletepolicy.template
 ${GETCONFIG_TEMPLATE}    ${CURDIR}/getconfigpolicy.template
 ${CONFIG_POLICY_VFW_NAME}    vFirewall
@@ -60,7 +60,21 @@
     Push Config Policy    ${CONFIG_POLICY_VCPE_NAME}    ${CONFIG_POLICY_VCPE_TYPE}
     #VCPE Policy Tests
  
-#VOLTE Policy
+VFW Ops Policy
+     ${OPS_POLICY_VFW_NAME}=    Create Ops VFW Policy
+     Push Ops Policy    ${OPS_POLICY_VFW_NAME}    ${OPS_POLICY_VFW_TYPE}
+     
+VDNS Ops Policy
+     ${OPS_POLICY_VDNS_NAME}=    Create Ops VDNS Policy
+     Push Ops Policy    ${OPS_POLICY_VDNS_NAME}    ${OPS_POLICY_VDNS_TYPE}    
+     
+VCPE Ops Policy
+     ${OPS_POLICY_VCPE_NAME}=    Create Ops VCPE Policy
+     Push Ops Policy    ${OPS_POLICY_VCPE_NAME}    ${OPS_POLICY_VCPE_TYPE}    
+
+VOLTE Ops Policy
+     ${OPS_POLICY_VOLTE_NAME}=    Create Ops VOLTE Policy
+     Push Ops Policy    ${OPS_POLICY_VOLTE_NAME}    ${OPS_POLICY_VOLTE_TYPE}    
     #VOLTE Policy Tests
     
 *** Keywords ***
@@ -216,25 +230,24 @@
 	[Documentation]    Create Opertional Policy
    	${randompolicyname} =     Create Policy Name
 	${policyname1}=    Catenate   com.${randompolicyname}
-	${OPS_POLICY_NAME}=    Set Test Variable    ${policyname1}
- 	${dict}=     Create Dictionary    policy_name=${OPS_POLICY_NAME}
- 	${NEWPOLICY1}=     Create Dictionary    policy_name=com.${OPS_POLICY_NAME}
+	${OPS_POLICY_VCPE_NAME}=    Set Test Variable    ${policyname1}
+ 	${dict}=     Create Dictionary    policy_name=${policyname1}
 	${output} =     Fill JSON Template File     ${CREATE_OPS_VCPE_TEMPLATE}    ${dict}
     ${put_resp} =    Run Policy Put Request    ${RESOURCE_PATH_CREATE}  ${output}
     Log    ${put_resp}
     Should Be Equal As Strings 	${put_resp.status_code} 	200
+    [Return]    ${policyname1}
     
 Create Ops VolTE Policy
 	[Documentation]    Create Opertional Policy
    	${randompolicyname} =     Create Policy Name
-	${policyname2}=    Catenate   com.${randompolicyname}
-	#${OPS_POLICY_VOLTE_NAME}=    Set Test Variable    ${policyname2}
- 	${dict}=     Create Dictionary    policy_name=${policyname2}
- 	#${NEWPOLICY1}=     Create Dictionary    policy_name=com.${OPS_POLICY_NAME}
+	${policyname1}=    Catenate   com.${randompolicyname}
+ 	${dict}=     Create Dictionary    policy_name=${policyname1}
 	${output} =     Fill JSON Template File     ${CREATE_OPS_VOLTE_TEMPLATE}    ${dict}
     ${put_resp} =    Run Policy Put Request    ${RESOURCE_PATH_CREATE}  ${output}
     Log    ${put_resp}
     Should Be Equal As Strings 	${put_resp.status_code} 	200
+    [Return]    ${policyname1}
     
 Upload DRL file
     [Documentation]    Upload DRL file1