sssd_test_framework.hosts.client
Client multihost host.
Classes
|
SSSD client host object. |
- class sssd_test_framework.hosts.client.ClientHost(*args, **kwargs)
Bases:
BaseHost,BaseLinuxHostSSSD client host object.
Provides features specific to SSSD client.
Note
Full backup and restore of SSSD state is supported.
- Parameters:
auto_start – Automatically start service before taking the first backup.
auto_restore (bool, optional) – If True, the host is automatically restored to the backup state when a test is finished in
teardown(), defaults to True
- sssd_service_user: str
SSSD service user configured by default install
- property features: dict[str, bool]
Features supported by the host.
- start() None
Not supported.
- Raises:
NotImplementedError – _description_
- stop() None
Stop required services.
- Raises:
NotImplementedError – If stop operation is not supported.
- backup() Any
Backup all SSSD data.
- Returns:
Backup data.
- Return type:
Any
- restore(backup_data: Any | None) None
Restore all SSSD data.
- Returns:
Backup data.
- Return type:
Any