You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/console/serial-console-HLD.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,12 +65,12 @@ We want to enhance configDB to include table for serial-console global configura
65
65
We want to enable serial-console configuration in SONIC. In order to do so will touch few areas in the system:
66
66
1. configDB - to include a dedicated table for configurations
67
67
2. hostcfg demon - to trigger dedicated service on config apply.
68
-
3. OS config files - specific for this stage we are only /etc/profile.d/tmout-env.sh and /etc/sysctl.d/95-sysrq-sysctl.conf and /proc/sys/kernel/sysrq are going to be modifed by the serial-config.sh runned by serial-config.service .
68
+
3. OS config files - specific for this stage we are only /etc/profile.d/tmout-env.sh and /etc/sysctl.d/95-sysrq-sysctl.conf and /proc/sys/kernel/sysrq are going to be modified by the serial-config.sh run by serial-config.service .
69
69
70
70
##### Flow diagram
71
71

72
72
### 3.1 Flow description
73
-
When the feature is enabled, by modifying the DB manually, user will set serial-console configurations by modifing CONFIG_DB in SERIAL_CONSOLE table.
73
+
When the feature is enabled, by modifying the DB manually, user will set serial-console configurations by modifying CONFIG_DB in SERIAL_CONSOLE table.
74
74
75
75
The hostcfgd daemon will be extended to listen to configurations from SERIAL_CONSOLE table and restarts the serial_console.service. Serial console script will read SERIAL_CONSOLE table and update config files accordingly.
76
76
@@ -216,10 +216,10 @@ Example sub-sections for unit test cases and system test cases are given below.
216
216
Configuration
217
217
1. Configure auto-logout for serial-console.
218
218
1.1. Configure and apply non-default auto-logout value (1-2 min.)
219
-
1.2. Connect and login via serial-console. Validate auto-logout happend in configured time (1-2 min.)
219
+
1.2. Connect and login via serial-console. Validate auto-logout happened in configured time (1-2 min.)
220
220
2. Init flow for auto-logout.
221
221
2.1. Don't save previous auto-logout configuration and reboot the switch.
222
-
2.2. After boot connect and login via serial-console. Validate that auto-logout didn't happend in previously configured time (1-2 min.)
222
+
2.2. After boot connect and login via serial-console. Validate that auto-logout didn't happen in previously configured time (1-2 min.)
223
223
3. Configure sysrq parameter.
224
224
3.1. Configure and apply non-default sysrq-capabilities parameter (enabled)
225
225
3.2. Check sysrq parameter value in linux proc filesystem being changed to new applied value of "1"
0 commit comments