mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmdbusd: Add a new 'Shared' property to the Vg interface
Signed-off-by: Vojtech Trefny <vtrefny@redhat.com>
This commit is contained in:
parent
0c73d3545b
commit
ddfe839dd1
@ -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):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user