Fix error when sorting Job list by object.
[ganeti_webmgr.git] / ganeti_web / migrations / 0019_alter_fields_VirtualMachineTemplate.py
blobde1da25af1536af3dfbd4f5affe0269af0aac271
1 # -*- coding: utf-8 -*-
2 import datetime
3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
8 class Migration(SchemaMigration):
10 def forwards(self, orm):
11 # Changing field 'VirtualMachineTemplate.nic_type'
12 db.alter_column('ganeti_web_virtualmachinetemplate', 'nic_type', self.gf('django.db.models.fields.CharField')(max_length=255))
14 # Changing field 'VirtualMachineTemplate.template_name'
15 db.alter_column('ganeti_web_virtualmachinetemplate', 'template_name', self.gf('django.db.models.fields.CharField')(max_length=255))
17 # Changing field 'VirtualMachineTemplate.cdrom2_image_path'
18 db.alter_column('ganeti_web_virtualmachinetemplate', 'cdrom2_image_path', self.gf('django.db.models.fields.CharField')(default='', max_length=512))
20 # Changing field 'VirtualMachineTemplate.pnode'
21 db.alter_column('ganeti_web_virtualmachinetemplate', 'pnode', self.gf('django.db.models.fields.CharField')(max_length=255))
23 # Changing field 'VirtualMachineTemplate.cdrom_image_path'
24 db.alter_column('ganeti_web_virtualmachinetemplate', 'cdrom_image_path', self.gf('django.db.models.fields.CharField')(default='', max_length=512))
26 # Changing field 'VirtualMachineTemplate.kernel_path'
27 db.alter_column('ganeti_web_virtualmachinetemplate', 'kernel_path', self.gf('django.db.models.fields.CharField')(max_length=255))
29 # Changing field 'VirtualMachineTemplate.description'
30 db.alter_column('ganeti_web_virtualmachinetemplate', 'description', self.gf('django.db.models.fields.CharField')(max_length=255))
32 # Changing field 'VirtualMachineTemplate.boot_order'
33 db.alter_column('ganeti_web_virtualmachinetemplate', 'boot_order', self.gf('django.db.models.fields.CharField')(max_length=255))
35 # Changing field 'VirtualMachineTemplate.snode'
36 db.alter_column('ganeti_web_virtualmachinetemplate', 'snode', self.gf('django.db.models.fields.CharField')(max_length=255))
38 # Changing field 'VirtualMachineTemplate.disk_type'
39 db.alter_column('ganeti_web_virtualmachinetemplate', 'disk_type', self.gf('django.db.models.fields.CharField')(max_length=255))
41 # Changing field 'VirtualMachineTemplate.iallocator_hostname'
42 db.alter_column('ganeti_web_virtualmachinetemplate', 'iallocator_hostname', self.gf('django.db.models.fields.CharField')(default='', max_length=255))
44 # Changing field 'VirtualMachineTemplate.root_path'
45 db.alter_column('ganeti_web_virtualmachinetemplate', 'root_path', self.gf('django.db.models.fields.CharField')(max_length=255))
47 def backwards(self, orm):
49 # Changing field 'VirtualMachineTemplate.nic_type'
50 db.alter_column('ganeti_web_virtualmachinetemplate', 'nic_type', self.gf('django.db.models.fields.CharField')(max_length=255, null=True))
52 # Changing field 'VirtualMachineTemplate.template_name'
53 db.alter_column('ganeti_web_virtualmachinetemplate', 'template_name', self.gf('django.db.models.fields.CharField')(max_length=255, null=True))
55 # Changing field 'VirtualMachineTemplate.cdrom2_image_path'
56 db.alter_column('ganeti_web_virtualmachinetemplate', 'cdrom2_image_path', self.gf('django.db.models.fields.CharField')(max_length=512, null=True))
58 # Changing field 'VirtualMachineTemplate.pnode'
59 db.alter_column('ganeti_web_virtualmachinetemplate', 'pnode', self.gf('django.db.models.fields.CharField')(max_length=255, null=True))
61 # Changing field 'VirtualMachineTemplate.cdrom_image_path'
62 db.alter_column('ganeti_web_virtualmachinetemplate', 'cdrom_image_path', self.gf('django.db.models.fields.CharField')(max_length=512, null=True))
64 # Changing field 'VirtualMachineTemplate.kernel_path'
65 db.alter_column('ganeti_web_virtualmachinetemplate', 'kernel_path', self.gf('django.db.models.fields.CharField')(max_length=255, null=True))
67 # Changing field 'VirtualMachineTemplate.description'
68 db.alter_column('ganeti_web_virtualmachinetemplate', 'description', self.gf('django.db.models.fields.CharField')(max_length=255, null=True))
70 # Changing field 'VirtualMachineTemplate.boot_order'
71 db.alter_column('ganeti_web_virtualmachinetemplate', 'boot_order', self.gf('django.db.models.fields.CharField')(max_length=255, null=True))
73 # Changing field 'VirtualMachineTemplate.snode'
74 db.alter_column('ganeti_web_virtualmachinetemplate', 'snode', self.gf('django.db.models.fields.CharField')(max_length=255, null=True))
76 # Changing field 'VirtualMachineTemplate.disk_type'
77 db.alter_column('ganeti_web_virtualmachinetemplate', 'disk_type', self.gf('django.db.models.fields.CharField')(max_length=255, null=True))
79 # Changing field 'VirtualMachineTemplate.iallocator_hostname'
80 db.alter_column('ganeti_web_virtualmachinetemplate', 'iallocator_hostname', self.gf('django.db.models.fields.CharField')(max_length=255, null=True))
82 # Changing field 'VirtualMachineTemplate.root_path'
83 db.alter_column('ganeti_web_virtualmachinetemplate', 'root_path', self.gf('django.db.models.fields.CharField')(max_length=255, null=True))
85 models = {
86 'auth.group': {
87 'Meta': {'object_name': 'Group'},
88 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
89 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
90 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
92 'auth.permission': {
93 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
94 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
95 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
96 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
97 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
99 'auth.user': {
100 'Meta': {'object_name': 'User'},
101 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
102 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
103 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
104 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
105 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
106 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
107 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
108 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
109 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
110 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
111 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
112 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
113 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
115 'contenttypes.contenttype': {
116 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
117 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
118 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
119 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
120 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
122 'ganeti_web.cluster': {
123 'Meta': {'ordering': "['hostname', 'description']", 'object_name': 'Cluster'},
124 'cached': ('ganeti_web.fields.PreciseDateTimeField', [], {'null': 'True', 'max_digits': '18', 'decimal_places': '6'}),
125 'description': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}),
126 'disk': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
127 'hash': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
128 'hostname': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '128'}),
129 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
130 'ignore_cache': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
131 'last_job': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'cluster_last_job'", 'null': 'True', 'to': "orm['ganeti_web.Job']"}),
132 'mtime': ('ganeti_web.fields.PreciseDateTimeField', [], {'null': 'True', 'max_digits': '18', 'decimal_places': '6'}),
133 'password': ('ganeti_web.fields.PatchedEncryptedCharField', [], {'default': "''", 'max_length': '293', 'cipher': "'AES'", 'blank': 'True'}),
134 'port': ('django.db.models.fields.PositiveIntegerField', [], {'default': '5080'}),
135 'ram': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
136 'serialized_info': ('django.db.models.fields.TextField', [], {'default': "''"}),
137 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}),
138 'username': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}),
139 'virtual_cpus': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'})
141 'ganeti_web.cluster_perms': {
142 'Meta': {'object_name': 'Cluster_Perms'},
143 'admin': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
144 'create_vm': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
145 'export': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
146 'group': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'Cluster_gperms'", 'null': 'True', 'to': "orm['auth.Group']"}),
147 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
148 'migrate': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
149 'obj': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'operms'", 'to': "orm['ganeti_web.Cluster']"}),
150 'replace_disks': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
151 'tags': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
152 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'Cluster_uperms'", 'null': 'True', 'to': "orm['auth.User']"})
154 'ganeti_web.clusteruser': {
155 'Meta': {'object_name': 'ClusterUser'},
156 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
157 'name': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
158 'real_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"})
160 'ganeti_web.ganetierror': {
161 'Meta': {'ordering': "('-timestamp', 'code', 'msg')", 'object_name': 'GanetiError'},
162 'cleared': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
163 'cluster': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'errors'", 'to': "orm['ganeti_web.Cluster']"}),
164 'code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
165 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
166 'msg': ('django.db.models.fields.TextField', [], {}),
167 'obj_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
168 'obj_type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'ganeti_errors'", 'to': "orm['contenttypes.ContentType']"}),
169 'timestamp': ('django.db.models.fields.DateTimeField', [], {})
171 'ganeti_web.job': {
172 'Meta': {'object_name': 'Job'},
173 'cached': ('ganeti_web.fields.PreciseDateTimeField', [], {'null': 'True', 'max_digits': '18', 'decimal_places': '6'}),
174 'cluster': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'jobs'", 'to': "orm['ganeti_web.Cluster']"}),
175 'cluster_hash': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
176 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['contenttypes.ContentType']"}),
177 'finished': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
178 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
179 'ignore_cache': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
180 'job_id': ('django.db.models.fields.IntegerField', [], {}),
181 'mtime': ('ganeti_web.fields.PreciseDateTimeField', [], {'null': 'True', 'max_digits': '18', 'decimal_places': '6'}),
182 'object_id': ('django.db.models.fields.IntegerField', [], {}),
183 'op': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
184 'serialized_info': ('django.db.models.fields.TextField', [], {'default': "''"}),
185 'status': ('django.db.models.fields.CharField', [], {'max_length': '10'})
187 'ganeti_web.node': {
188 'Meta': {'object_name': 'Node'},
189 'cached': ('ganeti_web.fields.PreciseDateTimeField', [], {'null': 'True', 'max_digits': '18', 'decimal_places': '6'}),
190 'cluster': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['ganeti_web.Cluster']"}),
191 'cluster_hash': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
192 'cpus': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
193 'disk_free': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
194 'disk_total': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
195 'hostname': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '128'}),
196 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
197 'ignore_cache': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
198 'last_job': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ganeti_web.Job']"}),
199 'mtime': ('ganeti_web.fields.PreciseDateTimeField', [], {'null': 'True', 'max_digits': '18', 'decimal_places': '6'}),
200 'offline': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
201 'ram_free': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
202 'ram_total': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
203 'role': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
204 'serialized_info': ('django.db.models.fields.TextField', [], {'default': "''"})
206 'ganeti_web.organization': {
207 'Meta': {'object_name': 'Organization', '_ormbases': ['ganeti_web.ClusterUser']},
208 'clusteruser_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['ganeti_web.ClusterUser']", 'unique': 'True', 'primary_key': 'True'}),
209 'group': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'organization'", 'unique': 'True', 'to': "orm['auth.Group']"})
211 'ganeti_web.profile': {
212 'Meta': {'object_name': 'Profile', '_ormbases': ['ganeti_web.ClusterUser']},
213 'clusteruser_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['ganeti_web.ClusterUser']", 'unique': 'True', 'primary_key': 'True'}),
214 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'})
216 'ganeti_web.quota': {
217 'Meta': {'object_name': 'Quota'},
218 'cluster': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'quotas'", 'to': "orm['ganeti_web.Cluster']"}),
219 'disk': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'}),
220 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
221 'ram': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'}),
222 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'quotas'", 'to': "orm['ganeti_web.ClusterUser']"}),
223 'virtual_cpus': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'})
225 'ganeti_web.sshkey': {
226 'Meta': {'object_name': 'SSHKey'},
227 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
228 'key': ('django.db.models.fields.TextField', [], {}),
229 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'ssh_keys'", 'to': "orm['auth.User']"})
231 'ganeti_web.testmodel': {
232 'Meta': {'object_name': 'TestModel'},
233 'cached': ('ganeti_web.fields.PreciseDateTimeField', [], {'null': 'True', 'max_digits': '18', 'decimal_places': '6'}),
234 'cluster': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ganeti_web.Cluster']"}),
235 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
236 'ignore_cache': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
237 'mtime': ('ganeti_web.fields.PreciseDateTimeField', [], {'null': 'True', 'max_digits': '18', 'decimal_places': '6'}),
238 'serialized_info': ('django.db.models.fields.TextField', [], {'default': "''"}),
240 'ganeti_web.virtualmachine': {
241 'Meta': {'ordering': "['hostname']", 'unique_together': "(('cluster', 'hostname'),)", 'object_name': 'VirtualMachine'},
242 'cached': ('ganeti_web.fields.PreciseDateTimeField', [], {'null': 'True', 'max_digits': '18', 'decimal_places': '6'}),
243 'cluster': ('django.db.models.fields.related.ForeignKey', [], {'default': '0', 'related_name': "'virtual_machines'", 'to': "orm['ganeti_web.Cluster']"}),
244 'cluster_hash': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
245 'disk_size': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
246 'hostname': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}),
247 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
248 'ignore_cache': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
249 'last_job': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ganeti_web.Job']"}),
250 'minram': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
251 'mtime': ('ganeti_web.fields.PreciseDateTimeField', [], {'null': 'True', 'max_digits': '18', 'decimal_places': '6'}),
252 'operating_system': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
253 'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'virtual_machines'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ganeti_web.ClusterUser']"}),
254 'pending_delete': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
255 'primary_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'primary_vms'", 'null': 'True', 'to': "orm['ganeti_web.Node']"}),
256 'ram': ('django.db.models.fields.IntegerField', [], {'default': '-1'}),
257 'secondary_node': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'secondary_vms'", 'null': 'True', 'to': "orm['ganeti_web.Node']"}),
258 'serialized_info': ('django.db.models.fields.TextField', [], {'default': "''"}),
259 'status': ('django.db.models.fields.CharField', [], {'max_length': '14'}),
260 'template': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'instances'", 'null': 'True', 'to': "orm['ganeti_web.VirtualMachineTemplate']"}),
261 'virtual_cpus': ('django.db.models.fields.IntegerField', [], {'default': '-1'})
263 'ganeti_web.virtualmachine_perms': {
264 'Meta': {'object_name': 'VirtualMachine_Perms'},
265 'admin': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
266 'group': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'VirtualMachine_gperms'", 'null': 'True', 'to': "orm['auth.Group']"}),
267 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
268 'modify': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
269 'obj': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'operms'", 'to': "orm['ganeti_web.VirtualMachine']"}),
270 'power': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
271 'remove': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
272 'tags': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
273 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'VirtualMachine_uperms'", 'null': 'True', 'to': "orm['auth.User']"})
275 'ganeti_web.virtualmachinetemplate': {
276 'Meta': {'unique_together': "(('cluster', 'template_name'),)", 'object_name': 'VirtualMachineTemplate'},
277 'boot_order': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
278 'cdrom2_image_path': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
279 'cdrom_image_path': ('django.db.models.fields.CharField', [], {'max_length': '512', 'blank': 'True'}),
280 'cluster': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'templates'", 'null': 'True', 'to': "orm['ganeti_web.Cluster']"}),
281 'description': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
282 'disk_template': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
283 'disk_type': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
284 'disks': ('django_fields.fields.PickleField', [], {'null': 'True', 'blank': 'True'}),
285 'iallocator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
286 'iallocator_hostname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
287 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
288 'ip_check': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
289 'kernel_path': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}),
290 'memory': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
291 'minmem': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
292 'name_check': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
293 'nic_type': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
294 'nics': ('django_fields.fields.PickleField', [], {'null': 'True', 'blank': 'True'}),
295 'no_install': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
296 'os': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
297 'pnode': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
298 'root_path': ('django.db.models.fields.CharField', [], {'default': "'/'", 'max_length': '255', 'blank': 'True'}),
299 'serial_console': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
300 'snode': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
301 'start': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
302 'template_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255'}),
303 'temporary': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
304 'vcpus': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'})
308 complete_apps = ['ganeti_web']