#NEWLINE# def take_action( self , parsed_args ) : #NEWLINE# #INDENT# volume_client = self . app . client_manager . volume #NEWLINE# specs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# specs . update ( { #NEWLINE# #INDENT# 'consumer' : parsed_args . consumer , #NEWLINE# #UNINDENT# } ) #NEWLINE# if parsed_args . property : #NEWLINE# #INDENT# specs . update ( parsed_args . property ) #NEWLINE# #UNINDENT# qos_spec = volume_client . qos_specs . create ( parsed_args . name , specs ) #NEWLINE# return zip ( * sorted ( six . iteritems ( qos_spec . _info ) ) )