aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/policy_interface.robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/policy_interface.robot')
-rw-r--r--robot/resources/policy_interface.robot31
1 files changed, 0 insertions, 31 deletions
diff --git a/robot/resources/policy_interface.robot b/robot/resources/policy_interface.robot
index 06d9e0f8..65698a1a 100644
--- a/robot/resources/policy_interface.robot
+++ b/robot/resources/policy_interface.robot
@@ -138,22 +138,6 @@ Run Policy Get Configs Request
Log Received response from policy ${resp.text}
[Return] ${resp}
-Update vVFWCL Policy Old
- [Arguments] ${resource_id}
- Run Keyword and Ignore Error Delete vFWCL Policy
- Sleep 20s
- Log Create vFWCL Policy
- Create vFWCL Policy ${resource_id}
- Sleep 5s
- Log Push vFWCL Policy
- Push vFWCL Policy
- Sleep 20s
- Log Reboot Drools
- Reboot Drools
- Sleep 20s
- Log Validate vFWCL Policy
- Validate the vFWCL Policy Old
-
Update vVFWCL Policy
[Arguments] ${resource_id}
Log Create vFWCL Monitoring Policy
@@ -191,21 +175,6 @@ Push vFWCL Policy
${resp}= Run Policy Put Request /pdp/api/pushPolicy ${data}
Should Be Equal As Strings ${resp.status_code} 200
-Reboot Drools
- ${stop}= Catenate docker exec -t -u policy drools bash -c "source /opt/app/policy/etc/profile.d/env.sh; policy stop"
- ${start}= Catenate docker exec -t -u policy drools bash -c "source /opt/app/policy/etc/profile.d/env.sh; policy start"
- Wait Until Keyword Succeeds 120 5 sec Open Connection And Log In ${GLOBAL_INJECTED_POLICY_IP_ADDR} root ${GLOBAL_VM_PRIVATE_KEY}
- Write ${stop}
- ${status} ${stdout}= Run Keyword And Ignore Error SSHLibrary.Read Until Regexp has stopped
- Log ${status}: stdout=${stdout}
- ${ctrlc}= Evaluate '\x03'
- Run Keyword If '${status}' == 'FAIL' Write ${ctrlc}
- Sleep 5s
- Write ${start}
- ${stdout}= SSHLibrary.Read Until Regexp is running
- Log stdout=${stdout}
- Should Contain ${stdout} is running
-
Validate the vFWCL Policy Old
${resp}= Run Drools Get Request /policy/pdp/engine/controllers/amsterdam/drools
Should Be Equal As Strings ${resp.status_code} 200