Compute Engine v1 API - Class InterconnectAttachmentL2Forwarding (3.22.0)

public sealed class InterconnectAttachmentL2Forwarding : IMessage<InterconnectAttachmentL2Forwarding>, IEquatable<InterconnectAttachmentL2Forwarding>, IDeepCloneable<InterconnectAttachmentL2Forwarding>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class InterconnectAttachmentL2Forwarding.

L2 Interconnect Attachment related configuration.

Inheritance

object > InterconnectAttachmentL2Forwarding

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InterconnectAttachmentL2Forwarding()

public InterconnectAttachmentL2Forwarding()

InterconnectAttachmentL2Forwarding(InterconnectAttachmentL2Forwarding)

public InterconnectAttachmentL2Forwarding(InterconnectAttachmentL2Forwarding other)
Parameter
Name Description
other InterconnectAttachmentL2Forwarding

Properties

ApplianceMappings

public MapField<string, InterconnectAttachmentL2ForwardingApplianceMapping> ApplianceMappings { get; }

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.

Property Value
Type Description
MapFieldstringInterconnectAttachmentL2ForwardingApplianceMapping

DefaultApplianceIpAddress

public string DefaultApplianceIpAddress { get; set; }

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.

Property Value
Type Description
string

GeneveHeader

public InterconnectAttachmentL2ForwardingGeneveHeader GeneveHeader { get; set; }

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.

Property Value
Type Description
InterconnectAttachmentL2ForwardingGeneveHeader

HasDefaultApplianceIpAddress

public bool HasDefaultApplianceIpAddress { get; }

Gets whether the "default_appliance_ip_address" field is set

Property Value
Type Description
bool

HasNetwork

public bool HasNetwork { get; }

Gets whether the "network" field is set

Property Value
Type Description
bool

HasTunnelEndpointIpAddress

public bool HasTunnelEndpointIpAddress { get; }

Gets whether the "tunnel_endpoint_ip_address" field is set

Property Value
Type Description
bool

Network

public string Network { get; set; }

Required. Resource URL of the network to which this attachment belongs.

Property Value
Type Description
string

TunnelEndpointIpAddress

public string TunnelEndpointIpAddress { get; set; }

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.

Property Value
Type Description
string