'Retrieve resource information.
This method is called when nova-compute launches, and as part of a
periodic task.
:param nodename: Node from which the caller wants to get resources.
A driver that manages only one node can safely ignore
this.
:return: Dictionary describing resources.'

def get_available_resource(self, nodename):

    self.host_wrapper = pvm_ms.System.get(self.adapter)[0]
    data = pvm_host.build_host_resource_from_ms(self.host_wrapper)
    data['local_gb'] = self.disk_dvr.capacity
    data['local_gb_used'] = self.disk_dvr.capacity_used
    return data
