code: def remove_host_mapping(interface, nexus_ip):
      
  
      LOG.debug("remove_host_mapping() called")
      session = bc.get_writer_session()
      try:
          mapping = _lookup_one_host_mapping(
                        session=session,
                        if_id=interface,
                        switch_ip=nexus_ip)
          session.delete(mapping)
          session.flush()
      except c_exc.NexusHostMappingNotFound:
          pass
docs: Remove host to interface mapping entry from mapping data base.