Create Openflow flows -Create Cookie

Create Openflow flows - Create Cookie

POST https://<NSP Server>:8543/sdn/api/v3/openflow/flows

Request:

{
  "data": [
    {
      "applicationId": "1002",
      "priority": 10,
      "cookie": "0x1234567890123456",
      "datapathId": "0x000128BBFF000000",
      "tableId": "0"
    }
  ]
}

Response:

{
  "status": 0,
  "startRow": 0,
  "endRow": 1,
  "totalRows": 1,
  "data": [
    {
      "flowId": "cf2e8cb2-3a32-4029-ac92-3812c1c78343",
      "datapathId": "0x000128BBFF000000",
      "tableId": 0,
      "cookie": "0x1234567890123456",
      "priority": 10,
      "applicationId": 1002,
      "applicationGroupId": 0,
      "lifecycle": "DEPLOYED",
      "auditstate": "NOT_DONE",
      "openflowMatch": {
        "ethernetType": null,
        "ipProtocolType": null,
        "sourceIpAddress": null,
        "sourcePort": null,
        "destIpAddress": null,
        "destPort": null
      },
      "openflowInstruction": {
        "instructionType": "CLEAR_ACTIONS",
        "actions": null
      }
    }
  ]
}