Jeremy Stretch
e1e9a451da
PEP8 fix
2018-10-30 14:57:49 -04:00
Jeremy Stretch
3420b5fbdf
CircuitTermination should inherit from CableTermination
2018-10-30 14:27:45 -04:00
Jeremy Stretch
4df74780b8
Extended Cables to connect CircuitTerminations
2018-10-30 12:16:22 -04:00
Jeremy Stretch
e3dc12338b
Introduced a 'trace' API endpoint for cable terminations
2018-10-29 15:43:41 -04:00
Jeremy Stretch
8ebf7a7ad0
Standard naming of reverse relationship to Device from component models
2018-10-29 13:42:58 -04:00
Jeremy Stretch
d7766b9828
Replace 'is_connected' boolean with Cable attachment
2018-10-29 13:36:41 -04:00
Jeremy Stretch
e21b23cd98
Introduced 'cable' field on CableTermination to cache connected Cable
2018-10-29 12:24:16 -04:00
Jeremy Stretch
8573c8b8cb
Remove is_console_server, is_pdu, and is_network_device from DeviceType
2018-10-26 14:48:22 -04:00
Jeremy Stretch
0c7510c1a8
PEP8 cleanup
2018-10-26 13:27:54 -04:00
Jeremy Stretch
94946c5854
Swapped the order of cable and connection fields
2018-10-26 13:21:43 -04:00
Jeremy Stretch
6bea8cc546
Added length and length_unit fields to Cable
2018-10-26 10:28:25 -04:00
Jeremy Stretch
2d90fc608e
Introduced CableView and CableEditView
2018-10-25 15:51:12 -04:00
Jeremy Stretch
f134a6ec63
Introduced CableTermination abstract model to ptovide Cable access from termination points
2018-10-25 15:21:16 -04:00
Jeremy Stretch
266429101b
Removed 'is_patch_panel' from DeviceType
2018-10-25 12:44:28 -04:00
Jeremy Stretch
b19e2037af
Dropped 'Panel' from FrontPanelPort/RearPanelPort names
2018-10-25 12:11:13 -04:00
Jeremy Stretch
e79a156e1f
Improved cable tracing
2018-10-25 10:56:47 -04:00
Jeremy Stretch
35f80f5085
First stab at cable path tracing and automatic endpoint connections
2018-10-24 16:17:01 -04:00
Jeremy Stretch
54c917beff
Renamed Cable endpoints to terminations
2018-10-24 14:38:44 -04:00
Jeremy Stretch
f30367e094
Deprecated the InterfaceConnection model
2018-10-24 13:59:44 -04:00
Jeremy Stretch
2ec8dc8319
Renamed PowerPort.power_outlet to connected_endpoint
2018-10-24 11:00:13 -04:00
Jeremy Stretch
1595a5ecd7
Renamed ConsolePort.cs_port to connected_endpoint
2018-10-24 10:37:54 -04:00
Jeremy Stretch
471bddea09
WIP: Initial work on the cable connection form
2018-10-22 16:58:24 -04:00
Jeremy Stretch
a36b120c8b
Merge branch 'develop-2.5' into 20-physical-cabling
2018-10-19 13:34:21 -04:00
Jeremy Stretch
4cfe9fe182
Merge branch 'develop' into develop-2.5
2018-10-19 13:34:03 -04:00
Jeremy Stretch
59af8cc924
Remove ConnectableModel
2018-10-19 11:56:12 -04:00
Jeremy Stretch
ea5121ffe1
Preliminary work on Cables
2018-10-18 15:43:55 -04:00
Jeremy Stretch
0bb5d229e8
Fixes #2514 : Prevent new connections to already connected interfaces
2018-10-16 16:42:23 -04:00
Jeremy Stretch
22ed4f1b53
Merge release v2.4.6
2018-10-10 09:36:51 -04:00
Jeremy Stretch
841db3b0c2
Fixes #2491 : Fix exception when importing devices with invalid device type
2018-10-05 12:22:46 -04:00
Jeremy Stretch
3eddeeadc5
Initial work on #20 - patch panels
2018-10-03 14:04:16 -04:00
Jeremy Stretch
364bbdeab8
Merged release v2.4.5
2018-10-03 11:23:21 -04:00
Jeremy Stretch
2ee5b2344e
Changelog and misc cleanup
2018-09-28 14:21:49 -04:00
Jeremy Stretch
2ac60bdf48
Merge branch 'develop' into develop-2.5 (v2.4.4 release)
2018-08-22 12:10:44 -04:00
Jeremy Stretch
dbbf7ab664
Fixes #2353 : Handle DoesNotExist exception when deleting a device with connected interfaces
2018-08-22 10:35:56 -04:00
Jeremy Stretch
66400a98f1
Fixes #2354 : Increased maximum MTU for interfaces to 65536 bytes
2018-08-22 10:25:07 -04:00
Jeremy Stretch
c4be440cd1
Closes #2367 : Remove deprecated RPCClient functionality
2018-08-16 12:21:24 -04:00
Jeremy Stretch
6dd62dc891
Refactored log_change() methods for device components
2018-08-14 14:06:16 -04:00
Jeremy Stretch
980d62d579
Removed Python 2 string compatibility
2018-08-14 11:58:42 -04:00
Jeremy Stretch
91b5f6d799
Fixes #2323 : DoesNotExist raised when deleting devices or virtual machines
2018-08-07 17:30:26 -04:00
John Anderson
722d0d5554
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
206c465e02
Merge branch 'develop' into develop-2.4
2018-07-18 17:51:57 -04:00
Jeremy Stretch
00d218118c
Fixes #2231 : Remove get_absolute_url() from DeviceRole
2018-07-18 11:24:36 -04:00
Jeremy Stretch
67dbe02deb
Enabled export templates for virtual chassis
2018-07-12 16:55:23 -04:00
Jeremy Stretch
f048cf36ce
Implemented a view for interfaces
2018-07-11 15:30:54 -04:00
Jeremy Stretch
43ed38a6e9
Enabled tags for device components and virtual chassis
2018-07-10 15:36:28 -04:00
Jeremy Stretch
d0308e0f58
Merge branch 'develop' into develop-2.4
2018-07-02 17:01:14 -04:00
Jeremy Stretch
97863115ba
Merge pull request #2206 from abeutot/switch_to_pycodestyle
...
Switch to pycodestyle
2018-07-02 13:38:36 -04:00
Jeremy Stretch
8d4c686ae2
Fixes #2192 : Prevent a 0U device from being assigned to a rack position
2018-06-29 14:09:20 -04:00
Jeremy Stretch
35d58d2f7c
Closes #2029 : Added optional NAPALM arguments to Platform model
2018-06-29 11:21:00 -04:00
Jeremy Stretch
c13e4858d7
Initial work on config contexts
2018-06-27 16:02:34 -04:00
Anaël Beutot
4e09b32dd9
Fix pycodestyle errors
...
Mainly two kind of errors:
* pokemon exceptions
* invalid escape sequences
2018-06-27 17:24:33 +02:00
Jeremy Stretch
06143b6c70
Fixes interface logging error
2018-06-25 13:29:23 -04:00
Jeremy Stretch
0af36eb99b
Log interface connection changes
2018-06-25 13:12:03 -04:00
Jeremy Stretch
66c4911298
Fixed Region model declaration
2018-06-22 16:34:07 -04:00
Jeremy Stretch
2d198403c7
Extend ObjectChange to optionally indicate a related object (e.g. a parent device)
2018-06-22 15:05:40 -04:00
Jeremy Stretch
9d419de9dc
Merge branch 'develop-2.4' into 1898-activity-logging
2018-06-21 16:53:15 -04:00
Jeremy Stretch
258373f1a1
Closes #2118 : Added latitude and longitude fields to Site
2018-06-21 14:55:10 -04:00
Jeremy Stretch
b556d2d626
Renamed CreatedUpdatedModel to ChangeLoggedModel and applied it to all primary and organizational models
2018-06-13 15:40:16 -04:00
Jeremy Stretch
90abeedc3e
Fix natural ordering within object tables
2018-06-11 15:10:31 -04:00
Jeremy Stretch
33add12069
Merge branch 'develop' into develop-2.4
2018-06-07 16:23:57 -04:00
Jeremy Stretch
643b0eaf65
Fixes #2127 : Prevent non-conntectable interfaces from being connected
2018-06-07 14:22:56 -04:00
Jeremy Stretch
8762f1314d
Closes #2131 : Added created and last_updated fields to DeviceType
2018-05-30 13:41:14 -04:00
John Anderson
836478c166
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
32eee0bede
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
4fd52d46bf
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
b0dafcf50f
Initial work on implementing django-taggit for #132
2018-05-08 16:28:26 -04:00
Jeremy Stretch
9725f19bae
Code formatting cleanup
2018-03-30 13:57:26 -04:00
Jeremy Stretch
0969c458b3
Closes #1842 : Implement support for Django 2.0
2018-03-30 10:39:22 -04:00
Jeremy Stretch
a75d7079df
Fixed tests
2018-03-08 13:36:14 -05:00
Jeremy Stretch
70625a5cb0
Improved validation and workflow
2018-03-08 13:25:51 -05:00
Jeremy Stretch
7c043d9b4f
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
84bb977d2e
Finished VirtualChassis list view
2018-02-21 09:53:23 -05:00
Jeremy Stretch
73c64272d8
Merge branch 'develop' into develop-2.3
2018-02-06 14:58:11 -05:00
Jeremy Stretch
12e6fe1d50
Standardized declaration of csv_headers on models
2018-02-02 14:26:16 -05:00
Jeremy Stretch
59dcbce417
Refactored CSV export logic
2018-02-02 11:36:45 -05:00
Jeremy Stretch
55adcc1f0c
Additional validation cleanup
2018-02-01 15:53:59 -05:00
Jeremy Stretch
d6eaa3d0cc
Added virtual chassis tests
2018-02-01 13:52:41 -05:00
Jeremy Stretch
25ad58d42c
Cleaned up API for virtual chassis
2018-02-01 13:02:34 -05:00
Jeremy Stretch
b61bccbb67
Added virtual chassis member remove view
2018-02-01 12:49:23 -05:00
Jeremy Stretch
f1da517c84
Added virtual chassis member add view
2018-02-01 11:39:13 -05:00
Jeremy Stretch
a4019be28c
Collapsed VCMembership into the Device model (WIP)
2018-01-31 22:47:27 -05:00
Jeremy Stretch
6b101d2c49
Merge branch 'develop' into develop-2.3
2018-01-31 11:13:17 -05:00
Jeremy Stretch
2bb0e65aea
Closes #144 : Implemented list and bulk edit/delete views for InventoryItems
2018-01-30 17:46:00 -05:00
Jeremy Stretch
1cd629efb3
#1843 : Allow assignment of VC member interfaces to VC master LAG
2018-01-30 16:34:42 -05:00
Jeremy Stretch
215156c333
Fixes #1847 : Fix RecursionError when VC master device is unnamed
2018-01-30 16:08:43 -05:00
Jeremy Stretch
7378d82bc4
Closes #1821 : Added 'description' field to Site model
2018-01-25 13:29:09 -05:00
Jeremy Stretch
ed10a99771
Closes #1758 : Added 'status' field to Site model
2018-01-25 13:07:04 -05:00
Jeremy Stretch
4df128d34e
Renamed device status constants for clarity
2018-01-25 12:20:24 -05:00
Jeremy Stretch
4a57a554da
Allow interface mode to be null (for routed interfaces)
2018-01-25 11:45:12 -05:00
Jeremy Stretch
d80e64b2cc
Reflect virtual chassis membership in display_name
2018-01-19 15:53:49 -05:00
Jeremy Stretch
b20258c66e
Closes #1283 : Added a time zone field to the site model
2017-12-19 17:24:14 -05:00
Jeremy Stretch
9984238f2a
Closes #1744 : Allow associating a platform with a specific manufacturer
2017-12-19 16:15:26 -05:00
Jeremy Stretch
022c360964
Ignore VC member interfaces where mgmt_only=True
2017-12-18 16:44:44 -05:00
Jeremy Stretch
4871682dc6
Allow designating primary IPs assigned to a device's peer VC members
2017-12-18 16:08:46 -05:00
Jeremy Stretch
153409d37e
Obsoleted ComponentEditView and ComponentDeleteView
2017-12-15 15:57:49 -05:00
Jeremy Stretch
da2bff691b
Added views for editing/deleting VCMemberships
2017-12-08 12:51:52 -05:00
Jeremy Stretch
a85b3aa69f
Added a form to edit virtual chassis
2017-12-07 17:05:03 -05:00
Jeremy Stretch
2545912532
Merge branch 'develop-2.3' into 99-virtual-chassis
2017-12-07 15:30:58 -05:00
Jeremy Stretch
2fc1519bc6
Merge branch 'develop' into develop-2.3
2017-12-07 14:56:16 -05:00
Jeremy Stretch
85f5ba9a25
Fixes #1756 : Improved natural ordering of console server ports and power outlets
2017-12-07 13:22:48 -05:00
Jeremy Stretch
5f91413023
Added initial UI views for virtual chassis assignment
2017-11-29 12:58:36 -05:00
Jeremy Stretch
3b801d43bc
Moved VC master designation to membership model
2017-11-27 15:59:13 -05:00
Jeremy Stretch
0ec3b5db8b
Closes #1722 : Added virtual machine count to sites list
2017-11-22 12:19:04 -05:00
Jeremy Stretch
55e07c1c9a
Initial work on virtual chassis support
2017-11-17 16:47:26 -05:00
Jeremy Stretch
ca77e4545a
Merge branch 'develop' into develop-2.3
2017-11-17 12:05:38 -05:00
Nicholas Totsch
fbd39da8ca
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
0cb3e1749b
Fixes #1717 : Fixed inteface validation for virtual machines
2017-11-15 12:37:08 -05:00
Jeremy Stretch
04ba57cb38
Fixed up validation of Interface VLAN assignments
2017-11-14 16:15:23 -05:00
Jeremy Stretch
ba42ad2115
Merge branch '150-interface-vlans' into develop-2.3
2017-11-14 15:36:14 -05:00
Jeremy Stretch
30b544a743
Fixes #1642 : Validate device type classification when creating console server ports and power outlets
2017-11-10 15:01:46 -05:00
Jeremy Stretch
00986fd7bf
Closes #1691 : Cleaned up and reorganized import statements
2017-11-07 11:08:23 -05:00
Jeremy Stretch
368c30ef9d
Removed unused imports
2017-11-03 14:36:28 -04:00
Jeremy Stretch
b46cc2c1a9
Closes #1666 : Allow modifying the owner of a rack reservation
2017-10-31 13:52:35 -04:00
wanglf
d08bc7767e
Fixed missing field 'serial' in function to_csv()
2017-10-31 22:05:30 +08:00
Ryan Breaker
115e7d6e50
Add group and site matching validation to Rack.clean() and testing
2017-10-15 18:35:03 -05:00
Jeremy Stretch
0c645b12d1
Moved querysets to separate files; tweaked interface ordering logic ( #1523 )
2017-10-10 17:23:41 -04:00
Jeremy Stretch
35c2c8e8de
#1444 : Added a serial number field to the rack model
2017-10-09 15:01:57 -04:00
Jeremy Stretch
100d979d3e
Fixes #1554 : Don't require form_factor when creating an interface assigned to a virtual machine
2017-10-09 14:27:31 -04:00
Jeremy Stretch
b41b4fc584
Closes #1506 : Extended rack facility ID field from 30 to 50 characters
2017-10-09 13:44:22 -04:00
Jeremy Stretch
3d25cecc69
Merge branch 'develop-2.2' into develop-2.1
2017-09-29 12:30:36 -04:00
Jeremy Stretch
068c0ff36c
Merge branch 'develop' into develop-2.1
2017-09-29 12:26:54 -04:00
Jeremy Stretch
a6599874db
#1493 : Extended DeviceRole to include a toggle indicating applicability to virtual machines
2017-09-29 12:11:20 -04:00
Jeremy Stretch
0d9ff907a8
Merge branch 'develop' of github.com:digitalocean/netbox into develop-2.2
2017-09-25 15:12:47 -04:00
Jeremy Stretch
a010f7439d
More work on #1523 (natural ordering for interfaces)
2017-09-22 16:18:43 -04:00
Jeremy Stretch
2ca161f3d8
Closes #1509 : Extended cluster model to allow site assignment
2017-09-22 12:53:09 -04:00
Joey Wilhelm
126a5e5e4e
Fix order_naturally with unbalanced names and use RawSQL instead of extra
2017-09-21 11:00:55 -07:00
Jeremy Stretch
3466da4338
Merge branch 'develop' into develop-2.2
...
Conflicts:
netbox/dcim/forms.py
2017-09-14 14:58:45 -04:00
Jeremy Stretch
6b53d263fe
Fixes #1469 : Allow a NAT IP to be assigned as the primary IP for a device
2017-09-01 13:00:44 -04:00
Jeremy Stretch
0634386b2e
Merge branch 'develop' into virtualization
2017-08-31 10:14:50 -04:00
Jeremy Stretch
aaca28c1a6
Closes #1402 : Increased max length of name field for device components
2017-08-29 17:27:30 -04:00
Jeremy Stretch
fa95191792
Allowed assigning an IP address to either a device or a VM
2017-08-29 15:26:35 -04:00
Jeremy Stretch
e9f75adddb
Ditched VMInterface in favor of reusing dcim.Interface
2017-08-29 14:24:58 -04:00
Jeremy Stretch
5930a64203
Converted IPAddress.interface to a GenericForeignKey
2017-08-18 16:57:20 -04:00
Jeremy Stretch
a02055e9b5
Reworked relationship between devices and clusters
2017-08-16 17:21:34 -04:00
Jeremy Stretch
51b1da660a
Fixes #1330 : Raise validation error when assigning an unrelated IP as the primary IP for a device
2017-08-15 14:05:02 -04:00
Jeremy Stretch
b6690e0012
Closes #1368 : Render reservations in rack elevations view
2017-08-02 13:33:44 -04:00
Faidon Liambotis
4544893b4c
Allow import/export of device types ( #1347 )
2017-07-25 17:21:34 +03:00
Faidon Liambotis
f30fa925ea
Allow import/export of manufacturers ( #1347 )
2017-07-25 17:21:34 +03:00
Faidon Liambotis
beb91559e5
Allow import/export of rack groups ( #1347 )
2017-07-25 17:21:34 +03:00
Faidon Liambotis
fbc5e74318
Allow import/export of regions ( #1347 )
2017-07-25 17:21:34 +03:00
Jeremy Stretch
f6a8d32880
Initial work on NAPALM integration
2017-07-14 14:42:56 -04:00
Jeremy Stretch
a23da9f867
PEP8 fixes
2017-06-28 16:25:36 -04:00
Jeremy Stretch
5940feb64b
Closes #1121 : Added asset_tag and description fields to inventory items
2017-06-23 17:05:37 -04:00
Jeremy Stretch
229e6809d8
Closes #1041 : Added enabled and MTU fields to the interface model
2017-06-23 14:04:15 -04:00
Jeremy Stretch
68ebe85a98
Closes #1218 : Added IEEE 802.11 wireless interface types
2017-06-16 17:52:09 -04:00
Jeremy Stretch
ceb8fee0cc
Moved constant definitions from models.py to constants.py
2017-06-16 16:01:44 -04:00
Jeremy Stretch
cd263484c3
Fixes #1079 : Order interfaces naturally via API
2017-06-14 14:34:14 -04:00
Jeremy Stretch
08883d86ef
Closes #913 : Added headers to object CSV exports
2017-06-09 16:24:59 -04:00
Jeremy Stretch
e6c4ce51f7
Replaced all CSVForm ChoiceFields with CSVChoiceField
2017-06-07 13:22:06 -04:00
Jeremy Stretch
0e863ff9ca
Converted interface connections import view to new scheme
2017-06-05 15:04:23 -04:00