Skip to content

Commit

Permalink
[api] Add clusterRef to ApiHost
Browse files Browse the repository at this point in the history
We added clusterRef to ApiHost in CM server side. This change adds
it to python client.
  • Loading branch information
Xiaobin Zheng committed May 17, 2015
1 parent 2da9220 commit db9bfc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/src/cm_api/endpoints/hosts.py
Expand Up @@ -82,6 +82,7 @@ class ApiHost(BaseApiResource):
'numPhysicalCores' : ROAttr(),
'totalPhysMemBytes' : ROAttr(),
'entityStatus' : ROAttr(),
'clusterRef' : ROAttr(ApiClusterRef),
}

def __init__(self, resource_root, hostId=None, hostname=None,
Expand Down

0 comments on commit db9bfc5

Please sign in to comment.