def find_agent_host_id(this_host):
host_id = this_host<EOL>try:<EOL><INDENT>for root, dirs, files in os.walk('<STR_LIT>'):<EOL><INDENT>for fi in files:<EOL><INDENT>if '<STR_LIT>' in fi:<EOL><INDENT>host_id = '<STR_LIT>' + fi.split('<STR_LIT:->')[<NUM_LIT:2>]<EOL>break<EOL><DEDENT><DEDENT><DEDENT>return host_id<EOL><DEDENT>except IndexError:<EOL><INDENT>return host_id<EOL><DEDENT>
Returns the neutron agent host id for RHEL-OSP6 HA setup.