Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

ADCM-6334 Added config node for Host #93

Merged
merged 1 commit into from
Feb 11, 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
2 changes: 1 addition & 1 deletion adcm_aio_client/objects/_cm.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ async def create(self: Self, bundle: Bundle, name: str, description: str = "") -
return HostProvider(requester=self._requester, data=response.as_dict())


class Host(Deletable, WithActions, WithStatus, WithMaintenanceMode, RootInteractiveObject):
class Host(Deletable, WithActions, WithConfig, WithStatus, WithMaintenanceMode, RootInteractiveObject):
PATH_PREFIX = "hosts"

@property
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/test_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ async def _test_host_properties(host: Host, expected: Expected) -> None:
assert await host.get_status() == expected.status
assert (await host.hostprovider).id == expected.provider_id
assert (await host.maintenance_mode).value == expected.maintenance_mode
# ADCM-6334 bug
assert await host.config


async def _test_host_accessors(
Expand Down