Just to follow up on my own message, I don't understand how it's getting
the wrong value in out_port. Here's the code in send_flow_command in
pycontext.cc:
ofm->out_port = htons(OFPP_NONE);
ofm->priority = htons(priority);
ofm->reserved = htonl(0);
if (actions.size() > 0) {
::memcpy(ofm->actions, actions.data(), actions.size());
}
It's definitely setting the outport to OFPP_NONE.
Glen Gibb wrote:
Hi all,
Just a quick heads-up that calling install_datapath_flow from python
seems to result in a bogus value in out_port. Not critical since this
is an ADD FLOW command but perhaps it should be cleaned up?
Attached is a capture of a flow mod from pyswitch. Note that the
OpenFlow control channel is 2525.
Glen
------------------------------------------------------------------------
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org