Get existing high availability configurations
GET/ha-configurations/:id
Retrieve existing high availability configurations.
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 [
- Array [
- ]
- ]
- 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
Default value: true
interface objectrequired
ha1 objectrequired
HA1 port
HA1 IP address
HA1 netmask
HA1 default gateway
Possible values: >= 1000
and <= 60000
Default value: 3000
HA1 monitor hold time
ha1_backup object
HA1 backup port
HA1 backup IP address
HA1 backup netmask
HA1 backup default gateway
ha2 objectrequired
HA2 port
HA2 IP address
HA2 netmask
HA2 default gateway
ha2_backup object
HA2 backup port
HA2 backup IP address
HA2 backup netmask
HA2 backup default gateway
group objectrequired
Possible values: >= 1
and <= 63
HA group ID
Default value: N/A
HA group description (not currently used)
election_option objectrequired
Possible values: >= 1
and <= 2
Device priority (1 = primary, 2 = secondary)
Possible values: [primary
, secondary
]
Device HA role
Preemption enabled?
Peer HA1 IP address
Peer HA1 backup IP address
Serial number of the HA peer
state_synchronization objectrequired
Enable session synchronization
Possible values: [ethernet
, ip
, udp
]
Session synchronization transport
ha2_keep_alive object
Enable HA2 keep-alives?
Possible values: [log-only
, split-datapath
]
Keep-alive action
Possible values: >= 5000
and <= 60000
Default value: 10000
Keep-alive threshold (milliseconds)
mode objectrequired
active_passive object
Possible values: [shutdown
, auto
]
Passive link state
Possible values: >= 1000
and <= 60000
Default value: 3000
Monitor hold time (milliseconds)
monitoring objectrequired
path_monitoring object
Enable path monitoring?
Possible values: [any
, all
]
path_group object
logical_router object[]
Logical router
Logical router name
Default value: true
Enable path group?
Possible values: [any
, all
]
Failure condition
Possible values: >= 200
and <= 60000
Default value: 200
Ping interval
Possible values: >= 3
and <= 10
Default value: 10
Ping count
destination_ip_group object[]
Destination IP group name
Destination IP addresses
Enable destination IP group?
Possible values: [any
, all
]
Failure condition
link_monitoring object
Enable link monitoring
Possible values: [any
, all
]
Failure condition
link_group object[]
Link groups
Link group name
Default value: true
Enable link group?
Possible values: [any
, all
]
Failure condition
Interfaces monitored
{
"enabled": true,
"interface": {
"ha1": {
"port": "management",
"ip_address": "string",
"netmask": "string",
"gateway": "string",
"monitor_hold_time": 3000
},
"ha1_backup": {
"port": "string",
"ip_address": "string",
"netmask": "string",
"gateway": "string"
},
"ha2": {
"port": "string",
"ip_address": "string",
"netmask": "string",
"gateway": "string"
},
"ha2_backup": {
"port": "string",
"ip_address": "string",
"netmask": "string",
"gateway": "string"
}
},
"group": {
"group_id": 0,
"description": "N/A",
"election_option": {
"device_priority": 0,
"ha_role": "primary",
"preemptive": false,
"heartbeat_backup": true
},
"peer_ip": "string",
"peer_ip_backup": "string",
"peer_serial": "string",
"state_synchronization": {
"enabled": true,
"transport": "ethernet",
"ha2_keep_alive": {
"enabled": false,
"action": "log-only",
"threshold": 10000
}
},
"mode": {
"active_passive": {
"passive_link_state": "shutdown",
"monitor_fail_hold_down_time": 3000
}
},
"monitoring": {
"path_monitoring": {
"enabled": false,
"failure_condition": "any",
"path_group": {
"logical_router": [
{
"name": "string",
"enabled": true,
"failure_condition": "any",
"ping_interval": 200,
"ping_count": 10,
"destination_ip_group": [
{
"name": "string",
"destination_ip": [
"string"
],
"enabled": true,
"failure_condition": "any"
}
]
}
]
}
},
"link_monitoring": {
"enabled": false,
"failure_condition": "any",
"link_group": [
{
"name": "string",
"enabled": true,
"failure_condition": "any",
"interface": [
"string"
]
}
]
}
}
}
}
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"
}