Changelog & cleanup for #9892

This commit is contained in:
jeremystretch 2022-09-27 09:55:35 -04:00
parent d08d5620da
commit 6016e1b15d
3 changed files with 14 additions and 7 deletions

View File

@ -23,10 +23,6 @@ The group's numeric identifier.
An optional name for the FHRP group.
### Description
A brief description of the FHRP group.
### Authentication Type
The type of authentication employed by group nodes, if any.

View File

@ -3,6 +3,10 @@
!!! warning "PostgreSQL 11 Required"
NetBox v3.4 requires PostgreSQL 11 or later.
### Enhancements
* [#9892](https://github.com/netbox-community/netbox/issues/9892) - Add optional `name` field for FHRP groups
### Plugins API
* [#10314](https://github.com/netbox-community/netbox/issues/10314) - Move `clone()` method from NetBoxModel to CloningMixin
@ -10,3 +14,8 @@
### Other Changes
* [#10358](https://github.com/netbox-community/netbox/issues/10358) - Raise minimum required PostgreSQL version from 10 to 11
### REST API Changes
* ipam.FHRPGroup
* Added optional `name` field

View File

@ -36,10 +36,12 @@ class FHRPGroupTable(NetBoxTable):
class Meta(NetBoxTable.Meta):
model = FHRPGroup
fields = (
'pk', 'group_id', 'protocol', 'auth_type', 'auth_key', 'name', 'description', 'ip_addresses', 'member_count',
'tags', 'created', 'last_updated',
'pk', 'group_id', 'protocol', 'name', 'auth_type', 'auth_key', 'description', 'ip_addresses',
'member_count', 'tags', 'created', 'last_updated',
)
default_columns = (
'pk', 'group_id', 'protocol', 'name', 'auth_type', 'description', 'ip_addresses', 'member_count',
)
default_columns = ('pk', 'group_id', 'protocol', 'auth_type', 'description', 'ip_addresses', 'member_count')
class FHRPGroupAssignmentTable(NetBoxTable):