Skip to content

Commit

Permalink
[console] Update Console Switch HLD 1.1 (#721)
Browse files Browse the repository at this point in the history
* Update the CONSOLE_SWITCH table schema, the console_mgmt prompt from field key to entry key
* Update sample configuration

Signed-off-by: Jing Kan jika@microsoft.com
  • Loading branch information
Blueve authored Dec 10, 2020
1 parent 45153c2 commit 02cf171
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions doc/console/SONiC-Console-Switch-High-Level-Design.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
| 0.1 | 08/28/2020 | Jing Kan | Initial version |
| 0.2 | 09/10/2020 | Jing Kan | Addressed first version's comments |
| 1.0 | 11/04/2020 | Jing Kan | Add more commands description and fill more details |
| 1.1 | 12/09/2020 | Jing Kan | Update console feature table key schema |

# About this Manual

Expand Down Expand Up @@ -337,11 +338,11 @@ The CONSOLE_SWITCH_TABLE holds the configuration database for the purpose of con

```
; Console switch feature table
key = CONSOLE_SWITCH
key = CONSOLE_SWITCH:console_mgmt
; field = value
console_mgmt = "0"/"1" ; "0" means disable console management feature
; "1" means enable console management feature
enabled = "yes"/"no" ; "yes" means disable console management feature
; "no" means enable console management feature
```

#### CONSOLE_PORT_TABLE
Expand Down Expand Up @@ -651,7 +652,9 @@ Console port 1 connect to a remote device `switch1` with baud_rate 9600 and enab
```json
{
"CONSOLE_SWITCH": {
"console_mgmt" : "1"
"console_mgmt" : {
"enabled": "yes"
}
},
"CONSOLE_PORT": {
"1": {
Expand Down

0 comments on commit 02cf171

Please sign in to comment.