Skip to contentSkip to conversation

main - lvmdbusd: Add a new 'Shared' property to the Vg interface

PATCH Tony Asleson 1 participant 1 message Mar 15, 2023

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=ddfe839dd1aa42e3d2a15a19eaf86c4b6fc65d19
Commit:        ddfe839dd1aa42e3d2a15a19eaf86c4b6fc65d19
Parent:        0c73d3545b2c964cea7e74cc022d2bc599ce7739
Author:        Vojtech Trefny <[email protected]>
AuthorDate:    Wed Mar 15 12:31:14 2023 +0100
Committer:     Tony Asleson <[email protected]>
CommitterDate: Wed Mar 15 09:09:38 2023 -0500

lvmdbusd: Add a new 'Shared' property to the Vg interface

---
 daemons/lvmdbusd/vg.py | 5 +++++
 1 file changed, 5 insertions(+)
daemons/lvmdbusd/vg.py +5 -0
index 6e7d6ec9b..c65d9db2b 100644
@@ -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):