From dabbc5484b266b9ce93f54280bdd93f546f0f343 Mon Sep 17 00:00:00 2001 From: gifrerenom <lluis.gifre@cttc.es> Date: Wed, 8 Mar 2023 22:18:57 +0000 Subject: [PATCH] Slice component: - Remove workaround for OFC'23 demo to auto-start slice grouping --- src/slice/service/slice_grouper/Tools.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/slice/service/slice_grouper/Tools.py b/src/slice/service/slice_grouper/Tools.py index d5a78ba2b..c635ffcf4 100644 --- a/src/slice/service/slice_grouper/Tools.py +++ b/src/slice/service/slice_grouper/Tools.py @@ -31,11 +31,6 @@ NO_ISOLATION = IsolationLevelEnum.NO_ISOLATION LOGGER = logging.getLogger(__name__) def is_slice_grouping_enabled() -> bool: - # Temporal hack for OFC'23 multi-demo: - metricsdb_hostname = get_setting('METRICSDB_HOSTNAME', default='') - LOGGER.warning('metricsdb_hostname={:s}'.format(str(metricsdb_hostname))) - if '.qdb-sligrp.' in metricsdb_hostname: return True - # end hack is_enabled = get_setting(SETTING_NAME_SLICE_GROUPING, default=None) if is_enabled is None: return False str_is_enabled = str(is_enabled).upper() -- GitLab