#NEWLINE# def run( self , **kwargs ) : #NEWLINE# #INDENT# LOG . debug ( 'creation of vm snapshots' ) #NEWLINE# state_to_record = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for vm in self . get_list_of_vms ( ) : #NEWLINE# #INDENT# state_to_record . update ( { #NEWLINE# #INDENT# self . id : vm . status , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# return { #NEWLINE# #INDENT# self . namespace_variable : state_to_record , #NEWLINE# 'rollback_vars' : { #NEWLINE# #INDENT# 'vms' : [ ] , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# }