def volume_to_dataset(volume):
 return ('%s.%s' % (volume.node_id.encode('ascii'), volume.name.to_bytes()))

def volume_to_dataset ( volume ) : return ( '%s.%s' % ( volume . node_id . encode ( 'ascii' ) , volume . name . to_bytes ( ) ) )
convert a volume to a dataset name .