Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::InterconnectAttachmentL2Forwarding.
L2 Interconnect Attachment related configuration.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#appliance_mappings
def appliance_mappings() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingApplianceMapping}-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingApplianceMapping}) — Optional. A map of VLAN tags to appliances and optional inner mapping
rules. If VLANs are not explicitly mapped to any appliance, the
defaultApplianceIpAddress is used.
Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.
The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100.
#appliance_mappings=
def appliance_mappings=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingApplianceMapping}-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingApplianceMapping}) — Optional. A map of VLAN tags to appliances and optional inner mapping
rules. If VLANs are not explicitly mapped to any appliance, the
defaultApplianceIpAddress is used.
Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.
The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100.
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingApplianceMapping}) — Optional. A map of VLAN tags to appliances and optional inner mapping
rules. If VLANs are not explicitly mapped to any appliance, the
defaultApplianceIpAddress is used.
Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.
The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100.
#default_appliance_ip_address
def default_appliance_ip_address() -> ::String-
(::String) — Optional. A single IPv4 or IPv6 address used as the default destination
IP when there is no VLAN mapping result found.
Unset field (null-value) indicates the unmatched packet should be dropped.
#default_appliance_ip_address=
def default_appliance_ip_address=(value) -> ::String-
value (::String) — Optional. A single IPv4 or IPv6 address used as the default destination
IP when there is no VLAN mapping result found.
Unset field (null-value) indicates the unmatched packet should be dropped.
-
(::String) — Optional. A single IPv4 or IPv6 address used as the default destination
IP when there is no VLAN mapping result found.
Unset field (null-value) indicates the unmatched packet should be dropped.
#geneve_header
def geneve_header() -> ::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingGeneveHeader- (::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingGeneveHeader) — Optional. It represents the structure of a Geneve (Generic Network Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization environments.
#geneve_header=
def geneve_header=(value) -> ::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingGeneveHeader- value (::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingGeneveHeader) — Optional. It represents the structure of a Geneve (Generic Network Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization environments.
- (::Google::Cloud::Compute::V1::InterconnectAttachmentL2ForwardingGeneveHeader) — Optional. It represents the structure of a Geneve (Generic Network Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization environments.
#network
def network() -> ::String- (::String) — Required. Resource URL of the network to which this attachment belongs.
#network=
def network=(value) -> ::String- value (::String) — Required. Resource URL of the network to which this attachment belongs.
- (::String) — Required. Resource URL of the network to which this attachment belongs.
#tunnel_endpoint_ip_address
def tunnel_endpoint_ip_address() -> ::String- (::String) — Required. A single IPv4 or IPv6 address. This address will be used as the source IP address for packets sent to the appliances, and must be used as the destination IP address for packets that should be sent out through this attachment.
#tunnel_endpoint_ip_address=
def tunnel_endpoint_ip_address=(value) -> ::String- value (::String) — Required. A single IPv4 or IPv6 address. This address will be used as the source IP address for packets sent to the appliances, and must be used as the destination IP address for packets that should be sent out through this attachment.
- (::String) — Required. A single IPv4 or IPv6 address. This address will be used as the source IP address for packets sent to the appliances, and must be used as the destination IP address for packets that should be sent out through this attachment.