Accepting a Hosted DirectLink Interface

Another OUTSCALE account can request the creation of a DirectLink interface hosted in your account. This enables you, as the grantee, to use the DirectLink connection of the other account to access one of your Nets.

As the grantee, you must accept this request of creation of a DirectLink interface before you can use it. You then become the owner of the DirectLink interface. If it is not accepted, the DirectLink interface cannot forward traffic, and expires after 7 days.

When accepting, you must specify a virtual gateway to attach to the DirectLink interface.

For more information about DirectLink interfaces, see About DirectLink > DirectLink Connections and Private Virtual Interfaces.

Accepting a Hosted DirectLink Interface Using OSC CLI

See the ConfirmPrivateVirtualInterface command sample in the documentation of the DirectLink API.

Accepting a Hosted Private Virtual Interface Using AWS CLI

Before you begin:

To accept ownership of a private virtual interface created in your account, use the confirm-private-virtual-interface command following this syntax:

Request sample
$ aws directconnect confirm-private-virtual-interface \
    --profile YOUR_PROFILE \
    --virtual-interface-id dxvif-56781234 \
    --virtual-gateway-id vgw-87654321 \
    --endpoint https://directlink.eu-west-2.outscale.com

This command contains the following attributes that you need to specify:

The confirm-private-virtual-interface command returns the following element:

  • virtualInterfaceState: The state of the private virtual interface.

Result sample
{
    "virtualInterfaceState": "pending"
}

The private virtual interface is created, and remains in the pending state until it is ready to forward traffic. For more information about the states of private virtual interfaces, see About DirectLink > DirectLink Connections and Private Virtual Interfaces.

Related Pages

Corresponding API Method

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.