Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
276
-
High
Description
0. Add a flow
1. Using the FlowProgrammer NB API delete the flow
DELETE http://localhost:8080/controller/nb/v2/flowprogrammer/default/node/MD_SAL/openflow:1/staticFlow/0
2. Check RESTCONF
http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/0
Flow is not present
3. Check the switch
sudo ovs-ofctl -O OpenFlow13 dump-flows s1
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=879.098s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=5109,ip,in_port=1,nw_src=9.9.1.2 actions=output:1
Flow is still there - should be gone