Adds missing ip based on internal ip, for etcd
This commit is contained in:
parent
bc75a4f12c
commit
cdcc03b4e0
1 changed files with 1 additions and 0 deletions
|
@ -309,6 +309,7 @@ def openstack_host(resource, module_name):
|
||||||
attrs = {
|
attrs = {
|
||||||
'access_ip_v4': raw_attrs['access_ip_v4'],
|
'access_ip_v4': raw_attrs['access_ip_v4'],
|
||||||
'access_ip_v6': raw_attrs['access_ip_v6'],
|
'access_ip_v6': raw_attrs['access_ip_v6'],
|
||||||
|
'ip': raw_attrs['network.0.fixed_ip_v4'],
|
||||||
'flavor': parse_dict(raw_attrs, 'flavor',
|
'flavor': parse_dict(raw_attrs, 'flavor',
|
||||||
sep='_'),
|
sep='_'),
|
||||||
'id': raw_attrs['id'],
|
'id': raw_attrs['id'],
|
||||||
|
|
Loading…
Reference in a new issue