code: def ip_link_delete(session, name):
      
      intf = ip_link_show(session, ifname=name)
      if not intf:
          LOG.debug('Interface "%s" does not exist', name)
          return None
  
      session.delete(intf)
  
      return name
docs: Deletes an interface record from Zebra protocol service database.
  
      The arguments are similar to "ip link delete" command of iproute2.
  
      :param session: Session instance connecting to database.
      :param name: Name of interface.
      :return: Name of interface which was deleted. None if failed.