Jeremy Stretch
bf20611668
#6391 : Add device_role to DeviceWithConfigContextSerializer
2023-08-02 10:16:51 -04:00
Abhimanyu Saharan
0bb86f1e7d
Replaces device_role with role on device model ( #13342 )
...
* replaces device_role with role on device model #6391
* fixes lint issue #6391
* revert the database user
* revert test_runner comment
* changes as per review
* Update references to device_role column in UserConfigs
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-08-02 09:55:52 -04:00
Arthur Hanson
e625a5667c
Closes #13279 : Wrap choice labels with gettext()
...
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-31 17:31:07 -04:00
Arthur Hanson
e284cd7e54
Closes #13150 : Wrap table column headers with gettext()
...
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-31 14:35:28 -04:00
Arthur Hanson
b7a9649269
Closes #13149 : Wrap form field labels with gettext_lazy()
...
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-31 12:52:38 -04:00
Arthur Hanson
83bebc1bd2
Closes #13132 : Wrap verbose_name and other model text with gettext_lazy() (i18n)
...
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-31 11:28:07 -04:00
Abhimanyu Saharan
36f95f7842
Adds tenant on power feed ( #13300 )
...
* adds tenant on power feed
* cleanup
* adds power feed count on tenant object view
* Misc cleanup; add filterset tests
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-31 08:20:48 -04:00
Jeremy Stretch
2a0d76d564
Merge branch 'develop' into feature
2023-07-30 13:36:51 -04:00
Jeremy Stretch
0b10131564
Satisfy PEP8 E721 linter complaints
2023-07-30 13:34:08 -04:00
Jeremy Stretch
d52c18ce38
Merge branch 'develop' into feature
2023-07-28 10:36:09 -04:00
Jeremy Stretch
90146941b5
Fixes #13285 : Cast default u_height value to a decimal for validation
2023-07-28 09:49:09 -04:00
Bruno Blanes
9d0457fe1a
Add Brazilian power outlet standard to choices.py ( #13012 )
...
* Add Brazilian power outlet standard to choices.py
* Eliminate possible name conflict
* Rename group and add IEC 60906-1 plug type
* Update choices.py
Add Brazilian power port standard
2023-07-28 09:26:46 -04:00
Abhimanyu Saharan
7158360dfa
moves non-racked devices to tab #11803
2023-07-28 08:59:15 -04:00
Daniel W. Anner
eeb069048f
Adding 100gbase-x-dsfp and 100gbase-x-sfpdd ( #13236 )
...
* Adding 100gbase-x-dsfp
* fixing missing comma
* Adding interface `TYPE_100GE_SFP_DD`/`100gbase-x-sfpdd`
* Update netbox/dcim/choices.py
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
---------
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
2023-07-27 19:02:08 -04:00
kkthxbye-code
5a3d46ac8d
Remove vlan_group from nullable fields in InterfaceBulkEditForm
2023-07-27 15:58:16 -04:00
Abhimanyu Saharan
0f9fe96192
Adds rf_role to interface template ( #13199 )
...
* adds rf_role to interface template #13170
* fixed migration file conflict
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-26 09:13:24 -04:00
Jeremy Stretch
5b5444f414
Closes #13269 : Cache component template counts on device types
2023-07-25 16:38:05 -04:00
Jeremy Stretch
daa8f71bb6
Closes #10197 : Add a cached counter field for virtual chassis members
2023-07-25 15:50:12 -04:00
Jamie (Bear) Murphy
154b8236a2
Oob ip (devices) ( #13013 )
...
* initial oob_ip support for devices
* add primary ip and oob ip checkmark to ip address view
* add oob ip to device view and device edit view
* pep8
* make is_oob_ip and is_primary_ip generic for other models
* refactor oob_ip
* fix oob ip signal
* string capitalisation
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-25 14:40:40 -04:00
Arthur Hanson
149a496011
6347 Cache the number of each component type assigned to devices/VMs ( #12632 )
...
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-25 09:39:05 -04:00
Jeremy Stretch
837be4d45f
Merge branch 'develop' into feature
2023-07-11 10:09:26 -04:00
Abhimanyu Saharan
74fb707ad3
adds config_template to device serializer #13056
2023-07-06 16:04:21 -04:00
Abhimanyu Saharan
ffe4558ec5
fixes search for vdc #13100
2023-07-06 09:41:43 -04:00
Anthony Brissonnet
860be780ad
Fix #12579 create cable and add another error ( #13007 )
...
* fix create cable and add another error #12579
* fix return proper parent object field
* improve code and wokflow
---------
Co-authored-by: netopsab <abrisson@cerbere.rp.sig .u-bourgogne.fr>
2023-07-06 09:28:45 -04:00
Arthur
4355ee6407
12092 allow setnull for bulk edit power port maximum and allocated draw
2023-07-06 08:37:54 -04:00
pobradovic08
16d5107b71
Add QSFP-DD (100GE) interface type
2023-06-27 08:02:46 -04:00
Jeremy Stretch
882f29192c
Fixes #12975 : Correct URL for VirtualDeviceContext API serializer
2023-06-23 15:23:40 -04:00
Abhimanyu Saharan
79c8219202
fixes device interface serializer #12533
2023-06-23 14:34:08 -04:00
Abhimanyu Saharan
13315f36d4
fixes device type and module type tag import #12949
2023-06-23 14:17:28 -04:00
Arthur Hanson
eff4a3741c
12175 rack with starting unit > 1 ( #12778 )
...
* 12175 add rack starting unit
* 12175 rack starting unit to svg
* verify devices can still fit if change rack starting_unit
* 12175 fix migration
* 12175 fix typo and test
* 12175 fix test
* 12175 fix max height calc display
* Misc cleanup & fixes
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-06-22 09:09:01 -04:00
Arthur Hanson
518fd8cca6
12794 change User ref to get_user_model ( #12905 )
...
* 12794 change User ref to get_user_model
* 12794 call get_user_model once in tests
* 12794 call get_user_model once in tests
* 12794 use settings.AUTH_USER_MODEL for FK reference
2023-06-22 08:26:50 -04:00
Jeremy Stretch
e7edccd9ba
Merge branch 'develop' into feature
2023-06-20 14:53:07 -04:00
Jeremy Stretch
6ef333ea68
Fixes #12885 : Permit mounting of devices in U100 ( #12901 )
...
* Fixes #12885 : Permit mounting of devices in U100
* Define a RACK_U_HEIGHT_MAX constant
2023-06-15 15:00:45 -04:00
Arthur
0b2162569f
12474 update cable terminations when moving location between sites
2023-06-15 08:53:06 -04:00
Arthur
e635f0defd
Merge branch 'develop' into feature
2023-06-14 16:32:56 -07:00
Arthur
b4a3156046
9077 audit alters_data=True
2023-06-14 14:23:55 -04:00
Arthur Hanson
4f76dcd2ea
11305 Add GPS coordinates to device ( #12782 )
...
* 11305 add lat/long to devices
* 11305 update docs
* 11305 update tests
2023-06-14 14:18:50 -04:00
Jeremy Stretch
f7b0e48a09
Merge pull request #12864 from sudheesh001/fix/12847-include-adds
...
Fixes #12847 - Include Missing Add buttons to Views
2023-06-14 13:33:18 -04:00
Sudheesh Singanamalla
c5f71c0c19
Fixes #12847 - Include Missing Add buttons to Views
...
Signed-off-by: Sudheesh Singanamalla <sudheesh@cs.washington.edu >
2023-06-14 10:05:43 -07:00
Abhimanyu Saharan
d03bfe89c0
fix connected device api schema #12682
2023-06-14 15:45:07 +05:30
Brian Candler
01d9e0afb6
Round rack power utilization to nearest 0.1%
...
Fixes #12838
2023-06-08 14:31:46 +01:00
jeremystretch
2e2ff09822
Merge branch 'develop' into feature
2023-06-02 15:43:06 -04:00
Abhimanyu Saharan
bd88ee7063
Adds device type and role to device component filter ( #12504 )
...
* adds device type and role to device component filter #12015
* changes as per review
* Add filterset tests for device type & role filters
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-05-31 09:59:22 -04:00
Daniel Sheppard
a9b0b49ef9
Fixes #12702 - Adds widget to FrontPortTemplateCreateForm
2023-05-31 08:49:23 -05:00
Arthur Hanson
8b051ea2f3
7503 do device validate-create in serial ( #12222 )
...
* 7503 do device validate-create in serial
* 7503 fix single instance
* 7503 atomic transaction
* 7503 fix return data for bulk operations
* 7503 add test
* Move sequential creation logic to a mixin
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-05-31 09:06:09 -04:00
Dillon Henschen
078893e034
Closes #11619 : Include VLANs with a null site in query during bulk interface edit for Devices > DEVICE COMPONENTS > Interfaces ( #12659 )
...
* Closes #11619 : Allow VLANs without a site during multi-port edits
This commit allows users to be able to select VLANs without a site assignment
during bulk interfaces edits under Devices > DEVICE COMPONENTS > Interfaces.
Prior to this commit, only VLANs that were assigned the same site as the device
were available for selection.
* Replace 'null' with FILTERS_NULL_CHOICE_VALUE constant
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-05-22 15:37:31 -04:00
Daniel W. Anner
80fc8db514
Adding interface type 200gbase-x-qsfpdd
2023-05-22 13:11:29 -04:00
Austin de Coup-Crank
311dce0b5f
Closes #12605 : Add LX.5 port type
2023-05-18 14:25:51 -04:00
neope
23b21246f0
Adding CDFP and CFP8 400GE connectors ( #12646 )
...
* Adding CDFP and CFP8 400GE connectors
* Update choices.py
typo on CFP8
2023-05-18 14:21:32 -04:00
Arthur
92c49669f9
12548 add prefetch_related for l2vpn and vdcs to interface api
2023-05-18 14:18:55 -04:00