[nox-dev] Adding flows using python code.

2010-11-21 Thread Kavitesh Singh
Hi, How do you add flows in the python controller. One way to achieve this is to add using dpctl tool. I want to know if there are some inbuilt functions to call such command in python code? Also, can someone verify my understanding: After starting mininet and NOX controller, I would add

Re: [nox-dev] Adding flows using python code.

2010-11-21 Thread Murphy McCauley
Yes, NOX can manipulate the flow table of a switch, for example by using the install_datapath_flow() method of components. A good example of this is in pyswitch.py, and you can find some additional information here: http://openflow.org/wk/index.php/GEC8Tutorial#Sending_OpenFlow_messages Your

[nox-dev] Adding Flows

2010-11-20 Thread Rohit Manohar
I want to add a flow. Where should I do it? I open a xterm for an openflow switch and run sechhan to connect it to a Nox-controller. If i want to run dpctl, I need to first stop seechan and hence I lose the connection with the nox-controller. Regards, -- Rohit Manohar Graduate Student North

Re: [nox-dev] Adding Flows

2010-11-20 Thread Murphy McCauley
I'd suggest you open a second xterm or use tmux or screen to multiplex your current one. -- Murphy On Nov 20, 2010, at 11:25 AM, Rohit Manohar wrote: I want to add a flow. Where should I do it? I open a xterm for an openflow switch and run sechhan to connect it to a Nox-controller. If i