Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Add tpuIpv4CidrBlock for container clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisst authored and modular-magician committed Dec 11, 2018
1 parent 659fbbb commit 9c27cd0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/ansible/modules/cloud/google/gcp_container_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,12 @@
in 10.0.0.0/8.
returned: success
type: str
tpuIpv4CidrBlock:
description:
- The IP address range of the Cloud TPUs in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
notation (e.g. `1.2.3.4/29`).
returned: success
type: str
addonsConfig:
description:
- Configurations for the various addons available to run in the cluster.
Expand Down Expand Up @@ -772,6 +778,7 @@ def response_to_hash(module, response):
u'monitoringService': response.get(u'monitoringService'),
u'network': response.get(u'network'),
u'clusterIpv4Cidr': response.get(u'clusterIpv4Cidr'),
u'tpuIpv4CidrBlock': response.get(u'tpuIpv4CidrBlock'),
u'addonsConfig': ClusterAddonsconfig(response.get(u'addonsConfig', {}), module).from_response(),
u'subnetwork': response.get(u'subnetwork'),
u'location': response.get(u'location'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,12 @@
a /14 block in 10.0.0.0/8.
returned: success
type: str
tpuIpv4CidrBlock:
description:
- The IP address range of the Cloud TPUs in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
notation (e.g. `1.2.3.4/29`).
returned: success
type: str
addonsConfig:
description:
- Configurations for the various addons available to run in the cluster.
Expand Down

0 comments on commit 9c27cd0

Please sign in to comment.