Re: [openflow-discuss] Support Multiple Switches

2011-07-11 Thread Ben Pfaff
On Mon, Jul 11, 2011 at 09:25:36PM +0800, hzy wrote: > The tutorial says "modify your switch so that it stores a MAC-to-port table > for each DPID". so I define two MAC-to-port tables for two switches. > > self.mac_to_port_1 = {} # for DPID1 > self.mac_to_port_2 = {} # for DPID2 > > If I want to

[openflow-discuss] Support Multiple Switches

2011-07-11 Thread hzy
Yesterday I modified my controller to support multiple switches, according to OpenFlow_Tutorial( http://www.openflow.org/wk/index.php/OpenFlow_Tutorial#Support_Multiple_Switches). And it is succed, but I was still confusi