#NEWLINE# @ put ( '/:hypervisor/:host/guests/:guest_id/snapshots/:snapshot_id/revert' ) #NEWLINE# def snapshot_revert( hypervisor , host , guest_id , snapshot_id ) : #NEWLINE# #INDENT# '\n    Remove a snapshot for a given guest_id and snapshot_id\n\n    ::\n\n      PUT /:hypervisor/:host/guests/:guest_id/snapshots/:snapshot_id/revert\n\n    ' #NEWLINE# response . content_type = 'application/json' #NEWLINE# manager = create_manager ( hypervisor , host ) #NEWLINE# snapshot_revert = manager . snapshot_revert ( guest_id , snapshot_id ) #NEWLINE# manager . logout ( ) #NEWLINE# return json . dumps ( guest_id )