def remove_all_static_host_mappings():
LOG.debug("<STR_LIT>")<EOL>session = bc.get_writer_session()<EOL>try:<EOL><INDENT>mapping = _lookup_all_host_mappings(<EOL>session=session,<EOL>is_static=True)<EOL>for host in mapping:<EOL><INDENT>session.delete(host)<EOL><DEDENT>session.flush()<EOL><DEDENT>except c_exc.NexusHostMappingNotFound:<EOL><INDENT>pass<EOL><DEDENT>
Remove all entries defined in config file from mapping data base.