Class GoogleCloudInterconnectAdapter<T>

java.lang.Object
api.equinix.javasdk.fabric.model.implementation.cloud.GoogleCloudInterconnectAdapter<T>
Type Parameters:
T - the type of the Google Cloud SDK object being adapted
All Implemented Interfaces:
CloudProviderConnectionAdapter<T>

public class GoogleCloudInterconnectAdapter<T> extends Object implements CloudProviderConnectionAdapter<T>
Adapter for bridging Google Cloud Interconnect SDK objects with Equinix Fabric connections.

Google Cloud Interconnect provides dedicated, high-bandwidth connections between on-premises networks and Google Cloud. When creating an Equinix Fabric connection to Google Cloud, you need:

  • Authentication Key: The GCP Pairing Key (provided by Google when creating an Interconnect Attachment)
  • Seller Region: The GCP region (e.g., "us-east1", "europe-west1")
  • Service Profile: The Equinix Fabric service profile UUID for Google Cloud

Usage with Google Cloud SDK Object


 // From Google Cloud SDK
 InterconnectAttachment attachment = computeClient.getInterconnectAttachment(
     "my-project", "us-east1", "my-attachment");

 GoogleCloudInterconnectAdapter<InterconnectAttachment> adapter =
     new GoogleCloudInterconnectAdapter<>(
         attachment,
         attachment.getPairingKey(),           // GCP Pairing Key
         attachment.getRegion(),               // e.g., "us-east1"
         "equinix-gcp-profile-uuid"            // Equinix service profile for GCP
     );

 Connection conn = fabric.connections()
     .define(ConnectionType.EVPL_VC)
     .name("GCP-Interconnect")
     .bandwidth(100)
     .aSideAccessPointPort(portUuid, LinkProtocol.dot1q().vlanTag(2000).create())
     .zSideCloudProvider(adapter)
     .notification("ops@example.com")
     .create();
 

Manual Construction (No GCP SDK)


 GoogleCloudInterconnectAdapter<?> adapter = GoogleCloudInterconnectAdapter.of(
     "xxxx/xxxx/xxxx/xxxx",                   // GCP Pairing Key
     "us-east1",                               // Region
     "equinix-gcp-profile-uuid"                // Equinix service profile
 );
 
Author:
ianjones
See Also: