Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonic-MGMT MDB extensions : OTN #1701

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
249 changes: 181 additions & 68 deletions doc/mgmt/Management Framework.md

Large diffs are not rendered by default.

Binary file added doc/mgmt/images/CVL_flow_mdb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/mgmt/images/read_mdb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/mgmt/images/write_mdb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion doc/multi_asic/SONiC_multi_asic_hld.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ Below are the list of MIBs suppored by snmp_ax_impl.
|1.3.6.1.2.1.31.1 | | InterfaceMIBObjects | All namespace DBs|
#### 2.4.7.2. Telemetry

There will be a single Telemetry service and telemetry docker for the multi asic platform which will pull needed data from the DB's of asic namespace. More details will be provided in a separate document.
There will be a single Telemetry service and sonic-gnmi docker for the multi asic platform which will pull needed data from the DB's of asic namespace. More details provided in [Management Framework document](https://github.com/sonic-net/SONiC/blob/master/doc/mgmt/Management%20Framework.md).

#### 2.4.7.3. LLDP

Expand Down
2 changes: 1 addition & 1 deletion doc/system-telemetry/dialout.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ It is useful in some scenarios. A few typical examples:

# 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 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)
![SOFTWARE ARCHITECTURE](img/GNMI_Server.png)

# Services provided in dialout mode
gNMIDialout service is defined for telemetry in dialout mode. It has one streaming RPC: Publish. The message from client to collector reuses [SubscribeResponse](https://github.com/openconfig/gnmi/blob/f6185680be3b63e2b17e155f06bfc892f74fc3e7/proto/gnmi/gnmi.proto#L216) from gNMI spec, while the PublishResponse message is optional and skipped by default.
Expand Down
2 changes: 1 addition & 1 deletion doc/system-telemetry/grpc_telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ For data not available in DBs, Target name "OTHERS" is designated for that categ

# 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-in server (gNMI server) is described in this document,
![SOFTWARE ARCHITECTURE](img/dial_in_out.png)
![SOFTWARE ARCHITECTURE](img/GNMI_Server.png)
# gRPC operations for system telemetry in SONiC
As mentioned at the beginning, SONiC gRPC data telemetry is largely based on gNMI protocol, the GetRquest/GetResponse and SubscribeRequest/SubscribeResponse RPC have been implemented. Since SONiC doesn't have complete YANG data model yet, the DB, TABLE, KEY and Field path hierarchy is used as path to uniquely identify the configuration/state and counter data.

Expand Down
Binary file added doc/system-telemetry/img/GNMI_Server.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.