Beispiel #1
0
 def run(self, context, args, kwargs, opargs):
     volume = context.call_sync('zfs.pool.get_boot_pool')
     result = list(iterate_vdevs(volume['groups']))
     return Table(result, [
         Table.Column('Name', 'path'),
         Table.Column('Status', 'status')
     ])
Beispiel #2
0
 def run(self, context, args, kwargs, opargs):
     volume = self.parent.entity
     result = list(iterate_vdevs(volume['topology']))
     return Table(result, [
         Table.Column('Name', 'path'),
         Table.Column('Status', 'status')
     ])
Beispiel #3
0
 def run(self, context, args, kwargs, opargs):
     volume = self.parent.entity
     result = list(iterate_vdevs(volume["topology"]))
     return Table(result, [Table.Column("Name", "path"), Table.Column("Status", "status")])