def run_pre(self, name, args, kwargs, f=None):
        self._run(name=name, method_type='pre', args=args, kwargs=kwargs,
                  func=f)
Execute optional pre methods of loaded hooks.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/hooks.py/HookManager.run_pre