From 7c3aca03b8ac8dd48b2fc479ea651578ad355cd5 Mon Sep 17 00:00:00 2001 From: Judy Joseph Date: Thu, 29 Sep 2022 15:41:47 -0700 Subject: [PATCH] macsec_supported info is part of DEVICE_RUNTIME_METADATA itself. --- scripts/hostcfgd | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/hostcfgd b/scripts/hostcfgd index 7215dfbcd3b4..6ae8f18f0b6b 100755 --- a/scripts/hostcfgd +++ b/scripts/hostcfgd @@ -200,7 +200,6 @@ class FeatureHandler(object): self._cached_config = {} self.is_multi_npu = device_info.is_multi_npu() self._device_running_config = device_info.get_device_runtime_metadata() - self._device_macsec_support = device_info.get_macsec_support_metadata() self.ns_cfg_db = {} self.ns_feature_state_tbl = {} @@ -227,7 +226,6 @@ class FeatureHandler(object): device_config = {} device_config.update(self._device_config) device_config.update(self._device_running_config) - device_config.update(self._device_macsec_support) feature = Feature(feature_name, feature_cfg, device_config) self._cached_config.setdefault(feature_name, Feature(feature_name, {})) @@ -264,7 +262,6 @@ class FeatureHandler(object): device_config = {} device_config.update(self._device_config) device_config.update(self._device_running_config) - device_config.update(self._device_macsec_support) feature = Feature(feature_name, feature_table[feature_name], device_config) self._cached_config.setdefault(feature_name, feature)