diff options
author | Vojtech Trefny <vtrefny@redhat.com> | 2023-03-15 12:31:14 +0100 |
---|---|---|
committer | Tony Asleson <tasleson@redhat.com> | 2023-03-15 09:09:38 -0500 |
commit | ddfe839dd1aa42e3d2a15a19eaf86c4b6fc65d19 (patch) | |
tree | 2b5ca7d8e04309292761622b4dc483c29c25a787 /daemons | |
parent | 0c73d3545b2c964cea7e74cc022d2bc599ce7739 (diff) | |
download | lvm2-ddfe839dd1aa42e3d2a15a19eaf86c4b6fc65d19.tar.gz |
lvmdbusd: Add a new 'Shared' property to the Vg interface
Signed-off-by: Vojtech Trefny <vtrefny@redhat.com>
Diffstat (limited to 'daemons')
-rw-r--r-- | daemons/lvmdbusd/vg.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/daemons/lvmdbusd/vg.py b/daemons/lvmdbusd/vg.py index 6e7d6ec9b..c65d9db2b 100644 --- a/daemons/lvmdbusd/vg.py +++ b/daemons/lvmdbusd/vg.py @@ -151,6 +151,7 @@ class Vg(AutomatedProperties): _AllocNormal_meta = ('b', VG_INTERFACE) _AllocAnywhere_meta = ('b', VG_INTERFACE) _Clustered_meta = ('b', VG_INTERFACE) + _Shared_meta = ('b', VG_INTERFACE) _Name_meta = ('s', VG_INTERFACE) # noinspection PyUnusedLocal,PyPep8Naming @@ -785,6 +786,10 @@ class Vg(AutomatedProperties): def Clustered(self): return self._attribute(5, 'c') + @property + def Shared(self): + return self._attribute(5, 's') + class VgVdo(Vg): |