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] [openflow-discuss] LAVI : Installing a sample flow in a open flow switch using NOX

2011-06-02 Thread kk yap
Hi, Starting with a rant: I believe this is related (or the same) as the thread on nox-dev (http://noxrepo.org/pipermail/nox-dev/2011-June/007611.html). It might be advisable not to cross-post questions. To be clear, LAVI is a GUI backend in NOX. And nox-gui.py and ENVI are the front end GUI.

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] Cannot find "nox-gui.py"

2011-06-02 Thread Kyriakos Zarifis
That's right, the message was showing because NOX needs to be running with the monitoring component for the GUI to function, and it worked because that component is in sample_routing's component dependency chain On Thu, Jun 2, 2011 at 10:03 AM, andrea simeoni wrote: > I solved the problem by runn

Re: [nox-dev] Cannot find "nox-gui.py"

2011-06-02 Thread andrea simeoni
I solved the problem by running the following ./nox-gui -p 6633 ./nox_core -i ptcp:6633 sample_routing Now everything seems being working :) 2011/6/2 andrea simeoni > Thank you for answering Kyriakos, > > I got the Destiny branch and can see now the script and Gui folder. > A this point I star

[nox-dev] Enable ip_forward on NOX controlled switches

2011-06-02 Thread Bill Liao
Hi, list I know this is a little bit off topic of this list. But I didn't manage to get into the openflow/openvswitch mailing list, and I wish I could get some hints here. Back to my question. What if I enable ip_forward on the openflow switch? Will the switch be messed u

Re: [nox-dev] Cannot find "nox-gui.py"

2011-06-02 Thread andrea simeoni
Thank you for answering Kyriakos, I got the Destiny branch and can see now the script and Gui folder. A this point I start NOX with a random component and setup a Mininet network controlled by NOX; now the command "./nox-gui.py" outputs the following: Retrying connection to NOX... Retrying conn

Re: [nox-dev] nox_core command line options

2011-06-02 Thread Balaji Venkataraman
Thanks to both of you. I've few more beginner questions, I'll start a new thread. -Balaji On Thu, Jun 2, 2011 at 7:07 AM, kk yap wrote: > This? :) > > http://noxrepo.org/~yapkke/doc/classnox_1_1lib_1_1core_1_1Component.html > > Regards > KK > > On 2 June 2011 00:45, Murphy McCauley wrote: > >

Re: [nox-dev] nox_core command line options

2011-06-02 Thread kk yap
This? :) http://noxrepo.org/~yapkke/doc/classnox_1_1lib_1_1core_1_1Component.html Regards KK On 2 June 2011 00:45, Murphy McCauley wrote: > Oh, great thought, KK! > > Note, however, that this does not show Python-only components. > > -- Murphy > > On Jun 2, 2011, at 12:41 AM, kk yap wrote: > >

Re: [nox-dev] Cannot find "nox-gui.py"

2011-06-02 Thread Kyriakos Zarifis
Hey Andrea, the gui is currently only available on the Destiny branch, not Zaku. If you're interested in grabbing the code from Destiny: http://noxrepo.org/noxwiki/index.php/NOX_Installation#Installation On Thu, Jun 2, 2011 at 2:02 AM, andrea simeoni wrote: > Hi guys, > > I've recently installe

[nox-dev] Cannot find "nox-gui.py"

2011-06-02 Thread andrea simeoni
Hi guys, I've recently installed "NOX 0.9.0 zaku", and I'm looking for the "nox-guy.py" file. The noxrepo page says it' s under the /src folder, but there is nothing. Maibe the gui is not available in my NOX release? Any suggestions? Best regards -- Andrea Simeoni _

Re: [nox-dev] flow expired event from openflow switch

2011-06-02 Thread 杨宇
Hi Murphy McCauley, Sorry, KK answer the question about Nox several days before, so I think, maybe KK is mainly for answer the question about Nox. Yes, I used the "delete_datapath_flow" before "install_datapath_flow", I need to change the Action of the flow entry, So I firs

Re: [nox-dev] flow expired event from openflow switch

2011-06-02 Thread Murphy McCauley
Well, I'm not KK, but if you'll accept a thought from just anyone... The most likely cause here is that one of the flow's timeouts is causing the flow to expire. There is an "idle timeout" (if the flow isn't matched within that period of time, the flow expires), and a "hard timeout" (the flow a

Re: [nox-dev] nox_core command line options

2011-06-02 Thread Murphy McCauley
Oh, great thought, KK! Note, however, that this does not show Python-only components. -- Murphy On Jun 2, 2011, at 12:41 AM, kk yap wrote: > For list of components, you can try this: > > http://noxrepo.org/~yapkke/doc/classvigil_1_1container_1_1Component.html > > Regards > KK > > On 2 June 2

Re: [nox-dev] nox_core command line options

2011-06-02 Thread kk yap
For list of components, you can try this: http://noxrepo.org/~yapkke/doc/classvigil_1_1container_1_1Component.html Regards KK On 2 June 2011 00:36, Murphy McCauley wrote: > Probably the best resource is on the wiki: > http://noxrepo.org/noxwiki/index.php/Using_NOX > > There is also a little ab

Re: [nox-dev] nox_core command line options

2011-06-02 Thread Murphy McCauley
Probably the best resource is on the wiki: http://noxrepo.org/noxwiki/index.php/Using_NOX There is also a little about it in the rst-based manual. The source for this in the repository (doc/manual/source/using.rst), and there's an old version online at http://noxrepo.org/manual/using.html .

[nox-dev] flow expired event from openflow switch

2011-06-02 Thread 杨宇
Hi, kk, When I use the nox funcion "install_datapath_flow " to send a flow entry to the switch , the switch has the following response, and also this flow entry dose not installed on the flow table , what's the reason? 00072|openflow-event|DBG:received flow expired event from 0003