Re: [pox-dev] POX TCPTransport

2013-05-02 Thread Igor Ryzhov
I would be great. пятница, 3 мая 2013 г. пользователь Murphy McCauley писал: > In a couple weeks if y'all want to ping me on this issue, maybe I can put > together a helpful example. > > -- Murphy > > On May 1, 2013, at 11:43 AM, kk yap wrote: > > > Hi Igor, > > > > (cc-ing pox-dev) > > > > I did

Re: [pox-dev] setting link options

2013-05-02 Thread Murphy McCauley
Whether you post it here or elsewhere, that error message is not that helpful. If you get a stack trace, you should post the whole thing. -- Murphy On May 2, 2013, at 3:11 PM, Balázs Németh wrote: > Hi all! > > I would like to set a link some options (bandwidth), on one of my topos. > I trie

Re: [pox-dev] h1 ping h3 from mininet via POX controller not working as expected.

2013-05-02 Thread Murphy McCauley
I'd suggest you look at the packets. There's a packet dump app in POX, or you could use wireshark on the control channel (and/or on one of the host interfaces). Though you should still see at least two (the ping and the pong). -- Murphy On May 2, 2013, at 10:23 PM, Karthik Sharma wrote: > so

Re: [pox-dev] h1 ping h3 from mininet via POX controller not working as expected.

2013-05-02 Thread Karthik Sharma
sorry I had added a -c1 at the end of the command. mininet> h1 ping h3 On 3 May 2013 17:16, Murphy McCauley wrote: > Ping sends packets from A to B, and B sends them back to A. Ping does > this continually until you stop it unless you specify a limit on the > commandline. > > Since you're i

Re: [pox-dev] h1 ping h3 from mininet via POX controller not working as expected.

2013-05-02 Thread Murphy McCauley
Ping sends packets from A to B, and B sends them back to A. Ping does this continually until you stop it unless you specify a limit on the commandline. Since you're installing flows, you'd actually expect them to start hitting the flow table and stop hitting the switch, but the fewest you could

[pox-dev] h1 ping h3 from mininet via POX controller not working as expected.

2013-05-02 Thread Karthik Sharma
I have mininet configured with a remote POX controller running.The configuration of mininet network is as shown below h1 (eth0) --- s2(eth1) s2(eth2) -- h3(eth0) where h1: eth0 is ca:bc:2e:0c:5a:52 h2: eth0 is 0a:79:40:89:44:cf The packet handli

Re: [pox-dev] [ovs-discuss] Configuration and communication problems

2013-05-02 Thread Ben Pfaff
On Thu, May 02, 2013 at 08:14:27PM -0300, Mayumi Park Campos wrote: > I alreday debug and the problem is in the ovs, I know is the > configuration but I don't know what I could do to make it right? You asked essentially the same question a few days ago. I gave you some advice but I don't see any

[pox-dev] Configuration and communication problems

2013-05-02 Thread Mayumi Park Campos
Hi all, The last weeks I been having this problem and I don't know how to fix it. I been trying to emulate an openflow switch in a PC with Ubuntu 12.04, this pc has three NIC with this configuration: eth0 Link encap:Ethernet direcciónHW 00:14:22:4b:5e:60 Direc. inet:192.168

Re: [pox-dev] Delete flows from queue when its full

2013-05-02 Thread Sayed Qaiser Ali Shah Shah
No no, I got you point regarding queues. I am talking about flow entries in flow table e.g lets say that flow entries reach 40 then is there anyway to delete entries from flow table by sending some sort of command from remote controller. and how that command should be initiated? On Fri, May 3, 201

Re: [pox-dev] POX TCPTransport

2013-05-02 Thread Murphy McCauley
In a couple weeks if y'all want to ping me on this issue, maybe I can put together a helpful example. -- Murphy On May 1, 2013, at 11:43 AM, kk yap wrote: > Hi Igor, > > (cc-ing pox-dev) > > I did not have much luck reusing the select loop in POX. I ended up > (in my mind) with the worst opt

Re: [pox-dev] Delete flows from queue when its full

2013-05-02 Thread Murphy McCauley
On May 2, 2013, at 3:52 PM, Sayed Qaiser Ali Shah Shah wrote: > Thanks for your reply. > > So, is it possible to delete flow entries from OVS flow table when it reached > some limit by sending some sort of command from POX controller? When what reaches a limit? The flow table size? Or are you

Re: [pox-dev] query from sqlalchemy returns AttributeError: 'NoneType' object

2013-05-02 Thread Murphy McCauley
You do... session.query(exists().where(SourcetoPort.src_address == str(packet.dst))).scalar() Do exists() queries always return true or false? In that case, your if statement would ALWAYS be true. On the other hand, if dropping the exists... session.query(where(SourcetoPort.src_address == str(

Re: [pox-dev] Delete flows from queue when its full

2013-05-02 Thread Sayed Qaiser Ali Shah Shah
Thanks for your reply. So, is it possible to delete flow entries from OVS flow table when it reached some limit by sending some sort of command from POX controller? On Fri, May 3, 2013 at 3:32 AM, Murphy McCauley wrote: > It sounds like you're talking about monitoring and manipulating the > cont

Re: [pox-dev] setting link options

2013-05-02 Thread Murphy McCauley
Just as a quick sanity check -- are you sure you're running the right version of Mininet (or at least the latest one)? You may also find more help on the Mininet mailing list. There's obviously crossover in users between the two, but this question isn't actually about POX and is about Mininet.

Re: [pox-dev] Delete flows from queue when its full

2013-05-02 Thread Murphy McCauley
It sounds like you're talking about monitoring and manipulating the contents of queues, which is a very fine-grained operation that must operate at very small timescales. This isn't addressed by OpenFlow and probably isn't suitable for a remote controller. OpenFlow allows for assigning packets

[pox-dev] query from sqlalchemy returns AttributeError: 'NoneType' object

2013-05-02 Thread Karthik Sharma
Hi I have a funciton act_like_switch defined below. def act_like_switch (self, packet, packet_in): """ Implement switch-like behavior. """ # Learn the port for the source MAC #print "RECIEVED FROM PORT ",packet_in.in_port , "SOURCE ",packet.src # create a Session #Sessi

Re: [pox-dev] setting link options

2013-05-02 Thread wyu
Where is your code? But let me guess you want to pass the arguments straight to addLink?Did you try handling the arguments before handing them over to addLink? Sent on

[pox-dev] setting link options

2013-05-02 Thread Balázs Németh
Hi all! I would like to set a link some options (bandwidth), on one of my topos. I tried it the way is shown in the corresponding mininet API example: https://github.com/mininet/mininet/blob/master/examples/simpleperf.py#L30 I am making a simple custom topology, not using the API. But it won't wo

[pox-dev] Delete flows from queue when its full

2013-05-02 Thread Sayed Qaiser Ali Shah Shah
Hello Everybody, I am working on queues in OVS and using POX controller. I have created queues in OVS and am assigning flows to Queues via POX controller. I can delete flows from OVS manually but I want to do is dynamically delete flows from queue, so that controller tells OVS to delete specific f

Re: [pox-dev] POX on planetlab

2013-05-02 Thread Shouren Yang
I guess the problem is caused by fail_mode of Open vSwitch configuration. Have you ever checked the fail_mode configuration? Was it secure or standalone? On Thu, May 2, 2013 at 4:18 PM, Kouvakas Alexandros wrote: > The problem in my case is that even 1-2 minutes after having stopped the > POX c

Re: [pox-dev] POX on planetlab

2013-05-02 Thread Kouvakas Alexandros
The problem in my case is that even 1-2 minutes after having stopped the POX controller, I still have pings. Despite the fact that there are no flows in the flow table, I still have pings. In order to stop having pings I need to delete the bridge from the switch and recreate it again. 2013/5/1 Sa