code: def remove_all_static_host_mappings():
      
  
      LOG.debug("remove_host_mapping() called")
      session = bc.get_writer_session()
      try:
          mapping = _lookup_all_host_mappings(
                        session=session,
                        is_static=True)
          for host in mapping:
              session.delete(host)
          session.flush()
      except c_exc.NexusHostMappingNotFound:
          pass
docs: Remove all entries defined in config file from mapping data base.