Class InterconnectRemoteLocationConstraints (1.16.1)

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

Attributes

NameDescription
port_pair_remote_location str
[Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location. Check the PortPairRemoteLocation enum for the list of possible values. This field is a member of oneof_ _port_pair_remote_location.
port_pair_vlan str
[Output Only] Port pair VLAN constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN Check the PortPairVlan enum for the list of possible values. This field is a member of oneof_ _port_pair_vlan.
subnet_length_range google.cloud.compute_v1.types.InterconnectRemoteLocationConstraintsSubnetLengthRange
[Output Only] [min-length, max-length] The minimum and maximum value (inclusive) for the IPv4 subnet length. For example, an interconnectRemoteLocation for Azure has {min: 30, max: 30} because Azure requires /30 subnets. This range specifies the values supported by both cloud providers. Interconnect currently supports /29 and /30 IPv4 subnet lengths. If a remote cloud has no constraint on IPv4 subnet length, the range would thus be {min: 29, max: 30}. This field is a member of oneof_ _subnet_length_range.

Classes

PortPairRemoteLocation

PortPairRemoteLocation(value)

[Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.

Values: UNDEFINED_PORT_PAIR_REMOTE_LOCATION (0): A value indicating that the enum field is not set. PORT_PAIR_MATCHING_REMOTE_LOCATION (207291859): If PORT_PAIR_MATCHING_REMOTE_LOCATION, the remote cloud provider allocates ports in pairs, and the user should choose the same remote location for both ports. PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION (60609829): If PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, a user may opt to provision a redundant pair of Cross-Cloud Interconnects using two different remote locations in the same city.

PortPairVlan

PortPairVlan(value)

[Output Only] Port pair VLAN constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN

Values: UNDEFINED_PORT_PAIR_VLAN (0): A value indicating that the enum field is not set. PORT_PAIR_MATCHING_VLAN (250295358): If PORT_PAIR_MATCHING_VLAN, the Interconnect for this attachment is part of a pair of ports that should have matching VLAN allocations. This occurs with Cross-Cloud Interconnect to Azure remote locations. While GCP's API does not explicitly group pairs of ports, the UI uses this field to ensure matching VLAN ids when configuring a redundant VLAN pair. PORT_PAIR_UNCONSTRAINED_VLAN (175227948): PORT_PAIR_UNCONSTRAINED_VLAN means there is no constraint.