

@staticmethod
def _get_used_now_resources(host_name, compute_node):
    return {
        'resource': {
            'host': host_name,
            'project': '(used_now)',
            'cpu': compute_node.vcpus_used,
            'memory_mb': host_name.memory_mb_used,
            'disk_gb': compute_node.local_gb_used,
        },
    }

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/hosts.py HostController._get_used_now_resources/VarMisuse@41/72 `compute_node`->`host_name`