mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-30 01:47:56 +03:00
testlib.py: Add interface instance vars.
This commit is contained in:
parent
b7aab9ba59
commit
9e15c83673
@ -243,10 +243,6 @@ class RemoteInterface(object):
|
||||
|
||||
|
||||
class ClientProxy(object):
|
||||
Pv = None
|
||||
Lv = None
|
||||
Vg = None
|
||||
VgVdo = None
|
||||
|
||||
@staticmethod
|
||||
def _intf_short_name(nm):
|
||||
@ -270,6 +266,22 @@ class ClientProxy(object):
|
||||
def __init__(
|
||||
self, bus, object_path, interface_prop_hash=None,
|
||||
interfaces=None, timelimit=-1):
|
||||
# Instance variables which may or may not get assigned during class
|
||||
# construction dynamically. Assigned here so code inspection tools
|
||||
# have knowledge of their existence.
|
||||
self.Manager = None
|
||||
self.Pv = None
|
||||
self.Vg = None
|
||||
self.Lv = None
|
||||
self.VgVdo = None
|
||||
self.ThinPool = None
|
||||
self.VdoPool = None
|
||||
self.SnapShot = None
|
||||
self.LvCommon = None
|
||||
self.Job = None
|
||||
self.CachePool = None
|
||||
self.CachedLv = None
|
||||
|
||||
self.object_path = object_path
|
||||
self.short_interface_names = []
|
||||
self.tmo = timelimit
|
||||
|
Loading…
x
Reference in New Issue
Block a user