ecx_l2 adapter

Configuration

This module gets its credentials through environment variables.

Handler configuration

For correctly running the handler the environment variable with the client id and the client secret have to be indicated in the Credentials entity. This allows to use multiple credentials, for example per equinix metro.

Test credentials

The tests will automatically create an express route resource on Azure to run the equinix tests for azure interconnect profile. For these tests to work a service principal is required that can create expressroute resources.

This guide provides more information on how to setup a service principal:

https://docs.microsoft.com/en-us/cli/azure/create-an-azure-service-principal-azure-cli

This results in credentials, tenant and subscription. These ids needs to be set in the following environment variables:

  • AZURE_CLIENT_ID

  • AZURE_TENANT_ID

  • AZURE_CLIENT_SECRET

  • AZURE_SUBSCRIPTION_ID

Docs

https://developer.equinix.com/content/equinix-cloud-exchange-fabric-2#content-connect-microsoft https://developer.equinix.com/content/equinix-cloud-exchange-fabric-2#content-get-user-port