From: Ricardo Dias Date: Mon, 17 Dec 2018 09:38:19 +0000 (+0000) Subject: mgr/orchestrator: added service status attributes to service descriptor X-Git-Tag: v14.1.0~609^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F25468%2Fhead;p=ceph.git mgr/orchestrator: added service status attributes to service descriptor Signed-off-by: Ricardo Dias --- diff --git a/src/pybind/mgr/orchestrator.py b/src/pybind/mgr/orchestrator.py index b71002f5a540..5a2b0dab8500 100644 --- a/src/pybind/mgr/orchestrator.py +++ b/src/pybind/mgr/orchestrator.py @@ -344,6 +344,12 @@ class ServiceDescription(object): # the URL. self.service_url = None + # Service status: -1 error, 0 stopped, 1 running + self.status = None + + # Service status description when status == -1. + self.status_desc = None + class DriveGroupSpec(object): """