def print_fs(host_fs):
 print '{} DCTB {} DCTB '.format('Datastore:     ', host_fs.volume.name)
 print '{} DCTB {} DCTB '.format('UUID:          ', host_fs.volume.uuid)
 print '{} DCTB {} DCTB '.format('Capacity:      ', sizeof_fmt(host_fs.volume.capacity))
 print '{} DCTB {} DCTB '.format('VMFS Version:  ', host_fs.volume.version)
 print '{} DCTB {} DCTB '.format('Is Local VMFS: ', host_fs.volume.local)
 print '{} DCTB {} DCTB '.format('SSD:           ', host_fs.volume.ssd)

def print_fs ( host_fs ) : print '{} DCTB {} DCTB ' . format ( 'Datastore:     ' , host_fs . volume . name ) print '{} DCTB {} DCTB ' . format ( 'UUID:          ' , host_fs . volume . uuid ) print '{} DCTB {} DCTB ' . format ( 'Capacity:      ' , sizeof_fmt ( host_fs . volume . capacity ) ) print '{} DCTB {} DCTB ' . format ( 'VMFS Version:  ' , host_fs . volume . version ) print '{} DCTB {} DCTB ' . format ( 'Is Local VMFS: ' , host_fs . volume . local ) print '{} DCTB {} DCTB ' . format ( 'SSD:           ' , host_fs . volume . ssd )
prints the host file system volume info .