Merge "Check volume_backend in retype"

This commit is contained in:
Jenkins
2015-05-20 16:37:41 +00:00
committed by Gerrit Code Review
3 changed files with 26 additions and 1 deletions

View File

@@ -507,3 +507,7 @@ def matching_backend_name(src_volume_type, volume_type):
volume_type.get('volume_backend_name')
else:
return False
def hosts_are_equivalent(host_1, host_2):
return extract_host(host_1) == extract_host(host_2)