Use specific system class for RSD 2.2

SystemCollection in 2.2 sub-module should use RSD 2.2 System class.

Change-Id: Ib4421cd8f381044658027fa0fd928fa54dbc05ad
This commit is contained in:
Lin Yang
2018-02-13 15:19:02 -08:00
parent d18747a3de
commit e3044f81d2
3 changed files with 31 additions and 15 deletions

View File

@@ -66,3 +66,10 @@ class System(system.System):
super(System, self).refresh()
self._metrics = None
self._processors = None
class SystemCollection(system.SystemCollection):
@property
def _resource_type(self):
return System