mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +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)
|
_AllocNormal_meta = ('b', VG_INTERFACE)
|
||||||
_AllocAnywhere_meta = ('b', VG_INTERFACE)
|
_AllocAnywhere_meta = ('b', VG_INTERFACE)
|
||||||
_Clustered_meta = ('b', VG_INTERFACE)
|
_Clustered_meta = ('b', VG_INTERFACE)
|
||||||
|
_Shared_meta = ('b', VG_INTERFACE)
|
||||||
_Name_meta = ('s', VG_INTERFACE)
|
_Name_meta = ('s', VG_INTERFACE)
|
||||||
|
|
||||||
# noinspection PyUnusedLocal,PyPep8Naming
|
# noinspection PyUnusedLocal,PyPep8Naming
|
||||||
@ -785,6 +786,10 @@ class Vg(AutomatedProperties):
|
|||||||
def Clustered(self):
|
def Clustered(self):
|
||||||
return self._attribute(5, 'c')
|
return self._attribute(5, 'c')
|
||||||
|
|
||||||
|
@property
|
||||||
|
def Shared(self):
|
||||||
|
return self._attribute(5, 's')
|
||||||
|
|
||||||
|
|
||||||
class VgVdo(Vg):
|
class VgVdo(Vg):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user