Răsfoiți Sursa

Document the writable VMInterface mac_address field

The REST API changes recorded the `mac_address` field becoming writable on
dcim.Interface, but omitted virtualization.VMInterface, which received the
same treatment: both serializers share MACAddressShortcutMixin, so a MAC
supplied on write creates or updates the interface's primary MAC address in
the same request.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Jeremy Stretch 1 zi în urmă
părinte
comite
25e9dbb988
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      docs/release-notes/version-4.7.md

+ 2 - 0
docs/release-notes/version-4.7.md

@@ -242,6 +242,8 @@ Event rule conditions can now inspect the pre-change and post-change snapshots c
     * The `token` field is now read-only; a plaintext value can no longer be specified on creation
     * The `token` field is now read-only; a plaintext value can no longer be specified on creation
 * `virtualization.VirtualMachine`
 * `virtualization.VirtualMachine`
     * Add read-only JSON field `config_context` (previously available only via `VirtualMachineWithConfigContextSerializer`)
     * Add read-only JSON field `config_context` (previously available only via `VirtualMachineWithConfigContextSerializer`)
+* `virtualization.VMInterface`
+    * The `mac_address` field is now writable, and creates or updates the interface's primary MAC address
 
 
 ### GraphQL API Changes
 ### GraphQL API Changes