<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def run_per_switch_cmds(self, switch_cmds):
 """Applies cmds to appropriate switches This takes in a switch->cmds mapping and runs only the set of cmds specified for a switch on that switch. This helper is used for applying/removing ACLs to/from interfaces as this config will vary from switch to switch. """

        for switch_ip, cmds in switch_cmds.items():
            switch = self._switches.get(switch_ip)
            self.run_openstack_sg_cmds(cmds, switch)