Commit Graph

606 Commits

Author SHA1 Message Date
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
Jeremy Stretch
bef660a2ad Added bulk editing capability for custom fields 2016-08-16 14:57:04 -04:00
Jeremy Stretch
4724ce45d8 Minimal implemtnation of custom fields 2016-08-15 15:24:23 -04:00
Jeremy Stretch
486fe1b173 Initial work on custom fields 2016-08-12 17:20:01 -04:00
Jeremy Stretch
510e8a40c3 Closes #421: Added asset_tag field to devices 2016-08-11 11:58:21 -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
7ee2770b95 Fixes #433: Correct form validation when editing child devices 2016-08-08 09:45:44 -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
3f5d96d12f Fixed platform selection during bulk editing of devices 2016-07-27 16:38:21 -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
879daab9cc Closes #292: Added part_number field to DeviceType 2016-07-26 11:28:45 -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
df1f1cd006 Fixed Unicode support in forms 2016-07-21 10:47:38 -04:00
Jeremy Stretch
beea95543d Corrects a device_type error introduced in c3260f8b06 2016-07-20 10:10:40 -04:00
Jeremy Stretch
c3260f8b06 Fixes #327: Disable rack assignment for installed child devices 2016-07-19 13:09:15 -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
e998372d6f Fixes #270: Add rack group filter for devices 2016-07-13 13:07:55 -04:00
bellwood
2f57e850b5 fixed "rack group" filter label for/dcim/racks/ 2016-07-12 15:16:32 -04:00
bellwood
b966bf790a Update forms.py
added label
2016-07-12 15:12:36 -04:00
bellwood
8ca155ee2a allow filtering by rack group
adds the ability to filter devices by rack group
2016-07-12 14:42:47 -04:00
Jeremy Stretch
4f2374f04d Initial work on #93: Primary IPv4/IPv6 support 2016-07-11 16:24:46 -04:00
Jeremy Stretch
e9fcac1557 Changed DeviceForm.device_type label 2016-07-07 22:30:51 -04:00
Nick Peelman
e7683eb833 Add MAC address field to interfaces 2016-07-06 13:21:40 -04:00
Jeremy Stretch
43eeb3a929 Initial work on #91: Support for subdevices 2016-07-01 17:34:47 -04:00
Jeremy Stretch
9c02bd969f Fixes #143: Noted that the lowest occupied U is used for mounting multi-U devices 2016-06-30 16:19:48 -04:00
Jeremy Stretch
fa72d9eba6 Fixes #117: Improved device import validation 2016-06-29 14:53:24 -04:00
Jeremy Stretch
14b22606ae Fixes #75: Ignore a Device's occupied rack units when relocating it within a rack 2016-06-28 14:10:16 -04:00
Jeremy Stretch
ab71de1f35 Fixes #80: Correct rack face (lowercase) to be consistent with export behavior (uppercase) 2016-06-28 11:38:09 -04:00
Jeremy Stretch
556be4a9c6 Fixes #72: Check for re-used interfaces when importing interface connections 2016-06-28 11:11:53 -04:00
Jeremy Stretch
e78263637a Fixes #22: Corrected handling of RackGroup names on import of new Racks 2016-06-27 12:23:31 -04:00
Jeremy Stretch
4b34af3e1d Introduced ability to edit/delete modules 2016-06-15 13:27:12 -04:00
Jeremy Stretch
bbdc7dccba Added JS for SlugField autofill 2016-05-20 15:32:17 -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
d0fb95d31e Fixed type bug in DeviceForm 2016-05-18 13:19:26 -04:00
Jeremy Stretch
a07aa69321 Added CBVs for Platforms 2016-05-16 11:54:17 -04:00
Jeremy Stretch
4eeae08fb5 Added CBVs for Manufacturers 2016-05-13 15:22:31 -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
1fb2cc4b31 Modified RackGroup.__unicode__ to include site name 2016-05-11 15:28:46 -04:00
Jeremy Stretch
bacde242aa Converted RackGroups to use utility CBVs 2016-05-11 13:30:39 -04:00
Jeremy Stretch
91a5b2eb5f Added device status filter and table column 2016-05-10 15:00:38 -04:00
Jeremy Stretch
54ad177e99 Fixed bug affecting initial position/face selection 2016-05-09 11:57:12 -04:00
Jeremy Stretch
57f6d45ee7 Fixed RackGroup count 2016-04-25 15:41:08 -04:00
Jeremy Stretch
2f86d5e43d Added front-end UI for RackGroups 2016-03-30 12:26:37 -04:00
Jeremy Stretch
cea0b2de33 Fixed bug when assigning Device to no rack race 2016-03-17 18:05:01 -04:00
Jeremy Stretch
fe6b7052fe Fixed bug in PowerConnectionImportForm 2016-03-15 21:36:25 -04: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
a89f415ff8 Corrected the 'type' filter for device lists to use device_type_id 2016-03-02 12:02:57 -05:00
Jeremy Stretch
597d9f8554 Corrected RackFromCSVForm.group to required=False 2016-03-01 14:39:00 -05:00
Jeremy Stretch
27b289ee3b Initial push to public repo 2016-03-01 11:23:03 -05:00