Re: [nox-dev] Running Lavi

2011-09-20 Thread Aaron Rosen
It seems like maybe the string is too long and it's getting truncated. {"type":"lavi","link_type":"sw2sw","links":[{"src id":"e840026f140a800","dst port":"33","dst id":"e84002347c8bc00","dst type":"switch","src type":"switch","src port":"32"},{"src id":"e840026f140a800","dst port":"33","dst id":"e

Re: [nox-dev] Running Lavi

2011-09-20 Thread kk yap
Seems like an invalid JSON string is being returned. See what you get when you print sock.recv(4096). Regards KK On 20 September 2011 21:13, Aaron Rosen wrote: > Thanks kk, > Quick question, I'm getting the following error with getlinks any idea? >  getnodes works fine though. > arosen@laptop ~

Re: [nox-dev] Running Lavi

2011-09-20 Thread Aaron Rosen
Thanks kk, Quick question, I'm getting the following error with getlinks any idea? getnodes works fine though. arosen@laptop ~/devel/nox/src/scripts $ python nox-console.py -n awesome -p 11222 getlinks Traceback (most recent call last): File "nox-console.py", line 104, in print simplejs

Re: [nox-dev] Running Lavi

2011-09-20 Thread kk yap
Hi Aaron, LAVI in the zaku branch uses a new JSON format and a different port. nox-gui.py in the destiny branch is another example. More is said here: http://www.openflow.org/wk/index.php/LAVI Regards KK On 20 September 2011 15:09, Aaron Rosen wrote: > Hello, > I was thinking about writing a

Re: [nox-dev] NOX routing question

2011-09-20 Thread kk yap
Hi David, I have not thought through the entire solution space, but you would need to handle the Ethernet addresses too? I suspect you can achieve the solution by changing only the controller. The solution would be cool. Hope to see someone put something out. Even a rough solution would be coo

[nox-dev] Running Lavi

2011-09-20 Thread Aaron Rosen
Hello, I was thinking about writing a front end that could integrate with Lavi (the way envi does). Right now I'm just playing around with them. Anyone know how to run lavi and connect envi? I tired doing ./nox_core -i ptcp:6633 lavi but envi keeps telling me that it cannot connect. If i do ./nox

Re: [nox-dev] NOX routing question

2011-09-20 Thread kk yap
Hi David, AFAIK the information on the mailing list has been fairly consistent. The answers then to differ depending on what you mean by a basic router. So your confusion is understandable. If you want to "route" between two points in the network, i.e., inserting all the flow rules on the affect