![]() |
REST API
14
REST API for Luna Network HSMs
|
Object name: Object type: string description: name is the network device identifier (eg. eth0, eth1, eth2, eth3, bond0, bond1). mac: Object type: string description: mac is the hardware address of the device. type: Object type: string description: type is the type of network device. state: Object type: string description: state is the specifier for network device connection status (eg. 'active' or 'inactive'). ip4: Object type: string description: ip4 is the location of the ip4 configuration for the device. ip6: Object type: string description: ip6 is the location of the ip6 configuration for the device. routes: Object type: string description: routes is the location of the routes. stats: Object type: string description: stats is the location of packet stats. dns: Object type: string description: dns is the location of dns resources. actions: Object type: string description: action is the location of device actions resources. classes: Object type: string description: classes is the location of device classes resources. measurementStats:Object type: string description: measurementStats is the location of measurementStats resource.
GET /api/lunasa/network/devices/{deviceid}/routes
GET /api/lunasa/network/devices/{deviceid}/ip4
GET /api/lunasa/network/devices/{deviceid}/ip6
GET /api/lunasa/network/devices/{deviceid}/stats
GET /api/lunasa/network/devices/{deviceid}/dns
GET /api/lunasa/network/devices/{deviceid}/actions
GET /api/lunasa/network/devices/{deviceid}/classes
GET /api/lunasa/network/devices/{deviceid}/measurementStats