List all observations by the specified packet identifier:
List all observations by the specified packet type:
There is no request body for this API.
{ "observations":[ { "dpid":"00:00:00:00:00:00:00:01", "type":"TCP", "packet_uid":"1", "status":"OK" }, { "dpid":"00:00:00:00:00:00:00:01", "type":"UDP", "packet_uid":"2" }, { "dpid":"00:00:00:00:00:00:00:02", "type":"UDP", "packet_uid":"2" }, { "dpid":"00:00:00:00:00:00:00:03", "type":"UDP", "packet_uid":"2" }, { "dpid":"00:00:00:00:00:00:00:03", "type":"DHCP", "packet_uid":"3" }, { "dpid":"00:00:00:00:00:00:00:03", "type":"ICMP", "packet_uid":"4" } ] }
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
{ "observation":{ "dpid":"00:00:00:00:00:00:00:01", "packet_uid":"1" } }
{ "observation":{ "dpid":"00:00:00:00:00:00:00:01", "packet_uid":"1" } }
Normal: Created (201)
Error: Bad Request (400), Unauthorized (401), Service Unavailable (503)
List all observations by the specified packet type:
There is no request body for this API.
{ "packets":[ { "uid":"1", "eth":{ "eth_src":"01:01:01:01:01:01", "eth_dst":"02:02:02:02:02:02", "eth_type":"0x0800(IPv4)", "vlan_vid":"100", "vlan_priority":"PRIORITY_5" }, "ip":{ "ipv4_dst":"10.0.100.102", "ipv4_src":"10.0.100.101", "ip_proto":"TCP", "ip_dscn":"CS0", "ip_scn":"NOT_ECT" }, "tcp":{ "tcp_dst":80, "tcp_src":12345 } }, { "uid":"2", "eth":{ "eth_src":"01:01:01:01:01:01", "eth_dst":"02:02:02:02:02:02", "eth_type":"0x0800(IPv4)", "vlan_vid":"100", "vlan_priority":"PRIORITY_5" }, "ip":{ "ipv4_dst":"10.0.100.102", "ipv4_src":"10.0.100.101", "ip_proto":"UDP", "ip_dscn":"CS0", "ip_scn":"NOT_ECT" }, "udp":{ "udp_dst":152, "udp_src":12345 } }, { "uid":"3", "eth":{ "eth_dst":"FF:FF:FF:FF:FF:FF", "eth_src":"00:1E:0B:AE:D3:BE", "eth_type":"0x0800(IPv4)" }, "ip":{ "ipv4_dst":"10.0.100.102", "ipv4_src":"10.0.100.101", "ip_proto":"ICMP", "ip_dscn":"CS0", "ip_scn":"NOT_ECT" }, "icmp":{ "icmp_type_code":"ECHO_REQ" } }, { "uid":"4", "eth":{ "eth_dst":"FF:FF:FF:FF:FF:FF", "eth_src":"00:1E:0B:AE:D3:BE", "eth_type":"0x0800(IPv4)" }, "ip":{ "ipv4_dst":"10.0.100.102", "ipv4_src":"10.0.100.101", "ip_proto":"UDP", "ip_dscn":"CS0", "ip_scn":"NOT_ECT" }, "udp":{ "udp_src":68, "udp_dst":67 }, "dhcp":{ "opcode":"BOOT_REQ", "boot_flags":"BROADCAST", "client_ip":"0.0.0.0", "your_client_ip":"0.0.0.0", "next_server_ip":"0.0.0.0", "relay_agent_ip":"0.0.0.0", "client_mac":"00:1E:0B:AE:D3:BE", "options":[ { "type":"DISCOVER" }, { "parameter_request_list":[ "SUBNET_MASK", "HOST_NAME" ] } ] } } ] }
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
{ "packet":{ "type":"UDP", "eth":{ "eth_src":"01:01:01:01:01:01", "eth_dst":"02:02:02:02:02:02", "eth_type":"IPv4", "vlan_vid":"100", "vlan_priority":"PRIORITY_5" }, "ip":{ "ipv4_dst":"10.0.100.102", "ipv4_src":"10.0.100.101", "ip_proto":"UDP", "ip_dscn":"CS0", "ip_scn":"NOT_ECT" }, "udp":{ "udp_dst":152, "udp_src":12345 } } }
{ "packet":{ "uid":"2", "eth":{ "eth_src":"01:01:01:01:01:01", "eth_dst":"02:02:02:02:02:02", "eth_type":"0x0800(IPv4)", "vlan_vid":"100", "vlan_priority":"PRIORITY_5" }, "ip":{ "ipv4_dst":"10.0.100.102", "ipv4_src":"10.0.100.101", "ip_proto":"UDP", "ip_dscn":"CS0", "ip_scn":"NOT_ECT" }, "udp":{ "udp_dst":152, "udp_src":12345 } } }
Normal: Created (201)
Error: Bad Request (400), Unauthorized (401), Service Unavailable (503)
List the packet with the specified packet identifier:
There is no request body for this API.
{ "packet":{ "uid":"2", "eth":{ "eth_src":"01:01:01:01:01:01", "eth_dst":"02:02:02:02:02:02", "eth_type":"0x0800(IPv4)", "vlan_vid":"100", "vlan_priority":"PRIORITY_5" }, "ip":{ "ipv4_dst":"10.0.100.102", "ipv4_src":"10.0.100.101", "ip_proto":"UDP", "ip_dscn":"CS0", "ip_scn":"NOT_ECT" }, "udp":{ "udp_dst":152, "udp_src":12345 } } }
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
List the expected ordered path links based on the specified packet identifier:
There is no request body for this API.
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.
{ "links":[ { "src_dpid":"00:00:00:00:00:00:00:01", "src_port":"1", "dst_port":"1", "dst_dpid":"00:00:00:00:00:00:00:03" }, { "src_dpid":"00:00:00:00:00:00:00:03", "src_port":"3", "dst_port":"3", "dst_dpid":"00:00:00:00:00:00:00:05" }, { "src_dpid":"00:00:00:00:00:00:00:05", "src_port":"5", "dst_port":"5", "dst_dpid":"00:00:00:00:00:00:00:07" }, { "src_dpid":"00:00:00:00:00:00:00:07", "src_port":"7", "dst_port":"7", "dst_dpid":"00:00:00:00:00:00:00:13" }, { "src_dpid":"00:00:00:00:00:00:00:13", "src_port":"13", "dst_port":"0", "dst_dpid":"00:00:00:00:00:00:00:13" } ] }
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Service Unavailable (503)