PacketCaptureRequest
This type is used to create packet request on give node. Need to specify related parameters according to the capture point.
{
"capamount": 0,
"capcore": 0,
"capduration": 0,
"capfilesize": 0,
"capmode": "string",
"cappoint": "string",
"caprate": 0,
"capsnaplen": 0,
"capsource": "string",
"capvalue": "string",
"direction": "string",
"filtertype": "string",
"node": "string",
"node_ip": "string",
"options": {
"values": [
{
"name": "string",
"value": "string"
}
]
},
"streamaddress": "string",
"streamport": 0
}
Define the packet capture amount size.
The CPU core id on Edge node.
Define the packet capture duration time. After the capture duration time, the capture process will stop working.
Define the packet capture file size limit.
Define the capture streaming mode. The STREAM mode will send the data to given stream address and port. And the STANDALONE mode will save the capture file in local folder.
Define the point to capture data.
Define the rate of packet capture process.
Limit the number of bytes captured from each packet.
This type is used to differenite the incoming request from CLI/UI.
Define the capture value of given capture point.
Define the capture direction. Support three types INPUT/OUTPUT/DUAL.
Define the capture filter type. Support PRE/POST mode.
Define the transport node to capture data.
Define the transport node to capture data.
List of packet capture options to filter data in capture process.
Set the stream address to receive the capture packet.
Set the stream port to receive the capture packet. The STREAM mode is based on GRE-in-UDP Encapsulation(RFC8086). Packets are sent to UDP port 4754.