71e5caa619d6cda81edc95ebf4890ccd650024c1
[laas.git] / src / account / migrations / 0003_publicnetwork.py
1 # Generated by Django 2.1 on 2018-09-26 14:41
2
3 from django.db import migrations, models
4 import django.db.models.deletion
5
6
7 class Migration(migrations.Migration):
8
9     dependencies = [
10         ('account', '0002_lab_description'),
11     ]
12
13     operations = [
14         migrations.CreateModel(
15             name='PublicNetwork',
16             fields=[
17                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
18                 ('vlan', models.IntegerField()),
19                 ('in_use', models.BooleanField(default=False)),
20                 ('cidr', models.CharField(default='0.0.0.0/0', max_length=50)),
21                 ('gateway', models.CharField(default='0.0.0.0', max_length=50)),
22                 ('lab', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='account.Lab')),
23             ],
24         ),
25     ]