Skip to content
Equnix Metal
show

BGP copied!

Manage BGP configs and sessions. See device endpoints to create and list BGP sessions for a particular device. Check out the product docs to learn more about Local and Global BGP.

Requesting bgp config copied!

POST
/projects/{id}/bgp-configs

Requests to enable bgp configuration for a project.

  • Parameters
  • id
    string  (required) in path

    Project UUID

    bgp_config_request
     (required) in body

    BGP config Request to create

    deployment_type, asn

    {
        "deployment_type": "string",
        "asn": "integer",
        "md5": "string",
        "use_case": "string"
    }

Retrieve a bgp config copied!

GET
/projects/{id}/bgp-config

Returns a bgp config

  • Parameters
  • id
    string  (required) in path

    Project UUID

    include
    array in query

    Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

    exclude
    array in query

    Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

  •  
  • Response Body Show Hide
  • Request URL Show Hide
  • cURL Show Hide

Retrieve BGP neighbor data for this device copied!

GET
/devices/{id}/bgp/neighbors

Provides a summary of the BGP neighbor data associated to the BGP sessions for this device.

Retrieve all BGP sessions for project copied!

GET
/projects/{id}/bgp/sessions

Provides a listing of available BGP sessions for the project.

Retrieve all BGP sessions copied!

GET
/devices/{id}/bgp/sessions

Provides a listing of available BGP sessions for the device.

Create a BGP session copied!

POST
/devices/{id}/bgp/sessions

Creates a BGP session.

  • Parameters
  • id
    string  (required) in path

    Device UUID

    bgp_session
     (required) in body

    BGP session to create

    {
        "address_family": "string",
        "default_route": "boolean"
    }

Retrieve a BGP session copied!

GET
/bgp/sessions/{id}

Returns a BGP session

  • Parameters
  • id
    string  (required) in path

    BGP session UUID

    include
    array in query

    Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

    exclude
    array in query

    Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

  •  
  • Response Body Show Hide
  • Request URL Show Hide
  • cURL Show Hide

Delete the BGP session copied!

DELETE
/bgp/sessions/{id}

Deletes the BGP session.

  • Parameters
  • id
    string  (required) in path

    BGP session UUID

Update the BGP session copied!

PUT
/bgp/sessions/{id}

Updates the BGP session by either enabling or disabling the default route functionality.

  • Parameters
  • id
    string  (required) in path

    BGP session UUID

    default_route
     (required) in body

    Default route