Re: [pox-dev] L2 and L3 calling from another

2013-11-15 Thread Amer
Thank you Durga I tried it with what you have said and I received same errors :( It is event.dpid from pox.forwarding.l2_multi import * I want to know how to do this if statement and it body, i.e., l2 and l3 classes calls. Should l write them in pox.py statement Ok if that, how is it switch f

Re: [pox-dev] L2 and L3 calling from another

2013-11-15 Thread durga
hello, is it really from pox.*forearding*.l2_multi import * and not 'from pox.forwarding.l2_multi import * also, dpid is an attribute of event, I think you can use event.dpid ==1, not sure if parsed packet has an attribute of dpid . Please use a debug / print to check value of p.dpid Cheers! Du

Re: [pox-dev] Help with energy efficiency with POX

2013-11-15 Thread Alison Chan
Hi Cleber, There was a project called Elastic Tree that deals with dynamic power management in OpenFlow controlled data centre networks. I can't link you directly because I'm on my mobile now, but there's a USENIX paper describing it. Hope this helps Cheers, Alison Chan, Kettering University +1 9

[pox-dev] Help with energy efficiency with POX

2013-11-15 Thread Cleber Araujo
Hello list! I am a beginner in the world of Mininet and openflow and I need some help on advanced operation. As a goal, I want to make a network with energy efficiency. I need to know: - How do I set power on each switch; - How can I route packets when a device is turned off; - How to collect the

[pox-dev] L2 and L3 calling from another

2013-11-15 Thread Amer
Hello, I want to create a handle packetin method, if the incoming packet is from specific switch run l2 if it from another run l3 What I did from pox.forearding.l2_multi import * def H_P (event): p = event.parsed If (p.dpid == "1"): sw= Switch() sw._handle_PacketIn(event) El

Re: [pox-dev] Version Openflow

2013-11-15 Thread Jose Pedro Oliveira
Janael, On 2013/11/15 13:18 , janael pinheiro wrote: what version of OpenFlow supported by pox? You can find the answer in the README file: https://github.com/noxrepo/pox It is also a good idea to skim over the Wiki page: https://openflow.stanford.edu/display/ONL/POX+Wiki Reagrds, jpo

[pox-dev] Version Openflow

2013-11-15 Thread janael pinheiro
what version of OpenFlow supported by pox? -- Antonio Janael Pinheiro Student of computer networks in the Federal University of CearĂ¡

Re: [pox-dev] Defining Dictionary in POX controller

2013-11-15 Thread Sayed Qaiser Ali Shah
Ok thank you I will check it out. On Fri, Nov 15, 2013 at 5:54 PM, Murphy McCauley wrote: > I'm just suggesting you work backwards to find the problem. Use Wireshark > to monitor the traffic to help determine where the duplicates are coming > from. If they're coming from a switch, I suggest yo

Re: [pox-dev] Defining Dictionary in POX controller

2013-11-15 Thread Murphy McCauley
I'm just suggesting you work backwards to find the problem. Use Wireshark to monitor the traffic to help determine where the duplicates are coming from. If they're coming from a switch, I suggest you inspect the table on that switch to see which table entry the switch. Then analyze the OpenFl

Re: [pox-dev] Defining Dictionary in POX controller

2013-11-15 Thread Sayed Qaiser Ali Shah
Thank you so much. Yes you are right about what you said but is there is any other way, so that I can do this. I can read individual entries statically but the problem is I want to get it dynamic. Like I can print individual entries by using: print self.macaddrtable[1] print self.macaddrtable[2] p

Re: [pox-dev] Defining Dictionary in POX controller

2013-11-15 Thread Murphy McCauley
On Nov 15, 2013, at 2:20 AM, Sayed Qaiser Ali Shah <11msitqs...@seecs.edu.pk> wrote: > Hello Murphy actually I am working on Traffic Engineering. I am now learning > that how to forward traffic when we have dictionary on controller. I want to > forward some entries of dictionary via queue-1 an

Re: [pox-dev] Defining Dictionary in POX controller

2013-11-15 Thread Sayed Qaiser Ali Shah
Hello Murphy actually I am working on Traffic Engineering. I am now learning that how to forward traffic when we have dictionary on controller. I want to forward some entries of dictionary via queue-1 and some entries via queue-2. For this I have created dictionary and it created successfully with