Details
-
Improvement
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
Operating System: Linux
Platform: PC
Description
While trying the push the flow via cURL command as follows:
curl --user "admin":"admin" -H "Accept: application/json" -H "Content-type: application/json" -X POST http://127.0.0.1:8080/controller/nb/v2/flow/default/OF/10:20:00:00:00:00:00:01/new-flow -d '{"installInHw":"true","name":"new-flow","node":
{"@id":"10:20:00:00:00:00:00:01","@type":"OF"},"ingressPort":"3","priority":"500","nwSrc":"192.168.1.1","actions":"OUTPUT=2"}'
Result:
1.It is working fine when the "action":"OUTPUT=2" is provided as an argument.[OK]
2.dump-flows is displaying the correct action type.[OK]
3.The ODC(command line) is displaying the correct action type[OK]
4.ODC GUI is showing the correct flow with proper action type.[OK]
But while trying the push the flow via cURL command as follows(pushing the flow with "action":"ENQUEUE=3:1"):
curl --user "admin":"admin" -H "Accept: application/json" -H "Content-type: application/json" -X POST http://127.0.0.1:8080/controller/nb/v2/flow/default/OF/10:20:00:00:00:00:00:01/new-flow -d '{"installInHw":"true","name":"new-flow","node":
{"@id":"10:20:00:00:00:00:00:01","@type":"OF"},"ingressPort":"3","priority":"500","nwSrc":"192.168.1.1","actions":"ENQUEUE=3:1"}'
Issues found are described below:
1.dump-flows is displaying the action type as DROP.[NOT OK]
2.The ODC(command line) is not displaying the correct action type. It is displaying as empty[NOT OK]
3.ODC GUI is showing the correct flow with proper action type. May be it is skipping[OK]
Please provide the support to set the flow with ENQUEUE as an action type