def _extract_state_from_instance(self, instance):

        uuid = instance['uuid']
        vm_state = instance['vm_state']
        task_state = instance['task_state']
        os_type = instance['os_type']
        project_id = instance['project_id']

        self.states[uuid] = dict(vm_state=vm_state, task_state=task_state,
                                 os_type=os_type, project_id=project_id)

        return (vm_state, task_state, os_type, project_id)
Convert sequence of numbers into pairs of low-high pairs
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/compute/stats.py/Stats._extract_state_from_instance--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/matrices/expressions/blockmatrix.py/bounds