Noun | URI | Verb | Query parameters | Comments | OF version |
Clusters | /clusters | GET | | List all loop-free clusters | 1.3 |
/clusters/{cluster_uid}/tree | GET | | Get information on a given cluster tree | 1.3 |
Links | /links | GET | dpid | List all links. If dpid is presented, list all neighboring links with respect to that dpid. | |
Paths | /paths/forward | GET | src_dpid, dest_dpid | Get forward path between the given source and destination (match not supported for this version of the HP VAN SDN Controller) | |
Nodes | /nodes | GET | vid, node_ip, dpid, port_id | List all managed hosts | |
Diagnostics | /diag/observations | GET | packet_uid, packet_type | List all observation posts | |
/diag/observations | POST | | Create a new observation post | |
/diag/observations | DELETE | | Delete an observation post | |
/diag/packets | GET | Type | List all packets | |
/diag/packets | POST | | Create a packet (type=<tcp, udp, icmp, dhcp, icmpv6, dhcpv6) | |
/diag/packets/ {packet_uid} | GET | | Get info on a packet | |
/diag/packets/ {packet_uid} | DELETE | | Delete a packet | |
/diag/packets/ {packet_uid} /path | GET | | Get the expected ordered path links based on the packet uid | |
/diag/packets/ {packet_uid}/nexthop | GET | src_dpid | Get the next hop switch based on the packet uid and the current dpid that the packet is at | |
/diag/packets/ {packet_uid}/action | POST | | Take an action (e.g., “simulate”) on a packet | |
Devices | /devices | GET | | List all devices discovered | |
/devices/{uid} | GET | Id of the device | List details of a specific device matching the Id | |
/devices/{uid}/interfaces | GET | Id of the device | List all interfaces associated to the device matching the Id | |
/devices/{uid} | DELETE | Id of the device | Delete the device matching the Id | |
Keys | /keys/{type} | GET | Key type – SNMP or NETCONF | List all keys matching the type | |
/keys/{type}/description/{description} | GET | Key type, description of the key | List details of the key matching the description | |
/keys/ | POST | | Add a device key | |
/keys/{type}/description/{description} | DELETE | Key type, description of the file | Delete a key matching type and description | |