Skip to content

feat(dedibox): add a is_hds flag for ddx2elts servers list #997

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
May 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions scaleway-async/scaleway_async/dedibox/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -2875,6 +2875,10 @@ def unmarshal_ServerSummary(data: Any) -> ServerSummary:
if field is not None:
args["qinq"] = field

field = data.get("is_hds", None)
if field is not None:
args["is_hds"] = field

field = data.get("os_id", None)
if field is not None:
args["os_id"] = field
Expand Down
5 changes: 5 additions & 0 deletions scaleway-async/scaleway_async/dedibox/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1970,6 +1970,11 @@ class ServerSummary:
Whether the server is compatible with QinQ.
"""

is_hds: bool
"""
Whether or not the server is HDS.
"""

os_id: Optional[int]
"""
OS ID installed on server.
Expand Down
4 changes: 4 additions & 0 deletions scaleway/scaleway/dedibox/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -2875,6 +2875,10 @@ def unmarshal_ServerSummary(data: Any) -> ServerSummary:
if field is not None:
args["qinq"] = field

field = data.get("is_hds", None)
if field is not None:
args["is_hds"] = field

field = data.get("os_id", None)
if field is not None:
args["os_id"] = field
Expand Down
5 changes: 5 additions & 0 deletions scaleway/scaleway/dedibox/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1970,6 +1970,11 @@ class ServerSummary:
Whether the server is compatible with QinQ.
"""

is_hds: bool
"""
Whether or not the server is HDS.
"""

os_id: Optional[int]
"""
OS ID installed on server.
Expand Down