Hello,

I would like my module to receive a list of installed flows from an OpenFlow switch. I already managed to receive the majority of that information by utilizing the python flow fetcher app, but unfortunately it won't show the actions associated with the flows.

pyglue.cc says that the action information is not implemented yet and points at Flow_stats. From Flow_stats' v_actions I can get the action header and from that the action type by adding pyglue_setdict_string(dict, "actionlen", to_python(ntohs(fs.v_actions[0].len))); to pyglue's to_python(const Flow_stats& fs) method, but after that I am stuck and can't find a way to get to information like the outport of a OFPAT_OUTPUT action.

Moreover, it is irritating that the specification states that ofp_flow_stats has an item 'actions', which is an array of ofp_action_header elements. Does this imply, that there is no way to get the actual ofp_action_output / ofp_action_enqueue / etc. information?

So, is there a way to receive the complete action information?

Best regards,

Stanislav Lange


_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to