Example #1
0
class Migration(migrations.Migration):

    dependencies = [
        ("django_peeringdb", "0018_add_region_continent_field"),
    ]

    operations = [
        migrations.AddField(
            model_name="internetexchange",
            name="sales_email",
            field=models.EmailField(
                blank=True, max_length=254, verbose_name="Sales Email"
            ),
        ),
        migrations.AddField(
            model_name="internetexchange",
            name="sales_phone",
            field=models.CharField(
                blank=True,
                help_text="An E.164-formatted phone number starts with a +, followed by the country code, then the national phone number (dropping the leading 0 in most countries), without spaces or dashes between the groups of digits",
                max_length=192,
                verbose_name="Sales Phone",
            ),
        ),
    ]
Example #2
0
class Migration(migrations.Migration):

    dependencies = [
        ("peeringdb_server", "0074_facility_fields"),
    ]

    operations = [
        migrations.AddField(
            model_name="facility",
            name="region_continent",
            field=models.CharField(
                blank=True,
                choices=[
                    ("North America", "North America"),
                    ("Asia Pacific", "Asia Pacific"),
                    ("Europe", "Europe"),
                    ("South America", "South America"),
                    ("Africa", "Africa"),
                    ("Australia", "Australia"),
                    ("Middle East", "Middle East"),
                ],
                max_length=255,
                null=True,
                verbose_name="Continental Region",
            ),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ("django_peeringdb", "0010_ix_ixf_fields"),
    ]

    operations = [
        migrations.AddField(
            model_name="ixlan",
            name="ixf_ixp_member_list_url",
            field=models.URLField(
                blank=True, null=True, verbose_name="IX-F Member Export URL"
            ),
        ),
        migrations.AddField(
            model_name="ixlan",
            name="ixf_ixp_member_list_url_visible",
            field=models.CharField(
                choices=[
                    ("Private", "Private"),
                    ("Users", "Users"),
                    ("Public", "Public"),
                ],
                default="Private",
                max_length=64,
                verbose_name="IX-F Member Export URL Visibility",
            ),
        ),
    ]
Example #4
0
class Migration(migrations.Migration):

    dependencies = [
        ("django_peeringdb", "0011_ixlan_ixf_fields"),
    ]

    operations = [
        migrations.AlterField(
            model_name="network",
            name="info_prefixes4",
            field=models.PositiveIntegerField(
                blank=True,
                help_text=
                "Recommended maximum number of IPv4 routes/prefixes to be configured on peering sessions for this ASN",
                null=True,
                verbose_name="IPv4 Prefixes",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_prefixes6",
            field=models.PositiveIntegerField(
                blank=True,
                help_text=
                "Recommended maximum number of IPv6 routes/prefixes to be configured on peering sessions for this ASN",
                null=True,
                verbose_name="IPv6 Prefixes",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_type",
            field=models.CharField(
                blank=True,
                choices=[
                    ("", "Not Disclosed"),
                    ("Not Disclosed", "Not Disclosed"),
                    ("NSP", "NSP"),
                    ("Content", "Content"),
                    ("Cable/DSL/ISP", "Cable/DSL/ISP"),
                    ("Enterprise", "Enterprise"),
                    ("Educational/Research", "Educational/Research"),
                    ("Non-Profit", "Non-Profit"),
                    ("Route Server", "Route Server"),
                    ("Network Services", "Network Services"),
                    ("Route Collector", "Route Collector"),
                    ("Government", "Government"),
                ],
                default="Not Disclosed",
                max_length=60,
                verbose_name="Network Type",
            ),
        ),
    ]
Example #5
0
class Migration(migrations.Migration):

    dependencies = [
        ("django_peeringdb", "0016_add_ix_service_and_terms"),
    ]

    operations = [
        migrations.AddField(
            model_name="facility",
            name="available_voltage_services",
            field=django_peeringdb.fields.MultipleChoiceField(
                blank=True,
                choices=[
                    ("48 VDC", "48 VDC"),
                    ("120 VAC", "120 VAC"),
                    ("208 VAC", "208 VAC"),
                    ("240 VAC", "240 VAC"),
                    ("480 VAC", "480 VAC"),
                ],
                help_text="The alternating current voltage available to users of the facility either directly from the landlord or delivered by the utility separately.",
                max_length=255,
                null=True,
                verbose_name="Available Voltage Services",
            ),
        ),
        migrations.AddField(
            model_name="facility",
            name="diverse_serving_substations",
            field=models.BooleanField(
                blank=True,
                help_text="Two separate and distinct paths to individual substations which should maintain a separated path back to one or more utility generator stations.",
                null=True,
                verbose_name="Diverse Serving Substations",
            ),
        ),
        migrations.AddField(
            model_name="facility",
            name="property",
            field=models.CharField(
                blank=True,
                choices=[
                    ("", "Not Disclosed"),
                    ("Owner", "Owner"),
                    ("Lessee", "Lessee"),
                ],
                help_text="A property owner is the individual or entity that has title to the property. A lessee is a user of a property who has a lease, an agreement, with the owner of the property.",
                max_length=27,
                null=True,
                verbose_name="Property",
            ),
        ),
    ]
Example #6
0
class Migration(migrations.Migration):

    dependencies = [
        ("peeringdb_server", "0041_ixf_ixp_import_error_fields"),
    ]

    operations = [
        migrations.AlterModelOptions(
            name="facility",
            options={"verbose_name": "Facility", "verbose_name_plural": "Facilities"},
        ),
        migrations.AlterModelOptions(
            name="internetexchange",
            options={
                "verbose_name": "Internet Exchange",
                "verbose_name_plural": "Internet Exchanges",
            },
        ),
        migrations.AlterModelOptions(
            name="ixlanprefix",
            options={
                "verbose_name": "Internet Exchange LAN prefix",
                "verbose_name_plural": "Internet Exchange LAN prefixes",
            },
        ),
        migrations.AlterModelOptions(
            name="network",
            options={"verbose_name": "Network", "verbose_name_plural": "Networks"},
        ),
        migrations.AlterModelOptions(
            name="organization",
            options={
                "verbose_name": "Organization",
                "verbose_name_plural": "Organizations",
            },
        ),
        migrations.AlterField(
            model_name="facility",
            name="address1",
            field=models.CharField(
                blank=True, max_length=255, verbose_name="Address 1"
            ),
        ),
        migrations.AlterField(
            model_name="facility",
            name="address2",
            field=models.CharField(
                blank=True, max_length=255, verbose_name="Address 2"
            ),
        ),
        migrations.AlterField(
            model_name="facility",
            name="city",
            field=models.CharField(blank=True, max_length=255, verbose_name="City"),
        ),
        migrations.AlterField(
            model_name="facility",
            name="clli",
            field=models.CharField(blank=True, max_length=18, verbose_name="CLLI Code"),
        ),
        migrations.AlterField(
            model_name="facility",
            name="country",
            field=django_countries.fields.CountryField(
                blank=True, max_length=2, verbose_name="Country"
            ),
        ),
        migrations.AlterField(
            model_name="facility",
            name="latitude",
            field=models.DecimalField(
                blank=True,
                decimal_places=6,
                max_digits=9,
                null=True,
                verbose_name="Latitude",
            ),
        ),
        migrations.AlterField(
            model_name="facility",
            name="longitude",
            field=models.DecimalField(
                blank=True,
                decimal_places=6,
                max_digits=9,
                null=True,
                verbose_name="Longitude",
            ),
        ),
        migrations.AlterField(
            model_name="facility",
            name="name",
            field=models.CharField(max_length=255, unique=True, verbose_name="Name"),
        ),
        migrations.AlterField(
            model_name="facility",
            name="notes",
            field=models.TextField(blank=True, verbose_name="Notes"),
        ),
        migrations.AlterField(
            model_name="facility",
            name="npanxx",
            field=models.CharField(blank=True, max_length=21, verbose_name="NPA-NXX"),
        ),
        migrations.AlterField(
            model_name="facility",
            name="rencode",
            field=models.CharField(blank=True, max_length=18, verbose_name="Rencode"),
        ),
        migrations.AlterField(
            model_name="facility",
            name="sales_email",
            field=models.EmailField(
                blank=True, max_length=254, verbose_name="Sales Email"
            ),
        ),
        migrations.AlterField(
            model_name="facility",
            name="sales_phone",
            field=models.CharField(
                blank=True, max_length=192, verbose_name="Sales Phone"
            ),
        ),
        migrations.AlterField(
            model_name="facility",
            name="state",
            field=models.CharField(blank=True, max_length=255, verbose_name="State"),
        ),
        migrations.AlterField(
            model_name="facility",
            name="tech_email",
            field=models.EmailField(
                blank=True, max_length=254, verbose_name="Technical Email"
            ),
        ),
        migrations.AlterField(
            model_name="facility",
            name="tech_phone",
            field=models.CharField(
                blank=True, max_length=192, verbose_name="Technical Phone"
            ),
        ),
        migrations.AlterField(
            model_name="facility",
            name="website",
            field=django_peeringdb.models.abstract.URLField(
                blank=True, max_length=255, verbose_name="Website"
            ),
        ),
        migrations.AlterField(
            model_name="facility",
            name="zipcode",
            field=models.CharField(blank=True, max_length=48, verbose_name="Zip-Code"),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="city",
            field=models.CharField(max_length=192, verbose_name="City"),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="country",
            field=django_countries.fields.CountryField(
                max_length=2, verbose_name="Country"
            ),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="media",
            field=models.CharField(
                choices=[
                    ("Ethernet", "Ethernet"),
                    ("ATM", "ATM"),
                    ("Multiple", "Multiple"),
                ],
                max_length=128,
                verbose_name="Media Type",
            ),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="name",
            field=models.CharField(max_length=64, unique=True, verbose_name="Name"),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="name_long",
            field=models.CharField(
                blank=True, max_length=254, verbose_name="Long Name"
            ),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="notes",
            field=models.TextField(blank=True, verbose_name="Notes"),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="policy_email",
            field=models.EmailField(
                blank=True, max_length=254, verbose_name="Policy Email"
            ),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="policy_phone",
            field=models.CharField(
                blank=True, max_length=192, verbose_name="Policy Phone"
            ),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="proto_ipv6",
            field=models.BooleanField(default=False, verbose_name="Unicast IPv6"),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="proto_multicast",
            field=models.BooleanField(default=False, verbose_name="Multicast"),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="proto_unicast",
            field=models.BooleanField(default=False, verbose_name="Unicast IPv4"),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="region_continent",
            field=models.CharField(
                choices=[
                    ("North America", "North America"),
                    ("Asia Pacific", "Asia Pacific"),
                    ("Europe", "Europe"),
                    ("South America", "South America"),
                    ("Africa", "Africa"),
                    ("Australia", "Australia"),
                    ("Middle East", "Middle East"),
                ],
                max_length=255,
                verbose_name="Continental Region",
            ),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="tech_email",
            field=models.EmailField(
                blank=True, max_length=254, verbose_name="Technical Email"
            ),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="tech_phone",
            field=models.CharField(
                blank=True, max_length=192, verbose_name="Technical Phone"
            ),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="url_stats",
            field=django_peeringdb.models.abstract.URLField(
                blank=True, max_length=255, verbose_name="Traffic Stats Website"
            ),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="website",
            field=django_peeringdb.models.abstract.URLField(
                blank=True, max_length=255, verbose_name="Company Website"
            ),
        ),
        migrations.AlterField(
            model_name="ixfmemberdata",
            name="asn",
            field=django_inet.models.ASNField(verbose_name="ASN"),
        ),
        migrations.AlterField(
            model_name="ixfmemberdata",
            name="ipaddr4",
            field=django_inet.models.IPAddressField(
                blank=True, max_length=39, null=True, verbose_name="IPv4"
            ),
        ),
        migrations.AlterField(
            model_name="ixfmemberdata",
            name="ipaddr6",
            field=django_inet.models.IPAddressField(
                blank=True, max_length=39, null=True, verbose_name="IPv6"
            ),
        ),
        migrations.AlterField(
            model_name="ixfmemberdata",
            name="is_rs_peer",
            field=models.BooleanField(default=False, verbose_name="RS peer"),
        ),
        migrations.AlterField(
            model_name="ixfmemberdata",
            name="notes",
            field=models.CharField(blank=True, max_length=255, verbose_name="Notes"),
        ),
        migrations.AlterField(
            model_name="ixfmemberdata",
            name="operational",
            field=models.BooleanField(default=True, verbose_name="Operational"),
        ),
        migrations.AlterField(
            model_name="ixfmemberdata",
            name="speed",
            field=models.PositiveIntegerField(verbose_name="Speed (mbit/sec)"),
        ),
        migrations.AlterField(
            model_name="ixlan",
            name="arp_sponge",
            field=django_inet.models.MacAddressField(
                blank=True,
                max_length=17,
                null=True,
                unique=True,
                verbose_name="ARP sponging MAC",
            ),
        ),
        migrations.AlterField(
            model_name="ixlan",
            name="descr",
            field=models.TextField(blank=True, verbose_name="Description"),
        ),
        migrations.AlterField(
            model_name="ixlan",
            name="dot1q_support",
            field=models.BooleanField(default=False, verbose_name="802.1Q"),
        ),
        migrations.AlterField(
            model_name="ixlan",
            name="mtu",
            field=models.PositiveIntegerField(
                blank=True, null=True, verbose_name="MTU"
            ),
        ),
        migrations.AlterField(
            model_name="ixlan",
            name="name",
            field=models.CharField(blank=True, max_length=255, verbose_name="Name"),
        ),
        migrations.AlterField(
            model_name="ixlan",
            name="rs_asn",
            field=django_inet.models.ASNField(
                blank=True, default=0, null=True, verbose_name="Route Server ASN"
            ),
        ),
        migrations.AlterField(
            model_name="ixlan",
            name="vlan",
            field=models.PositiveIntegerField(
                blank=True, null=True, verbose_name="VLAN"
            ),
        ),
        migrations.AlterField(
            model_name="ixlanprefix",
            name="notes",
            field=models.CharField(blank=True, max_length=255, verbose_name="Notes"),
        ),
        migrations.AlterField(
            model_name="ixlanprefix",
            name="prefix",
            field=django_inet.models.IPPrefixField(
                max_length=43, unique=True, verbose_name="Prefix"
            ),
        ),
        migrations.AlterField(
            model_name="ixlanprefix",
            name="protocol",
            field=models.CharField(
                choices=[("IPv4", "IPv4"), ("IPv6", "IPv6")],
                max_length=64,
                verbose_name="Protocol",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="aka",
            field=models.CharField(
                blank=True, max_length=255, verbose_name="Also Known As"
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="asn",
            field=django_inet.models.ASNField(unique=True, verbose_name="ASN"),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_ipv6",
            field=models.BooleanField(default=False, verbose_name="Unicast IPv6"),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_multicast",
            field=models.BooleanField(default=False, verbose_name="Multicast"),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_never_via_route_servers",
            field=models.BooleanField(
                default=False,
                help_text="Indicates if this network will announce its routes via route servers or not",
                verbose_name="Never via route servers",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_prefixes4",
            field=models.PositiveIntegerField(
                blank=True,
                help_text="Recommended IPv4 maximum-prefix limit to be configured on peering sessions for this ASN",
                null=True,
                verbose_name="IPv4 Prefixes",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_prefixes6",
            field=models.PositiveIntegerField(
                blank=True,
                help_text="Recommended IPv6 maximum-prefix limit to be configured on peering sessions for this ASN",
                null=True,
                verbose_name="IPv6 Prefixes",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_ratio",
            field=models.CharField(
                blank=True,
                choices=[
                    ("", "Not Disclosed"),
                    ("Not Disclosed", "Not Disclosed"),
                    ("Heavy Outbound", "Heavy Outbound"),
                    ("Mostly Outbound", "Mostly Outbound"),
                    ("Balanced", "Balanced"),
                    ("Mostly Inbound", "Mostly Inbound"),
                    ("Heavy Inbound", "Heavy Inbound"),
                ],
                default="Not Disclosed",
                max_length=45,
                verbose_name="Traffic Ratios",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_scope",
            field=models.CharField(
                blank=True,
                choices=[
                    ("", "Not Disclosed"),
                    ("Not Disclosed", "Not Disclosed"),
                    ("Regional", "Regional"),
                    ("North America", "North America"),
                    ("Asia Pacific", "Asia Pacific"),
                    ("Europe", "Europe"),
                    ("South America", "South America"),
                    ("Africa", "Africa"),
                    ("Australia", "Australia"),
                    ("Middle East", "Middle East"),
                    ("Global", "Global"),
                ],
                default="Not Disclosed",
                max_length=39,
                verbose_name="Geographic Scope",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_traffic",
            field=models.CharField(
                blank=True,
                choices=[
                    ("", "Not Disclosed"),
                    ("0-20Mbps", "0-20Mbps"),
                    ("20-100Mbps", "20-100Mbps"),
                    ("100-1000Mbps", "100-1000Mbps"),
                    ("1-5Gbps", "1-5Gbps"),
                    ("5-10Gbps", "5-10Gbps"),
                    ("10-20Gbps", "10-20Gbps"),
                    ("20-50Gbps", "20-50Gbps"),
                    ("50-100Gbps", "50-100Gbps"),
                    ("100-200Gbps", "100-200Gbps"),
                    ("200-300Gbps", "200-300Gbps"),
                    ("300-500Gbps", "300-500Gbps"),
                    ("500-1000Gbps", "500-1000Gbps"),
                    ("1-5Tbps", "1-5Tbps"),
                    ("5-10Tbps", "5-10Tbps"),
                    ("10-20Tbps", "10-20Tbps"),
                    ("20-50Tbps", "20-50Tbps"),
                    ("50-100Tbps", "50-100Tbps"),
                    ("100+Tbps", "100+Tbps"),
                ],
                max_length=39,
                verbose_name="Traffic Levels",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_type",
            field=models.CharField(
                blank=True,
                choices=[
                    ("", "Not Disclosed"),
                    ("Not Disclosed", "Not Disclosed"),
                    ("NSP", "NSP"),
                    ("Content", "Content"),
                    ("Cable/DSL/ISP", "Cable/DSL/ISP"),
                    ("Enterprise", "Enterprise"),
                    ("Educational/Research", "Educational/Research"),
                    ("Non-Profit", "Non-Profit"),
                    ("Route Server", "Route Server"),
                ],
                default="Not Disclosed",
                max_length=60,
                verbose_name="Network Type",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_unicast",
            field=models.BooleanField(default=False, verbose_name="Unicast IPv4"),
        ),
        migrations.AlterField(
            model_name="network",
            name="irr_as_set",
            field=models.CharField(
                blank=True,
                help_text="Reference to an AS-SET or ROUTE-SET in Internet Routing Registry (IRR)",
                max_length=255,
                verbose_name="IRR as-set/route-set",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="looking_glass",
            field=django_peeringdb.models.abstract.LG_URLField(
                blank=True, max_length=255, verbose_name="Looking Glass URL"
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="name",
            field=models.CharField(max_length=255, unique=True, verbose_name="Name"),
        ),
        migrations.AlterField(
            model_name="network",
            name="notes",
            field=models.TextField(blank=True, verbose_name="Notes"),
        ),
        migrations.AlterField(
            model_name="network",
            name="notes_private",
            field=models.TextField(blank=True, verbose_name="Private notes"),
        ),
        migrations.AlterField(
            model_name="network",
            name="policy_contracts",
            field=models.CharField(
                blank=True,
                choices=[
                    ("Not Required", "Not Required"),
                    ("Private Only", "Private Only"),
                    ("Required", "Required"),
                ],
                max_length=36,
                verbose_name="Contract Requirement",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="policy_general",
            field=models.CharField(
                blank=True,
                choices=[
                    ("Open", "Open"),
                    ("Selective", "Selective"),
                    ("Restrictive", "Restrictive"),
                    ("No", "No"),
                ],
                max_length=72,
                verbose_name="General Policy",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="policy_locations",
            field=models.CharField(
                blank=True,
                choices=[
                    ("Not Required", "Not Required"),
                    ("Preferred", "Preferred"),
                    ("Required - US", "Required - US"),
                    ("Required - EU", "Required - EU"),
                    ("Required - International", "Required - International"),
                ],
                max_length=72,
                verbose_name="Multiple Locations",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="policy_ratio",
            field=models.BooleanField(default=False, verbose_name="Ratio Requirement"),
        ),
        migrations.AlterField(
            model_name="network",
            name="policy_url",
            field=django_peeringdb.models.abstract.URLField(
                blank=True, max_length=255, verbose_name="Peering Policy"
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="route_server",
            field=django_peeringdb.models.abstract.LG_URLField(
                blank=True, max_length=255, verbose_name="Route Server URL"
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="website",
            field=django_peeringdb.models.abstract.URLField(
                blank=True, max_length=255, verbose_name="Website"
            ),
        ),
        migrations.AlterField(
            model_name="networkcontact",
            name="email",
            field=models.EmailField(blank=True, max_length=254, verbose_name="Email"),
        ),
        migrations.AlterField(
            model_name="networkcontact",
            name="name",
            field=models.CharField(blank=True, max_length=254, verbose_name="Name"),
        ),
        migrations.AlterField(
            model_name="networkcontact",
            name="phone",
            field=models.CharField(blank=True, max_length=100, verbose_name="Phone"),
        ),
        migrations.AlterField(
            model_name="networkcontact",
            name="role",
            field=models.CharField(
                choices=[
                    ("Abuse", "Abuse"),
                    ("Maintenance", "Maintenance"),
                    ("Policy", "Policy"),
                    ("Technical", "Technical"),
                    ("NOC", "NOC"),
                    ("Public Relations", "Public Relations"),
                    ("Sales", "Sales"),
                ],
                max_length=27,
                verbose_name="Role",
            ),
        ),
        migrations.AlterField(
            model_name="networkcontact",
            name="url",
            field=django_peeringdb.models.abstract.URLField(
                blank=True, max_length=255, verbose_name="URL"
            ),
        ),
        migrations.AlterField(
            model_name="networkcontact",
            name="visible",
            field=models.CharField(
                choices=[
                    ("Private", "Private"),
                    ("Users", "Users"),
                    ("Public", "Public"),
                ],
                default="Public",
                max_length=64,
                verbose_name="Visibility",
            ),
        ),
        migrations.AlterField(
            model_name="networkfacility",
            name="avail_atm",
            field=models.BooleanField(default=False, verbose_name="ATM"),
        ),
        migrations.AlterField(
            model_name="networkfacility",
            name="avail_ethernet",
            field=models.BooleanField(default=False, verbose_name="Ethernet"),
        ),
        migrations.AlterField(
            model_name="networkfacility",
            name="avail_sonet",
            field=models.BooleanField(default=False, verbose_name="SONET"),
        ),
        migrations.AlterField(
            model_name="networkfacility",
            name="local_asn",
            field=django_inet.models.ASNField(
                blank=True, null=True, verbose_name="Local ASN"
            ),
        ),
        migrations.AlterField(
            model_name="networkixlan",
            name="asn",
            field=django_inet.models.ASNField(verbose_name="ASN"),
        ),
        migrations.AlterField(
            model_name="networkixlan",
            name="ipaddr4",
            field=django_inet.models.IPAddressField(
                blank=True, max_length=39, null=True, verbose_name="IPv4"
            ),
        ),
        migrations.AlterField(
            model_name="networkixlan",
            name="ipaddr6",
            field=django_inet.models.IPAddressField(
                blank=True, max_length=39, null=True, verbose_name="IPv6"
            ),
        ),
        migrations.AlterField(
            model_name="networkixlan",
            name="is_rs_peer",
            field=models.BooleanField(default=False, verbose_name="RS peer"),
        ),
        migrations.AlterField(
            model_name="networkixlan",
            name="notes",
            field=models.CharField(blank=True, max_length=255, verbose_name="Notes"),
        ),
        migrations.AlterField(
            model_name="networkixlan",
            name="operational",
            field=models.BooleanField(default=True, verbose_name="Operational"),
        ),
        migrations.AlterField(
            model_name="networkixlan",
            name="speed",
            field=models.PositiveIntegerField(verbose_name="Speed (mbit/sec)"),
        ),
        migrations.AlterField(
            model_name="organization",
            name="address1",
            field=models.CharField(
                blank=True, max_length=255, verbose_name="Address 1"
            ),
        ),
        migrations.AlterField(
            model_name="organization",
            name="address2",
            field=models.CharField(
                blank=True, max_length=255, verbose_name="Address 2"
            ),
        ),
        migrations.AlterField(
            model_name="organization",
            name="city",
            field=models.CharField(blank=True, max_length=255, verbose_name="City"),
        ),
        migrations.AlterField(
            model_name="organization",
            name="country",
            field=django_countries.fields.CountryField(
                blank=True, max_length=2, verbose_name="Country"
            ),
        ),
        migrations.AlterField(
            model_name="organization",
            name="latitude",
            field=models.DecimalField(
                blank=True,
                decimal_places=6,
                max_digits=9,
                null=True,
                verbose_name="Latitude",
            ),
        ),
        migrations.AlterField(
            model_name="organization",
            name="longitude",
            field=models.DecimalField(
                blank=True,
                decimal_places=6,
                max_digits=9,
                null=True,
                verbose_name="Longitude",
            ),
        ),
        migrations.AlterField(
            model_name="organization",
            name="name",
            field=models.CharField(max_length=255, unique=True, verbose_name="Name"),
        ),
        migrations.AlterField(
            model_name="organization",
            name="notes",
            field=models.TextField(blank=True, verbose_name="Notes"),
        ),
        migrations.AlterField(
            model_name="organization",
            name="state",
            field=models.CharField(blank=True, max_length=255, verbose_name="State"),
        ),
        migrations.AlterField(
            model_name="organization",
            name="website",
            field=django_peeringdb.models.abstract.URLField(
                blank=True, max_length=255, verbose_name="Website"
            ),
        ),
        migrations.AlterField(
            model_name="organization",
            name="zipcode",
            field=models.CharField(blank=True, max_length=48, verbose_name="Zip-Code"),
        ),
    ]
Example #7
0
class Migration(migrations.Migration):

    dependencies = [
        ("peeringdb_server", "0028_ixlan_remove_auto_increment"),
    ]

    operations = [
        migrations.AlterField(
            model_name="commandlinetool",
            name="created",
            field=models.DateTimeField(
                auto_now_add=True,
                help_text="command was run at this date and time"),
        ),
        migrations.AlterField(
            model_name="commandlinetool",
            name="status",
            field=models.CharField(
                choices=[
                    ("done", "Done"),
                    ("waiting", "Waiting"),
                    ("running", "Running"),
                ],
                default="done",
                max_length=255,
            ),
        ),
        migrations.AlterField(
            model_name="commandlinetool",
            name="tool",
            field=models.CharField(
                choices=[
                    ("pdb_renumber_lans", "Renumber IP Space"),
                    ("pdb_fac_merge", "Merge Facilities"),
                    ("pdb_fac_merge_undo", "Merge Facilities: UNDO"),
                    ("pdb_undelete", "Restore Object(s)"),
                    ("pdb_ixf_ixp_member_import", "IX-F Import"),
                ],
                help_text="name of the tool",
                max_length=255,
            ),
        ),
        migrations.AlterField(
            model_name="commandlinetool",
            name="user",
            field=models.ForeignKey(
                help_text="the user that ran this command",
                on_delete=django.db.models.deletion.CASCADE,
                related_name="clt_history",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="facility",
            name="geocode_date",
            field=models.DateTimeField(
                blank=True,
                help_text="Last time of attempted geocode",
                null=True),
        ),
        migrations.AlterField(
            model_name="facility",
            name="geocode_error",
            field=models.TextField(
                blank=True,
                help_text="Error message of previous geocode attempt",
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="facility",
            name="geocode_status",
            field=models.BooleanField(
                default=False,
                help_text=
                "Has this object's latitude and longitude been synchronized to its address fields",
            ),
        ),
        migrations.AlterField(
            model_name="facility",
            name="latitude",
            field=models.DecimalField(
                blank=True,
                decimal_places=6,
                help_text="Latitude",
                max_digits=9,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="facility",
            name="longitude",
            field=models.DecimalField(
                blank=True,
                decimal_places=6,
                help_text="Longitude",
                max_digits=9,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="media",
            field=models.CharField(
                choices=[
                    ("Ethernet", "Ethernet"),
                    ("ATM", "ATM"),
                    ("Multiple", "Multiple"),
                ],
                max_length=128,
            ),
        ),
        migrations.AlterField(
            model_name="internetexchange",
            name="region_continent",
            field=models.CharField(
                choices=[
                    ("North America", "North America"),
                    ("Asia Pacific", "Asia Pacific"),
                    ("Europe", "Europe"),
                    ("South America", "South America"),
                    ("Africa", "Africa"),
                    ("Australia", "Australia"),
                    ("Middle East", "Middle East"),
                ],
                max_length=255,
            ),
        ),
        migrations.AlterField(
            model_name="ixlanprefix",
            name="protocol",
            field=models.CharField(choices=[("IPv4", "IPv4"),
                                            ("IPv6", "IPv6")],
                                   max_length=64),
        ),
        migrations.AlterField(
            model_name="network",
            name="allow_ixp_update",
            field=models.BooleanField(
                default=False,
                help_text=
                "Specifies whether an ixp is allowed to add a netixlan entry for this network via their ixp_member data",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_never_via_route_servers",
            field=models.BooleanField(
                default=False,
                help_text=
                "Indicates if this network will announce its routes via rout servers or not",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_ratio",
            field=models.CharField(
                blank=True,
                choices=[
                    ("", "Not Disclosed"),
                    ("Not Disclosed", "Not Disclosed"),
                    ("Heavy Outbound", "Heavy Outbound"),
                    ("Mostly Outbound", "Mostly Outbound"),
                    ("Balanced", "Balanced"),
                    ("Mostly Inbound", "Mostly Inbound"),
                    ("Heavy Inbound", "Heavy Inbound"),
                ],
                default="Not Disclosed",
                max_length=45,
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_scope",
            field=models.CharField(
                blank=True,
                choices=[
                    ("", "Not Disclosed"),
                    ("Not Disclosed", "Not Disclosed"),
                    ("Regional", "Regional"),
                    ("North America", "North America"),
                    ("Asia Pacific", "Asia Pacific"),
                    ("Europe", "Europe"),
                    ("South America", "South America"),
                    ("Africa", "Africa"),
                    ("Australia", "Australia"),
                    ("Middle East", "Middle East"),
                    ("Global", "Global"),
                ],
                default="Not Disclosed",
                max_length=39,
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_traffic",
            field=models.CharField(
                blank=True,
                choices=[
                    ("", "Not Disclosed"),
                    ("0-20 Mbps", "0-20 Mbps"),
                    ("20-100Mbps", "20-100Mbps"),
                    ("100-1000Mbps", "100-1000Mbps"),
                    ("1-5Gbps", "1-5Gbps"),
                    ("5-10Gbps", "5-10Gbps"),
                    ("10-20Gbps", "10-20Gbps"),
                    ("20-50 Gbps", "20-50 Gbps"),
                    ("50-100 Gbps", "50-100 Gbps"),
                    ("100+ Gbps", "100+ Gbps"),
                    ("100-200 Gbps", "100-200 Gbps"),
                    ("200-300 Gbps", "200-300 Gbps"),
                    ("300-500 Gbps", "300-500 Gbps"),
                    ("500-1000 Gbps", "500-1000 Gbps"),
                    ("1 Tbps+", "1 Tbps+"),
                    ("10 Tbps+", "10 Tbps+"),
                ],
                max_length=39,
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="info_type",
            field=models.CharField(
                blank=True,
                choices=[
                    ("", "Not Disclosed"),
                    ("Not Disclosed", "Not Disclosed"),
                    ("NSP", "NSP"),
                    ("Content", "Content"),
                    ("Cable/DSL/ISP", "Cable/DSL/ISP"),
                    ("Enterprise", "Enterprise"),
                    ("Educational/Research", "Educational/Research"),
                    ("Non-Profit", "Non-Profit"),
                    ("Route Server", "Route Server"),
                ],
                default="Not Disclosed",
                max_length=60,
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="policy_contracts",
            field=models.CharField(
                blank=True,
                choices=[
                    ("Not Required", "Not Required"),
                    ("Private Only", "Private Only"),
                    ("Required", "Required"),
                ],
                max_length=36,
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="policy_general",
            field=models.CharField(
                blank=True,
                choices=[
                    ("Open", "Open"),
                    ("Selective", "Selective"),
                    ("Restrictive", "Restrictive"),
                    ("No", "No"),
                ],
                max_length=72,
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="policy_locations",
            field=models.CharField(
                blank=True,
                choices=[
                    ("Not Required", "Not Required"),
                    ("Preferred", "Preferred"),
                    ("Required - US", "Required - US"),
                    ("Required - EU", "Required - EU"),
                    ("Required - International", "Required - International"),
                ],
                max_length=72,
            ),
        ),
        migrations.AlterField(
            model_name="networkcontact",
            name="role",
            field=models.CharField(
                choices=[
                    ("Abuse", "Abuse"),
                    ("Maintenance", "Maintenance"),
                    ("Policy", "Policy"),
                    ("Technical", "Technical"),
                    ("NOC", "NOC"),
                    ("Public Relations", "Public Relations"),
                    ("Sales", "Sales"),
                ],
                max_length=27,
            ),
        ),
        migrations.AlterField(
            model_name="networkcontact",
            name="visible",
            field=models.CharField(
                choices=[
                    ("Private", "Private"),
                    ("Users", "Users"),
                    ("Public", "Public"),
                ],
                default="Public",
                max_length=64,
            ),
        ),
        migrations.AlterField(
            model_name="organization",
            name="latitude",
            field=models.DecimalField(
                blank=True,
                decimal_places=6,
                help_text="Latitude",
                max_digits=9,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="organization",
            name="logo",
            field=models.FileField(
                blank=True,
                help_text=
                "Allows you to upload and set a logo image file for this organization",
                null=True,
                upload_to="logos/",
            ),
        ),
        migrations.AlterField(
            model_name="organization",
            name="longitude",
            field=models.DecimalField(
                blank=True,
                decimal_places=6,
                help_text="Longitude",
                max_digits=9,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="partnership",
            name="logo",
            field=models.FileField(
                blank=True,
                help_text=
                "Allows you to upload and set a logo image file for this partnership",
                null=True,
                upload_to="logos/",
            ),
        ),
        migrations.AlterField(
            model_name="sponsorshiporganization",
            name="logo",
            field=models.FileField(
                blank=True,
                help_text=
                "Allows you to upload and set a logo image file for this sponsorship",
                null=True,
                upload_to="logos/",
            ),
        ),
        migrations.AlterField(
            model_name="user",
            name="status",
            field=models.CharField(default="ok",
                                   max_length=254,
                                   verbose_name="status"),
        ),
        migrations.AlterField(
            model_name="user",
            name="username",
            field=models.CharField(
                help_text="Required. Letters, digits and [@.+-/_=|] only.",
                max_length=254,
                unique=True,
                validators=[
                    django.core.validators.RegexValidator(
                        "^[\\w\\.@+-=|/]+$",
                        "Enter a valid username.",
                        "invalid",
                        flags=re.RegexFlag(32),
                    )
                ],
                verbose_name="username",
            ),
        ),
        migrations.AlterField(
            model_name="userorgaffiliationrequest",
            name="asn",
            field=django_inet.models.ASNField(
                blank=True, help_text="The ASN entered by the user",
                null=True),
        ),
        migrations.AlterField(
            model_name="userorgaffiliationrequest",
            name="org",
            field=models.ForeignKey(
                blank=True,
                help_text=
                "This organization in our database that was derived from the provided ASN or organization name. If this is empty it means no matching organization was found.",
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="affiliation_requests",
                to="peeringdb_server.Organization",
            ),
        ),
        migrations.AlterField(
            model_name="userorgaffiliationrequest",
            name="org_name",
            field=models.CharField(
                blank=True,
                help_text="The organization name entered by the user",
                max_length=255,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="userorgaffiliationrequest",
            name="status",
            field=models.CharField(
                choices=[
                    ("pending", "Pending"),
                    ("approved", "Approved"),
                    ("denied", "Denied"),
                ],
                help_text="Status of this request",
                max_length=254,
            ),
        ),
        migrations.AlterField(
            model_name="userorgaffiliationrequest",
            name="user",
            field=models.ForeignKey(
                help_text="The user that made the request",
                on_delete=django.db.models.deletion.CASCADE,
                related_name="affiliation_requests",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="verificationqueueitem",
            name="user",
            field=models.ForeignKey(
                blank=True,
                help_text=
                "The item that this queue is attached to was created by this user",
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="vqitems",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
    ]
Example #8
0
class Migration(migrations.Migration):

    dependencies = [
        ("peeringdb_server", "0073_manual_ixf_import"),
    ]

    operations = [
        migrations.AddField(
            model_name="facility",
            name="available_voltage_services",
            field=django_peeringdb.fields.MultipleChoiceField(
                blank=True,
                choices=[
                    ("48 VDC", "48 VDC"),
                    ("120 VAC", "120 VAC"),
                    ("208 VAC", "208 VAC"),
                    ("240 VAC", "240 VAC"),
                    ("480 VAC", "480 VAC"),
                ],
                help_text=
                "The alternating current voltage available to users of the facility either directly from the landlord or delivered by the utility separately.",
                max_length=255,
                null=True,
                verbose_name="Available Voltage Services",
            ),
        ),
        migrations.AddField(
            model_name="facility",
            name="diverse_serving_substations",
            field=models.BooleanField(
                blank=True,
                help_text=
                "Two separate and distinct paths to individual substations which should maintain a separated path back to one or more utility generator stations.",
                null=True,
                verbose_name="Diverse Serving Substations",
            ),
        ),
        migrations.AddField(
            model_name="facility",
            name="property",
            field=models.CharField(
                blank=True,
                choices=[
                    ("", "Not Disclosed"),
                    ("Owner", "Owner"),
                    ("Lessee", "Lessee"),
                ],
                help_text=
                "A property owner is the individual or entity that has title to the property. A lessee is a user of a property who has a lease, an agreement, with the owner of the property.",
                max_length=27,
                null=True,
                verbose_name="Property",
            ),
        ),
        migrations.AlterField(
            model_name="ixfmemberdata",
            name="asn",
            field=django_inet.models.ASNField(
                validators=[
                    django.core.validators.MinValueValidator(0),
                    django.core.validators.MinValueValidator(0),
                    django.core.validators.MinValueValidator(0),
                ],
                verbose_name="ASN",
            ),
        ),
        migrations.AlterField(
            model_name="ixlan",
            name="rs_asn",
            field=django_inet.models.ASNField(
                blank=True,
                default=0,
                null=True,
                validators=[
                    django.core.validators.MinValueValidator(0),
                    django.core.validators.MinValueValidator(0),
                    django.core.validators.MinValueValidator(0),
                ],
                verbose_name="Route Server ASN",
            ),
        ),
        migrations.AlterField(
            model_name="network",
            name="asn",
            field=django_inet.models.ASNField(
                unique=True,
                validators=[
                    django.core.validators.MinValueValidator(0),
                    django.core.validators.MinValueValidator(0),
                    django.core.validators.MinValueValidator(0),
                ],
                verbose_name="ASN",
            ),
        ),
        migrations.AlterField(
            model_name="networkfacility",
            name="local_asn",
            field=django_inet.models.ASNField(
                blank=True,
                null=True,
                validators=[
                    django.core.validators.MinValueValidator(0),
                    django.core.validators.MinValueValidator(0),
                    django.core.validators.MinValueValidator(0),
                ],
                verbose_name="Local ASN",
            ),
        ),
        migrations.AlterField(
            model_name="networkixlan",
            name="asn",
            field=django_inet.models.ASNField(
                validators=[
                    django.core.validators.MinValueValidator(0),
                    django.core.validators.MinValueValidator(0),
                    django.core.validators.MinValueValidator(0),
                    django.core.validators.MinValueValidator(0),
                ],
                verbose_name="ASN",
            ),
        ),
        migrations.AlterField(
            model_name="userorgaffiliationrequest",
            name="asn",
            field=django_inet.models.ASNField(
                blank=True,
                help_text="The ASN entered by the user",
                null=True,
                validators=[
                    django.core.validators.MinValueValidator(0),
                    django.core.validators.MinValueValidator(0),
                    django.core.validators.MinValueValidator(0),
                ],
            ),
        ),
    ]