Re: [pox-dev] Has anyone actually used TCPTransport

2013-04-11 Thread kk yap
Thanks. I will give (3) a shot. Hopefully I will not have to fall back to (2). Regards KK On 11 April 2013 18:26, Murphy McCauley wrote: > That's a good question, and I don't know of a clear winner for all cases or > anything. Here's some pro/con: > > 1: select() loop > + It's mostly just pl

Re: [pox-dev] Has anyone actually used TCPTransport

2013-04-11 Thread Murphy McCauley
That's a good question, and I don't know of a clear winner for all cases or anything. Here's some pro/con: 1: select() loop + It's mostly just plain old Python. - Have to worry about multithreading type issues. If asynchronous communication between this IO loop thread and cooperative Tasks (li

Re: [pox-dev] Has anyone actually used TCPTransport

2013-04-11 Thread kk yap
Which would you recommend? Btw, I do want the socket to be capable of supporting both client and server sockets. Regards KK On 11 April 2013 17:58, Murphy McCauley wrote: > There have only been a few users of the modern (betta) version, AFAIK. But > the messenger component is specifically JSO

Re: [pox-dev] Has anyone actually used TCPTransport

2013-04-11 Thread Murphy McCauley
There have only been a few users of the modern (betta) version, AFAIK. But the messenger component is specifically JSON-oriented. If you want to do binary messages, you can: 1) Write a plain old socket server thing that runs on another thread (i.e. a select() loop) and interacts with the coop

Re: [pox-dev] GUI for POX

2013-04-11 Thread Murphy McCauley
Hey, KK. On Apr 11, 2013, at 5:11 PM, kk yap wrote: > I am trying to figure out is POX's betta branch supports any GUI. None are *supported*. :) The older branch included a GUI based on the one in NOX. With betta, a decision was made to not include any GUI in POX itself, so the old GUI should

[pox-dev] Has anyone actually used TCPTransport

2013-04-11 Thread kk yap
Hi, Has anyone actually used messenger.TCPTransport? My goal is to handle TCP connections with binary messages. So, I am hoping that I can reuse this component. Any advice is appreciated. Regards KK

Re: [pox-dev] GUI for POX

2013-04-11 Thread kk yap
Ignore this. I found the documentation at https://github.com/MurphyMc/poxdesk/wiki/Getting-Started. Regards KK On 11 April 2013 17:11, kk yap wrote: > Hi, > > I am trying to figure out is POX's betta branch supports any GUI. I > tried POXDesk (https://github.com/MurphyMc/poxdesk) but that is >

[pox-dev] GUI for POX

2013-04-11 Thread kk yap
Hi, I am trying to figure out is POX's betta branch supports any GUI. I tried POXDesk (https://github.com/MurphyMc/poxdesk) but that is looking for WebServer and MessengerNexus_of_service, both of which I have failed to locate. I am clearly green with POX here, so some help is appreciated. Than

Re: [pox-dev] POX on planetlab

2013-04-11 Thread Murphy McCauley
I still don't entirely understand your topology; it seems like you're doing something a bit unusual. Are the nodes in your topology switches or hosts? Or both (that is, they're acting as hosts running services or hosting users or whatever, but they've also got OVS installed)? If they're switc

Re: [pox-dev] POX on planetlab

2013-04-11 Thread Kouvakas Alexandros
I will try to explain to you what I am trying to do with a different example. Let's say that we have the topology below[image: Ενσωματωμένη εικόνα 1] Let's say that I choose to ping from host .2 to the host .5. For some reason (possibly due to traffic or something else) I choose to instruct the pa

Re: [pox-dev] Installing flows on POX controller.

2013-04-11 Thread Kouvakas Alexandros
I have installed ovs and pox controller on vm-swtich sudo ovs-vsctl show sudo ovs-vsctl add-br lan0 sudo ovs-vsctl add-port lan0 eth1 sudo ovs-vsctl add-port lan0 eth2 sudo ovs-vsctl add-port lan0 eth3 sudo ovs-vsctl set-controller lan0 tcp:127.0.0.1:6633 I am also a begin