swconfig: fix vlan/port configs being applied to all switches