PUT /debugserviceengine/{uuid}
/debugserviceengine/{uuid}
UUID of the object to fetch
object name
Avi Tenant Header
Avi Tenant Header UUID
The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
DebugServiceEngine object creation
{
"_last_modified": "string",
"benchmark_action": "string",
"benchmark_layer": "string",
"benchmark_option": "string",
"benchmark_rss_hash": "string",
"capture": false,
"capture_filters": {
"capture_ip": {
"addrs": [
{
"addr": "string",
"type": "string"
}
],
"match_operation": "string",
"prefixes": [
{
"ip_addr": {
"addr": "string",
"type": "string"
},
"mask": 0
}
],
"ranges": [
{
"begin": {
"addr": "string",
"type": "string"
},
"end": {
"addr": "string",
"type": "string"
}
}
]
},
"capture_ipc": {
"flow_del_probe": false,
"flow_mirror_add": false,
"flow_mirror_all": false,
"flow_mirror_del": false,
"flow_probe": false,
"flow_probe_all": false,
"ipc_batched": false,
"ipc_rx_req": false,
"ipc_rx_res": false,
"ipc_tx_req": false,
"ipc_tx_res": false,
"vs_hb": false
},
"dst_port_end": 0,
"dst_port_start": 0,
"eth_proto": "string",
"ip_proto": "string",
"src_port": 0,
"src_port_range_end": 0,
"tcp_ack": false,
"tcp_fin": false,
"tcp_push": false,
"tcp_syn": false
},
"capture_params": {
"capture_file_size": {
"absolute_size": 0,
"percentage_size": 0
},
"duration": 0,
"enable_ssl_session_key_capture": false,
"file_count": 0,
"num_pkts": 0,
"pcap_ng": false,
"pkt_size": 0
},
"capture_pkt_filter": {
"capture_tcp_filters": [
{
"dst_port_range": {
"dst_port_end": 0,
"dst_port_start": 0,
"match_operation": "string"
},
"eth_proto": "string",
"host_ip": {
"addrs": [
{
"addr": "string",
"type": "string"
}
],
"match_operation": "string",
"prefixes": [
{
"ip_addr": {
"addr": "string",
"type": "string"
},
"mask": 0
}
],
"ranges": [
{
"begin": {
"addr": "string",
"type": "string"
},
"end": {
"addr": "string",
"type": "string"
}
}
]
},
"src_port_range": {
"match_operation": "string",
"src_port_end": 0,
"src_port_start": 0
},
"tcpflag": {
"filter_op": "string",
"match_operation": "string",
"tcp_ack": false,
"tcp_fin": false,
"tcp_push": false,
"tcp_rst": false,
"tcp_syn": false
}
}
]
},
"cpu_shares": [
{
"cpu": 0,
"shares": 0
}
],
"debug_ip": {
"addrs": [
{
"addr": "string",
"type": "string"
}
],
"match_operation": "string",
"prefixes": [
{
"ip_addr": {
"addr": "string",
"type": "string"
},
"mask": 0
}
],
"ranges": [
{
"begin": {
"addr": "string",
"type": "string"
},
"end": {
"addr": "string",
"type": "string"
}
}
]
},
"enable_kdump": false,
"enable_rpc_timing_profiler": false,
"fault": {
"faults": [
{
"arg": 0,
"fault_name": "string",
"function_name": "string",
"num_executions": 0,
"num_skips": 0
}
],
"se_malloc_fail_frequency": 0,
"se_malloc_fail_type": 0,
"se_mbuf_cl_sanity": false,
"se_shm_malloc_fail_frequency": 0,
"se_shm_malloc_fail_type": 0,
"se_waf_alloc_fail_frequency": 0,
"se_waf_learning_alloc_fail_frequency": 0
},
"flags": [
{
"flag": "string"
}
],
"name": "string",
"seagent_debug": [
{
"log_every_n": 0,
"log_level": "string",
"sub_module": "string",
"trace_level": "string"
}
],
"selogagent_debug": {
"log_every_n": 0,
"log_level": "string",
"sub_module": "string",
"trace_level": "string"
},
"tenant_ref": "string",
"trace_memory": {
"trace_malloc_types": [
{
"malloc_type_index": 0
}
],
"trace_shm_malloc_types": [
{
"shm_malloc_type_index": 0
}
]
},
"url": "string",
"uuid": "string"
}
OK
"DebugServiceEngine Object"
UNIX time since epoch in microseconds. Units(MICROSECONDS).
Action to be invoked at configured layer. Enum options - SE_BENCHMARK_MODE_DROP, SE_BENCHMARK_MODE_REFLECT. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Toggle and configure the layer to benchmark performance. This can be done at a specific point in the SE packet processing pipeline. Enum options - SE_BENCHMARK_LAYER_NONE, SE_BENCHMARK_LAYER_POST_VNIC_RX, SE_BENCHMARK_LAYER_POST_FT_LOOKUP, SE_BENCHMARK_LAYER_NSP_LOOKUP, SE_BENCHMARK_LAYER_PRE_PROXY_PUNT, SE_BENCHMARK_LAYER_POST_PROXY_PUNT, SE_BENCHMARK_LAYER_ETHER_INPUT, SE_BENCHMARK_LAYER_IP_INPUT, SE_BENCHMARK_LAYER_UDP_INPUT, SE_BENCHMARK_LAYER_POST_L2_PROCESSING, SE_BENCHMARK_LAYER_POST_BUILD_KEY_LITE. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Configure different reflect modes. Enum options - SE_BENCHMARK_REFLECT_SWAP_L4, SE_BENCHMARK_REFLECT_SWAP_L2, SE_BENCHMARK_REFLECT_SWAP_L3. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
RSS Hash function to be used for packet reflect in TX path. Enum options - SE_BENCHMARK_DISABLE_HASH, SE_BENCHMARK_RTE_SOFT_HASH. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Enable/disable packet capture. Field introduced in 18.2.2. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
capture_filters
capture_params
capture_pkt_filter
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
debug_ip
Enables the use of kdump on SE. Requires SE Reboot. Applicable only in case of VM Based deployments. Field introduced in 18.2.10, 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Enable profiling time for certain RPC calls. Field introduced in 22.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
fault
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
selogagent_debug
It is a reference to an object of type Tenant. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
trace_memory
url
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
log in failed
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/debugserviceengine/{uuid}