Hi Amar,

there is no CLI for setting up flows through NOX..
In order to do something like that you can use an external tool like dpct or
ovsctl (depending on what kind of switch you are using)

The point of NOX, and any controller, is to do the same thing
programmatically. You install flows by crafting flow_mod packets (in your
code) and sending them to switches. Flow_mod packets are used to
add/modify/remove flow entries on a switch. For adding new flow entries, you
give those flow_mod packets a flow description (match), and the action(s) to
be performed on a packet that arrives on the switch that matches that
description.

If you say your ping goes through, you are probably using a NOX component
that sets up those flow entries. (what kind of switch are you using?)
So you can look at the code of the component you are running to see what it
does to craft those packets and set up flow entries on the switch.
On of the simpler examples of this is in the component "switch" or
"pyswitch"

Hope this helps

On Thu, Aug 11, 2011 at 9:42 PM, amarnath v <amarnath...@gmail.com> wrote:

> Hi Team,
> First of all congrts for developing such a grt controller.
> But i see NOX controller wont support CLI and i tired to work with WEB
> which is not user friendly.
>
> Can you please let me know how to control the flows using NOX.I tired using
> web but it is effecting nox.core.
>
> My topology:
> -----------------
>
> H1 ---- Openflow enabled switch---H2
>                  |
>                  |
>           NOX Controller
>
> I am doing the ping from H1 to H2 , ping is success and openflow displays
> the flows.
> I captured OFP packets at controller, but now i dont have any idea how to
> set the action for this flows in NOX.
>
>
> Thanks,
> Amar
>
> _______________________________________________
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev
>
>
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to