API virtualmachine config_template data is missing #9205

Closed
opened 2025-12-29 20:46:57 +01:00 by adam · 1 comment
Owner

Originally created by @nicolai-hornung-bl on GitHub (Feb 7, 2024).

Originally assigned to: @jeremystretch on GitHub.

Deployment Type

Self-hosted

NetBox Version

v3.7.1

Python Version

3.8

Steps to Reproduce

Query the API Object of any VM. While the render-config endpoint was added in v3.7.1 with PR #14287 the corresponding config_template value cannot be queried or set using the API.

Expected Behavior

I want to be able to assign and query config templates to virtualmachines using the API as I am able to do with Devices and in the GUI.

Observed Behavior

The config_template key is missing.

Originally created by @nicolai-hornung-bl on GitHub (Feb 7, 2024). Originally assigned to: @jeremystretch on GitHub. ### Deployment Type Self-hosted ### NetBox Version v3.7.1 ### Python Version 3.8 ### Steps to Reproduce Query the API Object of any VM. While the render-config endpoint was added in v3.7.1 with PR #14287 the corresponding config_template value cannot be queried or set using the API. ### Expected Behavior I want to be able to assign and query config templates to virtualmachines using the API as I am able to do with Devices and in the GUI. ### Observed Behavior The config_template key is missing.
adam added the type: bugstatus: acceptedseverity: medium labels 2025-12-29 20:46:57 +01:00
adam closed this issue 2025-12-29 20:46:57 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 8, 2024):

Looks like the field was mistakenly omitted from VirtualMachineWithConfigContextSerializer. (The base serializer has it defined.)

@jeremystretch commented on GitHub (Feb 8, 2024): Looks like the field was mistakenly omitted from `VirtualMachineWithConfigContextSerializer`. (The base serializer has it defined.)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9205