From 92776e09e0b282200b6055e69c79c6d94634c409 Mon Sep 17 00:00:00 2001 From: Ricardo Dias Date: Mon, 17 Dec 2018 09:38:19 +0000 Subject: [PATCH] mgr/orchestrator: added service status attributes to service descriptor Signed-off-by: Ricardo Dias --- src/pybind/mgr/orchestrator.py | 6 ++++++ 1 file changed, 6 insertions(+) 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): """ -- 2.47.3