summaryrefslogtreecommitdiff
path: root/kvmd/plugins
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-11-02 18:06:45 +0200
committerMaxim Devaev <[email protected]>2024-11-02 18:06:52 +0200
commit0fd1174bc5354d8f69adde3218edd121e48c84f0 (patch)
tree5eb78947f32cb8405283fbc1351fae3272efd6c2 /kvmd/plugins
parentd4fb640418efdb924bf30f1487acde4a675d6e2f (diff)
granularity info and minor fixes
Diffstat (limited to 'kvmd/plugins')
-rw-r--r--kvmd/plugins/atx/__init__.py6
-rw-r--r--kvmd/plugins/msd/__init__.py12
2 files changed, 18 insertions, 0 deletions
diff --git a/kvmd/plugins/atx/__init__.py b/kvmd/plugins/atx/__init__.py
index 7545b030..d8bea96d 100644
--- a/kvmd/plugins/atx/__init__.py
+++ b/kvmd/plugins/atx/__init__.py
@@ -52,6 +52,12 @@ class BaseAtx(BasePlugin):
raise NotImplementedError
async def poll_state(self) -> AsyncGenerator[dict, None]:
+ # ==== Granularity table ====
+ # - enabled -- Full
+ # - busy -- Partial
+ # - leds -- Partial
+ # ===========================
+
yield {}
raise NotImplementedError
diff --git a/kvmd/plugins/msd/__init__.py b/kvmd/plugins/msd/__init__.py
index 193b81b1..b2f9d50e 100644
--- a/kvmd/plugins/msd/__init__.py
+++ b/kvmd/plugins/msd/__init__.py
@@ -121,6 +121,18 @@ class BaseMsd(BasePlugin):
raise NotImplementedError()
async def poll_state(self) -> AsyncGenerator[dict, None]:
+ # ==== Granularity table ====
+ # - enabled -- Full
+ # - online -- Partial
+ # - busy -- Partial
+ # - drive -- Partial, nullable
+ # - storage -- Partial, nullable
+ # - storage.parts -- Partial
+ # - storage.images -- Partial
+ # - storage.downloading -- Partial, nullable
+ # - storage.uploading -- Partial, nullable
+ # ===========================
+
if self is not None: # XXX: Vulture and pylint hack
raise NotImplementedError()
yield