NetworkConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration parameters for a new network.
Attributes | |
---|---|
Name | Description |
name |
str
Output only. The name of the network config. |
id |
str
A transient unique identifier to identify a volume within an ProvisioningConfig request. |
type_ |
google.cloud.bare_metal_solution_v2.types.NetworkConfig.Type
The type of this network, either Client or Private. |
bandwidth |
google.cloud.bare_metal_solution_v2.types.NetworkConfig.Bandwidth
Interconnect bandwidth. Set only when type is CLIENT. |
vlan_attachments |
MutableSequence[google.cloud.bare_metal_solution_v2.types.NetworkConfig.IntakeVlanAttachment]
List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan). |
cidr |
str
CIDR range of the network. |
service_cidr |
google.cloud.bare_metal_solution_v2.types.NetworkConfig.ServiceCidr
Service CIDR, if any. |
user_note |
str
User note field, it can be used by customers to add additional information for the BMS Ops team . |
gcp_service |
str
The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning. |
vlan_same_project |
bool
Whether the VLAN attachment pair is located in the same project. |
jumbo_frames_enabled |
bool
The JumboFramesEnabled option for customer to set. |
Classes
Bandwidth
Bandwidth(value)
Interconnect bandwidth.
Values: BANDWIDTH_UNSPECIFIED (0): Unspecified value. BW_1_GBPS (1): 1 Gbps. BW_2_GBPS (2): 2 Gbps. BW_5_GBPS (3): 5 Gbps. BW_10_GBPS (4): 10 Gbps.
IntakeVlanAttachment
IntakeVlanAttachment(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A GCP vlan attachment.
ServiceCidr
ServiceCidr(value)
Service network block.
Values: SERVICE_CIDR_UNSPECIFIED (0): Unspecified value. DISABLED (1): Services are disabled for the given network. HIGH_26 (2): Use the highest /26 block of the network to host services. HIGH_27 (3): Use the highest /27 block of the network to host services. HIGH_28 (4): Use the highest /28 block of the network to host services.
Type
Type(value)
Network type.
Values: TYPE_UNSPECIFIED (0): Unspecified value. CLIENT (1): Client network, that is a network peered to a GCP VPC. PRIVATE (2): Private network, that is a network local to the BMS POD.