Fixes for New Policy API 95/87295/1
authorBrian Freeman <bf1936@att.com>
Thu, 9 May 2019 01:30:14 +0000 (20:30 -0500)
committerBrian Freeman <bf1936@att.com>
Thu, 9 May 2019 01:32:42 +0000 (01:32 +0000)
fix private key for Wait For Server

Issue-ID: INT-1071
Change-Id: I3c6e6e59dc3c6f3fe53887f48cd20ba16b50f402
Signed-off-by: Brian Freeman <bf1936@att.com>
robot/resources/policy_interface.robot
robot/resources/stack_validation/validate_common.robot

index d488281..c532c17 100644 (file)
@@ -118,7 +118,7 @@ Update vVFWCL Policy Old
     Validate the vFWCL Policy Old
 
 Update vVFWCL Policy
-    [Arguments] ${resource_id}
+    [Arguments]   ${resource_id}
     Log To Console Create vFWCL Monitoring Policy
     Create vFirewall Monitoring Policy
     Sleep   5s
index 6c97fac..8b29213 100644 (file)
@@ -21,7 +21,9 @@ Resource          packet_generator_interface.robot
 Wait For Server
     [Documentation]    Attempts to login to the passed server info and verify (??). Uses server info to get public ip and locate corresponding provate key file
     [Arguments]    ${server_ip}    ${timeout}=300s
-    ${file}=    Catenate    ${GLOBAL_VM_PRIVATE_KEY}
+    #${file}=    Catenate    ${GLOBAL_VM_PRIVATE_KEY}
+    # Preload is using onap public key
+    ${file}=    Catenate    ${GLOBAL_ONAP_PRIVATE_KEY}
     Wait Until Keyword Succeeds    ${timeout}    5 sec    Open Connection And Log In    ${server_ip}    root    ${file}
     ${lines}=   Grep Local File    "Accepted publickey"    /var/log/auth.log
     Log    ${lines}