Adds missing ip based on internal ip, for etcd

This commit is contained in:
Pablo Moreno 2016-11-14 02:04:13 +00:00 committed by GitHub
parent 6cc05c103a
commit f320b79c0c

View file

@ -309,6 +309,7 @@ def openstack_host(resource, module_name):
attrs = {
'access_ip_v4': raw_attrs['access_ip_v4'],
'access_ip_v6': raw_attrs['access_ip_v6'],
'ip': raw_attrs['network.0.fixed_ip_v4'],
'flavor': parse_dict(raw_attrs, 'flavor',
sep='_'),
'id': raw_attrs['id'],