Skip to content

api/types/network: EndpointSettings: make MacAddress "operational data"#51203

Merged
thaJeztah merged 2 commits intomoby:masterfrom
thaJeztah:move_macaddress_operational
Oct 16, 2025
Merged

api/types/network: EndpointSettings: make MacAddress "operational data"#51203
thaJeztah merged 2 commits intomoby:masterfrom
thaJeztah:move_macaddress_operational

Conversation

@thaJeztah
Copy link
Member

The MacAddress field currently reflects either the user-specified (DesiredMacAddress) or the actual / assigned MacAddress (when running).

Internal structs already have a separate DesiredMacAddres field, but this field is not (yet) reflected in the API response. The intent is to move towards better separation of config ("desired state") and operational ("actual state") data.

Let's move the MacAddress field under "operational" data; the field's description still describes its dual-personality, but potentially we can move towards separate fields in future.

- What I did

- How I did it

- How to verify it

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The MacAddress field currently reflects _either_ the user-specified
(DesiredMacAddress) _or_ the actual / assigned MacAddress (when running).

Internal structs already have a separate DesiredMacAddres field, but
this field is not (yet) reflected in the API response. The intent is
to move towards better separation of config ("desired state") and
operational ("actual state") data.

Let's move the MacAddress field under "operational" data; the field's
description still describes its dual-personality, but potentially we
can move towards separate fields in future.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah force-pushed the move_macaddress_operational branch from cdcda04 to 709336a Compare October 16, 2025 18:43
@thaJeztah thaJeztah added this to the 29.0.0 milestone Oct 16, 2025
@thaJeztah thaJeztah added the release-blocker PRs we want to block a release on label Oct 16, 2025
@thaJeztah thaJeztah merged commit 44beb53 into moby:master Oct 16, 2025
213 of 215 checks passed
@thaJeztah thaJeztah deleted the move_macaddress_operational branch October 16, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/api API area/dependencies area/networking Networking kind/refactor PR's that refactor, or clean-up code module/api release-blocker PRs we want to block a release on status/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants