Get a BGP route map
GET/bgp-route-maps/:id
Get an existing BGP route map.
Request
Path Parameters
The UUID of the configuration resource
Responses
- 200
- 400
- 401
- 403
- 404
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
- folder
- snippet
- device
- Array [
- ]
Possible values: <= 64 characters
, Value must match regular expression ^[a-zA-Z\d-_\. ]+$
The folder in which the resource is defined
Possible values: <= 64 characters
, Value must match regular expression ^[a-zA-Z\d-_\. ]+$
The snippet in which the resource is defined
Possible values: <= 64 characters
, Value must match regular expression ^[a-zA-Z\d-_\. ]+$
The device in which the resource is defined
UUID of the resource
route_map object[]
Possible values: >= 1
and <= 65535
Sequence number
Description
Possible values: [permit
, deny
]
Action
match object
AS path access list
Interface
Regular community
Origin
Large community
Possible values: >= 1
and <= 4294967295
Tag
Extended community
Possible values: <= 4294967295
Possible values: <= 4294967295
Metric
Possible values: [local
, none
]
Peer
ipv4 object
address object
Access list
Prefix list
next_hop object
Access list
Prefix list
route_source object
Access list
Prefix list
set object
Enable BGP atomic aggregate?
Possible values: <= 4294967295
Local preference
Possible values: <= 4294967295
Tag
metric object
Possible values: [set
, add
, substract
]
Metric action
Possible values: <= 4294967295
Metric value
Possible values: <= 4294967295
Weight
Possible values: [none
, egp
, igp
, incomplete
]
Origin
Remove regular community name
Remove large community name
Originator ID
aggregator object
Possible values: >= 1
and <= 4294967295
Aggregator AS
Router ID
ipv4 object
Source address
Next hop
Possible values: [none
, blackhole
, no-peer
, graceful-shutdown
, accept-own
, local-as
, route-filter-v4
, route-filter-v6
, no-advertise
, no-export
, internet
]
Overwrite regular community?
Overwrite large community?
{
"id": "123e4567-e89b-12d3-a456-426655440000",
"name": "string",
"description": "string",
"route_map": [
{
"name": 0,
"description": "string",
"action": "permit",
"match": {
"as_path_access_list": "string",
"interface": "string",
"regular_community": "string",
"origin": "string",
"large_community": "string",
"tag": 0,
"extended_community": "string",
"local_preference": 0,
"metric": 0,
"peer": "local",
"ipv4": {
"address": {
"access_list": "string",
"prefix_list": "string"
},
"next_hop": {
"access_list": "string",
"prefix_list": "string"
},
"route_source": {
"access_list": "string",
"prefix_list": "string"
}
}
},
"set": {
"atomic_aggregate": true,
"local_preference": 0,
"tag": 0,
"metric": {
"action": "set",
"value": 0
},
"weight": 0,
"origin": "none",
"remove_regular_community": "string",
"remove_large_community": "string",
"originator_id": "string",
"aggregator": {
"as": 0,
"router_id": "string"
},
"ipv4": {
"source_address": "string",
"next_hop": "string"
},
"aspath_exclude": [
0
],
"aspath_prepend": [
0
],
"regular_community": [
"none"
],
"overwrite_regular_community": true,
"large_community": [
"string"
],
"overwrite_large_community": true
}
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- input_format_mismatch
- output_format_mismatch
- missing_query_parameter
- invalid_query_parameter
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E003",
"message": "Input Format Mismatch: input-format=json",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Output Format Mismatch: output-format=json Accept=xml",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Missing Query Parameter: name",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Invalid Query Parameter: location=invalid",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- auth_not_authenticated
- invalid_credential
- key_too_long
- key_expired
- need_password_change
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E016",
"message": "Not Authenticated",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "Invalid Credential",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "Key Too Long",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "Key Expired",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E016",
"message": "The password needs to be changed.",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- auth_unauthorized
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E007",
"message": "Unauthorized",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
Not Found
- application/json
- Schema
- Example (from schema)
- object_not_present
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E005",
"message": "Object Not Present",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
General Errors
- application/json
- Schema
- Example (from schema)
- version_not_supported
- method_not_allowed
- action_not_supported
- bad_xpath
- invalid_command
- malformed_command
- session_timeout
Schema
- Array [
- ]
_errors object[]
{
"_errors": [
{
"code": "string",
"message": "string",
"details": {},
"help": "string"
}
],
"_request_id": "string"
}
{
"_errors": [
{
"code": "E012",
"message": "Version Not Supported",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E012",
"message": "Method Not Supported",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E012",
"message": "Action Not Supported: move",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E013",
"message": "Bad XPath",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Invalid Command",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "E003",
"message": "Malformed Command",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}
{
"_errors": [
{
"code": "4",
"message": "Session Timeout",
"details": {}
}
],
"_request_id": "123e4567-e89b-12d3-a456-426655440000"
}