docs: def _get_interface_commands(self, sg_id, profile, delete=False):
          """Helper for getting interface ACL apply/remove commands"""
          rule_prefix = ""
          if delete:
              rule_prefix = "no "
          switch_cmds = {}
          switchports = self._get_switchports(profile)
          for switch_ip, intf in switchports:
              cmds = []
              intf_id = self._get_port_for_acl(intf, switch_ip)
              cmds.append("interface %s" % intf_id)
              name = self._acl_name(sg_id, n_const.INGRESS_DIRECTION)
              cmds.append(rule_prefix + "ip access-group %s %s" %
                          (name, a_const.INGRESS_DIRECTION))
              name = self._acl_name(sg_id, n_const.EGRESS_DIRECTION)
              cmds.append(rule_prefix + "ip access-group %s %s" %
                          (name, a_const.EGRESS_DIRECTION))
              cmds.append("exit")
              if switch_ip not in switch_cmds.keys():
                  switch_cmds[switch_ip] = []
              switch_cmds[switch_ip].extend(cmds)
          return switch_cmds