HP VAN SDN Controller Administrator Guide

82
"mac": "ee:22:95:a5:d5:22",
"vid": 0,
"dpid": "00:00:00:00:00:00:00:0a",
"port": 1
},
{
"ip": "10.0.0.8",
"mac": "e6:12:8e:f9:03:64",
"vid": 0,
"dpid": "00:00:00:00:00:00:00:08",
"port": 1
},
{
"ip": "10.0.0.7",
"mac": "12:94:57:f7:cb:66",
"vid": 0,
"dpid": "00:00:00:00:00:00:00:07",
"port": 1
},
{
"ip": "10.0.0.4",
"mac": "82:a3:85:71:63:bf",
"vid": 0,
"dpid": "00:00:00:00:00:00:00:04",
"port": 1
}
]
}
3. Register a packet which needs to be injected in the network for tracing the path. For example TCP
packet with destination port as 21.
POST https://<controller_ip>:8443/sdn/v2.0/diag/packets
Request body:
{"packet": {
"type": "TCP",
"eth": {
"eth_dst": "00:00:00:00:00:05",
"eth_src": "00:00:00:00:00:06",
"eth_type": "IPv4"
},
"ip": {
"ipv4_dst": "10.0.0.5",
"ipv4_src": "10.0.0.6",
"ip_proto": "TCP",
"ip_dscn": "CS0",
"ip_scn": "NOT_ECT"
},
"tcp": {