FlowMod:
  FlowModMissing:
    message:
      header:
        version: 4
        type: OFPT_FLOW_MOD
        length: 8
        xid: 0
    expectation: false
    description: FlowMod missing fields
  FlowMod:
    message:
      header:
        version: 4
        type: OFPT_FLOW_MOD
        length: 8
        xid: 0
      cookie: '0000000000000000'
      cookie_mask: '0000000000000000'
      table_id: 0
      command: OFPFC_ADD
      idle_timeout: 0
      hard_timeout: 0
      priority: 0
      buffer_id: 0
      out_port: 0
      out_group: 0
      flags: [OFPFF_SEND_FLOW_REM, OFPFF_RESET_COUNTS]
      match:
        length: 4
        type: OFPMT_OXM
    expectation: true
    description: FlowMod message
  FlowModMatch:
    message:
      header:
        version: 4
        type: OFPT_FLOW_MOD
        length: 8
        xid: 0
      cookie: '0000000000000000'
      cookie_mask: '0000000000000000'
      table_id: 0
      command: OFPFC_ADD
      idle_timeout: 0
      hard_timeout: 0
      priority: 0
      buffer_id: 0
      out_port: 0
      out_group: 0
      flags: [OFPFF_SEND_FLOW_REM, OFPFF_RESET_COUNTS]
      match:
        type: OFPMT_OXM
        length: 4
    expectation: true
    description: FlowMod message with match
  FlowModOxm:
    message:
      header:
        version: 4
        type: OFPT_FLOW_MOD
        length: 8
        xid: 0
      cookie: '0000000000000000'
      cookie_mask: '0000000000000000'
      table_id: 0
      command: OFPFC_ADD
      idle_timeout: 0
      hard_timeout: 0
      priority: 0
      buffer_id: 0
      out_port: 0
      out_group: 0
      flags: [OFPFF_SEND_FLOW_REM, OFPFF_RESET_COUNTS]
      match:
        type: OFPMT_OXM
        length: 4
        oxm_fields:
          - oxm_class: OFPXMC_OPENFLOW_BASIC
            oxm_field: OFPXMT_OFB_ETH_DST
            oxm_hasmask: false
            oxm_value: aabbccddeeff
            oxm_mask: ''
            oxm_length: 6
    expectation: true
    description: FlowMod message with Match, Oxm
