1 module openconfig-telemetry-types {
3 namespace "http://openconfig.net/yang/telemetry-types";
4 prefix oc-telemetry-types;
6 import openconfig-extensions {
11 "OpenConfig working group";
13 "OpenConfig working group
16 "This module defines type and identities used by the OpenConfig
21 "Minor formatting fixes";
27 "Fixes for YANG 1.0 compliance, add types module";
33 "OpenConfig public release";
38 identity DATA_ENCODING_METHOD {
40 "Base identity for supported encoding for configuration and
41 operational state data";
45 base DATA_ENCODING_METHOD;
50 identity ENC_JSON_IETF {
51 base DATA_ENCODING_METHOD;
53 "JSON encoded based on IETF draft standard";
55 "draft-ietf-netmod-yang-json";
59 base DATA_ENCODING_METHOD;
61 "Protocol buffers v3";
63 "https://developers.google.com/protocol-buffers/docs/overview";
66 identity STREAM_PROTOCOL {
68 "Base identity for a telemetry stream protocol";
74 "Telemetry stream is carried over a SSH connection";
77 identity STREAM_GRPC {
80 "Telemetry stream is carried over via the gRPC framework";
83 identity STREAM_JSON_RPC {
86 "Telemetry stream is carried via the JSON-RPC framework";
89 identity STREAM_THRIFT_RPC {
92 "Telemetry stream is carried via the Apache Thrift framework";
95 identity STREAM_WEBSOCKET_RPC {
98 "Telemetry stream is carried by the WebSocket framework";
101 oc-ext:openconfig-version "0.4.1";