aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/stack_validation/validate_vlb.robot
blob: 8905ad2f5a56922cfe2deb3be9f4d55eede1fc22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
*** Settings ***
Documentation   Testing openstack.
Library    String
Library    Collections
Library    SSHLibrary
Resource          validate_common.robot


*** Variables ***

*** Keywords ***
Validate vLB Stack
    [Documentation]    Identifies the LB and DNS servers in the vLB stack
    [Arguments]    ${stack_name}
    Run Openstack Auth Request    auth
    ${stack_info}=    Wait for Stack to Be Deployed    auth    ${stack_name}
    ${stack_id}=    Get From Dictionary    ${stack_info}    id
    ${server_list}=    Get Openstack Servers    auth
    Log     Returned from Get Openstack Servers
    ${vlb_public_ip}=    Get Server Ip    ${server_list}    ${stack_info}   vlb_name_0    network_name=${GLOBAL_INJECTED_OPENSTACK_PUBLIC_NETWORK}
    Log     Waiting for ${vlb_public_ip} to reconfigure
    # Server validations diabled due to issues with load balancer network reconfiguration
    # at startup hanging the robot scripts so just sleep
    Sleep   180s
    Log    All server processes up