From: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
Signed-off-by: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
---
src/kimchi/control/host.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/kimchi/control/host.py b/src/kimchi/control/host.py
index 5e736db..4746c9b 100644
--- a/src/kimchi/control/host.py
+++ b/src/kimchi/control/host.py
@@ -39,6 +39,7 @@ class Host(Resource):
self.repositories = Repositories(self.model)
self.swupdate = self.generate_action_handler_task('swupdate')
self.cpuinfo = CPUInfo(self.model)
+ self.vgs = VGs(self.model)
@property
def data(self):
@@ -99,6 +100,11 @@ class Devices(Collection):
self.resource = Device
+class VGs(SimpleCollection):
+ def __init__(self, model):
+ super(VGs, self).__init__(model)
+
+
class VMHolders(SimpleCollection):
def __init__(self, model, device_id):
super(VMHolders, self).__init__(model)
--
2.1.0