def _extract_index(self, name):
        return int(name.split('-')[-1])
Extracts the index number and returns.
dataset/ETHPy150Open openstack/neutron/neutron/tests/functional/scheduler/test_dhcp_agent_scheduler.py/TestAutoSchedule._extract_index