Re: [pox-dev] Build MAC list

2013-11-23 Thread Murphy McCauley
Have you tried a simple test? pox.py log.level --DEBUG proto.dhcpd:default -- Murphy On Nov 23, 2013, at 2:11 PM, AMER wrote: > Hello, > > I tried the following: > > pox.py forwarding.l2_multi openflow.discovery proto.dhcpd > --network=10.1.1.0/24 --ip=10.0.0.4 --first=10 > in l2_multi,

Re: [pox-dev] Build MAC list

2013-11-23 Thread Murphy McCauley
The OpenFlow controller can "discover" OpenFlow switches because the switches *explicitly come and tell the controller that they exist*. Hosts don't do this. To see hosts, they need to send packets which can be observed from the controller via packet-in. Your statement about needing them to p

[pox-dev] FW: Build MAC list

2013-11-23 Thread AMER
Hello, I tried the following: pox.py forwarding.l2_multi openflow.discovery proto.dhcpd --network=10.1.1.0/24 --ip=10.0.0.4 --first=10 in l2_multi, from pox.lib.packet.dhcp import * under Switch() class I added core.DHCPD.addListenerByName('DHCPLease', _H_hate_)def _H_hate_ (self, event):

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

2013-11-23 Thread Murphy McCauley
Like the rest of OpenFlow, it's described in the OpenFlow specification: http://archive.openflow.org/documents/openflow-spec-v1.0.0.pdf Also, if you google "OFPFF_SEND_FLOW_REM pox" you should get several examples of setting the flag. In the POX wiki manual, there is some description of the Flow

Re: [pox-dev] Build MAC list

2013-11-23 Thread Amer
Thank you This means I should ping each host in the network to get the packets. I want something automatic like openflow discovery to discover the clients. I have another question: What does DHCP request message has (i.e., attributes)? In POX not in general. Best regards, Amer Sent from my iPhon

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

2013-11-23 Thread Sayed Qaiser Ali Shah
I tried to used OFPFF_SEND_FLOW_REM flag and also searched on net but didn't get any specific answer. Please tell me how to use this flag? or give me a link from which I can get help. Thanks On Sat, Nov 23, 2013 at 7:28 PM, Sayed Qaiser Ali Shah < 11msitqs...@seecs.edu.pk> wrote: > I think so. I

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

2013-11-23 Thread Sayed Qaiser Ali Shah
I think so. I want to delete entry from dictionary defined on controller. Thanks. I will try this. On Sat, Nov 23, 2013 at 11:04 AM, Murphy McCauley wrote: > > On Nov 22, 2013, at 12:57 PM, Sayed Qaiser Ali Shah < > 11msitqs...@seecs.edu.pk> wrote: > > Hello Murphy McCauley, > > I solved the du

Re: [pox-dev] Build MAC list

2013-11-23 Thread durga
Hi Amer, I am not too sure if I understand your question,but to my current learning, all the above fields can be collected as in_port.src (mac ID), event.dpid (switch connection) and event.port( inport). Cheers! Durga On Sat, Nov 23, 2013 at 10:47 PM, Amer wrote: > Hello, > > I want to colle

[pox-dev] Build MAC list

2013-11-23 Thread Amer
Hello, I want to collect MAC addresses of each host in the network and switch they connect to and port number. I think about DHCP and openflow discovery, but I do not know how to combine them. Best regards, Amer