1 # Generated by Django 2.1 on 2019-01-24 17:00
3 from django.conf import settings
4 from django.db import migrations, models
5 import django.db.models.deletion
6 import resource_inventory.models
9 class Migration(migrations.Migration):
12 ('resource_inventory', '0005_image_os'),
16 migrations.AlterField(
17 model_name='cpuprofile',
19 field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='cpuprofile', to='resource_inventory.HostProfile'),
21 migrations.AlterField(
22 model_name='diskprofile',
24 field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='storageprofile', to='resource_inventory.HostProfile'),
26 migrations.AlterField(
27 model_name='generichost',
29 field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='resource_inventory.HostProfile'),
31 migrations.AlterField(
32 model_name='generichost',
34 field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='generic_host', to='resource_inventory.GenericResource'),
36 migrations.AlterField(
37 model_name='genericinterface',
39 field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='generic_interfaces', to='resource_inventory.GenericHost'),
41 migrations.AlterField(
42 model_name='genericresource',
44 field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='generic_resources', to='resource_inventory.GenericResourceBundle'),
46 migrations.AlterField(
47 model_name='genericresourcebundle',
49 field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='account.Lab'),
51 migrations.AlterField(
52 model_name='genericresourcebundle',
54 field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL),
56 migrations.AlterField(
57 model_name='hostconfiguration',
59 field=models.ForeignKey(on_delete=models.SET(resource_inventory.models.get_sentinal_opnfv_role), to='resource_inventory.OPNFVRole'),
61 migrations.AlterField(
62 model_name='interfaceprofile',
64 field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='interfaceprofile', to='resource_inventory.HostProfile'),
66 migrations.AlterField(
67 model_name='ramprofile',
69 field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='ramprofile', to='resource_inventory.HostProfile'),
71 migrations.AlterField(
72 model_name='resourcebundle',
74 field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='resource_inventory.GenericResourceBundle'),