Commit Graph

606 Commits

Author SHA1 Message Date
Jeremy Stretch
c89a155f67 Merge v2.5.11 2019-04-29 14:40:18 -04:00
Jeremy Stretch
4809137e5d Add device field on cable search form (#3023) 2019-04-29 11:29:07 -04:00
Jeremy Stretch
5180a14bbc PowerFeed list improvements 2019-04-19 13:43:09 -04:00
Jeremy Stretch
fae7095305 Add power_panel_id field to PowerFeedFilterForm 2019-04-19 13:17:43 -04:00
Jeremy Stretch
7906987e14 Fix RelatedObjectDoesNotExist when adding a new PowerFeed 2019-04-15 17:55:50 -04:00
Jeremy Stretch
fd4802b8f3 Rename form_factor to type on dcim.Interface 2019-04-12 13:42:56 -04:00
Jeremy Stretch
acaf05c090 Misc cleanup 2019-04-11 10:49:43 -04:00
Jeremy Stretch
3d77eed6e2 Rename max_utilization to power_factor 2019-04-10 16:36:38 -04:00
Jeremy Stretch
2076c0f494 Add associatiton from power outlet to power port/phase 2019-04-10 14:16:16 -04:00
dansheps
e0f27656b5 Move Filter and Form to new file, update all files 2019-04-10 08:37:12 -05:00
Jeremy Stretch
b74db3a0cd Add max/allocated current draw fields to PowerPort 2019-04-09 17:32:04 -04:00
dansheps
4c6b4c19b3 Merge branch 'develop' of https://github.com/digitalocean/netbox into 2813-addtenantgroupfilter 2019-04-09 15:57:22 -05:00
Jeremy Stretch
c67464fc55 Provide individual views for each type of cable connection 2019-04-09 16:49:04 -04:00
Jeremy Stretch
7f7e418e9b Finish power outlet/feed connection forms 2019-04-09 15:37:31 -04:00
Jeremy Stretch
0cfc798399 Fix CSV import forms 2019-04-09 14:55:17 -04:00
Jeremy Stretch
9a690ef644 Merge branch 'develop-2.6' into 54-power-modeling 2019-04-09 14:12:45 -04:00
Jeremy Stretch
856651c4e8 Merge branch 'develop' into develop-2.6 2019-04-09 14:11:26 -04:00
Jeremy Stretch
2f1c482702 Fixes #3041: Fix form widget for bulk cable label update 2019-04-04 12:43:14 -04:00
Jeremy Stretch
f065ecdf26 Merge branch 'develop-2.6' into 54-power-modeling 2019-04-02 13:15:40 -04:00
Jeremy Stretch
2b3be845cd Merge branch 'develop' into develop-2.6 2019-04-02 13:12:34 -04:00
Jeremy Stretch
ef5811f30b Further work on power feed modeling 2019-03-21 17:47:43 -04:00
John Anderson
9ebdc98da6 fixes #2936 - device role selection showing duplicate first entry 2019-03-17 01:24:54 -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
dansheps
60a065de88 Fixes #2781: Fixes filter by regions on site and device list
* Add Device filter
2019-03-05 08:10:10 -06:00
dansheps
71087415e3 Fixes #2813: Add Filter for TenantGroup to the following Forms and Filter classes:
* circuit.Circuit
* dcim.Site
* dcim.Rack
* dcim.RackElevation
* dcim.RackReservation
* dcim.Device
* ipam.IPAddress
* ipam.Prefix
* ipam.VRF
* ipam.VLAN
* virtualization.VirtualMachine
2019-02-23 10:37:30 -06:00
Jeremy Stretch
e6e72d999d Merge branch 'develop' into develop-2.6 2019-02-22 12:10:44 -05:00
Jeremy Stretch
d6bd5c96f2 Closes #2643: Add description field to console/power components and device bays 2019-02-20 14:34:05 -05:00
Jeremy Stretch
7fe4a55e94 Closes #2898: Enable filtering cables list by connection status 2019-02-20 11:36:55 -05:00
Jeremy Stretch
307fb0de87 Fixes #2915: Fix bulk editing of pass-through ports 2019-02-20 11:13:43 -05:00
Jeremy Stretch
dff4f9fa7d Fixes #2912: Cable type in filter form should be blank by default 2019-02-20 10:21:34 -05:00
Jeremy Stretch
c0745f5325 Closes #2854: Enable bulk editing of pass-through ports 2019-02-08 09:31:10 -05:00
Jeremy Stretch
c882a7b5be Fixes #2857: Add display_name to DeviceType API serializer; fix DeviceType list for bulk device edit 2019-02-06 10:23:30 -05:00
Jeremy Stretch
8246401497 Fixes #2833: Fix form widget for front port template creation 2019-01-31 09:19:53 -05:00
Jeremy Stretch
7927d09517 Closes #2733: Enable bulk assignment of MAC addresses to interfaces 2019-01-17 16:20:14 -05:00
John Anderson
abea43805f IPAM Select2 forms and changelog 2019-01-10 21:19:13 -05:00
John Anderson
fe477b5f06 Tenancy Select2 forms 2019-01-09 23:33:08 -05:00
John Anderson
15dee08c02 DCIM removed annotates from querysets 2019-01-09 13:44:39 -05:00
John Anderson
658faf1621 DCIM filter forms select2 2019-01-08 15:35:34 -08:00
John Anderson
75c9a8f7c7 select2 for all create/edit forms in dcim 2019-01-04 14:41:36 -05:00
John Anderson
2fe031557e Merge branch 'develop' of github.com:digitalocean/netbox into select2-ui 2019-01-04 12:44:41 -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
9c7e72ed75 Fixes #2742: Preserve cluster assignment when editing a device 2019-01-04 11:46:53 -05:00
John Anderson
b1ef6aa194 initial static select2 fields 2019-01-03 23:02:05 -05:00
Jeremy Stretch
30343cfffc Closes #1871: Enable filtering sites by parent region 2019-01-03 16:59:49 -05:00
John Anderson
8ef5fb703a updated filter-for attr handling 2019-01-03 03:00:27 -05:00
John Anderson
6b3d1ece84 initial select2 support 2018-12-30 02:35:18 -05:00
Jeremy Stretch
07ce4b4a7a Fixes #2724: Limit rear port choices to current device when editing a front port 2018-12-21 11:09:44 -05:00
Jeremy Stretch
932468554d #2675: Added InventoryItem search form field for 'discovered' 2018-12-19 14:15:22 -05:00
Jeremy Stretch
13edc47a4d Merge v2.5 work 2018-12-07 10:51:28 -05:00
Jeremy Stretch
e4df00bc06 Closes #2611: Fix error handling when assigning a clustered device to a different site 2018-12-07 09:57:55 -05:00
Jeremy Stretch
47ea8df446 Fixes #2622: Enable filtering cables by multiple types/colors 2018-11-28 14:22:55 -05:00
Jeremy Stretch
f1a2a724b4 Formatting cleanup 2018-11-27 11:57:29 -05:00
Jeremy Stretch
6b1abd6a65 Closes #2614: Simplify calls of super() for Python 3 2018-11-27 10:52:24 -05:00
Jeremy Stretch
a0b8e05653 Closes #2601: Added a description field to pass-through ports 2018-11-20 21:28:19 -05:00
John Anderson
b1aa52305b cleanup component filters and UI filter forms for device and device type - #2583 2018-11-15 00:42:01 -05:00
John Anderson
39ff4b40ac added logic to append &type=physical to interface API query for cable creation - #2585 2018-11-14 23:35:15 -05:00
Jeremy Stretch
1945fdace1 Clean up cable termination types 2018-11-14 12:17:18 -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
a6ed95d223 Implemented DeviceComponentManager; removed natsort as a dependency 2018-11-06 12:43:30 -05:00
Jeremy Stretch
b427686340 Set unit_length to empty string when not specified during cable import 2018-11-06 12:12:06 -05:00
Jeremy Stretch
10c3d51096 Merge release v2.4.7 into develop-2.5 2018-11-06 11:19:38 -05:00
Jeremy Stretch
54af8aa5f2 Closes #2388: Enable filtering of devices/VMs by region 2018-11-06 10:31:56 -05:00
Jeremy Stretch
a5b8ba43f8 Closes #2512: Add device field to inventory item filter form 2018-11-06 09:24:05 -05:00
Jeremy Stretch
68af33c93f Removed 'interface_ordering' field from DeviceType 2018-11-05 12:02:55 -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
044f1b9d44 Standardized naming of reverse relationships from component templates to DeviceType 2018-11-02 11:55:52 -04:00
Jeremy Stretch
20ff42df11 Replaced is_console_server, is_pdu, and is_network_device filters on Device and DeviceType 2018-11-02 10:45:31 -04:00
Jeremy Stretch
680692f64b Closes #450: Add 'outer_width' and 'outer_depth' fields to Rack 2018-11-02 09:51:17 -04:00
Jeremy Stretch
25df59d1e4 Closes #1444: Add field to Rack model 2018-11-02 09:17:51 -04:00
Jeremy Stretch
e840197e01 Closes #2104: Add 'status' field to Rack 2018-11-01 16:03:42 -04:00
Jeremy Stretch
4275a5e63e Added bulk edit/delete views for cables 2018-11-01 13:19:24 -04:00
Jeremy Stretch
50dcb1404f Finished CableCSVForm 2018-11-01 09:59:53 -04:00
Jeremy Stretch
3a4ff660c8 Introduce CableBulkImportView 2018-10-31 17:05:25 -04:00
Jeremy Stretch
1d9e98d49c Expanded cable connection form 2018-10-31 15:31:44 -04:00
Jeremy Stretch
b3cb766b1b Fixed typo in API URL template 2018-10-31 15:23:00 -04:00
Jeremy Stretch
6a28032837 Fix front ports queryset 2018-10-30 14:54:29 -04:00
Jeremy Stretch
3425e859c4 Replace 'is_connected' boolean with Cable attachment 2018-10-29 13:36:41 -04:00
Jeremy Stretch
560fc22950 Remove is_console_server, is_pdu, and is_network_device from DeviceType 2018-10-26 14:48:22 -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
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
5d82096a49 Added cable filter form 2018-10-24 14:59:46 -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
a9e99f5de0 Fixed cable creation form 2018-10-23 13:40:10 -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
bee7dfe9f3 Fixes #2514: Prevent new connections to already connected interfaces 2018-10-16 16:42:23 -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
8311394e4c Fixes #2414: Tags field missing from device/VM component creation forms 2018-09-28 16:26:08 -04:00
John Anderson
912c0a7243 Merge branch 'develop' of github.com:digitalocean/netbox into local-config-context 2018-09-18 12:16:07 -04:00
Jeremy Stretch
4f01903ba4 Fixes #2444: Improve validation of interface MAC addresses 2018-09-18 12:02:59 -04:00
John Anderson
0bda0a9334 refactored UI for local config context 2018-09-18 11:52:12 -04:00
John Anderson
7997b70ba1 implemnted #2392 - local config context for devices and VMs 2018-09-16 00:25:20 -04:00
Jeremy Stretch
34dda068c7 Closes #2367: Remove deprecated RPCClient functionality 2018-08-16 12:21:24 -04:00
Jeremy Stretch
68a5dcd47e Removed Python 2 string compatibility 2018-08-14 11:58:42 -04:00
Jeremy Stretch
f24522a3f9 Fixes #2344: AttributeError when assigning VLANs to an interface on a device/VM not assigned to a site 2018-08-09 15:46:18 -04:00
Jeremy Stretch
afc97505e8 Enabled bulk add/remove tags for interfaces 2018-07-17 10:25:16 -04:00
Jeremy Stretch
38f302acc1 Merged v2.3.6 2018-07-16 12:03:32 -04:00
Jeremy Stretch
1bf1eee538 Enabled tags for device components and virtual chassis 2018-07-10 15:36:28 -04:00
Jeremy Stretch
6da5abbede Added bulk tag addition/removal 2018-07-10 10:00:21 -04:00
Jeremy Stretch
f028cab733 Fixes #2214: Fix bug when assigning a VLAN to an interface on a VM in a cluster with no assigned site 2018-07-05 13:28:26 -04:00
Jeremy Stretch
4d92ffd153 Merge branch 'develop' into develop-2.4 2018-07-02 17:01:14 -04:00
Jeremy Stretch
aeb91ea6e7 Closes #2029: Added optional NAPALM arguments to Platform model 2018-06-29 11:21:00 -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
88cde1da28 Closes #2118: Added latitude and longitude fields to Site 2018-06-21 14:55:10 -04:00
Jeremy Stretch
4aa7600615 Merge branch 'develop' into develop-2.4 2018-06-07 16:23:57 -04:00
Jeremy Stretch
b31d3764df Fixes #2148: Do not force timezone selection when editing sites in bulk 2018-06-07 14:51:27 -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
e08d8c4cac Implemented tags for all primary models 2018-05-10 12:53:11 -04:00
Jeremy Stretch
1510e5d229 Initial work on implementing django-taggit for #132 2018-05-08 16:28:26 -04:00
Jeremy Stretch
f0c3aaa73b Fixes #2023: Manufacturer should not be a required field when importing platforms 2018-04-12 12:45:25 -04:00
Jeremy Stretch
275a9493bb Fixes #1999: Added missing description field to site edit form 2018-03-29 13:49:50 -04:00
Jeremy Stretch
bc21e16924 Fixes #1993: Corrected status choices in site CSV import form 2018-03-29 09:50:29 -04:00
Jeremy Stretch
ee35bbd4d2 Closes #1944: Enable assigning VLANs to virtual machine interfaces 2018-03-14 14:53:28 -04:00
Jeremy Stretch
40100bacac Removed validation constraint prohibitting a VLAN from being both tagged and untagged 2018-03-09 14:00:48 -05:00
Jeremy Stretch
90641ef02f Removed VLAN assignments from interface bulk editing 2018-03-08 13:29:08 -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
3f8cabdb58 Closes #1866: Introduced AnnotatedMultipleChoiceField for filter forms 2018-03-07 14:16:38 -05:00
Jeremy Stretch
912eebdf91 Fixes #1951: Fix TypeError exception when importing platforms 2018-03-06 12:10:02 -05:00
Jeremy Stretch
064d652b40 Fixes #1936: Trigger validation error when attempting to create a virtual chassis without specifying member positions 2018-03-01 14:40:39 -05:00
Jeremy Stretch
5d2b2efc05 Fixes #1926: Prevent reassignment of parent device when bulk editing VC member interfaces 2018-03-01 13:10:36 -05:00
Jeremy Stretch
54bd3cd851 Merge pull request #1929 from lampwins/bug/1928
Fixed #1928 form bound check for site and vlan group
2018-03-01 12:22:17 -05:00
Jeremy Stretch
fa86bf3893 Fixes #1927: Include all VC member interaces on A side when creating a new interface connection 2018-03-01 09:49:17 -05:00
John Anderson
59e62b739d fixed form bound check for site and vlan group 2018-02-28 16:31:53 -05:00
Jeremy Stretch
aa17be3c2d Fixes #1924: Include VID in VLAN lists when editing an interface 2018-02-27 16:10:02 -05:00
Jeremy Stretch
01b579a08a Corrected order of arguments on DeviceVCMembershipForm 2018-02-26 13:28:05 -05:00
Jeremy Stretch
1499d46bd1 Merge branch 'develop' into develop-2.3 2018-02-21 16:16:20 -05:00
Jeremy Stretch
bb3a9f656b Closes #1885: Added a device filter field for primary IP 2018-02-21 10:55:49 -05:00
Jeremy Stretch
370da94773 Fixes #1889: Consistent ordering of interface fields on add/edit 2018-02-21 10:38:45 -05:00
Jeremy Stretch
250131cbe8 Finished VirtualChassis list view 2018-02-21 09:53:23 -05:00
Jeremy Stretch
02b38a3869 Exclude devices already assigned to a VC from the list of potential VC members 2018-02-14 13:36:05 -05:00
Jeremy Stretch
2c08451461 VirtualChassis form validation cleanup 2018-02-14 12:47:10 -05:00
Jeremy Stretch
7c30bdf4ff Fixes #1884: Provide additional context to identify devices when creating/editing avirtual chassis 2018-02-14 11:14:04 -05:00
John Anderson
928428e21f Fix for bulk interface edit form 802.1Q settings (#1882)
* fixes #1881 - bulk interface 802.1Q settings form

* fix PEP8 newline

* PEP8 fixup
2018-02-14 10:42:12 -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
5f7d30e4ec Additional validation cleanup 2018-02-01 15:53:59 -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
bb0256fd56 Fixes #1848: Allow null value for interface encapsulation mode 2018-01-30 16:20:50 -05:00
Jeremy Stretch
b0fdd9f318 Closes #1366: Enable searching for regions by name/slug 2018-01-30 12:11:20 -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
089288d1fd Implemented a view for adding individual devices to an existing virtual chassis 2018-01-19 12:34:09 -05:00
Jeremy Stretch
8ae884e164 Merge branch 'develop' into develop-2.3 2018-01-19 10:54:26 -05:00
Jeremy Stretch
4a7c77512c Closes #1781: Enable bulk renaming of device components 2018-01-10 15:48:07 -05:00
Jeremy Stretch
d63c9965b4 Fixes #1765: Improved rendering of null options for model choice fields in filter forms 2017-12-26 12:08:22 -05:00
Jeremy Stretch
b4e0ef6e56 Converted remaining legacy views to class-based views for the DCIM app 2017-12-21 15:08:05 -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
6aa37ea35e Allow designating primary IPs assigned to a device's peer VC members 2017-12-18 16:08:46 -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
f329a85995 Added initial UI views for virtual chassis assignment 2017-11-29 12:58:36 -05:00
Jeremy Stretch
bfcba663f0 Initial work on virtual chassis support 2017-11-17 16:47:26 -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
af68ea5dfd Merge branch '150-interface-vlans' into develop-2.3 2017-11-14 15:36:14 -05:00
Jeremy Stretch
002848cf09 Closes #1691: Cleaned up and reorganized import statements 2017-11-07 11:08:23 -05:00
Jeremy Stretch
6ec60222aa Closes #1666: Allow modifying the owner of a rack reservation 2017-10-31 13:52:35 -04:00
Jeremy Stretch
f6d7908a61 Fixes #1634: Cluster should not be a required field when importing child devices 2017-10-23 13:17:51 -04:00
Jeremy Stretch
787e86c25e Closes #1580: Allow cluster assignment when bulk importing devices 2017-10-13 14:19:41 -04:00
Jeremy Stretch
9d051da64b Added bulk import views for RIRs, roles, and VLAN groups 2017-10-09 15:42:06 -04:00
Jeremy Stretch
34c3fe82c9 Added bulk import views for rack roles, device roles, and platforms 2017-10-09 15:28:46 -04:00
Jeremy Stretch
b906030801 #1444: Added a serial number field to the rack model 2017-10-09 15:01:57 -04:00
Jeremy Stretch
33b4c623d1 Merge branch 'develop-2.2' into develop-2.1 2017-09-29 12:30:36 -04:00
Jeremy Stretch
26c609139e Merge branch 'develop' into develop-2.1 2017-09-29 12:26:54 -04:00
Jeremy Stretch
aab0456432 #1493: Extended DeviceRole to include a toggle indicating applicability to virtual machines 2017-09-29 12:11:20 -04:00
Jeremy Stretch
fcc8f7e076 Merge branch 'develop' into develop-2.2
Conflicts:
	netbox/dcim/forms.py
2017-09-14 14:58:45 -04:00
Jeremy Stretch
5c8213f423 Use add_blank_choice() to prepend a null choice to field options 2017-09-14 14:45:45 -04:00
Jeremy Stretch
03cf6b4bd9 Implemented bulk interface creation for virtual machines 2017-09-12 12:49:01 -04:00
Jeremy Stretch
682c463f8c 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
ed08825dd8 Moved DeviceComponentForm to utilities.forms 2017-08-18 13:10:19 -04:00
Faidon Liambotis
0c474a6683 Allow import/export of device types (#1347) 2017-07-25 17:21:34 +03:00
Faidon Liambotis
352191b1e2 Allow import/export of manufacturers (#1347) 2017-07-25 17:21:34 +03:00
Faidon Liambotis
6d6a33484c Allow import/export of rack groups (#1347) 2017-07-25 17:21:34 +03:00
Faidon Liambotis
21429c29ed Allow import/export of regions (#1347) 2017-07-25 17:21:34 +03:00
Jeremy Stretch
421119dfe2 Initial work on NAPALM integration 2017-07-14 14:42:56 -04:00
Jeremy Stretch
8129f4328d Merge branch 'develop' into develop-2.1
Conflicts:
	netbox/netbox/settings.py
2017-07-14 10:12:35 -04:00
Jeremy Stretch
7dc93af5ac Closes #1320: Remove checkbox from confirmation dialog 2017-07-12 14:53:52 -04:00
Jeremy Stretch
b6c50c98b6 Fixes #1334: Fix server error when adding an interface to a device 2017-07-11 14:52:50 -04:00
Jeremy Stretch
07c5d4b365 Fixes #1333: Corrected label on is_console_server field of DeviceType bulk edit form 2017-07-11 14:36:59 -04:00
Jeremy Stretch
a4820a041b #1266: Exclude interfaces with existing connections or circuit terminations when creating a new connection 2017-07-10 12:44:16 -04:00
Jeremy Stretch
dfca1a0a50 Closes #1121: Added asset_tag and description fields to inventory items 2017-06-23 17:05:37 -04:00
Jeremy Stretch
ea468d22d7 Closes #1041: Added enabled and MTU fields to the interface model 2017-06-23 14:04:15 -04:00
Jeremy Stretch
cd592abb2d Closes #1218: Added IEEE 802.11 wireless interface types 2017-06-16 17:52:09 -04:00
Jeremy Stretch
2b601963d7 Closes #626: Added bulk disconnect function for console/power/interface connections on device view 2017-06-15 14:01:49 -04:00
Jeremy Stretch
7a400af2e4 Fixes #1265: Fix console/power/interface connection validation when selecting a device via live search 2017-06-14 13:00:36 -04:00
Jeremy Stretch
12d13c67de PEP8 fix 2017-06-07 15:56:59 -04:00
Jeremy Stretch
2512e01df4 Converted device fields to use FlexibleModelChoiceField; misc cleanup 2017-06-07 15:51:11 -04:00
Jeremy Stretch
08315fdab0 Removed obsolete validation from InterfaceConnectionCSVForm 2017-06-07 15:33:10 -04:00
Jeremy Stretch
bd9fab09d1 Form cleanup and fixed child device import 2017-06-07 15:30:28 -04:00
Jeremy Stretch
eca56a188f Updated CSVForm validation 2017-06-07 14:19:08 -04:00
Jeremy Stretch
4a6b79646a Replaced all CSVForm ChoiceFields with CSVChoiceField 2017-06-07 13:22:06 -04:00
Jeremy Stretch
defa3d2f85 Converted ConnectionStatusCSVField to a ChoiceField 2017-06-06 22:35:41 -04:00
Jeremy Stretch
e879dec1a2 Added dynamic examples for CSV form fields 2017-06-06 17:27:26 -04:00
Jeremy Stretch
e3e29fcdca Implemented ConnectionStatusCSVField 2017-06-05 16:12:51 -04:00
Jeremy Stretch
9f06783fc9 Converted console/power import views to new scheme 2017-06-05 15:53:03 -04:00
Jeremy Stretch
b4af0739a7 Converted interface connections import view to new scheme 2017-06-05 15:04:23 -04:00
Jeremy Stretch
95377c42c3 Converted site/rack/device import views to new scheme 2017-06-02 14:49:25 -04:00
Jeremy Stretch
1f911c1567 Fixes #1229: Fix validation error on forms where API search is used 2017-05-25 14:33:50 -04:00
Jeremy Stretch
297d9c6bb9 Import unicode_literals 2017-05-24 11:33:11 -04:00
Jeremy Stretch
79983d517f Closes #1198: Allow filtering unracked devices on device list 2017-05-18 14:27:07 -04:00
Jeremy Stretch
88fe878d20 Fixes #1195: Unable to create an interface connection when searching for peer device 2017-05-18 13:33:26 -04:00
Jeremy Stretch
52249a62d8 Fixes #1200: Form validation error when connecting power ports to power outlets 2017-05-18 12:11:14 -04:00
Jeremy Stretch
16dec29c1f Fixes #1197: Fixed status assignment during bulk import of devices, prefixes, IPs, and VLANs 2017-05-17 17:16:02 -04:00
Jeremy Stretch
497a438433 Closes #1137: Allow filtering devices list by rack 2017-05-12 22:41:27 -04:00
Jeremy Stretch
8419bcef01 Fixed RelatedObjectDoesNotExist error when trying to create a new device 2017-05-12 15:55:18 -04:00
Jeremy Stretch
6f23bfe860 PEP8 fixes 2017-05-11 17:54:43 -04:00
Jeremy Stretch
d1e60d9cd7 Fixed selector initializations for TenancyForms 2017-05-11 17:52:23 -04:00
Jeremy Stretch
9721f9d038 Added tenant_group/tenant form section to all objects with tenancy 2017-05-11 17:35:20 -04:00
Jeremy Stretch
7f94f33044 Closes #1167: Introduced ChainedModelChoiceFields 2017-05-11 16:30:16 -04:00
Jeremy Stretch
46da9e0e0f Fixes #1149: Port list does not populate when creating a console or power connection 2017-05-09 17:01:43 -04:00
Jeremy Stretch
fc441c19db PEP8 fix 2017-05-09 14:44:32 -04:00
Jeremy Stretch
aa8a66b2d3 Closes #853: Add 'status' field to device bulk import form 2017-05-09 10:25:30 -04:00
Jeremy Stretch
bd2f12630d Merge branch 'develop' into v2-develop 2017-05-08 15:02:06 -04:00
Jeremy Stretch
46ae1229e6 Related to #1144: Allow multiple status selections when filtering device list 2017-05-08 14:56:25 -04:00
Jeremy Stretch
5a2cf6c6f3 Closes #154: Expand device status field options 2017-05-08 13:55:19 -04:00
Jeremy Stretch
86899d010c Closes #1110: Expand bulk edit forms to include boolean fields (e.g. toggle is_pool for prefixes) 2017-04-28 12:32:27 -04:00
Jeremy Stretch
17f0c31f36 Closes #951: Provide a side-by-side view of rack elevations 2017-04-20 13:07:22 -04:00
Jeremy Stretch
dfa0275908 Merge branch 'develop' into v2-develop
Conflicts:
	netbox/dcim/forms.py
	netbox/dcim/views.py
	netbox/ipam/forms.py
	netbox/templates/_base.html
	netbox/utilities/views.py
2017-04-13 15:42:50 -04:00
Jeremy Stretch
946b142a69 Closes #1001: Merged IP interface assignment into ipam.IPAddressForm 2017-04-13 14:54:17 -04:00
Jeremy Stretch
d536cfb057 Improved handling of return_url for object edit/delete views; removed manual definitions of initial data fields 2017-04-13 13:11:23 -04:00
Jeremy Stretch
f80de87771 #878: Show assigned IP addresses in device interfaces list 2017-04-12 22:02:23 -04:00
Jeremy Stretch
30fee9a7e5 Fixes #1072: Order LAG interfaces naturally on bulk interface edit form 2017-04-12 15:51:14 -04:00
Jeremy Stretch
e121a4f31c Merge branch 'develop' into v2-develop
Conflicts:
	netbox/netbox/settings.py
	netbox/netbox/urls.py
	requirements.txt
2017-04-06 17:01:13 -04:00
Jeremy Stretch
54f6e23a35 Closes #1052: Added rack reservation list and bulk delete views 2017-04-06 16:26:48 -04:00
Jeremy Stretch
3f6f164574 Merge branch 'develop' into v2-develop
Conflicts:
	netbox/netbox/settings.py
2017-04-04 12:06:49 -04:00
Jeremy Stretch
997269b51f Order interfaces naturally for Device A 2017-03-27 10:55:54 -04:00
Zach Moody
d8b29c8b59 fix remaining legacy api url paths. 2017-03-24 18:58:19 -05:00
Zach Moody
6e5ab9e0af Fixes #996 2017-03-24 17:38:06 -05:00
Jeremy Stretch
b7435e76dd Merge branch 'develop' into v2-develop
Conflicts:
	netbox/netbox/settings.py
2017-03-23 17:14:41 -04:00
Jeremy Stretch
7d3831ee25 Closes #972: Add ability to filter connections list by device name 2017-03-23 10:07:02 -04:00
Jeremy Stretch
a8960b3fd2 Closes #978: Allow filtering device types by function and subdevice role 2017-03-22 17:29:47 -04:00
Jeremy Stretch
78a665d2e4 Allow editing of platform RPC client 2017-03-21 17:33:40 -04:00
Jeremy Stretch
be56d01a1d Renamed Module to InventoryItem (prep for #824) 2017-03-21 12:54:08 -04:00
Jeremy Stretch
2be7d030c2 Renamed rack-units API and added a test 2017-03-20 21:18:37 -04:00
Jeremy Stretch
b3a95bbab5 Allow assigning child devices to rackless parents 2017-03-13 11:31:28 -04:00
Jeremy Stretch
50e790c2d8 Fixes #950: Fix site_id error on child device import 2017-03-13 11:18:33 -04:00
Jeremy Stretch
487b6121cb Fixes #957: Correct device site filter count to include unracked devices 2017-03-13 10:13:04 -04:00
Jeremy Stretch
93cf372889 Fixes #944: Correct console and power connection form behavior 2017-03-07 13:32:48 -05:00
Jeremy Stretch
c8cf9aff5b Fixes #935: Fix form validation error when connecting an interface using live search 2017-03-03 11:19:19 -05:00
Jeremy Stretch
047fb8c671 Fixes #937: Region assignment should be optional when creating a site 2017-03-03 10:44:07 -05:00
Jeremy Stretch
9f216fd9ba Closes #927: Upgrade to django-filter 1.0 2017-03-01 13:09:19 -05:00
Jeremy Stretch
b92f7aa8f1 Implemented recursive regions with django-mptt 2017-02-28 14:15:15 -05:00
Jeremy Stretch
26263f5bcb Initial work on regions 2017-02-28 12:11:43 -05:00
Jeremy Stretch
9847b5187f Closes #105: Interface groups (#919)
* Initial work on interface groups

* Simplify to a single LAG form factor

* Correct interface serializer

* Allow for bulk editing of interface LAG

* Additional LAG interface validation

* Fixed API tests
2017-02-27 16:52:13 -05:00
Jeremy Stretch
d3423a64db Cleanup from work on #198 2017-02-17 14:52:58 -05:00
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
d3d23d55ff Closes #841: Merged search and filter forms on all object lists 2017-01-24 12:05:39 -05:00
Jeremy Stretch
049c142a1c Closes #782: Allow filtering devices list by manufacturer 2017-01-24 10:53:59 -05:00
Jens L
395b26374a Basic Support for Python 3 (#827)
* Rudimentary python3 support

* update docs and trigger Travis

* fix some of the tests

* fix all python3 errors

* change env calls to just python

* add @python_2_unicode_compatible decorator to models for python2 compatibility

* switch netbox.configuration to from netbox import configuration
2017-01-23 16:44:29 -05:00
Jeremy Stretch
7433d0e856 Closes #284: Added interface_ordering field to DeviceType 2017-01-06 12:59:49 -05:00
Jeremy Stretch
a7659d6714 Fixed outdated select_related reference to circuit 2016-12-29 11:53:24 -05:00
Jeremy Stretch
983cf2ab05 Closes #756: Added contact details to site model 2016-12-29 11:37:40 -05:00
Jeremy Stretch
558c813698 Refactored device component creation views 2016-12-21 17:20:27 -05:00
Jeremy Stretch
326edb709e Introduced DeviceComponentCreateView 2016-12-21 15:26:56 -05:00
Jeremy Stretch
fdedd18394 Standardized inheritance order of BootstrapMixin 2016-12-21 14:15:18 -05:00
Jeremy Stretch
d73ff19d71 Fixes #563: Allow a device to be flipped from one rack face to the other 2016-12-21 11:06:42 -05:00
Jeremy Stretch
9537ab02c6 Closes #716: Add ASN field to site bulk edit form 2016-12-20 16:13:45 -05:00
Jeremy Stretch
09036bef05 Closes #743: Enabled bulk creation of all device components 2016-12-16 16:29:32 -05:00
Jeremy Stretch
eb08425465 Closes #122: Add comments field to device types 2016-12-16 11:14:44 -05:00
Jeremy Stretch
6c25c66bd1 Closes #722: Enabled custom fields for device types 2016-12-16 10:54:45 -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
ef65c7fcc7 #733: Fixed MAC address device filter 2016-12-07 15:53:19 -05:00
stanley karunditu
cfe24663fe FIX: filtering devices fails because mac address filter is a required
field
2016-12-07 15:30:57 -05:00
Jeremy Stretch
9b4c370a3a Closes #663: Added MAC address search field to device list 2016-12-06 14:45:01 -05:00
Jeremy Stretch
2edf823bb7 Fixes #713: Include a label for the comments field when editing circuits, providers, or racks in bulk 2016-11-29 17:29:56 -05:00
Jeremy Stretch
bf22db1cf1 Closes #685: When assigning an IP to a device, automaitcally select the interface if only one exists 2016-11-11 15:29:40 -05:00
Jeremy Stretch
00508de55a Fixes #676: Server error when bulk editing device types 2016-11-10 15:15:55 -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
c727fa82b0 Closes #191: Support for racks numbered top-to-bottom 2016-10-28 11:30:40 -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
308c6980b7 Fixes #604: Correct display of unnamed devices in form selection fields 2016-10-13 15:21:36 -04:00
Jeremy Stretch
61eacad45c Fixes #611: Power/console/interface connection import: status field should be case-insensitive 2016-10-13 12:18:32 -04:00
Jeremy Stretch
369a7f4a3f #527: Initial work to allow nullifying fields during bulk edit 2016-09-30 16:17:41 -04:00
Jeremy Stretch
d2c9dc6b65 Fixes #571: Correct rack group filter on device list 2016-09-22 10:06:59 -04:00
Jeremy Stretch
9581f9217e Reimplemented FilterChoiceField 2016-09-20 11:08:25 -04:00
Jeremy Stretch
dc58694d49 Added 'none' options to filters for optional fields 2016-09-15 17:12:53 -04:00
Jeremy Stretch
510c4543d2 Implemented FilterChoiceField and get_filter_choices() to reduce filter form boilerplate 2016-09-14 16:27:26 -04:00
Jeremy Stretch
9dbf3d6e05 Added custom field support to filter forms 2016-08-23 12:05:28 -04:00
Jeremy Stretch
77f18d6e66 Updated bulk edit forms to support custom fields 2016-08-22 13:11:57 -04:00