Update Configuration doc: fix separator and indentation (#10839)
Update Configuration doc: fix separator and indentation
This commit is contained in:
parent
1db50e54c8
commit
59e11f6e79
@ -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,26 +129,27 @@ 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.59": {
|
||||
"rrclient": "0",
|
||||
"name": "ARISTA02T1",
|
||||
"local_addr": "10.0.0.58",
|
||||
"nhopself": "0",
|
||||
"holdtime": "10",
|
||||
"asn": "64600",
|
||||
"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",
|
||||
"local_addr": "10.0.0.58",
|
||||
"nhopself": "0",
|
||||
"holdtime": "10",
|
||||
"asn": "64600",
|
||||
"keepalive": "3"
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user