2018-08-06 22:10:54 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Generated by Django 1.10.7 on 2018-08-06 21:10
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
import django.core.validators
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
2019-11-04 16:55:03 +00:00
|
|
|
dependencies = [("machines", "0090_auto_20180805_1459")]
|
2018-08-06 22:10:54 +00:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AddField(
|
2019-11-04 16:55:03 +00:00
|
|
|
model_name="iptype",
|
|
|
|
name="domaine_ip_netmask",
|
|
|
|
field=models.IntegerField(
|
|
|
|
default=24,
|
|
|
|
help_text="Netmask for the ipv4 range domain",
|
|
|
|
validators=[
|
|
|
|
django.core.validators.MaxValueValidator(31),
|
|
|
|
django.core.validators.MinValueValidator(8),
|
|
|
|
],
|
|
|
|
),
|
2018-08-06 22:10:54 +00:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2019-11-04 16:55:03 +00:00
|
|
|
model_name="iptype",
|
|
|
|
name="domaine_ip_network",
|
|
|
|
field=models.GenericIPAddressField(
|
|
|
|
blank=True,
|
|
|
|
help_text="Network containing the ipv4 range domain ip start/stop. Optional",
|
|
|
|
null=True,
|
|
|
|
protocol="IPv4",
|
|
|
|
),
|
2018-08-06 22:10:54 +00:00
|
|
|
),
|
|
|
|
]
|