Skip to content

Commit

Permalink
added swss common attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
kanza-latif committed Sep 24, 2024
1 parent a447a1b commit 7d61447
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/hostcfgd
Original file line number Diff line number Diff line change
Expand Up @@ -2100,8 +2100,6 @@ class HostConfigDaemon:
return callback

self.config_db.subscribe('KDUMP', make_callback(self.kdump_handler))
self.config_db.subscribe(swsscommon.CFG_MEMORY_STATISTICS_TABLE_NAME,
make_callback(self.memory_statistics_handler))
# Handle AAA, TACACS and RADIUS related tables
self.config_db.subscribe('AAA', make_callback(self.aaa_handler))
self.config_db.subscribe('TACPLUS', make_callback(self.tacacs_global_handler))
Expand All @@ -2126,6 +2124,9 @@ class HostConfigDaemon:
# Handle DEVICE_MEATADATA changes
self.config_db.subscribe(swsscommon.CFG_DEVICE_METADATA_TABLE_NAME,
make_callback(self.device_metadata_handler))

self.config_db.subscribe(swsscommon.CFG_MEMORY_STATISTICS_TABLE_NAME,
make_callback(self.memory_statistics_handler))

# Handle MGMT_VRF_CONFIG changes
self.config_db.subscribe(swsscommon.CFG_MGMT_VRF_CONFIG_TABLE_NAME,
Expand Down

0 comments on commit 7d61447

Please sign in to comment.