#NEWLINE# def do_service_list( cs , args ) : #NEWLINE# #INDENT# 'Print a list of magnum services.' #NEWLINE# mservices = cs . mservices . list ( ) #NEWLINE# columns = ( 'id' , 'host' , 'binary' , 'state' ) #NEWLINE# utils . print_list ( mservices , cs , { #NEWLINE# #INDENT# 'versions' : magnum_utils . print_list_field ( 'versions' ) , #NEWLINE# #UNINDENT# } )