Hi Chitra,

You have to construct a ofp_flow_mod message (specified in openflow.h)
and send it to the switch.  In NOX, I typically use a boost shared
array to hold the message, then it is just a send_openflow_command.  I
cannot find a very clean segment of code, but you can look at
routing.cc for try to follow through it.

Regards
KK

2009/10/29 Chitra Muthukrishnan <[email protected]>:
> I believe the controller can specify many actions to be taken for a matching
> packet.
> I need a switch to send some packets to the controller and forward it to an
> output port.
> Can someone tell me how we can construct such rules with nox?
>
> -Chitra
>
> _______________________________________________
> 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

Reply via email to