Skip to content

Create a BGP peer group on a node

Request

Add a peer group to config._bgp.groups for the specified node.

Peer group names must be unique within the node's BGP configuration.


Requires nodes::configure:network permission.

Security
JWTAuthorizer
Path
nodeIDstringrequired

Node ID

Bodyapplication/jsonrequired

BGP peer group create request

namestringrequired

Unique peer group name

Example:"upstream-isp"
curl -i -X POST \
  'https://apidocs.trustgrid.io/_mock/v2/node/{nodeID}/config/network/bgp/peer-groups' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "upstream-isp"
  }'

Responses

OK

Response
No content