Skip to content

Commit 2c161c0

Browse files
Merge pull request #7590 from netbox-community/develop
Release v3.0.8
2 parents 66c4d23 + fc5a23c commit 2c161c0

File tree

31 files changed

+230
-105
lines changed

31 files changed

+230
-105
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ body:
1717
What version of NetBox are you currently running? (If you don't have access to the most
1818
recent NetBox release, consider testing on our [demo instance](https://demo.netbox.dev/)
1919
before opening a bug report to see if your issue has already been addressed.)
20-
placeholder: v3.0.7
20+
placeholder: v3.0.8
2121
validations:
2222
required: true
2323
- type: dropdown

.github/ISSUE_TEMPLATE/feature_request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ body:
1414
attributes:
1515
label: NetBox version
1616
description: What version of NetBox are you currently running?
17-
placeholder: v3.0.7
17+
placeholder: v3.0.8
1818
validations:
1919
required: true
2020
- type: dropdown

docs/customization/custom-links.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/release-notes/version-3.0.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# NetBox v3.0
22

3+
## v3.0.8 (2021-10-20)
4+
5+
### Enhancements
6+
7+
* [#7551](https://github.com/netbox-community/netbox/issues/7551) - Add UI field to filter interfaces by kind
8+
* [#7561](https://github.com/netbox-community/netbox/issues/7561) - Add a utilization column to the IP ranges table
9+
10+
### Bug Fixes
11+
12+
* [#7300](https://github.com/netbox-community/netbox/issues/7300) - Fix incorrect Device LLDP interface row coloring
13+
* [#7495](https://github.com/netbox-community/netbox/issues/7495) - Fix navigation UI issue that caused improper element overlap
14+
* [#7529](https://github.com/netbox-community/netbox/issues/7529) - Restore horizontal scrolling for tables in narrow viewports
15+
* [#7534](https://github.com/netbox-community/netbox/issues/7534) - Avoid exception when utilizing "create and add another" twice in succession
16+
* [#7544](https://github.com/netbox-community/netbox/issues/7544) - Fix multi-value filtering of custom field objects
17+
* [#7545](https://github.com/netbox-community/netbox/issues/7545) - Fix incorrect display of update/delete events for webhooks
18+
* [#7550](https://github.com/netbox-community/netbox/issues/7550) - Fix rendering of UTF8-encoded data in change records
19+
* [#7556](https://github.com/netbox-community/netbox/issues/7556) - Fix display of version when new release is available
20+
* [#7584](https://github.com/netbox-community/netbox/issues/7584) - Fix alignment of object identifier under object view
21+
22+
---
23+
324
## v3.0.7 (2021-10-08)
425

526
### Enhancements

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ nav:
6565
- Customization:
6666
- Custom Fields: 'customization/custom-fields.md'
6767
- Custom Validation: 'customization/custom-validation.md'
68-
- Custom Links: 'customization/custom-links.md'
68+
- Custom Links: 'models/extras/customlink.md'
6969
- Export Templates: 'customization/export-templates.md'
7070
- Custom Scripts: 'customization/custom-scripts.md'
7171
- Reports: 'customization/reports.md'

netbox/dcim/choices.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,18 @@ class PowerOutletFeedLegChoices(ChoiceSet):
685685
# Interfaces
686686
#
687687

688+
class InterfaceKindChoices(ChoiceSet):
689+
KIND_PHYSICAL = 'physical'
690+
KIND_VIRTUAL = 'virtual'
691+
KIND_WIRELESS = 'wireless'
692+
693+
CHOICES = (
694+
(KIND_PHYSICAL, 'Physical'),
695+
(KIND_VIRTUAL, 'Virtual'),
696+
(KIND_WIRELESS, 'Wireless'),
697+
)
698+
699+
688700
class InterfaceTypeChoices(ChoiceSet):
689701

690702
# Virtual

netbox/dcim/forms/filtersets.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,9 +957,14 @@ class InterfaceFilterForm(DeviceComponentFilterForm):
957957
model = Interface
958958
field_groups = [
959959
['q', 'tag'],
960-
['name', 'label', 'type', 'enabled', 'mgmt_only', 'mac_address'],
960+
['name', 'label', 'kind', 'type', 'enabled', 'mgmt_only', 'mac_address'],
961961
['region_id', 'site_group_id', 'site_id', 'location_id', 'device_id'],
962962
]
963+
kind = forms.MultipleChoiceField(
964+
choices=InterfaceKindChoices,
965+
required=False,
966+
widget=StaticSelectMultiple()
967+
)
963968
type = forms.MultipleChoiceField(
964969
choices=InterfaceTypeChoices,
965970
required=False,

netbox/extras/filtersets.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
__all__ = (
1616
'ConfigContextFilterSet',
1717
'ContentTypeFilterSet',
18+
'CustomFieldFilterSet',
1819
'CustomLinkFilterSet',
1920
'ExportTemplateFilterSet',
2021
'ImageAttachmentFilterSet',
@@ -47,7 +48,7 @@ class Meta:
4748
]
4849

4950

50-
class CustomFieldFilterSet(django_filters.FilterSet):
51+
class CustomFieldFilterSet(BaseFilterSet):
5152
content_types = ContentTypeFilter()
5253

5354
class Meta:

netbox/ipam/tables/ip.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,16 @@ class IPRangeTable(BaseTable):
260260
linkify=True
261261
)
262262
tenant = TenantColumn()
263+
utilization = UtilizationColumn(
264+
accessor='utilization',
265+
orderable=False
266+
)
263267

264268
class Meta(BaseTable.Meta):
265269
model = IPRange
266270
fields = (
267271
'pk', 'start_address', 'end_address', 'size', 'vrf', 'status', 'role', 'tenant', 'description',
272+
'utilization',
268273
)
269274
default_columns = (
270275
'pk', 'start_address', 'end_address', 'size', 'vrf', 'status', 'role', 'tenant', 'description',

netbox/netbox/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# Environment setup
1717
#
1818

19-
VERSION = '3.0.7'
19+
VERSION = '3.0.8'
2020

2121
# Hostname
2222
HOSTNAME = platform.node()

0 commit comments

Comments
 (0)