If VM has only IPv6 address, don't check its access to neutron-metadata
service, because actually there is no any IPv6 support, see [0] for any
details.
[0] https://review.openstack.org/#/c/315604/
Change-Id: I4c69d71994179f8ded91fba141659cc86d279b62
Signed-off-by: Valentina Krasnobaeva <valentina.krasnobaeva@6wind.com>
\ ${string_empty}= Run Keyword And Return Status Should Be Empty ${dest_ip}
\ Run Keyword If ${string_empty} Continue For Loop
\ Run Keyword If ${rcode} Check Ping ${dest_ip} ttl=${ttl}
- Run Keyword If ${rcode} Check Metadata Access
+ ${ethertype}= Get Regexp Matches ${src_ip} ${IP_REGEX}
+ Run Keyword If ${rcode} and ${ethertype} Check Metadata Access
[Teardown] Exit From Vm Console
Test Netcat Operations From Vm Instance