752e26c7de
Adds config template to vm model ( #13450 )
...
* adds config template to vm model #12461
* Add translation tags; collapse config data
* i18n cleanup
* Establish parity with DeviceRenderConfigView
* Move config_template field to RenderConfigMixin
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-08-14 15:43:28 -04:00
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
47f3023401
Fixes #12412 : Device/VM interface MAC addresses can be nullified via REST API
2023-05-01 13:06:10 -04:00
15d80f4e1b
12195 remove incorrect null=True on choice fields
2023-04-21 12:23:07 -04:00
ecd0c56554
Closes #9608 : Move from drf-yasg to spectacular
...
Co-authored-by: arthanson <worldnomad@gmail.com >
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-03-30 14:32:59 -04:00
19da92b510
#11488 : Additional cleanup
2023-01-17 10:26:34 -05:00
beb1f4e172
added missing description field on the api serializers
2023-01-17 10:20:34 -05:00
bc6b5bc4be
Closes #10545 : Standardize description & comment fields on primary models ( #10834 )
...
* Standardize description & comments fields on primary models
* Update REST API serializers
* Update forms
* Update tables
* Update templates
2022-11-04 08:28:09 -04:00
0b5478ad2d
Fixes #9895 : Change DictField serializers to JSONField
2022-08-29 08:02:38 +02:00
3eb6b6c07f
Clean up core API imports
2022-07-13 16:18:55 -04:00
4d3278cb52
#8157 : Clean up L2VPN assignment for VM interfaces
2022-07-06 13:31:31 -04:00
db42589cca
Closes #5303 : A virtual machine may be assigned to a site and/or cluster
2022-05-26 14:59:49 -04:00
b331f047af
Closes #8222 : Enable the assignment of a VM to a specific host device within a cluster
2022-05-25 16:01:10 -04:00
64146b8cb1
Closes #8471 : Add status field to Cluster
2022-05-19 16:13:22 -04:00
a11abf87ec
Refactor API serializers
2022-03-09 10:59:22 -05:00
3651ef53e3
#7852 : Extend VRF assignment to VM interfaces
2022-02-07 09:54:00 -05:00
67c73768c1
Add count_fhrp_groups to interface serializers
2021-11-04 09:58:33 -04:00
e1e2c76ae1
Add bridge field to Interface, VMInterface models
2021-10-21 16:30:18 -04:00
cfb3897047
Add tags to organizational & nested group models
2021-10-21 10:51:02 -04:00
8375995680
Closes #1943 : Relax uniqueness constraint on cluster names
2021-10-19 13:06:41 -04:00
b0573f88e6
Merge branch 'develop' into feature
2021-04-11 13:16:00 -04:00
a3721a94ce
Closes #6121 : Extend parent interface assignment to VM interfaces
2021-04-09 10:53:05 -04:00
e69251b21a
Fixes #6070 : Add missing 'count_ipaddresses' attribute to VMInterface serializer
2021-04-08 14:22:45 -04:00
fb48c1f6dd
Add 'display' field to all REST API serializers
2021-03-16 10:06:25 -04:00
fca5accba8
Clean up base serializers
2021-03-12 13:31:28 -05:00
ac0c54cce4
#5401 : Add custom field support for VMInterface
2021-03-10 13:49:10 -05:00
12fbd34962
Introduce NestedGroupModelSerializer
2021-02-25 17:15:42 -05:00
ed059d80d6
Introduce OrganizationalModelSerializer
2021-02-25 16:44:16 -05:00
664a39911c
Add custom field support for organizational models to API serializers
2021-02-25 15:58:13 -05:00
5a4234fcb9
Standardize validation of interface VLAN assignments
2020-12-02 14:19:02 -05:00
c0c5f52ed9
Reorganize REST API components under netbox app
2020-10-13 15:57:21 -04:00
924f319343
Closes #4806 : Add a url field to all API serializers
2020-07-06 16:41:08 -04:00
548127cc88
Rename VMInterface serializers
2020-06-23 15:46:20 -04:00
75354a8a78
Rename Interface to VMInterface
2020-06-23 13:21:44 -04:00
6cb31a274f
Initial work on #4721 (WIP)
2020-06-22 13:10:56 -04:00
448dc1442c
Replace TaggitSerializer and TagListSerializerField with TaggedObjectSerializer
2020-06-17 09:57:17 -04:00
cebe580484
Add a description field to all organizational models
2020-03-13 16:33:28 -04:00
7388fa3556
Fixes #4083 : Permit nullifying applicable choice fields via API requests
2020-02-10 15:10:33 -05:00
fe490d144a
Fixes #3868 : Fix creation of interfaces for virtual machines
2020-01-09 14:54:25 -05:00
5ac4a3ba79
Omit default uniqueness validator from VirtualMachineSerializer, which implies required fields
2019-12-09 12:11:42 -05:00
ca11b9a2f5
VirtualMachine.status to slug
2019-12-04 20:40:18 -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
3262805938
Add tenancy to cluster
...
fix pep8
2019-10-07 16:20:14 +02:00
017a5011ec
Added '*_count' fields for child objects
2019-04-19 16:50:42 -04:00
a46b43bff6
Added child counts to API serializers (WIP)
2019-04-12 17:07:56 -04:00
1a2c9e3bba
Rename form_factor to type on dcim.Interface
2019-04-12 13:42:56 -04:00
d9c8c0cbc1
Fixes #2968 : Correct API documentation for SerializerMethodFields
2019-03-08 10:25:09 -05:00
874acab90f
Merge v2.4.8
2018-11-20 12:28:24 -05:00
23cde65add
Fixes #2589 : Virtual machine API serializer should require cluster assignment
2018-11-14 10:38:53 -05:00