Просмотр исходного кода

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 день назад
Родитель
Сommit
25e9dbb988
1 измененных файлов с 2 добавлено и 0 удалено
  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
 * `virtualization.VirtualMachine`
     * 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