Configuration of OVHcloud Connect using OVHcloud APIv6
Find out how to set up OVHcloud Connect using OVHcloud APIv6
Find out how to set up OVHcloud Connect using OVHcloud APIv6
Last updated 14th September 2020
Configuring the OVHcloud Connect solution can be done via API.
Find out how to set up OVHcloud Connect using OVHcloud APIv6.
To ensure correct operation of this service, you must be aware of the technical capabilities and limitations of the OVHcloud Connect solution and configure your network devices accordingly.
As a mandatory first step, the service must be interconnected with a vRack to enable the configuration.
Verify that the service is available with the following call:
It will return UUIDs of eligible services. Then you can link OVHcloud Connect with the vRack:
Enter the vRack name as well as the UUID of OVHcloud Connect.
This step is important because you have to choose between L2 and L3.
Please be aware of the ramifications of this decision. To switch between L2 and L3 later, you will have to delete the whole configuration.
Your service is attached to an interface with an ID. Use this call to obtain the ID:
It will return the ID of the interface dedicated to your service.
The following call provides more service details:
The LightStatus parameter is refreshed every 5 minutes for monitoring purposes.
This is the simplest configuration. Use this call:
This configuration is more complex because of the required BGP settings:
If an OVHcloud Connect service is already configured in the vRack, the second service will inherit the data centre configuration.
You can list available data centres for configuration using the following calls:
Only the ID of the data centre is needed for the L2 configuration:
More parameters have to be provided for the L3 configuration:
By default, the data centre will be configured with a VRRP instance. You have to proceed with the next steps for static routing or dynamic routing using BGP.
A static route is needed when you have one or more subnets behind a gateway. This may be Linux gateway (with IP forwarding enabled), a NSX edge or any instance capable of routing.
A BGP session enables dynamic routing from your routing instance with OVHcloud Connect. Announcements are dynamically managed using the BGP protocol. Enabling a BGP session disables the VRRP configuration. You cannot have a BGP session and a static route in the same DC configuration.
Each resource can be deleted individually, but deleting a parent resource like DC or PoP will automatically delete all sub-resources. However, recursive deletion is slower than a sequential deletion of each resource.
The following call recursively deletes the entire configuration of an OVHcloud Connect service:
Each sub-resource's status will change from 'active' to 'toDelete' but it takes some time to see the status change.
Only one task ID is created.
Each resource can be deleted individually using the following call that will delete the smallest resource (extra):
The following call removes the DC configuration and recursively deletes any additional sub-resources:
When all sub-resources have been deleted, the PoP configuration can be safely removed:
If a DC configuration is shared between two or more OVHcloud Connect services, deleting the PoP configuration of only one will not affect the DC ressource.
Join our community of users on https://community.ovh.com/en/.
Please feel free to give any suggestions in order to improve this documentation.
Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.
Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.
Thank you. Your feedback has been received.
Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.
Discuss with the OVHcloud community