

def reset_resources(self, resources, driver):
    'Reset the resources to their initial state.\n\n        Each plugin is called to reset its state. The resources data provided\n        is initial state gathered from the hypervisor. The driver is also\n        provided in case the plugin needs to obtain additional information\n        from the driver, for example, the memory calculation obtains\n        the memory overhead from the driver.\n\n        :param resources: the resources reported by the hypervisor\n        :param driver: the driver for the hypervisor\n\n        :returns: None\n        '
    if self._mgr.extensions:
        self._mgr.map_method('reset', self, driver)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/compute/resources/__init__.py ResourceHandler.reset_resources/VarMisuse@33/224 `resources`->`self`