HP VAN SDN Controller REST API Guide
There is no request body.
Sample response
There is no response body.
Response codes
• Normal: No Content (204)
• Error: Unauthorized (401), Service Unavailable (503)
Diag/packets/{packet uid}/path
List the expected ordered path links that the packet shall take through the network
Sample request
List the expected ordered path links based on the specified packet identifier:
GET /sdn/v2.0/diag/packets/2/path
There is no request body for this API.
Sample response
The starting switch is identified by the source mac address of the packet.
The ending switch is identified by the destination mac address of the packet.
1 {"links": [
2 {
3 "src_dpid" : "00:00:00:00:00:00:00:01",
4 "src_port": "1",
5 "dst_port": "1",
6 "dst_dpid" : "00:00:00:00:00:00:00:03"
7 }
8 {
9 "src_dpid" : "00:00:00:00:00:00:00:03",
10 "src_port": "3",
11 "dst_port": "3",
12 "dst_dpid" : "00:00:00:00:00:00:00:05"
13 },
14 {
15 "src_dpid" : "00:00:00:00:00:00:00:05",
16 "src_port": "5",
17 "dst_port": "5",
18 "dst_dpid" : "00:00:00:00:00:00:00:07"
19 },
20 {
21 "src_dpid" : "00:00:00:00:00:00:00:07",
22 "src_port": "7",
23 "dst_port": "7",
24 "dst_dpid" : "00:00:00:00:00:00:00:13"
25 },
26 {
27 "src_dpid" : "00:00:00:00:00:00:00:13",
28 "src_port": "13",
29 "dst_port": "0",
30 "dst_dpid" : "00:00:00:00:00:00:00:13"
31 }
32 ]
33 }
78 /sdn/v2.0/net