def get_final_available_vlan_range(self, vlan_range_len):
        intersection=list(self.current_intersection)
        rand = random.randrange(0, (len(intersection) - vlan_range_len))
        if intersection[rand] == (intersection[rand + vlan_range_len] - vlan_range_len):
            return intersection[rand:(rand + vlan_range_len)]
        else:
            self.get_final_available_vlan_range(vlan_range_len)
dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/plugins/openflow/plugin/vlan/manager.py/VlanManager.get_final_available_vlan_range/original