Skip to content

Commit

Permalink
Minor update for dialout.md, fix example json config error
Browse files Browse the repository at this point in the history
  • Loading branch information
jipanyang authored and lguohan committed Mar 24, 2018
1 parent 1e440b5 commit 81d6448
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/dialout.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ It is useful in some scenarios. A few typical examples:
* Collectors prefer to work in stateless mode and shed the complexity of maintaining telemetry state of each and every network element to another configuration system.

# SONiC system telemetry software architecture
System telemetry in SONiC supports both dial-in mode and dial-out mode. The DB client takes care of retrieving data from SONiC redis database, while non-DB client serves data outside of redis databases. gRPC dial-out client is described in this document,
System telemetry in SONiC supports both dial-in mode and dial-out mode. The DB client takes care of retrieving data from SONiC redis databases, while non-DB client serves data outside of redis databases. gRPC dial-out client is described in this document,
![SOFTWARE ARCHITECTURE](img/dial_in_out.png)

# Services provided in dialout mode
Expand Down Expand Up @@ -74,7 +74,8 @@ There are three categories of configuration:

One example configuration:
```
"TELEMETRY_CLIENT": {
{
"TELEMETRY_CLIENT": {
"Global": {
"encoding": "JSON_IETF",
"retry_interval": "30",
Expand All @@ -87,11 +88,12 @@ One example configuration:
"Subscription_HS_RDMA": {
"dst_group": "HS",
"path_target": "COUNTERS_DB",
"paths": "COUNTERS/Ethernet*","COUNTERS_PORT_NAME_MAP",
"paths": "COUNTERS/Ethernet*,COUNTERS_PORT_NAME_MAP",
"report_interval": "5000",
"report_type": "periodic"
}
}
}
```

# dialout_client_cli and dialout_server_cli
Expand Down

0 comments on commit 81d6448

Please sign in to comment.