

def snapshot_instance(self, ctxt, instance, image_id):
    cctxt = self.client.prepare(version='1.24')
    cctxt.cast(ctxt, 'snapshot_instance', instance=instance, image_id=image_id)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/cells/rpcapi.py CellsAPI.snapshot_instance/original