mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-08-06 14:14:28 -07:00
Merge 03480489ee
into 0bf24440d1
This commit is contained in:
commit
0299e2af62
1 changed files with 8 additions and 0 deletions
|
@ -967,6 +967,11 @@ networkInterfaces:
|
||||||
.
|
.
|
||||||
returned: success
|
returned: success
|
||||||
type: dict
|
type: dict
|
||||||
|
stack_type:
|
||||||
|
description:
|
||||||
|
- The IP stack type of the network, possible values: (IPV4_IPV6, IPV4_ONLY)
|
||||||
|
returned: success
|
||||||
|
type: str
|
||||||
networkIP:
|
networkIP:
|
||||||
description:
|
description:
|
||||||
- An IPv4 internal network address to assign to the instance for this network
|
- An IPv4 internal network address to assign to the instance for this network
|
||||||
|
@ -1187,6 +1192,7 @@ def main():
|
||||||
network=dict(type='dict'),
|
network=dict(type='dict'),
|
||||||
network_ip=dict(type='str'),
|
network_ip=dict(type='str'),
|
||||||
subnetwork=dict(type='dict'),
|
subnetwork=dict(type='dict'),
|
||||||
|
stack_type=dict(type='str'),
|
||||||
nic_type=dict(type='str', choices=['VIRTIO_NET', 'GVNIC']),
|
nic_type=dict(type='str', choices=['VIRTIO_NET', 'GVNIC']),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -1728,6 +1734,7 @@ class InstanceNetworkinterfacesArray(object):
|
||||||
u'aliasIpRanges': InstanceAliasiprangesArray(item.get('alias_ip_ranges', []), self.module).to_request(),
|
u'aliasIpRanges': InstanceAliasiprangesArray(item.get('alias_ip_ranges', []), self.module).to_request(),
|
||||||
u'network': replace_resource_dict(item.get(u'network', {}), 'selfLink'),
|
u'network': replace_resource_dict(item.get(u'network', {}), 'selfLink'),
|
||||||
u'networkIP': item.get('network_ip'),
|
u'networkIP': item.get('network_ip'),
|
||||||
|
u'stackType': item.get('stack_type'),
|
||||||
u'subnetwork': replace_resource_dict(item.get(u'subnetwork', {}), 'selfLink'),
|
u'subnetwork': replace_resource_dict(item.get(u'subnetwork', {}), 'selfLink'),
|
||||||
u'nicType': item.get('nic_type'),
|
u'nicType': item.get('nic_type'),
|
||||||
}
|
}
|
||||||
|
@ -1740,6 +1747,7 @@ class InstanceNetworkinterfacesArray(object):
|
||||||
u'aliasIpRanges': InstanceAliasiprangesArray(item.get(u'aliasIpRanges', []), self.module).from_response(),
|
u'aliasIpRanges': InstanceAliasiprangesArray(item.get(u'aliasIpRanges', []), self.module).from_response(),
|
||||||
u'network': item.get(u'network'),
|
u'network': item.get(u'network'),
|
||||||
u'networkIP': item.get(u'networkIP'),
|
u'networkIP': item.get(u'networkIP'),
|
||||||
|
u'stackType': item.get('stackType'),
|
||||||
u'subnetwork': item.get(u'subnetwork'),
|
u'subnetwork': item.get(u'subnetwork'),
|
||||||
u'nicType': item.get(u'nicType'),
|
u'nicType': item.get(u'nicType'),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue