Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.38 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.38 KB

Overview

MegaportGo

This is the Megaport Go Library. It allows users to orchestrate the creation of Megaport Services.

Before using this library, please ensure you read Megaport's Terms and Conditions.

API Overview

To view the Library Documentation, please see the Wiki.

The Megaport API Documentation is also available online.

Testing

Tests can be executed for this library by running make integration to run all integration tests or by calling one of the following to run the tests per service:

  • auth-integ
  • location-integ
  • mcr-integ
  • partner-integ
  • port-integ
  • vxc-integ

In order to run theses tests valid user Credentials will need to be provided as per the Credentials section below.

Credentials

For the purposes of testing Megaport Credentials can be passed to the integration tests by setting the following environment variables:

  • MEGAPORT_USERNAME: The username used to login to the Megaport Portal.
  • MEGAPORT_PASSWORD: The password used to login to the Megaport Portal.
  • MEGAPORT_MFA_OTP_KEY: The key taken from the "Add Authentication" screen in the Megaport Portal (this is not your OTP, it is the key you used to setup your Authenticator).

Contributing

Please read the Contributing Section prior to starting work on contributions.