source: dassmodus/trunk/dassmodus/nosferatu/nosferatu/auto_types.py @ 953

Last change on this file since 953 was 953, checked in by pstorz, 10 years ago

first checkin

File size: 9.0 KB
Line 
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3#
4# auto_types.py
5#
6# This file is autogenerated from the bacula sources.
7#
8#from auto_types import *
9# $Id: auto_types.py 12290 2011-02-10 14:02:38Z pstorz $
10from command import *
11
12   
13msg_types = [ 'info',  'all',  'skipped',  'notsaved',  'saved',  'mount',  'terminate',  'alert',  'abort',  'error',  'debug',  'security',  'fatal',  'warning',  'restored',  'volmgmt',  ]
14jobtypes = [ 'restore',  'admin',  'verify',  'migrate',  'copy',  'backup',  ]
15joblevels = [ 'Volume To Catalog',  'Full',  'Incremental',  'Since',  'Disk To Catalog',  'Init Catalog',  'Catalog',  'Base',  'Differential',  'Virtual Full',  'Data',  ]
16#joblevels = [ 'volumetocatalog',  'full',  'incremental',  'since',  'disktocatalog',  'initcatalog',  'catalog',  'base',  'differential',  'virtualfull',  'data',  ]
17migtypes = [ 'sqlquery',  'pooltime',  'oldestvolume',  'smallestvolume',  'volume',  'job',  'client',  'pooluncopiedjobs',  'pooloccupancy',  ]
18ReplaceOptions = [ 'always',  'ifolder',  'ifnewer',  'never',  ]
19FS_option_kw = { 'basejob' : ['Yes', 'No'] ,
20'portable' : ['Yes', 'No'] ,
21'accurate' : ['Yes', 'No'] ,
22'replace' : ['Always', 'If Newer', 'never'] ,
23'ignorecase' : ['Yes', 'No'] ,
24'honornodumpflag' : ['Yes', 'No'] ,
25'exclude' : ['Yes', 'No'] ,
26'enhancedwild' : ['Yes', 'No'] ,
27'compression' : ['gzip', 'gzip1', 'gzip2', 'gzip3', 'gzip4', 'gzip5', 'gzip6', 'gzip7', 'gzip8', 'gzip9'] ,
28'strippath' : ['Yes', 'No'] ,
29'encryption' : ['Blowfish', '3DES'] ,
30'hardlinks' : ['Yes', 'No'] ,
31'onefs' : ['Yes', 'No'] ,
32'xattrsupport' : ['Yes', 'No'] ,
33'hfsplussupport' : ['Yes', 'No'] ,
34'aclsupport' : ['Yes', 'No'] ,
35'checkfilechanges' : ['Yes', 'No'] ,
36'keepatime' : ['Yes', 'No'] ,
37'verify' : ['Yes', 'No'] ,
38'readfifo' : ['Yes', 'No'] ,
39'recurse' : ['Yes', 'No'] ,
40'sparse' : ['Yes', 'No'] ,
41'signature' : ['md5', 'sha1', 'sha256', 'sha512'] ,
42'mtimeonly' : ['Yes', 'No'] ,
43'noatime' : ['Yes', 'No'] ,
44}
45
46commands = {'.actiononpurge': command('.actiononpurge','aopcmd','','NULL','true'),
47 '.api': command('.api','api_cmd','','NULL','false'),
48 '.backups': command('.backups','backupscmd','','NULL','false'),
49 '.bvfs_lsdirs': command('.bvfs_lsdirs','dot_bvfs_lsdirs','','NULL','true'),
50 '.bvfs_lsfiles': command('.bvfs_lsfiles','dot_bvfs_lsfiles','','NULL','true'),
51 '.bvfs_update': command('.bvfs_update','dot_bvfs_update','','NULL','true'),
52 '.clients': command('.clients','clientscmd','','NULL','true'),
53 '.defaults': command('.defaults','defaultscmd','','NULL','false'),
54 '.die': command('.die','admin_cmds','','NULL','false'),
55 '.dump': command('.dump','admin_cmds','','NULL','false'),
56 '.exit': command('.exit','admin_cmds','','NULL','false'),
57 '.filesets': command('.filesets','filesetscmd','','NULL','false'),
58 '.help': command('.help','dot_help_cmd','','NULL','false'),
59 '.jobs': command('.jobs','jobscmd','','NULL','true'),
60 '.levels': command('.levels','levelscmd','','NULL','false'),
61 '.locations': command('.locations','locationscmd','','NULL','true'),
62 '.media': command('.media','mediacmd','','NULL','true'),
63 '.mediatypes': command('.mediatypes','mediatypescmd','','NULL','true'),
64 '.messages': command('.messages','getmsgscmd','','NULL','false'),
65 '.msgs': command('.msgs','msgscmd','','NULL','false'),
66 '.pools': command('.pools','poolscmd','','NULL','true'),
67 '.quit': command('.quit','dot_quit_cmd','','NULL','false'),
68 '.sql': command('.sql','sql_cmd','','NULL','false'),
69 '.status': command('.status','dot_status_cmd','','NULL','false'),
70 '.storage': command('.storage','storagecmd','','NULL','true'),
71 '.types': command('.types','typescmd','','NULL','false'),
72 '.volstatus': command('.volstatus','volstatuscmd','','NULL','true'),
73 'add': command('add','add_cmd','Add media to a pool','pool=<pool-name> storage=<storage> jobid=<JobId>','false'),
74 'autodisplay': command('autodisplay','autodisplay_cmd','Autodisplay console messages','on | off','false'),
75 'automount': command('automount','automount_cmd','Automount after label','on | off','false'),
76 'cancel': command('cancel','cancel_cmd','Cancel a job','jobid=<number> job=<job-name> ujobid=<unique-jobid>','false'),
77 'create': command('create','create_cmd','Create DB Pool from resource','pool=<pool-name>','false'),
78 'delete': command('delete','delete_cmd','Delete volume, pool or job','volume=<vol-name> pool=<pool-name> jobid=<id>','true'),
79 'disable': command('disable','disable_cmd','Disable a job','job=<name>','true'),
80 'enable': command('enable','enable_cmd','Enable a job','job=<name>','true'),
81 'estimate': command('estimate','estimate_cmd','Performs FileSet estimate, listing gives full listing','fileset=<fs> client=<cli> accurate=<yes/no> job=<job> listing','true'),
82 'exit': command('exit','quit_cmd','Terminate Bconsole session','','false'),
83 'gui': command('gui','gui_cmd','Non-interactive gui mode','on | off','false'),
84 'help': command('help','help_cmd','Print help on specific command','add autodisplay automount cancel create delete disable\n\tenable estimate exit gui label list llist       \n\tmessages memory mount prune purge python quit query\n\trestore relabel release reload run status       \n\tsetdebug setip show sqlquery time trace unmount umount\n\tupdate use var version wait','false'),
85 'label': command('label','label_cmd','Label a tape','storage=<storage> volume=<vol> pool=<pool>','false'),
86 'list': command('list','list_cmd','List objects from catalog','pools | jobs | jobtotals | volume | media <pool=pool-name> | files jobid=<nn> | copies jobid=<nn>','true'),
87 'llist': command('llist','llist_cmd','Full or long list like list command','pools | jobs | jobtotals | media <pool=pool-name> | files jobid=<nn> | copies jobid=<nn>','true'),
88 'memory': command('memory','memory_cmd','Print current memory usage','','true'),
89 'messages': command('messages','messagescmd','Display pending messages','','false'),
90 'mount': command('mount','mount_cmd','Mount storage','storage=<storage-name> slot=<num> drive=<num> [ jobid=<id> | job=<job-name> ]','false'),
91 'prune': command('prune','prunecmd','Prune expired records from catalog','files | jobs | pool=<pool> | client=<client-name> | volume=<volume-name> ','true'),
92 'purge': command('purge','purgecmd','Purge records from catalog','files jobs volume=<vol> [action=<action> devicetype=<type> pool=<pool> allpools storage=<st> drive=<num>]','true'),
93 'python': command('python','python_cmd','Python control commands','','false'),
94 'query': command('query','querycmd','Query catalog','','false'),
95 'quit': command('quit','quit_cmd','Terminate Bconsole session','','false'),
96 'relabel': command('relabel','relabel_cmd','Relabel a tape','storage=<storage-name> oldvolume=<old-volume-name>\n\tvolume=<newvolume-name> pool=<pool>','false'),
97 'release': command('release','release_cmd','Release storage','storage-name','false'),
98 'reload': command('reload','reload_cmd','Reload conf file','','true'),
99 'restore': command('restore','restore_cmd','Restore files','where=</path> client=<client> storage=<storage> bootstrap=<file>       \n\tcomment=<text> jobid=<jobid> done select all','false'),
100 'run': command('run','run_cmd','Run a job','job=<job-name> client=<client-name>\n\tfileset=<FileSet-name> level=<level-keyword>\n\tstorage=<storage-name>       where=<directory-prefix>\n\twhen=<universal-time-specification>\n\tcomment=<text> yes','false'),
101 'setdebug': command('setdebug','setdebug_cmd','Sets debug level','level=<nn> trace=0/1 client=<client-name> | dir | storage=<storage-name> | all','true'),
102 'setip': command('setip','setip_cmd','Sets new client address -- if authorized','','false'),
103 'show': command('show','show_cmd','Show resource records','job=<xxx> |  pool=<yyy> | fileset=<aaa> schedule=<sss> | client=<zzz> | disabled | all','true'),
104 'sqlquery': command('sqlquery','sqlquerycmd','Use SQL to query catalog','','false'),
105 'status': command('status','status_cmd','Report status','all | dir=<dir-name> | director | client=<client-name> | storage=<storage-name> slots | days=nnn','true'),
106 'time': command('time','time_cmd','Print current time','','true'),
107 'trace': command('trace','trace_cmd','Turn on/off trace to file','on | off','true'),
108 'umount': command('umount','unmount_cmd','Umount - for old-time Unix guys, see unmount','storage=<storage-name> [ drive=<num> ] | jobid=<id> | job=<job-name>','false'),
109 'unmount': command('unmount','unmount_cmd','Unmount storage','storage=<storage-name> [ drive=<num> ] | jobid=<id> | job=<job-name>','false'),
110 'update': command('update','update_cmd','Update volume, pool or stats','stats\n\tpool=<poolname>\n\tslots storage=<storage> scan       \n\tvolume=<volname> volstatus=<status> volretention=<time-def>       \n\t pool=<pool> recycle=<yes/no> slot=<number>\n\t inchanger=<yes/no>       \n\t maxvolbytes=<size> maxvolfiles=<nb> maxvoljobs=<nb>       \n\t enable=<yes/no> recyclepool=<pool> actiononpurge=<action>','true'),
111 'use': command('use','use_cmd','Use catalog xxx','','false'),
112 'var': command('var','var_cmd','Does variable expansion','','false'),
113 'version': command('version','version_cmd','Print Director version','','true'),
114 'wait': command('wait','wait_cmd','Wait until no jobs are running','jobname=<name> | jobid=<nnn> | ujobid=<complete_name>','false')}
115
Note: See TracBrowser for help on using the repository browser.