Ejemplo n.º 1
0
 def describe(self):
     return TaskDescription("Migration of FreeNAS 9.x shares to 10.x")
Ejemplo n.º 2
0
 def describe(self, settings):
     return TaskDescription("Updating global network settings")
Ejemplo n.º 3
0
 def describe(self, id, updated_fields):
     return TaskDescription(
         "Updating configuration of network interface {name}", name=id)
Ejemplo n.º 4
0
 def describe(self, id, path):
     return TaskDescription(
         'Doing a rollback to the {snapshot} snapshot on the block device {name}',
         name=path.split('@', 1)[0],
         snapshot=path)
Ejemplo n.º 5
0
 def describe(self, volume):
     return TaskDescription("Indexing volume {name}", name=volume)
Ejemplo n.º 6
0
 def describe(self, id, path, new_size):
     return TaskDescription('Resizing the block device {name}', name=path)
Ejemplo n.º 7
0
 def describe(self, id, path):
     return TaskDescription(
         'Creating the block device {name} snapshot under {snapshot}',
         name=path.split('@', 1)[0],
         snapshot=path)
Ejemplo n.º 8
0
 def describe(self, connect):
     return TaskDescription('Connecting to the support server')
Ejemplo n.º 9
0
 def describe(self, connect):
     return TaskDescription('Disconnecting from the support server')
Ejemplo n.º 10
0
 def describe(self, rsyncd):
     return TaskDescription('Configuring Rsyncd service')
Ejemplo n.º 11
0
 def describe(self, path):
     return TaskDescription('Saving debug data to file: {filepath} in gzip format', filepath=path)
Ejemplo n.º 12
0
 def describe(self, uuid):
     rsyncmod = self.datastore.get_by_id('rsyncd-module', uuid)
     return TaskDescription(
         'Deleting rsync module {name}',
         name=rsyncmod.get('name', '') if rsyncmod else '')
Ejemplo n.º 13
0
 def describe(self, rsyncmod):
     return TaskDescription('Adding rsync module {name}',
                            name=rsyncmod.get('name', '') or '')
Ejemplo n.º 14
0
 def describe(self):
     return TaskDescription("Migration of FreeNAS 9.x settings to 10")
Ejemplo n.º 15
0
 def describe(self, id, path, size):
     return TaskDescription('Creating a block device {name}', name=path)
Ejemplo n.º 16
0
 def describe(self, fd):
     return TaskDescription('Collecting debug data')
Ejemplo n.º 17
0
 def describe(self, id, old_path, new_path):
     return TaskDescription(
         'Renaming the block device {name} to {new_name}',
         name=old_path,
         new_name=new_path)
Ejemplo n.º 18
0
 def describe(self, datastore):
     return TaskDescription('Creating the datastore {name}',
                            name=datastore['name'])
Ejemplo n.º 19
0
 def describe(self, id, path, new_path):
     return TaskDescription('Cloning the block device {name} to {new_name}',
                            name=path,
                            new_name=new_path)
Ejemplo n.º 20
0
 def describe(self, id):
     ds = self.datastore.get_by_id('vm.datastores', id) or {}
     return TaskDescription('Deleting the datastore {name}',
                            name=ds.get('name', ''))
Ejemplo n.º 21
0
 def describe(self, id, path):
     return TaskDescription('Deleting the block device snapshot {name}',
                            name=path)
Ejemplo n.º 22
0
 def describe(self, id, path):
     return TaskDescription('Creating the directory {name}', name=path)
Ejemplo n.º 23
0
 def describe(self, snmp):
     return TaskDescription('Configuring SNMP service')
Ejemplo n.º 24
0
 def describe(self, id, old_path, new_path):
     return TaskDescription('Renaming the directory {name} to {new_name}',
                            name=old_path,
                            new_name=new_path)
Ejemplo n.º 25
0
 def describe(self, dataset):
     return TaskDescription("Indexing dataset {name}", name=dataset)
Ejemplo n.º 26
0
 def describe(self, id, path, new_path):
     return TaskDescription('Cloning the directory {name} to {new_name}',
                            name=path,
                            new_name=new_path)
Ejemplo n.º 27
0
 def describe(self, iface):
     return TaskDescription("Creating {name} network interface",
                            name=iface['type'])
Ejemplo n.º 28
0
 def describe(self, id, path):
     return TaskDescription('Deleting the directory snapshot {name}',
                            name=path)
Ejemplo n.º 29
0
 def describe(self, id):
     return TaskDescription("Setting network interface {name} up", name=id)
Ejemplo n.º 30
0
 def describe(self):
     return TaskDescription("Migration of FreeNAS 9.x storage volumes (pools)")