From 0ae98efa322c627301795ec35bd3b5bfaea3a38b Mon Sep 17 00:00:00 2001
From: Stamatis Katsaounis <skatsaounis@admin.grnet.gr>
Date: Sat, 14 Dec 2019 21:02:07 +0200
Subject: [PATCH] Adds watcher api support service catalog

Watcher needs to be added to the keystone service catalog for
functionality of the upcoming watcher charms.

Change-Id: Ie800c9030c94ff92f38b3502113e8875a4dcba11
Signed-off-by: Stamatis Katsaounis <skatsaounis@admin.grnet.gr>
---
 hooks/keystone_utils.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hooks/keystone_utils.py b/hooks/keystone_utils.py
index dbf269ae..25a751f7 100644
--- a/hooks/keystone_utils.py
+++ b/hooks/keystone_utils.py
@@ -448,6 +448,10 @@ valid_services = {
         "type": "instance-ha",
         "desc": "Masakari instance HA for Openstack"
     },
+    "watcher": {
+        "type": "infra-optim",
+        "desc": "Infrastructure Optimization Service for Openstack"
+    },
 }
 
 # The interface is said to be satisfied if anyone of the interfaces in the