Beispiel #1
0
 def describe(self):
     return TaskDescription("Migration of FreeNAS 9.x shares to 10.x")
Beispiel #2
0
 def describe(self, settings):
     return TaskDescription("Updating global network settings")
Beispiel #3
0
 def describe(self, id, updated_fields):
     return TaskDescription(
         "Updating configuration of network interface {name}", name=id)
 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)
Beispiel #5
0
 def describe(self, volume):
     return TaskDescription("Indexing volume {name}", name=volume)
 def describe(self, id, path, new_size):
     return TaskDescription('Resizing the block device {name}', name=path)
 def describe(self, id, path):
     return TaskDescription(
         'Creating the block device {name} snapshot under {snapshot}',
         name=path.split('@', 1)[0],
         snapshot=path)
Beispiel #8
0
 def describe(self, connect):
     return TaskDescription('Connecting to the support server')
Beispiel #9
0
 def describe(self, connect):
     return TaskDescription('Disconnecting from the support server')
Beispiel #10
0
 def describe(self, rsyncd):
     return TaskDescription('Configuring Rsyncd service')
Beispiel #11
0
 def describe(self, path):
     return TaskDescription('Saving debug data to file: {filepath} in gzip format', filepath=path)
Beispiel #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 '')
Beispiel #13
0
 def describe(self, rsyncmod):
     return TaskDescription('Adding rsync module {name}',
                            name=rsyncmod.get('name', '') or '')
Beispiel #14
0
 def describe(self):
     return TaskDescription("Migration of FreeNAS 9.x settings to 10")
 def describe(self, id, path, size):
     return TaskDescription('Creating a block device {name}', name=path)
Beispiel #16
0
 def describe(self, fd):
     return TaskDescription('Collecting debug data')
 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)
 def describe(self, datastore):
     return TaskDescription('Creating the datastore {name}',
                            name=datastore['name'])
 def describe(self, id, path, new_path):
     return TaskDescription('Cloning the block device {name} to {new_name}',
                            name=path,
                            new_name=new_path)
 def describe(self, id):
     ds = self.datastore.get_by_id('vm.datastores', id) or {}
     return TaskDescription('Deleting the datastore {name}',
                            name=ds.get('name', ''))
 def describe(self, id, path):
     return TaskDescription('Deleting the block device snapshot {name}',
                            name=path)
 def describe(self, id, path):
     return TaskDescription('Creating the directory {name}', name=path)
Beispiel #23
0
 def describe(self, snmp):
     return TaskDescription('Configuring SNMP service')
 def describe(self, id, old_path, new_path):
     return TaskDescription('Renaming the directory {name} to {new_name}',
                            name=old_path,
                            new_name=new_path)
Beispiel #25
0
 def describe(self, dataset):
     return TaskDescription("Indexing dataset {name}", name=dataset)
 def describe(self, id, path, new_path):
     return TaskDescription('Cloning the directory {name} to {new_name}',
                            name=path,
                            new_name=new_path)
Beispiel #27
0
 def describe(self, iface):
     return TaskDescription("Creating {name} network interface",
                            name=iface['type'])
 def describe(self, id, path):
     return TaskDescription('Deleting the directory snapshot {name}',
                            name=path)
Beispiel #29
0
 def describe(self, id):
     return TaskDescription("Setting network interface {name} up", name=id)
Beispiel #30
0
 def describe(self):
     return TaskDescription("Migration of FreeNAS 9.x storage volumes (pools)")