tokio.connectors.lfshealth module¶
Connectors for the Lustre lfs df and lctl dl -t commands to determine the health of Lustre file systems from the clients’ perspective.
-
class
tokio.connectors.lfshealth.
LfsOstFullness
(*args, **kwargs)[source]¶ Bases:
tokio.connectors.common.SubprocessOutputDict
Representation for the lfs df command. Generates a dict of form
{ file_system: { ost_name : { keys: values } } }
-
class
tokio.connectors.lfshealth.
LfsOstMap
(*args, **kwargs)[source]¶ Bases:
tokio.connectors.common.SubprocessOutputDict
Representation for the lctl dl -t command. Generates a dict of form
{ file_system: { ost_name : { keys: values } } }This is a generally logical structure, although this map is always almost fed into a routine that tries to find multiple OSTs on the same OSS (i.e., a failover situation)
-
__repr__
()[source]¶ Serialize object into an ASCII string
Returns a string that resembles the input used to initialize this object
-