Class NetworkConfig (1.18.1)

NetworkConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Network related configurations.

Attributes

NameDescription
network str
The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.
subnetwork str
The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.
enable_external_ips bool
Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.
can_ip_forward bool
Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.