9892 add FHRP group name

This commit is contained in:
Arthur 2022-09-20 16:03:55 -07:00
parent 75c91232b4
commit 5d07f2c837
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 4.0.7 on 2022-09-20 23:03
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('ipam', '0060_alter_l2vpn_slug'),
]
operations = [
migrations.AddField(
model_name='fhrpgroup',
name='name',
field=models.CharField(blank=True, max_length=100),
),
]

View File

@ -22,6 +22,10 @@ class FHRPGroup(NetBoxModel):
group_id = models.PositiveSmallIntegerField(
verbose_name='Group ID'
)
name = models.CharField(
max_length=100,
blank=True
)
protocol = models.CharField(
max_length=50,
choices=FHRPGroupProtocolChoices