Commit Graph

391 Commits

Author SHA1 Message Date
Jeremy Stretch
45ffdbfe73 Started on #4325 (WIP) 2020-03-06 17:14:26 -05:00
Jeremy Stretch
247f6d6974 Fixes #4323: Add bulk edit view for power panels 2020-03-06 16:05:26 -05:00
Jeremy Stretch
239ce16e40 Remove extraneous prefetches from racks queryset 2020-02-25 12:35:27 -05:00
Jeremy Stretch
55a6b19afb Fixes #4196: Fix exception when viewing LLDP neighbors page 2020-02-18 16:21:50 -05:00
Jeremy Stretch
af046ecb0e Clean up TODO notes 2020-02-14 13:30:53 -05:00
Jeremy Stretch
ebda443888 Migrate extras views to use common object list template 2020-02-13 16:39:38 -05:00
Jeremy Stretch
b586f81e57 Migrate DCIM views to use common object list template 2020-02-13 14:07:15 -05:00
Jeremy Stretch
e961aa58b9 Closes #4129: Add individual deletion views for device type components 2020-02-10 11:43:51 -05:00
Jeremy Stretch
62d548d48f Enable bulk edit/delete views for all device components 2020-02-06 20:58:14 -05:00
Jeremy Stretch
a37e1cc01e Add bulk edit views for DeviceType components 2020-02-06 15:29:10 -05:00
Jeremy Stretch
3202cbb248 Overhaul device component template creation views/URLs 2020-02-06 13:13:40 -05:00
Jeremy Stretch
626205d60d Rename device component edit URLs 2020-02-06 12:18:53 -05:00
Jeremy Stretch
62cf93fe12 Rename component template deletion URLs 2020-02-06 12:16:28 -05:00
Jeremy Stretch
cbcccc7377 Introduce InventoryItemCreateView to bring inventory items up to par with other components 2020-02-06 10:59:13 -05:00
Jeremy Stretch
4ee713c54f Move component bulk creation views to new URLs 2020-02-05 12:36:38 -05:00
Jeremy Stretch
0987680d0c Adapt BulkEditView to not require a parent object for device components 2020-02-04 18:08:40 -05:00
Jeremy Stretch
c1e02af946 Move component bulk delete views to new URLs 2020-02-04 16:06:55 -05:00
Jeremy Stretch
28d2991471 Fixes #4008: Toggle rack elevation face using front/rear strings 2020-01-24 15:28:15 -05:00
Jeremy Stretch
5bb99d30bc Closes #3310: Pre-select site/rack for B side when creating a new cable 2020-01-22 16:07:09 -05:00
Jeremy Stretch
a3bb57f130 Change DeviceType export from CSV to YAML 2020-01-13 15:10:16 -05:00
Jeremy Stretch
765ff6a126 Rename filter variables for utility views 2020-01-09 20:57:13 -05:00
Jeremy Stretch
dbaeac67b8 Renamed dcim FilterSets 2020-01-09 20:30:40 -05:00
Jeremy Stretch
1478cb5a52 Merge branch 'develop' into develop-2.7 2020-01-09 15:27:06 -05:00
Saria Hajjar
6d5342619f Fixes #3440: Total cable trace length 2020-01-08 10:49:58 +00:00
Saria Hajjar
bb1bb88727 Fixed #3187: Rack multi-selection field 2020-01-04 13:30:31 +00:00
Jeremy Stretch
aa4a80b87b Addressed lingering TODOs 2019-12-11 17:07:56 -05:00
hellerve
cbd9731a37 dcim: add rack-elevations api endpoint (references #2248) 2019-12-08 17:58:20 +01:00
Jeremy Stretch
ad9d33550f Closes #3731: Change Graph.type to a ContentType foreign key field 2019-12-06 10:32:59 -05:00
Daniel Sheppard
75e47fa00b Add list view for device components (#3719)
* Initial Work on #3564

* #3564 - Fixup issue with filter on interface

* #3564 - Fix PEP8 errors

* #3564 - Finalize fields, readjust order, reduce repetition

* #3564 - Update Changelog

* #3564 - Fix extra space

* #3564 - Change interface table ordering

* #3564 - Minor cleanup

* #3564 - Add Import Links

* Fix PEP8
2019-12-05 17:10:49 -05:00
Sander Steffann
9b9a9bf8f5 822 bulk import of device components (#3711)
Closes #822: CSV import for device components

* Implement CSV import for netbox-community#822

* Comment out default_return_url until there is a proper target

* Fix the default value of `enabled` when not included in the import

* rear_port is definitely required here

* Power Ports don't have a type (yet)

* Add import for console-ports and console-server-ports

* Add import for device-bays
2019-12-05 15:36:11 -05:00
Jeremy Stretch
01ac6d560d Merge branch 'develop' into develop-2.7 2019-11-01 16:19:36 -04:00
Jeremy Stretch
5360aa9593 Closes #3652: Limit next/previous rack by assigned rack group 2019-10-29 15:17:00 -04:00
Jeremy Stretch
917995e868 Merge pull request #3621 from netbox-community/451-devicetype-import
Enable YAML/JSON-based DeviceType import
2019-10-17 16:43:15 -04:00
Jeremy Stretch
531edc21f3 Merge branch 'develop' into 451-devicetype-import 2019-10-10 13:50:57 -04:00
Jeremy Stretch
5d179d54d1 Merge branch 'develop' into develop-2.7 2019-10-10 13:41:10 -04:00
Jeremy Stretch
51c96e475d Closes #3563: Enable editing of individual DeviceType components 2019-10-07 17:08:51 -04:00
Jeremy Stretch
3d2e535866 Enforce object creation permissions 2019-10-01 16:54:10 -04:00
Jeremy Stretch
02ecb22c24 Adopted a different approach to importing related objects 2019-09-27 16:51:12 -04:00
Jeremy Stretch
f2cf335e7c Remove legacy CSV-based DeviceType import 2019-09-24 16:03:10 -04:00
Jeremy Stretch
a8a2a786a1 Extend DeviceType import to include related objects 2019-09-20 14:02:14 -04:00
Jeremy Stretch
429fe9223a Merged v2.6.4 2019-09-20 08:35:14 -04:00
Jeremy Stretch
f426334c2e Closes #3485: Enable embedded graphs for devices 2019-09-18 15:59:52 -04:00
Jeremy Stretch
04ecd5e147 Initial work on JSON/YAML-based DeviceType import 2019-09-13 16:18:29 -04:00
Daniel Sheppard
5965a42979 Add in in-line vlan editing and Bulk vlan editing (#3350)
* Fixes #3341 - Added in-line vlan editing
* Fixes #2160 - Added bulk vlan editing

Inconsequential behaviour changes:

* APISelect can now take "full=True" to return a non-brief set
* Select2 will no group by "group & site, group, site, global" if full=True is set in APISelect
2019-09-06 12:45:37 -05:00
Jeremy Stretch
212252d0ea Merge v2.6.3 2019-09-04 16:45:33 -04:00
John Anderson
362227f265 convert update() calls to save() calls 2019-08-20 17:16:00 -04:00
John Anderson
7dce9908ae remove blank line after update call 2019-08-19 02:11:54 -04:00
John Anderson
8bd1a48973 fixes #3428 - caching invalidation issues
Mitgate invalidation issues by using prefetch_related instead of select_related.
Also use invalidated_update instead of just update.
2019-08-19 01:53:39 -04:00
Jeremy Stretch
0674e9572f Closes #2745: Remove topology maps 2019-08-08 21:33:20 -04:00
Lasse Bang Mikkelsen
66b6e25d8e Fixes #3323: Interface Connections view inaccessible with "dcim.view_interface" permission 2019-07-04 17:37:28 +02:00
Jeremy Stretch
31ed16335a Merged v2.5.13 2019-05-31 21:37:41 -04:00
Jeremy Stretch
7aabb6fa32 Closes #3151: Add inventory item count to manufacturers list 2019-05-29 15:20:36 -04:00
TakeMeNL
c07652d5d1 Closes #3156: Add site link to rack reservations overview 2019-05-29 16:08:24 +02:00
Alexander Olofsson
a27f02fca4 Fixes #3206: Unable to connect to rear ports 2019-05-22 19:58:26 +02:00
Jeremy Stretch
29aab8611f Closes #3183: Enable bulk deletion of sites 2019-05-16 20:24:55 -04:00
Jeremy Stretch
ec9a0ab2f7 Fixes #3140: Add bulk edit capability for power outlets and console server ports 2019-05-02 13:56:30 -04:00
Jeremy Stretch
183721d067 Fixes #3125: Fix exception when viewing PDUs 2019-04-30 12:24:53 -04:00
Jeremy Stretch
5180a14bbc PowerFeed list improvements 2019-04-19 13:43:09 -04:00
John Anderson
65f357ff85 change cacheing to use cacheops 2019-04-17 12:29:21 -04:00
John Anderson
0596a9a160 move caching to views 2019-04-15 14:41:04 -04:00
Jeremy Stretch
10f6b96b02 Enforce view permissions for UI views 2019-04-11 17:27:38 -04:00
Jeremy Stretch
c67464fc55 Provide individual views for each type of cable connection 2019-04-09 16:49:04 -04:00
Jeremy Stretch
4b34f4d302 Template and table polish 2019-03-22 21:58:45 -04:00
Jeremy Stretch
ef5811f30b Further work on power feed modeling 2019-03-21 17:47:43 -04:00
Jeremy Stretch
6552c1bb95 Added filters for power panels & feeds 2019-03-12 12:05:58 -04:00
Jeremy Stretch
757ab3152d More power work 2019-03-12 11:36:29 -04:00
Jeremy Stretch
c549a18aff Fixed up models & forms 2019-03-12 10:17:00 -04:00
Jeremy Stretch
4b0e60edab Initial work on power modeling (WIP) 2019-03-11 22:40:52 -04:00
Jeremy Stretch
ca7151a862 Fixes #2985: Fix pagination page length for rack elevations 2019-03-11 12:51:03 -04:00
Jeremy Stretch
65d41495c1 Fixes #2901: Fix ordering regions by site count 2019-02-15 10:10:26 -05:00
Jeremy Stretch
c0745f5325 Closes #2854: Enable bulk editing of pass-through ports 2019-02-08 09:31:10 -05:00
Jeremy Stretch
13015cf6c2 Closes #2810: Include description fields in interface connections export 2019-01-29 14:08:15 -05:00
Jeremy Stretch
ca227581e2 Fixes #2783: Fix AttributeError exception when attempting to delete region(s) 2019-01-15 10:44:11 -05:00
Jeremy Stretch
34a7c312f7 Closes #1983: Enable regular expressions when bulk renaming device components 2019-01-04 12:30:38 -05:00
Jeremy Stretch
30343cfffc Closes #1871: Enable filtering sites by parent region 2019-01-03 16:59:49 -05:00
Jeremy Stretch
28cd5a22ec Fixes #2698: Remove pagination restriction on bulk component creation for devices/VMs 2018-12-19 10:59:12 -05:00
Jeremy Stretch
eb80f39f3d Fixes #2626: Remove extraneous permissions generated from proxy models 2018-12-05 16:53:58 -05:00
Jeremy Stretch
b5ef607224 Merge v2.4.8 2018-11-20 12:28:24 -05:00
Jeremy Stretch
cad0925c7a Improved logic for recording cable path connection status 2018-11-19 12:37:53 -05:00
Jeremy Stretch
e18c3cff80 Expanded device interfaces display to include MTU, MAC address, and tags 2018-11-13 14:18:00 -05:00
Jeremy Stretch
82da608e53 Closes #2570: Add bulk disconnect view for front/rear pass-through ports 2018-11-08 15:12:24 -05:00
Jeremy Stretch
6b53393238 Fixes #2573: Fix bulk console/power/interface disconnections 2018-11-08 15:04:34 -05:00
Jeremy Stretch
0b90e98e75 Fixes #2567: Introduced proxy models to represent console/power/interface connections 2018-11-08 09:51:47 -05:00
Jeremy Stretch
a6ed95d223 Implemented DeviceComponentManager; removed natsort as a dependency 2018-11-06 12:43:30 -05:00
Jeremy Stretch
4b1836b5d3 Closes #2057: Added description columns to interface connections list 2018-11-05 14:41:51 -05:00
Jeremy Stretch
9ff67aac99 Closes #2165: Re-implemented natural ordering for interfaces 2018-11-05 11:51:38 -05:00
Jeremy Stretch
f6d4ea00df Cleaned up import statements 2018-11-02 15:20:08 -04:00
Jeremy Stretch
be6da64703 Show connected circuit termination on interface view 2018-11-02 11:15:09 -04:00
Jeremy Stretch
e840197e01 Closes #2104: Add 'status' field to Rack 2018-11-01 16:03:42 -04:00
Jeremy Stretch
d3bfaba2ad Fixed cable list display for circuit terminations 2018-11-01 14:14:31 -04:00
Jeremy Stretch
4275a5e63e Added bulk edit/delete views for cables 2018-11-01 13:19:24 -04:00
Jeremy Stretch
013d99ba7c Put length and length_unit fields on same line in form 2018-11-01 11:54:34 -04:00
Jeremy Stretch
a4d98515bc Added cable column to console/power/interface connection tables 2018-11-01 10:51:38 -04:00
Jeremy Stretch
3a4ff660c8 Introduce CableBulkImportView 2018-10-31 17:05:25 -04:00
Jeremy Stretch
3dc95ce727 Optimized queryset for InterfaceConnectionsListView 2018-10-31 16:01:46 -04:00
Jeremy Stretch
9b680664c1 Removed old console/power connection views 2018-10-31 15:54:29 -04:00
Jeremy Stretch
a22957952e Added dedicated cable trace view; removed modal 2018-10-30 16:30:03 -04:00
Jeremy Stretch
7e828b7f2a Extended Cables to connect CircuitTerminations 2018-10-30 12:16:22 -04:00
Jeremy Stretch
ae951236bc Standard naming of reverse relationship to Device from component models 2018-10-29 13:42:58 -04:00
Jeremy Stretch
73c279f1a5 Introduced 'cable' field on CableTermination to cache connected Cable 2018-10-29 12:24:16 -04:00