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

9892 add supporting tests, form fields

This commit is contained in:
Arthur
2022-09-26 11:39:43 -07:00
parent 600c437af5
commit e11d594122
13 changed files with 33 additions and 10 deletions

View File

@@ -527,7 +527,7 @@ class FHRPGroupForm(NetBoxModelForm):
)
fieldsets = (
('FHRP Group', ('protocol', 'group_id', 'description', 'tags')),
('FHRP Group', ('protocol', 'group_id', 'name', 'description', 'tags')),
('Authentication', ('auth_type', 'auth_key')),
('Virtual IP Address', ('ip_vrf', 'ip_address', 'ip_status'))
)
@@ -535,7 +535,7 @@ class FHRPGroupForm(NetBoxModelForm):
class Meta:
model = FHRPGroup
fields = (
'protocol', 'group_id', 'auth_type', 'auth_key', 'description', 'ip_vrf', 'ip_address', 'ip_status', 'tags',
'protocol', 'group_id', 'auth_type', 'auth_key', 'name', 'description', 'ip_vrf', 'ip_address', 'ip_status', 'tags',
)
def save(self, *args, **kwargs):