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