Skip to content

Commit

Permalink
macsec_supported info is part of DEVICE_RUNTIME_METADATA itself.
Browse files Browse the repository at this point in the history
  • Loading branch information
judyjoseph committed Sep 29, 2022
1 parent fd34803 commit 7c3aca0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/hostcfgd
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}

Expand All @@ -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, {}))
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 7c3aca0

Please sign in to comment.