diff options
Diffstat (limited to 'kvmd/apps/ipmi/auth.py')
-rw-r--r-- | kvmd/apps/ipmi/auth.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kvmd/apps/ipmi/auth.py b/kvmd/apps/ipmi/auth.py index 4b95abf5..d4c922d7 100644 --- a/kvmd/apps/ipmi/auth.py +++ b/kvmd/apps/ipmi/auth.py @@ -20,9 +20,10 @@ # ========================================================================== # +import dataclasses + from typing import List from typing import Dict -from typing import NamedTuple # ===== @@ -31,7 +32,8 @@ class IpmiPasswdError(Exception): super().__init__("Incorrect IPMI passwd file: " + msg) -class IpmiUserCredentials(NamedTuple): [email protected](frozen=True) +class IpmiUserCredentials: ipmi_user: str ipmi_passwd: str kvmd_user: str |