|
|
@@ -295,7 +295,7 @@ class IPAddressFilterForm(TenancyFilterForm, NetBoxModelFilterSetForm):
|
|
|
model = IPAddress
|
|
|
fieldsets = (
|
|
|
(None, ('q', 'filter_id', 'tag')),
|
|
|
- (_('Attributes'), ('parent', 'family', 'status', 'role', 'mask_length', 'assigned_to_interface')),
|
|
|
+ (_('Attributes'), ('parent', 'family', 'status', 'role', 'mask_length', 'assigned_to_interface', 'dns_name')),
|
|
|
(_('VRF'), ('vrf_id', 'present_in_vrf_id')),
|
|
|
(_('Tenant'), ('tenant_group_id', 'tenant_id')),
|
|
|
(_('Device/VM'), ('device_id', 'virtual_machine_id')),
|
|
|
@@ -357,6 +357,10 @@ class IPAddressFilterForm(TenancyFilterForm, NetBoxModelFilterSetForm):
|
|
|
choices=BOOLEAN_WITH_BLANK_CHOICES
|
|
|
)
|
|
|
)
|
|
|
+ dns_name = forms.CharField(
|
|
|
+ required=False,
|
|
|
+ label=_('DNS Name')
|
|
|
+ )
|
|
|
tag = TagFilterField(model)
|
|
|
|
|
|
|