def _strip_host_index(self, name):
        return name[name.find('-') + 1:]
Strips the host index.
dataset/ETHPy150Open openstack/neutron/neutron/tests/functional/scheduler/test_dhcp_agent_scheduler.py/TestAutoSchedule._strip_host_index