1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #7681: Add service_id field for provider networks

This commit is contained in:
jeremystretch
2021-12-23 13:50:01 -05:00
parent a03ae295f6
commit bffd22038b
12 changed files with 48 additions and 12 deletions

View File

@ -5,7 +5,6 @@ from django.urls import reverse
from dcim.fields import ASNField
from extras.utils import extras_features
from netbox.models import PrimaryModel
from utilities.querysets import RestrictedQuerySet
__all__ = (
'ProviderNetwork',
@ -87,6 +86,11 @@ class ProviderNetwork(PrimaryModel):
on_delete=models.PROTECT,
related_name='networks'
)
service_id = models.CharField(
max_length=100,
blank=True,
verbose_name='Service ID'
)
description = models.CharField(
max_length=200,
blank=True