mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
9892 add FHRP group name
This commit is contained in:
parent
75c91232b4
commit
5d07f2c837
18
netbox/ipam/migrations/0061_fhrpgroup_name.py
Normal file
18
netbox/ipam/migrations/0061_fhrpgroup_name.py
Normal 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),
|
||||
),
|
||||
]
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user