![]() |
REST API
14
REST API for Luna 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
Bad request or unexpected error.
Device or route does not exist.
GET https://1.2.3.4:8443/api/lunasa/network/devices/eth0/routes/192.168.0.0_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": "192.168.0.0", "mask": 24, "gateway": "192.168.0.1", "metric": 50 }
Example on ipv6
{ "destination": "2000::18", "mask": 128, "gateway": "2000::1", "metric": 1 }