Update Configuration doc: fix separator and indentation (#10839)

Update Configuration doc: fix separator and indentation
This commit is contained in:
Qi Luo 2022-05-17 09:38:12 -07:00 committed by GitHub
parent 1db50e54c8
commit 59e11f6e79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,17 +105,18 @@ redis and json, correspondingly:
***Redis format*** ***Redis format***
```
127.0.0.1:6379[4]> keys BGP_NEIGHBOR:*
1) "BGP_NEIGHBOR:10.0.0.31" ```
2) "BGP_NEIGHBOR:10.0.0.39" 127.0.0.1:6379[4]> keys BGP_NEIGHBOR|*
3) "BGP_NEIGHBOR:10.0.0.11"
4) "BGP_NEIGHBOR:10.0.0.7" 1) "BGP_NEIGHBOR|10.0.0.31"
2) "BGP_NEIGHBOR|10.0.0.39"
3) "BGP_NEIGHBOR|10.0.0.11"
4) "BGP_NEIGHBOR|10.0.0.7"
... ...
127.0.0.1:6379[4]> hgetall BGP_NEIGHBOR:10.0.0.3 127.0.0.1:6379[4]> hgetall BGP_NEIGHBOR|10.0.0.3
1) "admin_status" 1) "admin_status"
2) "up" 2) "up"
@ -128,26 +129,27 @@ redis and json, correspondingly:
``` ```
***Json format*** ***Json format***
``` ```
"BGP_NEIGHBOR": { "BGP_NEIGHBOR": {
"10.0.0.57": { "10.0.0.57": {
"rrclient": "0", "rrclient": "0",
"name": "ARISTA01T1", "name": "ARISTA01T1",
"local_addr": "10.0.0.56", "local_addr": "10.0.0.56",
"nhopself": "0", "nhopself": "0",
"holdtime": "10", "holdtime": "10",
"asn": "64600", "asn": "64600",
"keepalive": "3"
},
"10.0.0.59": {
"rrclient": "0",
"name": "ARISTA02T1",
"local_addr": "10.0.0.58",
"nhopself": "0",
"holdtime": "10",
"asn": "64600",
"keepalive": "3" "keepalive": "3"
}, },
"10.0.0.59": {
"rrclient": "0",
"name": "ARISTA02T1",
"local_addr": "10.0.0.58",
"nhopself": "0",
"holdtime": "10",
"asn": "64600",
"keepalive": "3"
},
} }
``` ```