Added default for max_ports_per_switch