mirror of
https://github.com/ceph/ceph
synced 2024-12-28 22:43:29 +00:00
orchestrator: rework describe_service prototype to allow for nodename
...and a new service_type field in ServiceLocation object. Signed-off-by: Jeff Layton <jlayton@redhat.com>
This commit is contained in:
parent
79bb26121a
commit
99cbbdd5a1
@ -154,7 +154,7 @@ class Orchestrator(object):
|
||||
"""
|
||||
raise NotImplementedError()
|
||||
|
||||
def describe_service(self, service_type, service_id):
|
||||
def describe_service(self, service_type=None, service_id=None, node_name=None):
|
||||
"""
|
||||
Describe a service (of any kind) that is already configured in
|
||||
the orchestrator. For example, when viewing an OSD in the dashboard
|
||||
@ -320,6 +320,9 @@ class ServiceLocation(object):
|
||||
# in the FSMap/ServiceMap.
|
||||
self.daemon_name = None
|
||||
|
||||
# The type of service (osd, mon, mgr, etc.)
|
||||
self.service_type = None
|
||||
|
||||
|
||||
class ServiceDescription(object):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user