Hi, NOX does not currently have a command line or a way to manage flow tables non-programmatically. (However, it is something worth considering for the future, as it looks like a few people have expressed interest in something like that. It can be a command line or a more interactive way through the GUI.)
For now, you'd have to write your own application like you said (or use ofctl) On Thu, Jun 2, 2011 at 12:09 PM, Balaji Venkataraman <[email protected]>wrote: > I was about to ask the same question, I'm using openvswitch and able to > apply flows using ovs-ofctl from command line in the switch environment. How > can one do the same from the NOX? Do we need to write our own application > for using openflow or does NOX have any way of configuring the flow to the > switch? > > Thanks and Regards, > Balaji > > > On Thu, Jun 2, 2011 at 11:23 AM, Kyriakos Zarifis > <[email protected]>wrote: > >> If you want to proactively install flow entries a reasonable place to put >> the code that does it might be the handler of datapath_join, in your >> component. This code runs when a new switch connects to NOX, and the >> switch's information is passed to the handler through the event. >> >> If that doesn't work for want you want to do, maybe you can describe when >> exactly you want to install flows >> >> >> On Thu, Jun 2, 2011 at 11:05 AM, kashyap TA <[email protected]> wrote: >> >>> Hi All, >>> Yes, I tried doing a component, but there is one problem. As long >>> as I understand the python component, it get a data packet and from that it >>> get some info and then progemas a flow. >>> >>> In my case, All I need to do it program a flow in the switch using the >>> NOX where I say if it is from a particular port say "portA" with a mac >>> address"ab:cd:de:ef" and vlan "10" then forward it to "portB" on else flood >>> to all the ports. I am not sure we can just install flows into the box with >>> out getting a datat packet. The swith is a openflow hardware enabled switch. >>> >>> >>> Please let me know. If anybody has a sample flow it would be great. >>> Please do let me know. >>> >>> Thanks and Regards >>> Kashyap >>> On Thu, May 26, 2011 at 4:41 PM, Baohua Yang <[email protected]>wrote: >>> >>>> NOX doesn't provide a CLI, so you might have to write a APP to setup >>>> your routing rules. >>>> See here for more information of how to write a simple APP. >>>> http://noxrepo.org/noxwiki/ >>>> >>>> On Thu, May 26, 2011 at 1:09 PM, kashyap TA <[email protected]>wrote: >>>> >>>>> Hi, >>>>> I am running nox on my linux machine and I have a openflow enabled >>>>> hardware switch. I am able to initiate a connection between the Nox >>>>> Controller and the hardware switch. I need to push some flows on to the >>>>> Switch from the NOX controller. Can I do that? and if so how ? I am not >>>>> able >>>>> to find any help guide. I am new to Nox controller. Can some body help. >>>>> >>>>> I just need to push a flow which says, if the packet comes from a >>>>> particular port, push it out on a particular port. >>>>> >>>>> >>>>> Please do let me know. >>>>> >>>>> >>>>> Thanks and Regards >>>>> Kashyap >>>>> _______________________________________________ >>>>> nox-dev mailing list >>>>> [email protected] >>>>> http://noxrepo.org/mailman/listinfo/nox-dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> Best wishes! >>>> Baohua >>>> >>>> >>> >>> _______________________________________________ >>> nox-dev mailing list >>> [email protected] >>> http://noxrepo.org/mailman/listinfo/nox-dev >>> >>> >> >> _______________________________________________ >> nox-dev mailing list >> [email protected] >> http://noxrepo.org/mailman/listinfo/nox-dev >> >> >
_______________________________________________ nox-dev mailing list [email protected] http://noxrepo.org/mailman/listinfo/nox-dev
