![]() |
REST API
4.0.0
REST API for SafeNet Network HSMs
|
Gets information about a network device route.
The identifier of a network device.
Use: Required
JSON Schema:
Object type: string
The identifier of a device route.
Use: Required
JSON Schema:
Object type: string
Basic information about the network device route.
JSON Schema: Network Route
Unexpected error
Device or route does not exist.
GET
https://1.2.3.4:8443/api/lunasa/network/devices/eth0/routes/1.2.3.6_24_s_50
Example on ipv6
GET
https://1.2.3.4:8443/api/lunasa/network/devices/eth0/routes/2000%3a%3a18_128_s_1
{
"destination": "1.2.3.6",
"mask": 24,
"gateway": "1.2.3.7",
"metric": 50
}
Example on ipv6
{
"destination": "2000::18",
"mask": 128,
"gateway": "2000::1",
"metric": 1
}