NSX-T Data Center REST API

DatapathStatsActionArgument (type)

{
  "id": "DatapathStatsActionArgument", 
  "module_id": "LiveTrace", 
  "properties": {
    "datapath_stats_type": {
      "description": "Type of datapath statistics action. UNI_DIRECTIONAL   - Perform the datapath statistics action for the traffic ingressed from the source logical port. BI_DIRECTIONAL   - Perform the datapath statistics action for the traffic ingressed from the source logical port and the destination logical port, respectively.", 
      "enum": [
        "UNI_DIRECTIONAL", 
        "BI_DIRECTIONAL"
      ], 
      "readonly": true, 
      "required": true, 
      "title": "Type of datapath statistics action", 
      "type": "string"
    }, 
    "dest_lport": {
      "description": "It is required only when the type of datapath statistics action is bidirectional.", 
      "readonly": true, 
      "required": false, 
      "title": "Destination logical port for bidirectional datapath statistics action", 
      "type": "string"
    }, 
    "reverse_filter": {
      "$ref": "LiveTraceFilterData, 
      "description": "It takes effect only when the type of datapath statistics action is bidirectional.", 
      "readonly": true, 
      "required": false, 
      "title": "Packet filter for flows of interest in reverse direction"
    }
  }, 
  "type": "object"
}