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***
```
127.0.0.1:6379[4]> keys BGP_NEIGHBOR:*
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]> keys BGP_NEIGHBOR|*
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"
2) "up"
@ -128,17 +129,18 @@ redis and json, correspondingly:
```
***Json format***
```
"BGP_NEIGHBOR": {
"10.0.0.57": {
"rrclient": "0",
"name": "ARISTA01T1",
"local_addr": "10.0.0.56",
"nhopself": "0",
"holdtime": "10",
"asn": "64600",
"keepalive": "3"
},
"10.0.0.57": {
"rrclient": "0",
"name": "ARISTA01T1",
"local_addr": "10.0.0.56",
"nhopself": "0",
"holdtime": "10",
"asn": "64600",
"keepalive": "3"
},
"10.0.0.59": {
"rrclient": "0",
"name": "ARISTA02T1",
@ -147,7 +149,7 @@ redis and json, correspondingly:
"holdtime": "10",
"asn": "64600",
"keepalive": "3"
},
},
}
```