Skip to content

Commit 7c3aca0

Browse files
committed
macsec_supported info is part of DEVICE_RUNTIME_METADATA itself.
1 parent fd34803 commit 7c3aca0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/hostcfgd

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ class FeatureHandler(object):
200200
self._cached_config = {}
201201
self.is_multi_npu = device_info.is_multi_npu()
202202
self._device_running_config = device_info.get_device_runtime_metadata()
203-
self._device_macsec_support = device_info.get_macsec_support_metadata()
204203
self.ns_cfg_db = {}
205204
self.ns_feature_state_tbl = {}
206205

@@ -227,7 +226,6 @@ class FeatureHandler(object):
227226
device_config = {}
228227
device_config.update(self._device_config)
229228
device_config.update(self._device_running_config)
230-
device_config.update(self._device_macsec_support)
231229

232230
feature = Feature(feature_name, feature_cfg, device_config)
233231
self._cached_config.setdefault(feature_name, Feature(feature_name, {}))
@@ -264,7 +262,6 @@ class FeatureHandler(object):
264262
device_config = {}
265263
device_config.update(self._device_config)
266264
device_config.update(self._device_running_config)
267-
device_config.update(self._device_macsec_support)
268265
feature = Feature(feature_name, feature_table[feature_name], device_config)
269266

270267
self._cached_config.setdefault(feature_name, feature)

0 commit comments

Comments
 (0)