Commit Graph

212 Commits

Author SHA1 Message Date
Jeremy Stretch
91be4a4df3 Closes #198: Support for rackless devices (#902)
* Initial work to support rackless devices

* Updated device component connection forms

* Updated IP address assignment form

* Updated circuit termination form

* Formatting cleanup

* Fixed tests
2017-02-17 14:48:00 -05:00
Jeremy Stretch
cc79b8ea3d Rack reservations (#900)
* Initial work on rack reservations

* Added views for rack reservations

* Implemented ArrayFieldSelectMultiple form widget

* Implemented API endpoints for rack reservations

* Tweaked the database migration
2017-02-16 13:46:58 -05:00
Jeremy Stretch
4ee7fc9465 Exposed the request to ObjectEditView's alter_obj() 2017-02-15 15:03:31 -05:00
Jeremy Stretch
dd3e421469 Fixes #845: Fix missing edit/delete buttons on object tables for non-superusers 2017-01-26 13:20:56 -05:00
Jeremy Stretch
45532211fb Fixes #844: Apply order_naturally() to API interfaces list 2017-01-25 14:34:34 -05:00
Jeremy Stretch
27170b2c44 Standardized naming of return_url for all object views 2017-01-23 14:07:26 -05:00
Jeremy Stretch
0b07e0771c Fixes #830: Redirect user to device view after editing a device component 2017-01-23 12:14:12 -05:00
Jeremy Stretch
9470a03d0e Re-implemented method for bulk editing/deleting all objects within a filtered queryset 2017-01-20 16:42:11 -05:00
Jeremy Stretch
9bdc37995f PEP8 fixes 2017-01-18 14:43:46 -05:00
Jeremy Stretch
6adc37f77e Deprecated use_obj_view in favor of get_return_url() 2017-01-18 14:34:17 -05:00
Jeremy Stretch
457c8f93c8 Ditched get_parent_url() model method in favor of overrideable get_return_url() view method 2017-01-18 14:07:46 -05:00
Jeremy Stretch
b74e5204db Standardized the use of return_url for ObjectDeleteView 2017-01-18 13:30:19 -05:00
Jeremy Stretch
b3d354b16b Regression fix: order_naturally() must come first in the queryset definition 2017-01-18 11:55:48 -05:00
Jeremy Stretch
45758abcf7 Corrected PEP8 errors 2017-01-13 09:30:59 -05:00
Jeremy Stretch
38bc63da40 Table rendering optimizations 2017-01-06 16:50:57 -05:00
Jeremy Stretch
7433d0e856 Closes #284: Added interface_ordering field to DeviceType 2017-01-06 12:59:49 -05:00
Jeremy Stretch
736c85e4d6 Improved device interface list performance 2016-12-27 13:21:19 -05:00
Jeremy Stretch
558c813698 Refactored device component creation views 2016-12-21 17:20:27 -05:00
Jeremy Stretch
b7b9d0f147 Renamed template 2016-12-21 15:31:55 -05:00
Jeremy Stretch
326edb709e Introduced DeviceComponentCreateView 2016-12-21 15:26:56 -05:00
Jeremy Stretch
6b0e2aaefd Fixed device component bulk creation permissions 2016-12-21 13:52:16 -05:00
Jeremy Stretch
916e81b372 Fixed device type component creation permissions 2016-12-21 13:47:15 -05:00
Jeremy Stretch
09036bef05 Closes #743: Enabled bulk creation of all device components 2016-12-16 16:29:32 -05:00
Jeremy Stretch
a7f430dc3a Converted module_add to ObjectEditView 2016-12-16 12:12:42 -05:00
Jeremy Stretch
6c25c66bd1 Closes #722: Enabled custom fields for device types 2016-12-16 10:54:45 -05:00
Jeremy Stretch
a68cae8871 Closes #539: Implemented L4 services for devices 2016-12-15 15:32:58 -05:00
Jeremy Stretch
a958eed49b Closes #49: Introduction of circuit terminations 2016-12-14 13:47:22 -05:00
Jeremy Stretch
37f6ccd861 #49: Allow selection of devices at other sites when connecting an interface 2016-12-09 11:43:50 -05:00
Jeremy Stretch
83dea60830 Fixes #729: Corrected cancellation links when editing secondary objects 2016-12-08 12:20:45 -05:00
Jeremy Stretch
76e40f5faf Fixes #664: Re-implemented view for bulk creation of interfaces across multiple devices 2016-11-02 16:43:24 -04:00
Jeremy Stretch
11bf206311 Closes #647: Extend form used when assigning an IP to a device 2016-11-01 13:59:24 -04:00
Jeremy Stretch
01fc746182 Fixes #660: Correct calculation of utilized space for rack list display 2016-10-31 16:44:00 -04:00
Jeremy Stretch
7ddf81dcc8 Add is_full_depth and instance count columns to DeviceType table 2016-10-31 15:29:32 -04:00
Jeremy Stretch
4823ee698d Cleaned up message strings 2016-10-31 11:16:30 -04:00
Jeremy Stretch
3e2ddff72c Standardized device component deletion views to use ObjectDeleteView() 2016-10-28 17:00:41 -04:00
Jeremy Stretch
6f4fd39080 Standardized device component edit views to use ObjectEditView() 2016-10-28 16:14:23 -04:00
Jeremy Stretch
43670ab5e7 Closes #211: Allow device assignment and removal from IP address view 2016-10-24 15:07:11 -04:00
Jeremy Stretch
201383f74d #353: Added bulk editing for InterfaceTemplates 2016-10-19 12:15:54 -04:00
Jeremy Stretch
5a59e3827d #353: Allow bulk editing of interfaces 2016-10-14 16:38:46 -04:00
Jeremy Stretch
9a01485312 Fixes #562: Fixed bulk interface creation 2016-09-19 10:31:40 -04:00
Jeremy Stretch
bef660a2ad Added bulk editing capability for custom fields 2016-08-16 14:57:04 -04:00
Jeremy Stretch
43a6c13c00 Fixed redirect after editing RackGroups and VLANGroups 2016-08-10 13:13:26 -04:00
Jeremy Stretch
0dc21d18b2 Miscellaneous query optimizations 2016-08-10 13:07:11 -04:00
Jeremy Stretch
2b57aed27b Closes #241: Introduced rack roles 2016-08-10 11:52:27 -04:00
Jeremy Stretch
87c23608bb Closes #157: Added manufacturer field to module model 2016-08-10 10:24:47 -04:00
Jeremy Stretch
d722327566 #180: Added type and width fields to Rack model 2016-08-08 18:01:15 -04:00
Jeremy Stretch
2a3e64c825 Corrected omitted variable 2016-07-29 14:29:13 -04:00
Jeremy Stretch
250f04dad1 Show graphs button only if there is at least one graph to display 2016-07-29 13:19:58 -04:00
Jeremy Stretch
a0ab14de99 Allow unassigning VRF and tenants when editing objects in bulk 2016-07-28 15:59:49 -04:00
Jeremy Stretch
1845fafa91 Implemented bulk editing for sites 2016-07-28 15:30:29 -04:00
Jeremy Stretch
25e31ae885 Fixes #392: Don't include child devices in non-racked devices table 2016-07-28 10:06:25 -04:00
Jeremy Stretch
3f5d96d12f Fixed platform selection during bulk editing of devices 2016-07-27 16:38:21 -04:00
Jeremy Stretch
3ed00f2d60 Fixed tenant assignment on bulk edit of racks, devices 2016-07-26 17:49:41 -04:00
Jeremy Stretch
a73b0522f0 Enabled filtering of sites, racks, and devices by tenant 2016-07-26 17:28:46 -04:00
Jeremy Stretch
b7648b7a58 Applied tenancy to sites, racks, and devices 2016-07-26 16:46:22 -04:00
Jeremy Stretch
5a238808c2 Enabled bulk deletion of device bays, interfaces, console server ports, and power outlets from devices 2016-07-26 10:14:51 -04:00
Jeremy Stretch
71efef45e1 Replaced all object-specific BulkDeleteForms with the stock form provided by utilities.BulkDeleteView 2016-07-25 17:02:53 -04:00
Jeremy Stretch
be1412d3a9 Rewrote all DeviceType component template deletion views to utilize BulkDeleteView() 2016-07-25 16:32:07 -04:00
Jeremy Stretch
9ab8845e9e Fixes #381: Implements a new RackImportTable 2016-07-25 12:04:42 -04:00
bellwood
1aac82d061 properly support #304
support for #304
2016-07-20 13:04:11 -04:00
Jeremy Stretch
6ae2378762 #303: First stab at implementing a natural ordering for sites, racks, and devices 2016-07-20 10:07:32 -04:00
Jeremy Stretch
8fd684a3ed Fixes #227: Introduces support for bulk import of child devices 2016-07-14 17:35:52 -04:00
Jeremy Stretch
0648d053c9 Allow for setting mgmt_only=True in "Add management interfaces" link 2016-07-14 11:39:53 -04:00
Jeremy Stretch
a8d5020609 Fixes #290: Added mgmt interfaces table to device type view 2016-07-14 11:30:15 -04:00
Jeremy Stretch
c862487929 Related to #243: Implemented natsort on all Device and DeviceType objects (except interfaces) 2016-07-12 14:53:59 -04:00
Jeremy Stretch
f6a42cdf02 Merge pull request #248 from Zanthras/develop
possible fix for #243 generic sorting for device bays
2016-07-12 14:13:25 -04:00
Jeremy Stretch
4f2374f04d Initial work on #93: Primary IPv4/IPv6 support 2016-07-11 16:24:46 -04:00
Joel
753c6ebd20 Use the natsort library to provide a generic sorting option for better sorting of generic names for device bays. 2016-07-08 22:47:08 -07:00
Jeremy Stretch
8874edad05 Fixes #214: Suppress status message if updated_count has not been provided 2016-07-06 16:25:15 -04:00
Jeremy Stretch
8909a76200 Fixes #209: Read pk list from POST instead of form 2016-07-06 15:55:42 -04:00
Nick Peelman
45ed851277 Tests pass now 2016-07-06 13:21:40 -04:00
Nick Peelman
e7683eb833 Add MAC address field to interfaces 2016-07-06 13:21:40 -04:00
Jeremy Stretch
e2ba816fd9 Added DeviceType to device bays table 2016-07-05 13:42:14 -04:00
Jeremy Stretch
43eeb3a929 Initial work on #91: Support for subdevices 2016-07-01 17:34:47 -04:00
Jeremy Stretch
6966967952 Fixes #108: Added search for Sites 2016-06-29 12:06:37 -04:00
Jeremy Stretch
e7d84c8341 Fixes #92: Redirect to module creation page on 'add another' 2016-06-28 17:12:09 -04:00
Jeremy Stretch
4c140295c5 Fixes #61: Added list of RackGroups to Site view 2016-06-28 14:53:33 -04:00
Jeremy Stretch
c6e66a073d Fixes #29: Corrected typo 2016-06-27 14:39:08 -04:00
Jeremy Stretch
741f93999b PEP8 clenaup 2016-06-16 15:02:01 -04:00
Jeremy Stretch
943c7934f3 Implemented built-in CSV export for DCIM objects 2016-06-16 13:38:31 -04:00
Jeremy Stretch
7428b83c90 Introduced ability to manually create Modules 2016-06-15 14:00:45 -04:00
Jeremy Stretch
4b34af3e1d Introduced ability to edit/delete modules 2016-06-15 13:27:12 -04:00
Jeremy Stretch
cb8e0c93f2 Implemented object add/edit/delete logging 2016-05-23 14:20:42 -04:00
Jeremy Stretch
108db82d1c Fixed regex typo 2016-05-20 15:40:44 -04:00
Jeremy Stretch
d6cd3428f6 Removed Device.ro_snmp 2016-05-19 11:34:38 -04:00
Jeremy Stretch
112e2ccde7 Code cleanup 2016-05-18 16:02:53 -04:00
Jeremy Stretch
a07aa69321 Added CBVs for Platforms 2016-05-16 11:54:17 -04:00
Jeremy Stretch
9df86d5268 Collapsed add/edit functionality into ObjectEditView 2016-05-13 16:36:58 -04:00
Jeremy Stretch
4eeae08fb5 Added CBVs for Manufacturers 2016-05-13 15:22:31 -04:00
Jeremy Stretch
062e64a34d Collapsed EditTables into primary table for each object 2016-05-13 11:51:50 -04:00
Jeremy Stretch
f4b14b42ee Converted all delete CBVs to use utilities/obj_delete.html 2016-05-12 15:46:02 -04:00
Jeremy Stretch
bf364b7466 Default to utilities/obj_edit.html for edit views that don't need a custom layout 2016-05-12 15:07:27 -04:00
Jeremy Stretch
39be01051d Changed RackGroup URL/filter from slug to PK (slugs are not unique across sites) 2016-05-12 14:45:32 -04:00
Jeremy Stretch
21b3fbd50f Added views for DeviceRoles 2016-05-12 14:38:34 -04:00
Jeremy Stretch
a0ffd71755 Consolidated bulk delete views to use a single template 2016-05-11 15:18:39 -04:00
Jeremy Stretch
bacde242aa Converted RackGroups to use utility CBVs 2016-05-11 13:30:39 -04:00
Jeremy Stretch
2ee71b67e9 Converted DCIM Device add/edit/delete views to CBVs 2016-05-09 12:03:02 -04:00
Jeremy Stretch
e1479be3d0 Converted DCIM DeviceType add/edit/delete views to CBVs 2016-05-03 16:50:48 -04:00
Jeremy Stretch
c6c1ea7466 Converted DCIM rack add/edit/delete views to CBVs 2016-05-03 16:35:11 -04:00
Jeremy Stretch
d51992e98b Covnerted DCIM site add/edit/delete views to CBVs 2016-05-03 16:26:33 -04:00
Jeremy Stretch
f93242eb79 Corrected typo 2016-05-02 15:33:35 -04:00
Jeremy Stretch
caaf5c8dae Improved next/previous rack selection 2016-04-28 15:18:30 -04:00
Jeremy Stretch
8e11a3d624 Fixes #4: Include filter params when redirecting user after bulk edit/delete 2016-04-25 15:39:35 -04:00
Jeremy Stretch
29fd04026d Introduced TopologyMap 2016-04-08 14:57:54 -04:00
Jeremy Stretch
2f86d5e43d Added front-end UI for RackGroups 2016-03-30 12:26:37 -04:00
Jeremy Stretch
07952babe8 Expanded inventory function to support submodules 2016-03-28 17:56:00 -04:00
Jeremy Stretch
2098a152d8 Sort device IPs by address rather than by interface 2016-03-07 16:24:47 -05:00
Jeremy Stretch
61cbee15ca Implemented DeviceType component template creation and deletion 2016-03-04 23:09:32 -05:00
Jeremy Stretch
009ef41e92 Added views to create device component templates 2016-03-04 16:41:24 -05:00
Jeremy Stretch
32f6b3694a Initial work on a front end for managing DeviceTypes 2016-03-04 14:39:39 -05:00
Jeremy Stretch
30cbbdeac8 Converted DCIM object lists to ObjectListView 2016-03-04 10:35:39 -05:00
Jeremy Stretch
27b289ee3b Initial push to public repo 2016-03-01 11:23:03 -05:00