Commit Graph

303 Commits

Author SHA1 Message Date
Jeremy Stretch
461b4f4154 PEP8 cleanup 2018-10-26 13:27:54 -04:00
Jeremy Stretch
5c183cd8eb Swapped the order of cable and connection fields 2018-10-26 13:21:43 -04:00
Jeremy Stretch
29dafdedab Added length and length_unit fields to Cable 2018-10-26 10:28:25 -04:00
Jeremy Stretch
59c75a56c1 Introduced CableView and CableEditView 2018-10-25 15:51:12 -04:00
Jeremy Stretch
0eca6b1b59 Introduced CableTermination abstract model to ptovide Cable access from termination points 2018-10-25 15:21:16 -04:00
Jeremy Stretch
796b609dd7 Removed 'is_patch_panel' from DeviceType 2018-10-25 12:44:28 -04:00
Jeremy Stretch
89efd1f1e2 Dropped 'Panel' from FrontPanelPort/RearPanelPort names 2018-10-25 12:11:13 -04:00
Jeremy Stretch
470bedea1a Improved cable tracing 2018-10-25 10:56:47 -04:00
Jeremy Stretch
13ae885618 First stab at cable path tracing and automatic endpoint connections 2018-10-24 16:17:01 -04:00
Jeremy Stretch
c540bd34be Renamed Cable endpoints to terminations 2018-10-24 14:38:44 -04:00
Jeremy Stretch
f3174c14f7 Deprecated the InterfaceConnection model 2018-10-24 13:59:44 -04:00
Jeremy Stretch
0370a91558 Renamed PowerPort.power_outlet to connected_endpoint 2018-10-24 11:00:13 -04:00
Jeremy Stretch
d4e159dec6 Renamed ConsolePort.cs_port to connected_endpoint 2018-10-24 10:37:54 -04:00
Jeremy Stretch
cc01f3cbd3 WIP: Initial work on the cable connection form 2018-10-22 16:58:24 -04:00
Jeremy Stretch
455fcf16eb Merge branch 'develop-2.5' into 20-physical-cabling 2018-10-19 13:34:21 -04:00
Jeremy Stretch
6854819788 Merge branch 'develop' into develop-2.5 2018-10-19 13:34:03 -04:00
Jeremy Stretch
d775ab082b Remove ConnectableModel 2018-10-19 11:56:12 -04:00
Jeremy Stretch
22b6aab343 Preliminary work on Cables 2018-10-18 15:43:55 -04:00
Jeremy Stretch
bee7dfe9f3 Fixes #2514: Prevent new connections to already connected interfaces 2018-10-16 16:42:23 -04:00
Jeremy Stretch
26ebed03d0 Merge release v2.4.6 2018-10-10 09:36:51 -04:00
Jeremy Stretch
927cc43af1 Fixes #2491: Fix exception when importing devices with invalid device type 2018-10-05 12:22:46 -04:00
Jeremy Stretch
bd72c26a57 Initial work on #20 - patch panels 2018-10-03 14:04:16 -04:00
Jeremy Stretch
66db32fefd Merged release v2.4.5 2018-10-03 11:23:21 -04:00
Jeremy Stretch
939149f2f4 Changelog and misc cleanup 2018-09-28 14:21:49 -04:00
Jeremy Stretch
1d37a9d0e6 Merge branch 'develop' into develop-2.5 (v2.4.4 release) 2018-08-22 12:10:44 -04:00
Jeremy Stretch
2dc2aa552d Fixes #2353: Handle DoesNotExist exception when deleting a device with connected interfaces 2018-08-22 10:35:56 -04:00
Jeremy Stretch
ba5e28338d Fixes #2354: Increased maximum MTU for interfaces to 65536 bytes 2018-08-22 10:25:07 -04:00
Jeremy Stretch
34dda068c7 Closes #2367: Remove deprecated RPCClient functionality 2018-08-16 12:21:24 -04:00
Jeremy Stretch
fbe7215075 Refactored log_change() methods for device components 2018-08-14 14:06:16 -04:00
Jeremy Stretch
68a5dcd47e Removed Python 2 string compatibility 2018-08-14 11:58:42 -04:00
Jeremy Stretch
2552a48ca5 Fixes #2323: DoesNotExist raised when deleting devices or virtual machines 2018-08-07 17:30:26 -04:00
John Anderson
8c51fc86f4 Webhook signal refactor - fixes #2282 (#2260)
Refactor of webhook signaling system to use the same middleware mechanics of Changelogging
2018-07-30 14:23:49 -04:00
Jeremy Stretch
bcf014b45d Merge branch 'develop' into develop-2.4 2018-07-18 17:51:57 -04:00
Jeremy Stretch
c5bbcfee29 Fixes #2231: Remove get_absolute_url() from DeviceRole 2018-07-18 11:24:36 -04:00
Jeremy Stretch
e6308fcfb3 Enabled export templates for virtual chassis 2018-07-12 16:55:23 -04:00
Jeremy Stretch
954ea76abc Implemented a view for interfaces 2018-07-11 15:30:54 -04:00
Jeremy Stretch
1bf1eee538 Enabled tags for device components and virtual chassis 2018-07-10 15:36:28 -04:00
Jeremy Stretch
4d92ffd153 Merge branch 'develop' into develop-2.4 2018-07-02 17:01:14 -04:00
Jeremy Stretch
9b8b7abfaf Merge pull request #2206 from abeutot/switch_to_pycodestyle
Switch to pycodestyle
2018-07-02 13:38:36 -04:00
Jeremy Stretch
6ae9e7cd09 Fixes #2192: Prevent a 0U device from being assigned to a rack position 2018-06-29 14:09:20 -04:00
Jeremy Stretch
aeb91ea6e7 Closes #2029: Added optional NAPALM arguments to Platform model 2018-06-29 11:21:00 -04:00
Jeremy Stretch
2b56131412 Initial work on config contexts 2018-06-27 16:02:34 -04:00
Anaël Beutot
992dacbb72 Fix pycodestyle errors
Mainly two kind of errors:
* pokemon exceptions
* invalid escape sequences
2018-06-27 17:24:33 +02:00
Jeremy Stretch
3bba5f2ae8 Fixes interface logging error 2018-06-25 13:29:23 -04:00
Jeremy Stretch
9bab7c8942 Log interface connection changes 2018-06-25 13:12:03 -04:00
Jeremy Stretch
6b4ee90c09 Fixed Region model declaration 2018-06-22 16:34:07 -04:00
Jeremy Stretch
895bae649f Extend ObjectChange to optionally indicate a related object (e.g. a parent device) 2018-06-22 15:05:40 -04:00
Jeremy Stretch
837ae2b7b8 Merge branch 'develop-2.4' into 1898-activity-logging 2018-06-21 16:53:15 -04:00
Jeremy Stretch
88cde1da28 Closes #2118: Added latitude and longitude fields to Site 2018-06-21 14:55:10 -04:00
Jeremy Stretch
a8329687da Renamed CreatedUpdatedModel to ChangeLoggedModel and applied it to all primary and organizational models 2018-06-13 15:40:16 -04:00
Jeremy Stretch
702fb0635a Fix natural ordering within object tables 2018-06-11 15:10:31 -04:00
Jeremy Stretch
4aa7600615 Merge branch 'develop' into develop-2.4 2018-06-07 16:23:57 -04:00
Jeremy Stretch
ebcf8b6ece Fixes #2127: Prevent non-conntectable interfaces from being connected 2018-06-07 14:22:56 -04:00
Jeremy Stretch
d318247364 Closes #2131: Added created and last_updated fields to DeviceType 2018-05-30 13:41:14 -04:00
John Anderson
80a1b23f6f Implements #81 - webhook event backend (#1640)
* merge branch develop

* bugfix, signals for virtualization's class wasn't correctly defined

* updated webhooks for 2.4 and cleanup

* updated docs to cover changes to supervisor config

* review changes and further cleanup

* updated redis connection settings

* cleanup settings
2018-05-30 11:19:10 -04:00
Mandar Gokhale
e772f62e3f Add "does" to error messages
Those error messages looked a bit strange when I got them, hence the
fix.
2018-05-23 17:41:52 -04:00
Jeremy Stretch
fe9ae933e2 Closes #238: Allow racks with the same name within a site (but in different groups) 2018-05-22 15:45:30 -04:00
Jeremy Stretch
1510e5d229 Initial work on implementing django-taggit for #132 2018-05-08 16:28:26 -04:00
Jeremy Stretch
f126120a8d Code formatting cleanup 2018-03-30 13:57:26 -04:00
Jeremy Stretch
4ac941b0b6 Closes #1842: Implement support for Django 2.0 2018-03-30 10:39:22 -04:00
Jeremy Stretch
a39a992425 Fixed tests 2018-03-08 13:36:14 -05:00
Jeremy Stretch
37e5347763 Improved validation and workflow 2018-03-08 13:25:51 -05:00
Jeremy Stretch
89d5486688 Replaced tagged/untagged VLAN assignment widgets with a VLAN table; separate view for adding VLANs 2018-03-07 17:01:51 -05:00
Jeremy Stretch
250131cbe8 Finished VirtualChassis list view 2018-02-21 09:53:23 -05:00
Jeremy Stretch
91059bb311 Merge branch 'develop' into develop-2.3 2018-02-06 14:58:11 -05:00
Jeremy Stretch
cea1c45635 Standardized declaration of csv_headers on models 2018-02-02 14:26:16 -05:00
Jeremy Stretch
c6c165b1d0 Refactored CSV export logic 2018-02-02 11:36:45 -05:00
Jeremy Stretch
5f7d30e4ec Additional validation cleanup 2018-02-01 15:53:59 -05:00
Jeremy Stretch
2be7e1b4af Added virtual chassis tests 2018-02-01 13:52:41 -05:00
Jeremy Stretch
a61094e6c4 Cleaned up API for virtual chassis 2018-02-01 13:02:34 -05:00
Jeremy Stretch
a42b201172 Added virtual chassis member remove view 2018-02-01 12:49:23 -05:00
Jeremy Stretch
de40113d47 Added virtual chassis member add view 2018-02-01 11:39:13 -05:00
Jeremy Stretch
f530fdce74 Collapsed VCMembership into the Device model (WIP) 2018-01-31 22:47:27 -05:00
Jeremy Stretch
e0aac1a049 Merge branch 'develop' into develop-2.3 2018-01-31 11:13:17 -05:00
Jeremy Stretch
8e3274533c Closes #144: Implemented list and bulk edit/delete views for InventoryItems 2018-01-30 17:46:00 -05:00
Jeremy Stretch
8a3d2ea4e4 #1843: Allow assignment of VC member interfaces to VC master LAG 2018-01-30 16:34:42 -05:00
Jeremy Stretch
caebd24d1e Fixes #1847: Fix RecursionError when VC master device is unnamed 2018-01-30 16:08:43 -05:00
Jeremy Stretch
24aa8103f7 Closes #1821: Added 'description' field to Site model 2018-01-25 13:29:09 -05:00
Jeremy Stretch
19cb08634a Closes #1758: Added 'status' field to Site model 2018-01-25 13:07:04 -05:00
Jeremy Stretch
8d41447911 Renamed device status constants for clarity 2018-01-25 12:20:24 -05:00
Jeremy Stretch
1fa05169ca Allow interface mode to be null (for routed interfaces) 2018-01-25 11:45:12 -05:00
Jeremy Stretch
0b056b4f89 Reflect virtual chassis membership in display_name 2018-01-19 15:53:49 -05:00
Jeremy Stretch
189e1771d6 Closes #1283: Added a time zone field to the site model 2017-12-19 17:24:14 -05:00
Jeremy Stretch
3e355830fe Closes #1744: Allow associating a platform with a specific manufacturer 2017-12-19 16:15:26 -05:00
Jeremy Stretch
bdb07522bb Ignore VC member interfaces where mgmt_only=True 2017-12-18 16:44:44 -05:00
Jeremy Stretch
6aa37ea35e Allow designating primary IPs assigned to a device's peer VC members 2017-12-18 16:08:46 -05:00
Jeremy Stretch
87d0f18933 Obsoleted ComponentEditView and ComponentDeleteView 2017-12-15 15:57:49 -05:00
Jeremy Stretch
1e0265dd60 Added views for editing/deleting VCMemberships 2017-12-08 12:51:52 -05:00
Jeremy Stretch
c5c0d48738 Added a form to edit virtual chassis 2017-12-07 17:05:03 -05:00
Jeremy Stretch
9149652503 Merge branch 'develop-2.3' into 99-virtual-chassis 2017-12-07 15:30:58 -05:00
Jeremy Stretch
d5929c6cb0 Merge branch 'develop' into develop-2.3 2017-12-07 14:56:16 -05:00
Jeremy Stretch
d999ad4929 Fixes #1756: Improved natural ordering of console server ports and power outlets 2017-12-07 13:22:48 -05:00
Jeremy Stretch
f329a85995 Added initial UI views for virtual chassis assignment 2017-11-29 12:58:36 -05:00
Jeremy Stretch
06c3499ec8 Moved VC master designation to membership model 2017-11-27 15:59:13 -05:00
Jeremy Stretch
93b2b7601e Closes #1722: Added virtual machine count to sites list 2017-11-22 12:19:04 -05:00
Jeremy Stretch
bfcba663f0 Initial work on virtual chassis support 2017-11-17 16:47:26 -05:00
Jeremy Stretch
fb4157645e Merge branch 'develop' into develop-2.3 2017-11-17 12:05:38 -05:00
Nicholas Totsch
206beb9251 Add Tenancy to Rack Reservations; Fixes #1592 (#1672)
* fixed prefix header to represent new serial "vlan_vid"

* shows option in creation now

* fixed visibility on rack page

* cleanup

* Added view to Tenant page

* Moved migration for update from #1666 and fixed tenant enumeration in FilterForm

* Fixed conflict #1

* Fixed filters from merge and made migration merge

* added tenant to api

* Fixed migrations problem

* Added Tenant to bulkedit option
2017-11-15 13:54:49 -05:00
Jeremy Stretch
948a9627d1 Fixes #1717: Fixed inteface validation for virtual machines 2017-11-15 12:37:08 -05:00
Jeremy Stretch
e2d8aa9de8 Fixed up validation of Interface VLAN assignments 2017-11-14 16:15:23 -05:00