Hello folks, I would like to get the flow entries length, because I am needing this information.
I tried using ovs-ofctl from mininet but it did not work. So I saw that I could use the ryu REST api for it, by using curl -X GET http://localhost:8080/stats/flow/1 where I was supposed to get the length information of the flow, as you can see by the example in: http://ryu.readthedocs.io/en/latest/app/ofctl_rest.html#get-all-flows-stats However what I am getting from using it is: ryu@ryu-vm:~$ curl -X GET http://localhost:8080/stats/flow/1 {"1": [{"actions": ["SET_FIELD: {eth_dst:00:00:00:00:00:01}", "SET_FIELD: {(Unknown field):192.168.1.200}", "SET_FIELD: {(Unknown field):192.168.1.100}", "OUTPUT:1"], "idle_timeout": 100, "cookie": 0, "packet_count": 7, "hard_timeout": 100, "byte_count": 581, "duration_nsec": 445000000, "priority": 10, "duration_sec": 13, "table_id": 0, "match": {"dl_type": 2048, "nw_proto": 6, "nw_src": "192.168.1.200", "in_port": 2, "nw_dst": "192.168.1.100"}}, {"actions": ["SET_FIELD: {eth_dst:00:00:00:00:00:02}", "SET_FIELD: {(Unknown field):192.168.1.100}", "SET_FIELD: {(Unknown field):192.168.1.200}", "OUTPUT:2"], "idle_timeout": 100, "cookie": 0, "packet_count": 5, "hard_timeout": 100, "byte_count": 12158, "duration_nsec": 448000000, "priority": 10, "duration_sec": 12, "table_id": 0, "match": {"dl_type": 2048, "nw_proto": 6, "nw_src": "192.168.1.100", "in_port": 1, "nw_dst": "192.168.1.200"}}, {"actions": ["OUTPUT:4294967293"], "idle_timeout": 0, "cookie": 0, "packet_count": 4, "hard_timeout": 0, "byte_count": 232, "duration_nsec": 94000000, "priority": 0, "duration_sec": 312, "table_id": 0, "match": {}}]} As you can see no length field in any of the flows. Best regards, -- Túlio Albuquerque Pascoal <https://br.linkedin.com/pub/t%C3%BAlio-pascoal/a0/2a9/b69> <http://lattes.cnpq.br/3973060880564786>
------------------------------------------------------------------------------
_______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
