Hi Niky,

According to noxrepo/src/nox/coreapps/pyrt/context.i,
context.send_openflow_buffer takes dpid, bufid, actions and in_port,
while you also passed buf.
So you got the arguments number mismatch error.

- DK

On Thu, Jul 15, 2010 at 7:38 AM, Niky Riga <nr...@bbn.com> wrote:
> Hi,
> I am running nox_core of version
>
> NOX 0.8.0~full~beta (nox_core), compiled Jun 21 2010 18:34:36
> Compiled with OpenFlow 0x01
>
> I have a controller, written in python, that tries to send out a packet on
> multiple ports of the switch.
>
> My understanding is that the send_openflow() fxn can take a list of actions,
> instead of just one but when I try to do that I get an error.
> The code that I am using is :
>
> for p in ports :
>   if p is not inport :
>       actions.append([openflow.OFPAT_OUTPUT, [0, p]])
> inst.send_openflow(dpid, bufid, buf, actions, inport)
>
> and the error I get is :
>
> NotImplementedError: Wrong number of arguments for overloaded function
> 'PyContext_send_openflow_buffer'
>
> Any idea what I am doing wrong?
>
> Thanks,
> niky
>
> _______________________________________________
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to