BinaryPacketData (type)

{
  "additionalProperties": false, 
  "extends": {
    "$ref": "PacketData
  }, 
  "id": "BinaryPacketData", 
  "module_id": "Traceflow", 
  "polymorphic-type-descriptor": {
    "type-identifier": "BinaryPacketData"
  }, 
  "properties": {
    "frame_size": {
      "default": 128, 
      "description": "If the requested frame_size is too small (given the payload and traceflow metadata requirement of 16 bytes), the traceflow request will fail with an appropriate message.  The frame will be zero padded to the requested size.", 
      "maximum": 1000, 
      "minimum": 60, 
      "required": false, 
      "title": "Requested total size of the (logical) packet in bytes", 
      "type": "integer"
    }, 
    "payload": {
      "description": "Up to 1000 bytes of payload may be supplied (with a base64-encoded length of 1336 bytes.) Additional bytes of traceflow metadata will be appended to the payload. The payload must contain all headers (Ethernet, IP, etc). Note that VLAN is not supported in the logical space. Hence, payload must not contain 802.1Q headers.", 
      "maxLength": 1336, 
      "required": false, 
      "title": "RFC3548 compatible base64 encoded full payload", 
      "type": "string"
    }, 
    "resource_type": {
      "default": "FieldsPacketData", 
      "enum": [
        "BinaryPacketData", 
        "FieldsPacketData"
      ], 
      "required": true, 
      "title": "Packet configuration", 
      "type": "string"
    }, 
    "routed": {
      "description": "When this flag is set, traceflow packet will have its destination overwritten as the gateway address of the logical router to which the source logical switch is connected. More specifically: - For ARP request, the target IP will be overwritten as gateway IP if the target   IP is not in the same subnet of gateway. - For ARP response, the target IP and destination MAC will be overwritten as   gateway IP/MAC respectively, if the target IP is not in the same subnet of gateway. - For IP packet, the destination MAC will be overwritten as gateway MAC.", 
      "required": false, 
      "title": "Awareness of logical routing", 
      "type": "boolean"
    }, 
    "transport_type": {
      "default": "UNICAST", 
      "description": "This type takes effect only for IP packet.", 
      "enum": [
        "BROADCAST", 
        "UNICAST", 
        "MULTICAST", 
        "UNKNOWN"
      ], 
      "required": false, 
      "title": "Transport type of the traceflow packet", 
      "type": "string"
    }
  }, 
  "type": "object"
}