Class Network (1.7.3)

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

A Network.

Attributes

NameDescription
name str
Output only. The resource name of this Network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/networks/{network}
id str
An identifier for the Network, generated by the backend.
type_ google.cloud.bare_metal_solution_v2.types.Network.Type
The type of this network.
ip_address str
IP address configured.
mac_address MutableSequence[str]
List of physical interfaces.
state google.cloud.bare_metal_solution_v2.types.Network.State
The Network state.
vlan_id str
The vlan id of the Network.
cidr str
The cidr of the Network.
vrf google.cloud.bare_metal_solution_v2.types.VRF
The vrf for the Network.
labels MutableMapping[str, str]
Labels as key value pairs.
services_cidr str
IP range for reserved for services (e.g. NFS).
reservations MutableSequence[google.cloud.bare_metal_solution_v2.types.NetworkAddressReservation]
List of IP address reservations in this network. When updating this field, an error will be generated if a reservation conflicts with an IP address already allocated to a physical server.
pod str
Output only. Pod name.
mount_points MutableSequence[google.cloud.bare_metal_solution_v2.types.NetworkMountPoint]
Input only. List of mount points to attach the network to.
jumbo_frames_enabled bool
Whether network uses standard frames or jumbo ones.
gateway_ip str
Output only. Gateway ip address.

Classes

LabelsEntry

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

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

The possible states for this Network.

Values: STATE_UNSPECIFIED (0): The Network is in an unknown state. PROVISIONING (1): The Network is provisioning. PROVISIONED (2): The Network has been provisioned. DEPROVISIONING (3): The Network is being deprovisioned. UPDATING (4): The Network is being updated.

Type

Type(value)

Network type.

Values: TYPE_UNSPECIFIED (0): Unspecified value. CLIENT (1): Client network, a network peered to a Google Cloud VPC. PRIVATE (2): Private network, a network local to the Bare Metal Solution environment.