-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhancement to Ownership Information Field peeringdb/peeringdb#1115 Add help text to "Traffic Levels" peeringdb/peeringdb#840 missing migrations #100
- Loading branch information
Showing
7 changed files
with
193 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
src/django_peeringdb/migrations/0031_add_info_traffic_help_text.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Generated by Django 4.2.11 on 2024-04-16 04:36 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("django_peeringdb", "0030_bfd_support"), | ||
] | ||
|
||
operations = [ | ||
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"), | ||
], | ||
help_text="Total, self-classified traffic in/out to this network.", | ||
max_length=39, | ||
verbose_name="Traffic Levels", | ||
), | ||
), | ||
] |
28 changes: 28 additions & 0 deletions
28
src/django_peeringdb/migrations/0032_alter_property_help_text.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Generated by Django 4.2.11 on 2024-04-26 10:28 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("django_peeringdb", "0031_add_info_traffic_help_text"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="facility", | ||
name="property", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("", "Not Disclosed"), | ||
("Owner", "Owner"), | ||
("Lessee", "Leased or Rented"), | ||
], | ||
help_text="Leasing renting is an agreement with a property owner for use of the property.", | ||
max_length=27, | ||
null=True, | ||
verbose_name="Property", | ||
), | ||
) | ||
] |
96 changes: 96 additions & 0 deletions
96
src/django_peeringdb/migrations/0033_alter_facility_property_alter_ixlan_rs_asn_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
# Generated by Django 4.2.11 on 2024-05-02 09:46 | ||
|
||
import django.core.validators | ||
import django_inet.models | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("django_peeringdb", "0032_alter_property_help_text"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="facility", | ||
name="property", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("", "Not Disclosed"), | ||
("Owner", "Owner"), | ||
("Lessee", "Leased or Rented"), | ||
], | ||
help_text="Leasing or renting is an agreement with a property owner for use of the property.", | ||
max_length=27, | ||
null=True, | ||
verbose_name="Property", | ||
), | ||
), | ||
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), | ||
], | ||
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), | ||
], | ||
verbose_name="ASN", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="network", | ||
name="policy_general", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("Open", "Open"), | ||
("Selective", "Selective"), | ||
("Restrictive", "Restrictive"), | ||
("No", "No"), | ||
], | ||
help_text="Peering with the routeserver and BFD support is shown with an icon", | ||
max_length=72, | ||
verbose_name="General Policy", | ||
), | ||
), | ||
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), | ||
], | ||
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), | ||
], | ||
verbose_name="ASN", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters