Skip to content

Commit

Permalink
updated vector.py file and hostcfgd
Browse files Browse the repository at this point in the history
  • Loading branch information
kanza-latif committed Sep 25, 2024
1 parent 158b103 commit c740c82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion scripts/hostcfgd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ from shutil import copy2
from datetime import datetime
from sonic_py_common import device_info
from sonic_py_common.general import check_output_pipe
# from swsscommon import CFG_MEMORY_STATISTICS_TABLE_NAME
from swsscommon.swsscommon import ConfigDBConnector, DBConnector, Table
import swsscommon
from sonic_installer import bootloader
Expand Down
7 changes: 4 additions & 3 deletions tests/hostcfgd/test_vectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"PASSW_HARDENING": {},
"SSH_SERVER": {},
"KDUMP": {},
"MEMORY_STATISTICS": {},
"NTP": {},
"NTP_SERVER": {},
"LOOPBACK_INTERFACE": {},
Expand Down Expand Up @@ -80,10 +81,10 @@
}
},
"MEMORY_STATISTICS": {
"config": {
"memory_statistics": {
"enabled": "true",
"retention_time": "15 days",
"sampling_interval": "5 minutes"
"retention_time": "15",
"sampling_interval": "5"
}
},
"MGMT_INTERFACE": {
Expand Down

0 comments on commit c740c82

Please sign in to comment.