blob: 0e0c6655032fd6d54012cc6be61b91b75e3220a9 [file] [log] [blame]
DR695Hccff30b2017-02-17 18:44:24 -05001*** Settings ***
2Documentation Testing openstack.
3Library OperatingSystem
4Library SSHLibrary
5Library RequestsLibrary
DR695H7aca1a42019-06-03 17:08:34 -04006Library ONAPLibrary.JSON
DR695Hccff30b2017-02-17 18:44:24 -05007Library OpenstackLibrary
8Library HEATUtils
9Library Collections
10Resource ../../resources/openstack/keystone_interface.robot
11Resource ../../resources/openstack/nova_interface.robot
12Resource ../../resources/openstack/heat_interface.robot
13Resource ../../resources/ssh/files.robot
14Resource ../../resources/ssh/processes.robot
15Resource packet_generator_interface.robot
16Resource validate_common.robot
17
18
19*** Variables ***
DR695Hccff30b2017-02-17 18:44:24 -050020
21*** Keywords ***
22Validate Dns Scaling Stack
jf986099c63292017-03-09 15:28:42 -050023 [Documentation] Wait for the DNS scaling stack to be instantiated
24 [Arguments] ${STACK_NAME}
DR695Hccff30b2017-02-17 18:44:24 -050025 Run Openstack Auth Request auth
26 ${stack_info}= Wait for Stack to Be Deployed auth ${STACK_NAME}
27 ${stack_id}= Get From Dictionary ${stack_info} id
jf986099c63292017-03-09 15:28:42 -050028 ${server_list}= Get Openstack Servers auth
DR695Hccff30b2017-02-17 18:44:24 -050029 Log ${server_list}
jf986099c63292017-03-09 15:28:42 -050030 ${vdns_public_ip}= Get Server Ip ${server_list} ${stack_info} vdns_name_0 network_name=public
DR695Hccff30b2017-02-17 18:44:24 -050031 Wait For Server ${vdns_public_ip}
32 Log Accessed all servers
33 #Wait for vDNS ${vdns_public_ip}
34 Log All server processes up
35
36Wait For vDNS
jf986099c63292017-03-09 15:28:42 -050037 [Documentation] Wait for the DNSServer to be running on the scaling DNS.
38 ... Disabled. Potential for robot to hang due to network reconfigurations at startup.
39 [Arguments] ${ip}
40 Wait for Process on Host java DNSServer ${ip}
DR695Hccff30b2017-02-17 18:44:24 -050041