Jeremy Stretch
f55e966c8f
Closes #4865 : Replace all Count() annotations with subqueries ( #5385 )
...
* Convert circuits to use subqueries
* Convert dcim to use subqueries
* Convert extras to use subqueries
* Convert ipam to use subqueries
* Convert secrets to use subqueries
* Convert virtualization to use subqueries
* Update global search view to use subqueries where appropriate
* Remove extraneous order_by() calls
2020-11-25 15:49:18 -05:00
Jeremy Stretch
8c4d4532a4
Fixes #5235 : Fix exception when editing IP address with a NAT IP assigned to a non-racked device
2020-11-16 10:59:41 -05:00
Jeremy Stretch
9f8f9e8b97
Fixes #5345 : Fix non-deterministic ordering of prefixes and IP addresses
2020-11-16 10:17:05 -05:00
Jeremy Stretch
c53990c739
Closes #5307 : Add a region selector for every site form field
2020-11-04 15:27:41 -05:00
Jeremy Stretch
7598b891c1
Add initial_params to all forms
2020-11-04 11:09:13 -05:00
Daniel Sheppard
4896059162
Fixes : #5220 - Fix API patch request against IP-Address endpoint with null assigned_object_type
2020-10-08 12:50:29 -05:00
Jeremy Stretch
cd9c425d9a
Merge pull request #5208 from glennmatthews/gfm-issue-5197
...
5197: Limit main IPAddress view to a max of 10 duplicate addresses; add new duplicates view
2020-10-02 14:16:32 -04:00
Glenn Matthews
6612e0107e
Limit main IPAddress view to a max of 10 duplicate addresses. Fixes #5197
2020-10-02 14:01:51 -04:00
Jeremy Stretch
ae0a481c64
Fixes #5206 : Apply user pagination preferences to all paginated object lists
2020-10-02 13:54:57 -04:00
Daniel Sheppard
1a43ef82d9
Fixes : #5201 - Fix bulk "all" operations on VLAN Groups
2020-10-02 09:59:16 -05:00
Jeremy Stretch
1f0a4cc548
Closes #5075 : Include a VLAN membership view for VM interfaces
2020-09-23 11:48:32 -04:00
Jeremy Stretch
2bc524a2ee
Standardize usage of BooleanColumn
2020-09-16 14:25:07 -04:00
Jeremy Stretch
03b207d154
Fixes #5105 : Validation should fail when reassigning a primary IP from device to VM
2020-09-16 11:10:30 -04:00
Jeremy Stretch
de081d0205
Fixes #5095 : Fix display of assigned prefixes in VLANs list
2020-09-03 11:28:25 -04:00
Jeremy Stretch
6305a35a4f
Fixes #5085 : Fix ordering by assignment in IP addresses table
2020-09-01 15:18:47 -04:00
Jeremy Stretch
7dbeaf7a01
Fixes #5078 : Fix assignment of existing IP addresses to interfaces via web UI
2020-09-01 10:19:28 -04:00
Jeremy Stretch
e8e4ff4111
Closes #5056 : Add interface and parent columns to IP address list
2020-08-27 13:46:31 -04:00
Jeremy Stretch
236db7d42d
Merge pull request #5039 from innovationnorway/5002-available-prefixes-swagger
...
Use correct serializer for available-prefixes POST response
2020-08-24 15:09:58 -04:00
Jeremy Stretch
78d6561e39
Fixes #5040 : Limit SLAAC status to IPv6 addresses
2020-08-24 10:51:47 -04:00
Jeremy Stretch
9147823305
Fixes #5042 : Fix display of SLAAC label for IP addresses status
2020-08-24 10:47:26 -04:00
Jeremy Stretch
e7cf87be97
Fixes #5035 : Fix exception when modifying an IP address assigned to a VM
2020-08-24 10:39:41 -04:00
Joakim Bakke Hellum
fcc15d2e33
Use correct serializer for available-prefixes POST response
...
POST `/ipam/prefixes/{id}/available-prefixes/` returns single `Prefix` object, not list of `AvailablePrefix` objects.
2020-08-23 20:49:50 +02:00
Jeremy Stretch
ed65603632
Closes #4540 : Add IP address status type for SLAAC
2020-08-21 13:17:41 -04:00
Jeremy Stretch
8d351178ac
Fixes #5022 : Fix exception when editing IP address with NAT inside IP assigned
2020-08-20 14:38:58 -04:00
Jeremy Stretch
66c91484f5
Clean up display_name for various models
2020-08-14 10:20:34 -04:00
Jeremy Stretch
fd139a77f5
Closes #4997 : Introduce OrderedDefaultRouter; move root API views to views.py
2020-08-13 12:49:49 -04:00
Jeremy Stretch
0e91d837a0
Allow selecting NAT IP address by assigned virtual machine
2020-08-13 10:42:19 -04:00
Jeremy Stretch
71c2e235a8
Use display_name in VRF selection widgets
2020-08-13 10:32:57 -04:00
Jeremy Stretch
bc61393256
Merge branch 'develop' into develop-2.9
2020-08-13 10:06:03 -04:00
Jeremy Stretch
acd5f21866
Fixes #4992 : Add display_name to nested VRF serializer
2020-08-13 09:56:03 -04:00
Jeremy Stretch
53f9f82317
Set display_field where needed
2020-08-13 09:27:21 -04:00
Jeremy Stretch
c45a57ff43
Update cable termination forms to use DynamicModelChoiceField
2020-08-12 12:58:32 -04:00
Jeremy Stretch
100c8fef20
Add support for referencing peer field values in query_params
2020-08-12 12:37:17 -04:00
Jeremy Stretch
b917403c93
Replace 'nullable' attribute with null_option
2020-08-12 10:05:12 -04:00
Jeremy Stretch
8a8b4e728a
Move null_option to DynamicModelChoiceMixin
2020-08-12 09:47:13 -04:00
Jeremy Stretch
a831e525da
Remove value_field from APISelect; reference to_field_name on field
2020-08-11 17:19:40 -04:00
Jeremy Stretch
fdc43f8279
Add display_field kwarg to DynamicModelChoiceMixin
2020-08-11 17:00:28 -04:00
Jeremy Stretch
0f397fa410
Replicate 'max length' field in PrefixFilterForm for consistency
2020-08-06 09:20:20 -04:00
Jeremy Stretch
c36d8b2256
Fix default display of child count in prefix tables
2020-08-06 09:14:20 -04:00
Jeremy Stretch
d384f25ec2
Replace expand/collpase with max mask length for prefixes list
2020-08-05 16:48:45 -04:00
Jeremy Stretch
e8df9be702
Add LTE and GTE filters for prefix mask length
2020-08-05 16:16:51 -04:00
Jeremy Stretch
0d68d0c059
Replace annotate_depth() with annotate_tree()
2020-08-05 15:55:47 -04:00
Jeremy Stretch
65b42c93b0
Merge branch 'develop' into develop-2.9
2020-08-05 09:15:10 -04:00
Jeremy Stretch
26e37c1da6
Fixes #4455 : Fix ordering of prefixes beneath aggregate when available space is hidden
2020-08-04 12:09:10 -04:00
Jeremy Stretch
cb36f9fdb3
Remove restriction enforcement from RestrictedQuerySet
2020-07-23 12:48:03 -04:00
Jeremy Stretch
1714902f88
Merge branch 'develop' into develop-2.9
2020-07-21 12:57:02 -04:00
Jeremy Stretch
8514a5427c
Update related object counts to use dunders in accessor
2020-07-20 13:00:33 -04:00
Jeremy Stretch
0f679e1f03
Closes #4871 : Specify ordering for querysets using annotate() to count related objects
2020-07-20 12:07:19 -04:00
Jeremy Stretch
ba50bfa939
Address some of the django_tables2 deprecation warnings
2020-07-16 16:52:45 -04:00
Jeremy Stretch
19d0d6ff10
Closes #4857 : Drop support for legacy numeric choice field values
2020-07-15 16:54:33 -04:00