Right, it doesn't have an attribute for DPID. You send the message to a particular switch. To select which switch it goes to, you can either use that switch's particular Connection object, or you can use core.openflow.sendToDPID(). This has been in the OpenFlow section of the manual, though I've just reorganized and extended it somewhat; it's now in the section "The OpenFlow Nexus".
-- Murphy On Mar 22, 2014, at 12:13 AM, farshad tajedin <farshad.taje...@gmail.com> wrote: > hi all > i want to setup flow entry in my switches with their dpid. i use > example in pox wiki (ofp_flow_mod()) but it has't attribute for dpid , > please help > -- > Best Regards > > Farshad Tajedin