HI HP-SDN Team,
Im not able to delete a specific flow from HP_VAN controller.
COntroller version used is:2.0.0.4253( Trial Version)
Curl Command used is: curl -Lk -v -DELETE --header "X-Auth-Token: bf9ad321555f41e4852e2ce7fa31a450 " --header Content-Type:application/json -d '{"flow": {"priority": 7779,"table_id": 0,"idle_timeout": 60,"hard_timeout": 60,"cookie": "0xf","out_port" :12","flow_mod_cmd": "delete","match": [{"eth_type": "ipv4"}]}}' --url " https:// 127.0.0.1:8443/sdn/v2.0/of/datapaths/$dpid/flows"
Switch used: Openflow reference switch(v1.3)
Controller Logs:
* upload completely sent off: 153out of 153 bytes
< HTTP/1.1 400 Bad Request
< Server: Apache-Coyote/1.1
< X-FRAME-OPTIONS: deny
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET, POST, PUT, HEAD, PATCH
< Access-Control-Allow-Headers: Content-Type, Accept, X-Auth-Token
< Content-Type: application/json
< Transfer-Encoding: chunked
< Date: Thu, 19 Jun 2014 05:03:45 GMT
< Connection: close
<
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
{"error":"java.lang.IllegalArgumentException","message":"Bad command"}=== Flow Tables for each = 00:00:00:00:00:00:01:11
Am i missing something here, Kindly help us to know. Your response would help me out in my observation.