POST /debugvirtualservice
/debugvirtualservice
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.
DebugVirtualService object creation
Show optional properties
{
"name": "string"
}
{
"_last_modified": "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
}
}
]
},
"cloud_ref": "string",
"debug_hm": "string",
"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"
}
}
]
},
"dns_options": {
"domain_name": [
"string"
],
"gslb_service_name": [
"string"
]
},
"flags": [
{
"flag": "string"
}
],
"latency_audit_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
},
"name": "string",
"objsync": {
"trigger_initial_sync": false
},
"resync_flows": false,
"se_params": {
"se_refs": [
"string"
]
},
"tenant_ref": "string",
"url": "string",
"uuid": "string"
}
OK
"DebugVirtualService Object"
UNIX time since epoch in microseconds. Units(MICROSECONDS).
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
capture_filters
capture_params
capture_pkt_filter
It is a reference to an object of type Cloud. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
This option controls the capture of Health Monitor flows. Enum options - DEBUG_VS_HM_NONE, DEBUG_VS_HM_ONLY, DEBUG_VS_HM_INCLUDE. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
debug_ip
dns_options
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
latency_audit_filters
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
objsync
This option re-synchronizes flows between Active-Standby service engines for all the virtual services placed on them. It should be used with caution because as it can cause a flood between Active-Standby. Field introduced in 18.1.3,18.2.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
se_params
It is a reference to an object of type Tenant. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
url
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
log in failed
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string"}' https://{api_host}/api/debugvirtualservice