DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation Testing openstack. |
| 3 | Library OperatingSystem |
| 4 | Library SSHLibrary |
| 5 | Library RequestsLibrary |
DR695H | 7aca1a4 | 2019-06-03 17:08:34 -0400 | [diff] [blame^] | 6 | Library ONAPLibrary.JSON |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 7 | Library OpenstackLibrary |
| 8 | Library HEATUtils |
| 9 | Library Collections |
| 10 | Resource ../../resources/openstack/keystone_interface.robot |
| 11 | Resource ../../resources/openstack/nova_interface.robot |
| 12 | Resource ../../resources/openstack/heat_interface.robot |
| 13 | Resource ../../resources/ssh/files.robot |
| 14 | Resource ../../resources/ssh/processes.robot |
| 15 | Resource packet_generator_interface.robot |
| 16 | Resource validate_common.robot |
| 17 | |
| 18 | |
| 19 | *** Variables *** |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 20 | |
| 21 | *** Keywords *** |
| 22 | Validate Dns Scaling Stack |
jf9860 | 99c6329 | 2017-03-09 15:28:42 -0500 | [diff] [blame] | 23 | [Documentation] Wait for the DNS scaling stack to be instantiated |
| 24 | [Arguments] ${STACK_NAME} |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 25 | 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 |
jf9860 | 99c6329 | 2017-03-09 15:28:42 -0500 | [diff] [blame] | 28 | ${server_list}= Get Openstack Servers auth |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 29 | Log ${server_list} |
jf9860 | 99c6329 | 2017-03-09 15:28:42 -0500 | [diff] [blame] | 30 | ${vdns_public_ip}= Get Server Ip ${server_list} ${stack_info} vdns_name_0 network_name=public |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 31 | 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 | |
| 36 | Wait For vDNS |
jf9860 | 99c6329 | 2017-03-09 15:28:42 -0500 | [diff] [blame] | 37 | [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} |
DR695H | ccff30b | 2017-02-17 18:44:24 -0500 | [diff] [blame] | 41 | |