1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
Commit Graph

431 Commits

Author SHA1 Message Date
12657ebd7c Cable.status to slug (#3569) 2019-12-10 09:55:10 -05:00
b0c0adf6e7 Adapt device component import forms from #3711 2019-12-05 17:49:44 -05:00
17898a4c57 Merge branch 'develop-2.7' into 3569-api-choice-slugs 2019-12-05 17:43:11 -05:00
8cbd2f5c2d Add list view for device components (#3719)
* Initial Work on #3564

* #3564 - Fixup issue with filter on interface

* #3564 - Fix PEP8 errors

* #3564 - Finalize fields, readjust order, reduce repetition

* #3564 - Update Changelog

* #3564 - Fix extra space

* #3564 - Change interface table ordering

* #3564 - Minor cleanup

* #3564 - Add Import Links

* Fix PEP8
2019-12-05 17:10:49 -05:00
adb25fd7d7 822 bulk import of device components (#3711)
Closes #822: CSV import for device components

* Implement CSV import for netbox-community#822

* Comment out default_return_url until there is a proper target

* Fix the default value of `enabled` when not included in the import

* rear_port is definitely required here

* Power Ports don't have a type (yet)

* Add import for console-ports and console-server-ports

* Add import for device-bays
2019-12-05 15:36:11 -05:00
21fe5902a8 PowerOutlet.feed_leg to slug (#3569) 2019-11-27 21:30:11 -05:00
8c7f6c62b0 PowerFeed.status to slug (#3569) 2019-11-25 21:22:14 -05:00
2dc07ca30d PowerFeed.phase to slug (#3569) 2019-11-25 21:14:04 -05:00
bb8b012397 PowerFeed.supply to slug (#3569) 2019-11-25 21:08:34 -05:00
62494f295e PowerFeed.type to slug (#3569) 2019-11-25 21:03:11 -05:00
9872a46583 Rack.outer_unit to slug (#3569) 2019-11-25 20:54:24 -05:00
4846557d61 Cable.length_unit to slug (#3569) 2019-11-25 20:40:29 -05:00
79a40e22c9 Cable.type to slug (#3569) 2019-11-25 19:57:13 -05:00
dead5b42be Front/RearPort.type to slug (#3569) 2019-11-25 19:39:25 -05:00
bcc34f6099 Device.face to slug (#3569) 2019-11-25 19:23:43 -05:00
5c95927a43 Site.status to slug (#3569) 2019-11-21 22:54:01 -05:00
3fa4ceadb0 Interface.mode to slug (#3569) 2019-11-21 22:50:01 -05:00
5f5081f719 Interface.type to slug (#3569) 2019-11-21 22:11:02 -05:00
afd82fd9d3 DeviceType.subdevice_role to slug (#3569) 2019-11-18 22:08:33 -05:00
a8db07e0a8 Device.face to slug (#3569) 2019-11-16 21:46:07 -05:00
c79c29e769 Rack.status to slug (#3569) 2019-11-15 22:03:41 -05:00
07aa036fe8 Convert RACK_WIDTH_CHOICES to ChoiceSet 2019-11-15 21:33:56 -05:00
8d27b62114 Rack.status to slug (#3569) 2019-11-15 21:31:57 -05:00
62b45494b6 Convert all DCIM choice classes to ChoiceSets 2019-11-15 21:17:01 -05:00
8cb7eb0382 Convert console port types to slugs (#3569) 2019-11-06 16:56:46 -05:00
6ccaa0d9bd Initial work on #792 2019-11-06 15:30:54 -05:00
0ad19081ac Move slug-based choices to choices.py 2019-10-30 16:31:04 -04:00
bb30f64252 Closes #1865: Add console port and console server port types 2019-10-30 14:25:55 -04:00
2ffbced47e Rework InterfaceTypes and PortTypes classes 2019-10-17 16:38:31 -04:00
d787c353f3 Added slug choices for interface and port types 2019-10-10 23:24:44 -04:00
553fe0fe97 Merge branch 'develop' into 451-devicetype-import 2019-10-10 13:50:57 -04:00
abbc44a7d1 #3259: Add site and rack fields to cables filter form 2019-10-10 12:28:17 -04:00
c668b990e1 Closes #3563: Enable editing of individual DeviceType components 2019-10-07 17:08:51 -04:00
04d9889127 Fixes #3574 - Change device to parent in interface edit form vlan filtering logic 2019-10-07 08:54:39 -05:00
a3b9bdaff1 Miscellaneous cleanup 2019-10-04 12:59:10 -04:00
ee4e68b082 Rewrote test for DeviceType import 2019-10-01 16:36:31 -04:00
edc1b52f65 Adopted a different approach to importing related objects 2019-09-27 16:51:12 -04:00
93154abb31 Merge branch 'develop' into 451-devicetype-import 2019-09-25 13:44:48 -04:00
0615d368f2 Force validation of individual objects within a MultiObjectField 2019-09-24 16:51:59 -04:00
2621f17cde Remove legacy CSV-based DeviceType import 2019-09-24 16:03:10 -04:00
15b2a7eab0 Fix form rendering; enable toggling of redirect to imported object 2019-09-24 15:58:23 -04:00
fe85dc1186 Closes #3524: Enable bulk editing of power outlet/power port associations 2019-09-24 15:27:47 -04:00
8996c530c9 Fixes: #3534 - Add none option for untagged vlan field 2019-09-24 08:39:41 -05:00
5049c6c0a1 Add test for DeviceType import 2019-09-20 15:57:44 -04:00
60b70b6c7b Add RearPortTemplate power_port field 2019-09-20 15:16:14 -04:00
5266fc67c9 Extend DeviceType import to include related objects 2019-09-20 14:02:14 -04:00
a0545568cd Fixes #3514: Label TextVar fields when rendering custom script forms 2019-09-18 15:39:26 -04:00
e8ee6f1bc5 Clean up extra line that snuck in 2019-09-17 15:45:55 -05:00
f8fdca4968 Initial work on JSON/YAML-based DeviceType import 2019-09-13 16:18:29 -04:00
57d35181f0 Fix performance issues when creating/editing interfaces due to unfiltered vlan queryset 2019-09-12 11:13:40 -05:00