It defined the out_port as fsr.out_port = ntohs(OFPP_NONE);
so it did not take my value into account.
I added
PyObject* out_port = PyDict_GetItemString(pyfsr, "out_port");
if (out_port) {
~ fsr.out_port = ntohs(from_python<uint16_t>(out_port));
}
to read the out_port value from python.
Now it works, I can filter by out_port!
Does anyone know why out_port is not read from python?
Originally we modeled the python from the match object. A patch would
be happily accepted!
.martin
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org