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 controll 4 or more switches, I need to define 4 or more tables?

I'd suggest using a hash table instead of multiple named tables.
_______________________________________________
openflow-discuss mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to