eqixiacEquinix Infrastructure as Code

Network Edge connectivity

Fabric connections from a virtual device, BGP peering and device links.

Connect a device to Fabric#

A device connects to a cloud or another party through a Fabric connection, in which the device is an access point of type virtual device.

Java
import com.eqixiac.equinix.fabric.enums.ConnectionType;
import com.eqixiac.equinix.fabric.enums.InterfaceType;
import com.eqixiac.equinix.fabric.model.Connection;
import com.eqixiac.equinix.fabric.model.implementation.cloud.AwsDirectConnectAdapter;

Connection deviceToAws = fabric.connections()
    .define(ConnectionType.EVPL_VC)
    .name("c8000v-dc-01-to-aws")
    .bandwidth(500)
    .aSideAccessPoint(deviceUuid, null, InterfaceType.NETWORK, 5)      // device, link protocol, interface type, interface id
    .zSideCloudProvider(AwsDirectConnectAdapter.of("123456789012", "us-east-1", awsProfileUuid, "DC"))
    .notification("noc@example.com")
    .create();

BGP peering#

For an Equinix-configured device, bgpPeerings() configures BGP on the device side of a Fabric connection.

Java
import com.eqixiac.equinix.networkedge.model.BGPPeering;

BGPPeering peering = networkEdge.bgpPeerings().define()
    .forConnection(connectionUuid)
    .withLocalIpAddress("169.254.10.2/30")
    .withRemoteIpAddress("169.254.10.1")
    .withLocalAsn(65010L)
    .withRemoteAsn(64512L)
    .withAuthenticationKey("change-me")
    .save();

On a self-configured device the BGP configuration is done on the device itself, over SSH or the vendor's management plane. ne/v1/bgp answered 403 for the account used in live validation on 2026-11-11, so the request shape of this call was not verified live.

A device link group is a private layer 2 segment between Network Edge devices, in one metro or across metros.

Java
import com.eqixiac.equinix.networkedge.enums.RedundancyType;
import com.eqixiac.equinix.networkedge.model.DeviceLink;

DeviceLink link = networkEdge.deviceLinks().define("dc-sv-transit")
    .onSubnet("192.168.50.0/29")
    .withRedundancyType(RedundancyType.PRIMARY)
    .forDevice("device-uuid-dc", 65010L, 6)          // device, ASN, interface id
    .forDevice("device-uuid-sv", 65020L, 6)
    .save();