Re: [nox-dev] Installing a flow using Nox onto a Openflow Switch

2011-06-02 Thread Balaji Venkataraman
Thanks for your reply. I'll try with ofctl and will seek out for help if I'm not able to progress. -Balaji On Thu, Jun 2, 2011 at 1:14 PM, Kyriakos Zarifis wrote: > Hey, > > I'm actually not sure that there's a general model, it depends a lot on > _when_ you want to install flows. NOX is essentia

Re: [nox-dev] Installing a flow using Nox onto a Openflow Switch

2011-06-02 Thread Kyriakos Zarifis
Hey, I'm actually not sure that there's a general model, it depends a lot on _when_ you want to install flows. NOX is essentially an event programming platform, meaning that it will typically do things when other things happen: It will generally edit flows when a signal is sent from the network. (

Re: [nox-dev] Installing a flow using Nox onto a Openflow Switch

2011-06-02 Thread Balaji Venkataraman
Thanks for your reply, can you please share with us any links or working model of such an application. It will be very useful to understand how to develop this and use it. Thanks and Regards, Balaji On Thu, Jun 2, 2011 at 12:17 PM, Kyriakos Zarifis wrote: > Hi, > > NOX does not currently have a

Re: [nox-dev] Installing a flow using Nox onto a Openflow Switch

2011-06-02 Thread Kyriakos Zarifis
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 t

Re: [nox-dev] Installing a flow using Nox onto a Openflow Switch

2011-06-02 Thread Balaji Venkataraman
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 s

Re: [nox-dev] Installing a flow using Nox onto a Openflow Switch

2011-06-02 Thread Kyriakos Zarifis
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

Re: [nox-dev] Installing a flow using Nox onto a Openflow Switch

2011-06-02 Thread kashyap TA
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

Re: [nox-dev] Installing a flow using Nox onto a Openflow Switch

2011-05-26 Thread Baohua Yang
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 wrote: > Hi, >I am running nox on my linux machine and I have a openflo

Re: [nox-dev] Installing a flow using Nox onto a Openflow Switch

2011-05-26 Thread Kyriakos Zarifis
Hi there, yes, you can edit the flow table programmatically from NOX please take a look at this: http://noxrepo.org/noxwiki/index.php/FAQ#How_can_I_edit_the_flow_table_of_a_switch.3F and also the rest of the info on the wiki should be useful. Let us know if this helps or you have more questions.

[nox-dev] Installing a flow using Nox onto a Openflow Switch

2011-05-26 Thread kashyap TA
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