# -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models


class Migration(SchemaMigration):

    def forwards(self, orm):
        # Adding model 'ComponentModelGroup'
        db.create_table('discovery_componentmodelgroup', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=75, db_index=True)),
            ('price', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
            ('type', self.gf('django.db.models.fields.PositiveIntegerField')(default=8)),
            ('per_size', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('size_unit', self.gf('django.db.models.fields.CharField')(default=u'', max_length=50, blank=True)),
            ('size_modifier', self.gf('django.db.models.fields.PositiveIntegerField')(default=1)),
        ))
        db.send_create_signal('discovery', ['ComponentModelGroup'])

        # Adding model 'ComponentModel'
        db.create_table('discovery_componentmodel', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=75)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('save_priorities', self.gf('django.db.models.fields.TextField')(default=u'')),
            ('max_save_priority', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('speed', self.gf('django.db.models.fields.PositiveIntegerField')(default=0, blank=True)),
            ('cores', self.gf('django.db.models.fields.PositiveIntegerField')(default=0, blank=True)),
            ('size', self.gf('django.db.models.fields.PositiveIntegerField')(default=0, blank=True)),
            ('type', self.gf('django.db.models.fields.PositiveIntegerField')(default=8)),
            ('group', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.ComponentModelGroup'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('extra', self.gf('django.db.models.fields.TextField')(default=None, null=True, blank=True)),
            ('extra_hash', self.gf('django.db.models.fields.CharField')(default=u'', max_length=32, blank=True)),
            ('family', self.gf('django.db.models.fields.CharField')(default=u'', max_length=128, blank=True)),
        ))
        db.send_create_signal('discovery', ['ComponentModel'])

        # Adding unique constraint on 'ComponentModel', fields ['speed', 'cores', 'size', 'type', 'family', 'extra_hash']
        db.create_unique('discovery_componentmodel', ['speed', 'cores', 'size', 'type', 'family', 'extra_hash'])

        # Adding model 'GenericComponent'
        db.create_table('discovery_genericcomponent', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('save_priorities', self.gf('django.db.models.fields.TextField')(default=u'')),
            ('max_save_priority', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.Device'])),
            ('model', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.ComponentModel'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('label', self.gf('django.db.models.fields.CharField')(default=None, max_length=255, null=True, blank=True)),
            ('sn', self.gf('django.db.models.fields.CharField')(default=None, max_length=255, unique=True, null=True, blank=True)),
            ('boot_firmware', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
            ('hard_firmware', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
            ('diag_firmware', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
            ('mgmt_firmware', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
        ))
        db.send_create_signal('discovery', ['GenericComponent'])

        # Adding model 'DiskShare'
        db.create_table('discovery_diskshare', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('save_priorities', self.gf('django.db.models.fields.TextField')(default=u'')),
            ('max_save_priority', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.Device'])),
            ('model', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.ComponentModel'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('share_id', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
            ('label', self.gf('django.db.models.fields.CharField')(default=None, max_length=255, null=True, blank=True)),
            ('size', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
            ('snapshot_size', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
            ('wwn', self.gf('django.db.models.fields.CharField')(unique=True, max_length=33)),
            ('full', self.gf('django.db.models.fields.BooleanField')(default=True)),
        ))
        db.send_create_signal('discovery', ['DiskShare'])

        # Adding model 'DiskShareMount'
        db.create_table('discovery_disksharemount', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('share', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.DiskShare'])),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.Device'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('volume', self.gf('django.db.models.fields.CharField')(default=None, max_length=255, null=True, blank=True)),
            ('server', self.gf('django.db.models.fields.related.ForeignKey')(default=None, related_name=u'servermount_set', null=True, blank=True, to=orm['discovery.Device'])),
            ('size', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
            ('address', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.IPAddress'], null=True, blank=True)),
            ('is_virtual', self.gf('django.db.models.fields.BooleanField')(default=False)),
        ))
        db.send_create_signal('discovery', ['DiskShareMount'])

        # Adding unique constraint on 'DiskShareMount', fields ['share', 'device']
        db.create_unique('discovery_disksharemount', ['share_id', 'device_id'])

        # Adding model 'Processor'
        db.create_table('discovery_processor', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('save_priorities', self.gf('django.db.models.fields.TextField')(default=u'')),
            ('max_save_priority', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.Device'])),
            ('model', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.ComponentModel'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('label', self.gf('django.db.models.fields.CharField')(max_length=255)),
            ('speed', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
            ('cores', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
            ('index', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
        ))
        db.send_create_signal('discovery', ['Processor'])

        # Adding unique constraint on 'Processor', fields ['device', 'index']
        db.create_unique('discovery_processor', ['device_id', 'index'])

        # Adding model 'Memory'
        db.create_table('discovery_memory', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('save_priorities', self.gf('django.db.models.fields.TextField')(default=u'')),
            ('max_save_priority', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.Device'])),
            ('model', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.ComponentModel'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('label', self.gf('django.db.models.fields.CharField')(max_length=255)),
            ('size', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
            ('speed', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
            ('index', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
        ))
        db.send_create_signal('discovery', ['Memory'])

        # Adding unique constraint on 'Memory', fields ['device', 'index']
        db.create_unique('discovery_memory', ['device_id', 'index'])

        # Adding model 'Storage'
        db.create_table('discovery_storage', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('save_priorities', self.gf('django.db.models.fields.TextField')(default=u'')),
            ('max_save_priority', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.Device'])),
            ('model', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.ComponentModel'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('sn', self.gf('django.db.models.fields.CharField')(default=None, max_length=255, unique=True, null=True, blank=True)),
            ('label', self.gf('django.db.models.fields.CharField')(max_length=255)),
            ('mount_point', self.gf('django.db.models.fields.CharField')(default=None, max_length=255, null=True, blank=True)),
        ))
        db.send_create_signal('discovery', ['Storage'])

        # Adding unique constraint on 'Storage', fields ['device', 'mount_point']
        db.create_unique('discovery_storage', ['device_id', 'mount_point'])

        # Adding model 'FibreChannel'
        db.create_table('discovery_fibrechannel', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('save_priorities', self.gf('django.db.models.fields.TextField')(default=u'')),
            ('max_save_priority', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.Device'])),
            ('model', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.ComponentModel'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('physical_id', self.gf('django.db.models.fields.CharField')(max_length=32)),
            ('label', self.gf('django.db.models.fields.CharField')(max_length=255)),
        ))
        db.send_create_signal('discovery', ['FibreChannel'])

        # Adding unique constraint on 'FibreChannel', fields ['device', 'physical_id']
        db.create_unique('discovery_fibrechannel', ['device_id', 'physical_id'])

        # Adding model 'Ethernet'
        db.create_table('discovery_ethernet', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('save_priorities', self.gf('django.db.models.fields.TextField')(default=u'')),
            ('max_save_priority', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.Device'])),
            ('model', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.ComponentModel'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('label', self.gf('django.db.models.fields.CharField')(max_length=255)),
            ('mac', self.gf(u'lck.django.common.models.MACAddressField')(unique=True, primary_key=False, db_column=None, blank=False, null=False, db_index=False)),
            ('speed', self.gf('django.db.models.fields.PositiveIntegerField')(default=11)),
        ))
        db.send_create_signal('discovery', ['Ethernet'])

        # Adding model 'Software'
        db.create_table('discovery_software', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('save_priorities', self.gf('django.db.models.fields.TextField')(default=u'')),
            ('max_save_priority', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.Device'])),
            ('model', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.ComponentModel'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('sn', self.gf('django.db.models.fields.CharField')(default=None, max_length=255, unique=True, null=True, blank=True)),
            ('label', self.gf('django.db.models.fields.CharField')(max_length=255)),
            ('path', self.gf('django.db.models.fields.CharField')(default=None, max_length=255, null=True, blank=True)),
        ))
        db.send_create_signal('discovery', ['Software'])

        # Adding unique constraint on 'Software', fields ['device', 'path']
        db.create_unique('discovery_software', ['device_id', 'path'])

        # Adding model 'SplunkUsage'
        db.create_table('discovery_splunkusage', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('save_priorities', self.gf('django.db.models.fields.TextField')(default=u'')),
            ('max_save_priority', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.Device'])),
            ('model', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.ComponentModel'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('day', self.gf('django.db.models.fields.DateField')(auto_now_add=True, blank=True)),
            ('size', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
        ))
        db.send_create_signal('discovery', ['SplunkUsage'])

        # Adding unique constraint on 'SplunkUsage', fields ['device', 'day']
        db.create_unique('discovery_splunkusage', ['device_id', 'day'])

        # Adding model 'DeprecationKind'
        db.create_table('discovery_deprecationkind', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=75, db_index=True)),
            ('months', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
            ('remarks', self.gf('django.db.models.fields.TextField')(default=u'', blank=True)),
        ))
        db.send_create_signal('discovery', ['DeprecationKind'])

        # Adding model 'MarginKind'
        db.create_table('discovery_marginkind', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=75, db_index=True)),
            ('margin', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
            ('remarks', self.gf('django.db.models.fields.TextField')(default=u'', blank=True)),
        ))
        db.send_create_signal('discovery', ['MarginKind'])

        # Adding model 'DeviceModelGroup'
        db.create_table('discovery_devicemodelgroup', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=75, db_index=True)),
            ('price', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
            ('type', self.gf('django.db.models.fields.PositiveIntegerField')(default=401)),
            ('slots', self.gf('django.db.models.fields.FloatField')(default=0)),
        ))
        db.send_create_signal('discovery', ['DeviceModelGroup'])

        # Adding model 'DeviceModel'
        db.create_table('discovery_devicemodel', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('save_priorities', self.gf('django.db.models.fields.TextField')(default=u'')),
            ('max_save_priority', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)),
            ('type', self.gf('django.db.models.fields.PositiveIntegerField')(default=401)),
            ('group', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.DeviceModelGroup'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('chassis_size', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
        ))
        db.send_create_signal('discovery', ['DeviceModel'])

        # Adding model 'Device'
        db.create_table('discovery_device', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('save_priorities', self.gf('django.db.models.fields.TextField')(default=u'')),
            ('max_save_priority', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('last_seen', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('uptime_seconds', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('uptime_timestamp', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
            ('name2', self.gf('django.db.models.fields.CharField')(default=None, max_length=255, null=True, blank=True)),
            ('parent', self.gf('django.db.models.fields.related.ForeignKey')(related_name=u'child_set', on_delete=models.SET_NULL, default=None, to=orm['discovery.Device'], blank=True, null=True)),
            ('model', self.gf('django.db.models.fields.related.ForeignKey')(related_name=u'device_set', on_delete=models.SET_NULL, default=None, to=orm['discovery.DeviceModel'], blank=True, null=True)),
            ('sn', self.gf('django.db.models.fields.CharField')(default=None, max_length=255, unique=True, null=True, blank=True)),
            ('barcode', self.gf('django.db.models.fields.CharField')(default=None, max_length=255, unique=True, null=True, blank=True)),
            ('remarks', self.gf('django.db.models.fields.TextField')(default=u'', blank=True)),
            ('raw', self.gf('django.db.models.fields.TextField')(default=None, null=True, blank=True)),
            ('boot_firmware', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
            ('hard_firmware', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
            ('diag_firmware', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
            ('mgmt_firmware', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
            ('price', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
            ('purchase_date', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
            ('cached_price', self.gf('django.db.models.fields.FloatField')(null=True, blank=True)),
            ('cached_cost', self.gf('django.db.models.fields.FloatField')(null=True, blank=True)),
            ('warranty_expiration_date', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
            ('support_expiration_date', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
            ('support_kind', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
            ('deprecation_kind', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.DeprecationKind'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('margin_kind', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.MarginKind'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('chassis_position', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
            ('position', self.gf('django.db.models.fields.CharField')(max_length=16, null=True, blank=True)),
            ('venture', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['business.Venture'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('management', self.gf('django.db.models.fields.related.ForeignKey')(related_name=u'managed_set', on_delete=models.SET_NULL, default=None, to=orm['discovery.IPAddress'], blank=True, null=True)),
            ('role', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
            ('venture_role', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['business.VentureRole'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('dc', self.gf('django.db.models.fields.CharField')(default=None, max_length=32, null=True, blank=True)),
            ('rack', self.gf('django.db.models.fields.CharField')(default=None, max_length=32, null=True, blank=True)),
            ('verified', self.gf('django.db.models.fields.BooleanField')(default=False)),
        ))
        db.send_create_signal('discovery', ['Device'])

        # Adding model 'LoadBalancerPool'
        db.create_table('discovery_loadbalancerpool', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=75, db_index=True)),
        ))
        db.send_create_signal('discovery', ['LoadBalancerPool'])

        # Adding model 'LoadBalancerVirtualServer'
        db.create_table('discovery_loadbalancervirtualserver', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('save_priorities', self.gf('django.db.models.fields.TextField')(default=u'')),
            ('max_save_priority', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.Device'])),
            ('default_pool', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.LoadBalancerPool'])),
            ('address', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.IPAddress'])),
            ('port', self.gf('django.db.models.fields.PositiveIntegerField')()),
        ))
        db.send_create_signal('discovery', ['LoadBalancerVirtualServer'])

        # Adding model 'LoadBalancerMember'
        db.create_table('discovery_loadbalancermember', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('save_priorities', self.gf('django.db.models.fields.TextField')(default=u'')),
            ('max_save_priority', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('address', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.IPAddress'])),
            ('port', self.gf('django.db.models.fields.PositiveIntegerField')()),
            ('pool', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.LoadBalancerPool'])),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.Device'])),
            ('enabled', self.gf('django.db.models.fields.BooleanField')(default=False)),
        ))
        db.send_create_signal('discovery', ['LoadBalancerMember'])

        # Adding unique constraint on 'LoadBalancerMember', fields ['pool', 'address', 'port', 'device']
        db.create_unique('discovery_loadbalancermember', ['pool_id', 'address_id', 'port', 'device_id'])

        # Adding model 'Warning'
        db.create_table('discovery_warning', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('category', self.gf('django.db.models.fields.CharField')(max_length=128)),
            ('address', self.gf('django.db.models.fields.related.ForeignKey')(related_name=u'warning_set', null=True, to=orm['discovery.IPAddress'])),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(related_name=u'warning_set', null=True, to=orm['discovery.Device'])),
            ('remarks', self.gf('django.db.models.fields.TextField')(default=u'', blank=True)),
            ('aknowledged', self.gf('django.db.models.fields.CharField')(default=u'', max_length=128, blank=True)),
        ))
        db.send_create_signal('discovery', ['Warning'])

        # Adding unique constraint on 'Warning', fields ['category', 'address', 'device']
        db.create_unique('discovery_warning', ['category', 'address_id', 'device_id'])

        # Adding model 'NetworkKind'
        db.create_table('discovery_networkkind', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=75, db_index=True)),
            ('icon', self.gf('django.db.models.fields.CharField')(default=None, max_length=32, null=True, blank=True)),
        ))
        db.send_create_signal('discovery', ['NetworkKind'])

        # Adding model 'Network'
        db.create_table('discovery_network', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=75, db_index=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('address', self.gf('django.db.models.fields.CharField')(unique=True, max_length=18)),
            ('gateway', self.gf('django.db.models.fields.IPAddressField')(default=None, max_length=15, null=True, blank=True)),
            ('remarks', self.gf('django.db.models.fields.TextField')(default=u'', blank=True)),
            ('vlan', self.gf('django.db.models.fields.PositiveIntegerField')(default=None, null=True, blank=True)),
            ('data_center', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['discovery.DataCenter'])),
            ('min_ip', self.gf('django.db.models.fields.PositiveIntegerField')(default=None, null=True, blank=True)),
            ('max_ip', self.gf('django.db.models.fields.PositiveIntegerField')(default=None, null=True, blank=True)),
            ('kind', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.NetworkKind'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('queue', self.gf('django.db.models.fields.CharField')(default=None, max_length=16, null=True, blank=True)),
            ('rack', self.gf('django.db.models.fields.CharField')(default=None, max_length=16, null=True, blank=True)),
        ))
        db.send_create_signal('discovery', ['Network'])

        # Adding M2M table for field terminators on 'Network'
        db.create_table('discovery_network_terminators', (
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
            ('network', models.ForeignKey(orm['discovery.network'], null=False)),
            ('networkterminator', models.ForeignKey(orm['discovery.networkterminator'], null=False))
        ))
        db.create_unique('discovery_network_terminators', ['network_id', 'networkterminator_id'])

        # Adding model 'NetworkTerminator'
        db.create_table('discovery_networkterminator', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=75, db_index=True)),
        ))
        db.send_create_signal('discovery', ['NetworkTerminator'])

        # Adding model 'DataCenter'
        db.create_table('discovery_datacenter', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=75, db_index=True)),
        ))
        db.send_create_signal('discovery', ['DataCenter'])

        # Adding model 'IPAddress'
        db.create_table('discovery_ipaddress', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('last_seen', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('address', self.gf('django.db.models.fields.IPAddressField')(default=None, max_length=15, unique=True, null=True, blank=True)),
            ('number', self.gf('django.db.models.fields.BigIntegerField')(unique=True)),
            ('hostname', self.gf('django.db.models.fields.CharField')(default=None, max_length=255, null=True, blank=True)),
            ('snmp_name', self.gf('django.db.models.fields.TextField')(default=None, null=True, blank=True)),
            ('snmp_community', self.gf('django.db.models.fields.CharField')(default=None, max_length=64, null=True, blank=True)),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.Device'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('http_family', self.gf('django.db.models.fields.TextField')(default=None, max_length=64, null=True, blank=True)),
            ('is_management', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('dns_info', self.gf('django.db.models.fields.TextField')(default=None, null=True, blank=True)),
            ('last_puppet', self.gf('django.db.models.fields.DateTimeField')(default=None, null=True, blank=True)),
            ('network', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.Network'], null=True, blank=True)),
        ))
        db.send_create_signal('discovery', ['IPAddress'])

        # Adding model 'IPAlias'
        db.create_table('discovery_ipalias', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('cache_version', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('save_priorities', self.gf('django.db.models.fields.TextField')(default=u'')),
            ('max_save_priority', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
            ('address', self.gf('django.db.models.fields.related.ForeignKey')(related_name=u'+', to=orm['discovery.IPAddress'])),
            ('hostname', self.gf('django.db.models.fields.CharField')(max_length=255)),
        ))
        db.send_create_signal('discovery', ['IPAlias'])

        # Adding model 'HistoryChange'
        db.create_table('discovery_historychange', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('date', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.Device'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('user', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['auth.User'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('field_name', self.gf('django.db.models.fields.CharField')(default=u'', max_length=64)),
            ('old_value', self.gf('django.db.models.fields.CharField')(default=u'', max_length=255)),
            ('new_value', self.gf('django.db.models.fields.CharField')(default=u'', max_length=255)),
            ('component', self.gf('django.db.models.fields.CharField')(default=u'', max_length=255)),
            ('component_id', self.gf('django.db.models.fields.IntegerField')(default=None, null=True, blank=True)),
            ('comment', self.gf('django.db.models.fields.TextField')(null=True)),
        ))
        db.send_create_signal('discovery', ['HistoryChange'])

        # Adding model 'HistoryCost'
        db.create_table('discovery_historycost', (
            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('start', self.gf('django.db.models.fields.DateField')(default=u'0001-1-1', null=True)),
            ('end', self.gf('django.db.models.fields.DateField')(default=u'2199-1-1')),
            ('daily_cost', self.gf('django.db.models.fields.FloatField')(default=0)),
            ('device', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['discovery.Device'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('extra', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['business.VentureExtraCost'], null=True, on_delete=models.SET_NULL, blank=True)),
            ('venture', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['business.Venture'], null=True, on_delete=models.SET_NULL, blank=True)),
        ))
        db.send_create_signal('discovery', ['HistoryCost'])


    def backwards(self, orm):
        # Removing unique constraint on 'Warning', fields ['category', 'address', 'device']
        db.delete_unique('discovery_warning', ['category', 'address_id', 'device_id'])

        # Removing unique constraint on 'LoadBalancerMember', fields ['pool', 'address', 'port', 'device']
        db.delete_unique('discovery_loadbalancermember', ['pool_id', 'address_id', 'port', 'device_id'])

        # Removing unique constraint on 'SplunkUsage', fields ['device', 'day']
        db.delete_unique('discovery_splunkusage', ['device_id', 'day'])

        # Removing unique constraint on 'Software', fields ['device', 'path']
        db.delete_unique('discovery_software', ['device_id', 'path'])

        # Removing unique constraint on 'FibreChannel', fields ['device', 'physical_id']
        db.delete_unique('discovery_fibrechannel', ['device_id', 'physical_id'])

        # Removing unique constraint on 'Storage', fields ['device', 'mount_point']
        db.delete_unique('discovery_storage', ['device_id', 'mount_point'])

        # Removing unique constraint on 'Memory', fields ['device', 'index']
        db.delete_unique('discovery_memory', ['device_id', 'index'])

        # Removing unique constraint on 'Processor', fields ['device', 'index']
        db.delete_unique('discovery_processor', ['device_id', 'index'])

        # Removing unique constraint on 'DiskShareMount', fields ['share', 'device']
        db.delete_unique('discovery_disksharemount', ['share_id', 'device_id'])

        # Removing unique constraint on 'ComponentModel', fields ['speed', 'cores', 'size', 'type', 'family', 'extra_hash']
        db.delete_unique('discovery_componentmodel', ['speed', 'cores', 'size', 'type', 'family', 'extra_hash'])

        # Deleting model 'ComponentModelGroup'
        db.delete_table('discovery_componentmodelgroup')

        # Deleting model 'ComponentModel'
        db.delete_table('discovery_componentmodel')

        # Deleting model 'GenericComponent'
        db.delete_table('discovery_genericcomponent')

        # Deleting model 'DiskShare'
        db.delete_table('discovery_diskshare')

        # Deleting model 'DiskShareMount'
        db.delete_table('discovery_disksharemount')

        # Deleting model 'Processor'
        db.delete_table('discovery_processor')

        # Deleting model 'Memory'
        db.delete_table('discovery_memory')

        # Deleting model 'Storage'
        db.delete_table('discovery_storage')

        # Deleting model 'FibreChannel'
        db.delete_table('discovery_fibrechannel')

        # Deleting model 'Ethernet'
        db.delete_table('discovery_ethernet')

        # Deleting model 'Software'
        db.delete_table('discovery_software')

        # Deleting model 'SplunkUsage'
        db.delete_table('discovery_splunkusage')

        # Deleting model 'DeprecationKind'
        db.delete_table('discovery_deprecationkind')

        # Deleting model 'MarginKind'
        db.delete_table('discovery_marginkind')

        # Deleting model 'DeviceModelGroup'
        db.delete_table('discovery_devicemodelgroup')

        # Deleting model 'DeviceModel'
        db.delete_table('discovery_devicemodel')

        # Deleting model 'Device'
        db.delete_table('discovery_device')

        # Deleting model 'LoadBalancerPool'
        db.delete_table('discovery_loadbalancerpool')

        # Deleting model 'LoadBalancerVirtualServer'
        db.delete_table('discovery_loadbalancervirtualserver')

        # Deleting model 'LoadBalancerMember'
        db.delete_table('discovery_loadbalancermember')

        # Deleting model 'Warning'
        db.delete_table('discovery_warning')

        # Deleting model 'NetworkKind'
        db.delete_table('discovery_networkkind')

        # Deleting model 'Network'
        db.delete_table('discovery_network')

        # Removing M2M table for field terminators on 'Network'
        db.delete_table('discovery_network_terminators')

        # Deleting model 'NetworkTerminator'
        db.delete_table('discovery_networkterminator')

        # Deleting model 'DataCenter'
        db.delete_table('discovery_datacenter')

        # Deleting model 'IPAddress'
        db.delete_table('discovery_ipaddress')

        # Deleting model 'IPAlias'
        db.delete_table('discovery_ipalias')

        # Deleting model 'HistoryChange'
        db.delete_table('discovery_historychange')

        # Deleting model 'HistoryCost'
        db.delete_table('discovery_historycost')


    models = {
        'account.profile': {
            'Meta': {'object_name': 'Profile'},
            'activation_token': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '40', 'blank': 'True'}),
            'birth_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
            'city': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'country': ('django.db.models.fields.PositiveIntegerField', [], {'default': '153'}),
            'gender': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'last_active': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
            'nick': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '30', 'blank': 'True'}),
            'time_zone': ('django.db.models.fields.FloatField', [], {'default': '1.0'}),
            'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'})
        },
        'auth.group': {
            'Meta': {'object_name': 'Group'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
        },
        'auth.permission': {
            'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
        },
        'auth.user': {
            'Meta': {'object_name': 'User'},
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
        },
        'business.department': {
            'Meta': {'ordering': "(u'name',)", 'object_name': 'Department'},
            'icon': (u'dj.choices.fields.ChoiceField', [], {'unique': 'False', 'primary_key': 'False', 'db_column': 'None', 'blank': 'True', u'default': 'None', 'null': 'True', '_in_south': 'True', 'db_index': 'False'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '75', 'db_index': 'True'})
        },
        'business.venture': {
            'Meta': {'unique_together': "((u'parent', u'symbol'),)", 'object_name': 'Venture'},
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'data_center': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.DataCenter']", 'null': 'True', 'blank': 'True'}),
            'department': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['business.Department']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'is_infrastructure': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'margin_kind': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.MarginKind']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '75', 'db_index': 'True'}),
            'parent': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "u'child_set'", 'null': 'True', 'blank': 'True', 'to': "orm['business.Venture']"}),
            'path': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
            'show_in_ralph': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'symbol': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '32', 'blank': 'True'})
        },
        'business.ventureextracost': {
            'Meta': {'ordering': "(u'name',)", 'unique_together': "((u'name', u'venture'),)", 'object_name': 'VentureExtraCost'},
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'cost': ('django.db.models.fields.FloatField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'expire': ('django.db.models.fields.DateField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '75'}),
            'venture': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['business.Venture']"})
        },
        'business.venturerole': {
            'Meta': {'unique_together': "((u'name', u'venture'),)", 'object_name': 'VentureRole'},
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '75'}),
            'parent': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "u'child_set'", 'null': 'True', 'blank': 'True', 'to': "orm['business.VentureRole']"}),
            'venture': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['business.Venture']"})
        },
        'contenttypes.contenttype': {
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        },
        'discovery.componentmodel': {
            'Meta': {'unique_together': "((u'speed', u'cores', u'size', u'type', u'family', u'extra_hash'),)", 'object_name': 'ComponentModel'},
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'cores': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'blank': 'True'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'extra': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
            'extra_hash': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '32', 'blank': 'True'}),
            'family': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '128', 'blank': 'True'}),
            'group': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.ComponentModelGroup']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'max_save_priority': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '75'}),
            'save_priorities': ('django.db.models.fields.TextField', [], {'default': "u''"}),
            'size': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'blank': 'True'}),
            'speed': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'blank': 'True'}),
            'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '8'})
        },
        'discovery.componentmodelgroup': {
            'Meta': {'object_name': 'ComponentModelGroup'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '75', 'db_index': 'True'}),
            'per_size': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'size_modifier': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
            'size_unit': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '50', 'blank': 'True'}),
            'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '8'})
        },
        'discovery.datacenter': {
            'Meta': {'ordering': "(u'name',)", 'object_name': 'DataCenter'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '75', 'db_index': 'True'})
        },
        'discovery.deprecationkind': {
            'Meta': {'object_name': 'DeprecationKind'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'months': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '75', 'db_index': 'True'}),
            'remarks': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'})
        },
        'discovery.device': {
            'Meta': {'object_name': 'Device'},
            'barcode': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'unique': 'True', 'null': 'True', 'blank': 'True'}),
            'boot_firmware': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'cached_cost': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
            'cached_price': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
            'chassis_position': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'dc': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '32', 'null': 'True', 'blank': 'True'}),
            'deprecation_kind': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.DeprecationKind']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'diag_firmware': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'hard_firmware': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'management': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "u'managed_set'", 'on_delete': 'models.SET_NULL', 'default': 'None', 'to': "orm['discovery.IPAddress']", 'blank': 'True', 'null': 'True'}),
            'margin_kind': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.MarginKind']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'max_save_priority': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'mgmt_firmware': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'model': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "u'device_set'", 'on_delete': 'models.SET_NULL', 'default': 'None', 'to': "orm['discovery.DeviceModel']", 'blank': 'True', 'null': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'name2': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "u'child_set'", 'on_delete': 'models.SET_NULL', 'default': 'None', 'to': "orm['discovery.Device']", 'blank': 'True', 'null': 'True'}),
            'position': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'purchase_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
            'rack': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '32', 'null': 'True', 'blank': 'True'}),
            'raw': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
            'remarks': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
            'role': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'save_priorities': ('django.db.models.fields.TextField', [], {'default': "u''"}),
            'sn': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'unique': 'True', 'null': 'True', 'blank': 'True'}),
            'support_expiration_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
            'support_kind': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'uptime_seconds': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'uptime_timestamp': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
            'venture': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['business.Venture']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'venture_role': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['business.VentureRole']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'verified': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'warranty_expiration_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
        },
        'discovery.devicemodel': {
            'Meta': {'object_name': 'DeviceModel'},
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'chassis_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'group': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.DeviceModelGroup']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'max_save_priority': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
            'save_priorities': ('django.db.models.fields.TextField', [], {'default': "u''"}),
            'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '401'})
        },
        'discovery.devicemodelgroup': {
            'Meta': {'object_name': 'DeviceModelGroup'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '75', 'db_index': 'True'}),
            'price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'slots': ('django.db.models.fields.FloatField', [], {'default': '0'}),
            'type': ('django.db.models.fields.PositiveIntegerField', [], {'default': '401'})
        },
        'discovery.diskshare': {
            'Meta': {'object_name': 'DiskShare'},
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.Device']"}),
            'full': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'label': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'max_save_priority': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'model': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.ComponentModel']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'save_priorities': ('django.db.models.fields.TextField', [], {'default': "u''"}),
            'share_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'snapshot_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'wwn': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '33'})
        },
        'discovery.disksharemount': {
            'Meta': {'unique_together': "((u'share', u'device'),)", 'object_name': 'DiskShareMount'},
            'address': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.IPAddress']", 'null': 'True', 'blank': 'True'}),
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.Device']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'is_virtual': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'server': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "u'servermount_set'", 'null': 'True', 'blank': 'True', 'to': "orm['discovery.Device']"}),
            'share': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.DiskShare']"}),
            'size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'volume': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'})
        },
        'discovery.ethernet': {
            'Meta': {'ordering': "(u'device', u'mac')", 'object_name': 'Ethernet'},
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.Device']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'label': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'mac': (u'lck.django.common.models.MACAddressField', [], {'unique': 'True', 'primary_key': 'False', 'db_column': 'None', 'blank': 'False', 'null': 'False', 'db_index': 'False'}),
            'max_save_priority': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'model': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.ComponentModel']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'save_priorities': ('django.db.models.fields.TextField', [], {'default': "u''"}),
            'speed': ('django.db.models.fields.PositiveIntegerField', [], {'default': '11'})
        },
        'discovery.fibrechannel': {
            'Meta': {'ordering': "(u'device', u'physical_id')", 'unique_together': "((u'device', u'physical_id'),)", 'object_name': 'FibreChannel'},
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.Device']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'label': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'max_save_priority': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'model': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.ComponentModel']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'physical_id': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
            'save_priorities': ('django.db.models.fields.TextField', [], {'default': "u''"})
        },
        'discovery.genericcomponent': {
            'Meta': {'object_name': 'GenericComponent'},
            'boot_firmware': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.Device']"}),
            'diag_firmware': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'hard_firmware': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'label': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'max_save_priority': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'mgmt_firmware': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'model': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.ComponentModel']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'save_priorities': ('django.db.models.fields.TextField', [], {'default': "u''"}),
            'sn': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'unique': 'True', 'null': 'True', 'blank': 'True'})
        },
        'discovery.historychange': {
            'Meta': {'object_name': 'HistoryChange'},
            'comment': ('django.db.models.fields.TextField', [], {'null': 'True'}),
            'component': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '255'}),
            'component_id': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
            'date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.Device']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'field_name': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '64'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'new_value': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '255'}),
            'old_value': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '255'}),
            'user': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['auth.User']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'})
        },
        'discovery.historycost': {
            'Meta': {'object_name': 'HistoryCost'},
            'daily_cost': ('django.db.models.fields.FloatField', [], {'default': '0'}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.Device']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'end': ('django.db.models.fields.DateField', [], {'default': "u'9999-1-1'"}),
            'extra': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['business.VentureExtraCost']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'start': ('django.db.models.fields.DateField', [], {'default': "u'0000-1-1'", 'null': 'True'}),
            'venture': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['business.Venture']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'})
        },
        'discovery.ipaddress': {
            'Meta': {'object_name': 'IPAddress'},
            'address': ('django.db.models.fields.IPAddressField', [], {'default': 'None', 'max_length': '15', 'unique': 'True', 'null': 'True', 'blank': 'True'}),
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.Device']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'dns_info': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
            'hostname': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'http_family': ('django.db.models.fields.TextField', [], {'default': 'None', 'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'is_management': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'last_puppet': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
            'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'network': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.Network']", 'null': 'True', 'blank': 'True'}),
            'number': ('django.db.models.fields.BigIntegerField', [], {'unique': 'True'}),
            'snmp_community': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '64', 'null': 'True', 'blank': 'True'}),
            'snmp_name': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'})
        },
        'discovery.ipalias': {
            'Meta': {'object_name': 'IPAlias'},
            'address': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "u'+'", 'to': "orm['discovery.IPAddress']"}),
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'hostname': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'max_save_priority': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'save_priorities': ('django.db.models.fields.TextField', [], {'default': "u''"})
        },
        'discovery.loadbalancermember': {
            'Meta': {'unique_together': "((u'pool', u'address', u'port', u'device'),)", 'object_name': 'LoadBalancerMember'},
            'address': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.IPAddress']"}),
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.Device']"}),
            'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'max_save_priority': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'pool': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.LoadBalancerPool']"}),
            'port': ('django.db.models.fields.PositiveIntegerField', [], {}),
            'save_priorities': ('django.db.models.fields.TextField', [], {'default': "u''"})
        },
        'discovery.loadbalancerpool': {
            'Meta': {'object_name': 'LoadBalancerPool'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '75', 'db_index': 'True'})
        },
        'discovery.loadbalancervirtualserver': {
            'Meta': {'object_name': 'LoadBalancerVirtualServer'},
            'address': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.IPAddress']"}),
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'default_pool': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.LoadBalancerPool']"}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.Device']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'max_save_priority': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'port': ('django.db.models.fields.PositiveIntegerField', [], {}),
            'save_priorities': ('django.db.models.fields.TextField', [], {'default': "u''"})
        },
        'discovery.marginkind': {
            'Meta': {'object_name': 'MarginKind'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'margin': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '75', 'db_index': 'True'}),
            'remarks': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'})
        },
        'discovery.memory': {
            'Meta': {'ordering': "(u'device', u'index')", 'unique_together': "((u'device', u'index'),)", 'object_name': 'Memory'},
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.Device']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'index': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'label': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'max_save_priority': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'model': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.ComponentModel']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'save_priorities': ('django.db.models.fields.TextField', [], {'default': "u''"}),
            'size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'speed': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'})
        },
        'discovery.network': {
            'Meta': {'ordering': "(u'vlan',)", 'object_name': 'Network'},
            'address': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '18'}),
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'data_center': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.DataCenter']"}),
            'gateway': ('django.db.models.fields.IPAddressField', [], {'default': 'None', 'max_length': '15', 'null': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'kind': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.NetworkKind']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'max_ip': ('django.db.models.fields.PositiveIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
            'min_ip': ('django.db.models.fields.PositiveIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '75', 'db_index': 'True'}),
            'queue': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'rack': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '16', 'null': 'True', 'blank': 'True'}),
            'remarks': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
            'terminators': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['discovery.NetworkTerminator']", 'symmetrical': 'False'}),
            'vlan': ('django.db.models.fields.PositiveIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'})
        },
        'discovery.networkkind': {
            'Meta': {'ordering': "(u'name',)", 'object_name': 'NetworkKind'},
            'icon': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '32', 'null': 'True', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '75', 'db_index': 'True'})
        },
        'discovery.networkterminator': {
            'Meta': {'ordering': "(u'name',)", 'object_name': 'NetworkTerminator'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '75', 'db_index': 'True'})
        },
        'discovery.processor': {
            'Meta': {'ordering': "(u'device', u'index')", 'unique_together': "((u'device', u'index'),)", 'object_name': 'Processor'},
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'cores': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.Device']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'index': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
            'label': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'max_save_priority': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'model': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.ComponentModel']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'save_priorities': ('django.db.models.fields.TextField', [], {'default': "u''"}),
            'speed': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'})
        },
        'discovery.software': {
            'Meta': {'ordering': "(u'device', u'sn', u'path')", 'unique_together': "((u'device', u'path'),)", 'object_name': 'Software'},
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.Device']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'label': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'max_save_priority': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'model': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.ComponentModel']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'path': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'save_priorities': ('django.db.models.fields.TextField', [], {'default': "u''"}),
            'sn': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'unique': 'True', 'null': 'True', 'blank': 'True'})
        },
        'discovery.splunkusage': {
            'Meta': {'ordering': "(u'device', u'day')", 'unique_together': "((u'device', u'day'),)", 'object_name': 'SplunkUsage'},
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'day': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.Device']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'max_save_priority': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'model': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.ComponentModel']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'save_priorities': ('django.db.models.fields.TextField', [], {'default': "u''"}),
            'size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'})
        },
        'discovery.storage': {
            'Meta': {'ordering': "(u'device', u'sn', u'mount_point')", 'unique_together': "((u'device', u'mount_point'),)", 'object_name': 'Storage'},
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['discovery.Device']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'label': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'max_save_priority': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'model': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['discovery.ComponentModel']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'mount_point': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'save_priorities': ('django.db.models.fields.TextField', [], {'default': "u''"}),
            'sn': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '255', 'unique': 'True', 'null': 'True', 'blank': 'True'})
        },
        'discovery.warning': {
            'Meta': {'unique_together': "((u'category', u'address', u'device'),)", 'object_name': 'Warning'},
            'address': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "u'warning_set'", 'null': 'True', 'to': "orm['discovery.IPAddress']"}),
            'aknowledged': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '128', 'blank': 'True'}),
            'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
            'device': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "u'warning_set'", 'null': 'True', 'to': "orm['discovery.Device']"}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'remarks': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'})
        },
        'tags.tag': {
            'Meta': {'object_name': 'Tag'},
            'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['account.Profile']"}),
            'cache_version': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "u'tags_tag_tags'", 'to': "orm['contenttypes.ContentType']"}),
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'language': ('django.db.models.fields.PositiveIntegerField', [], {'default': '39'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '75'}),
            'object_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True'}),
            'official': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'stem': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "u'related_tags'", 'null': 'True', 'to': "orm['tags.TagStem']"})
        },
        'tags.tagstem': {
            'Meta': {'object_name': 'TagStem'},
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'language': ('django.db.models.fields.PositiveIntegerField', [], {'default': '39'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '75'}),
            'tag_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'})
        }
    }

    complete_apps = ['discovery']
