#NEWLINE# @ cliutils . arg ( 'node' , metavar = '<node>' , help = 'Name or UUID of the node.' ) #NEWLINE# def do_node_get_supported_boot_devices( cc , args ) : #NEWLINE# #INDENT# 'Get the supported boot devices for a node.' #NEWLINE# boot_devices = cc . node . get_supported_boot_devices ( args . node ) #NEWLINE# boot_device_list = boot_devices . get ( 'supported_boot_devices' , [ ] ) #NEWLINE# boot_devices [ 'supported_boot_devices' ] = ', ' . join ( boot_device_list ) #NEWLINE# cliutils . print_dict ( boot_devices , wrap = 72 , json_flag = args . json )