Update docs conf.yaml version to Sulfur
[transportpce.git] / ordmodels / device / src / main / yang / openconfig-telemetry-types@2017-08-24.yang
1 module openconfig-telemetry-types {
2   yang-version 1;
3   namespace "http://openconfig.net/yang/telemetry-types";
4   prefix oc-telemetry-types;
5
6   import openconfig-extensions {
7     prefix oc-ext;
8   }
9
10   organization
11     "OpenConfig working group";
12   contact
13     "OpenConfig working group
14      www.openconfig.net";
15   description
16     "This module defines type and identities used by the OpenConfig
17      telemetry model.";
18
19   revision 2017-08-24 {
20     description
21       "Minor formatting fixes";
22     reference
23       "0.4.1";
24   }
25   revision 2017-02-20 {
26     description
27       "Fixes for YANG 1.0 compliance, add types module";
28     reference
29       "0.4.0";
30   }
31   revision 2016-04-05 {
32     description
33       "OpenConfig public release";
34     reference
35       "0.2.0";
36   }
37
38   identity DATA_ENCODING_METHOD {
39     description
40       "Base identity for supported encoding for configuration and
41        operational state data";
42   }
43
44   identity ENC_XML {
45     base DATA_ENCODING_METHOD;
46     description
47       "XML encoding";
48   }
49
50   identity ENC_JSON_IETF {
51     base DATA_ENCODING_METHOD;
52     description
53       "JSON encoded based on IETF draft standard";
54     reference
55       "draft-ietf-netmod-yang-json";
56   }
57
58   identity ENC_PROTO3 {
59     base DATA_ENCODING_METHOD;
60     description
61       "Protocol buffers v3";
62     reference
63       "https://developers.google.com/protocol-buffers/docs/overview";
64   }
65
66   identity STREAM_PROTOCOL {
67     description
68       "Base identity for a telemetry stream protocol";
69   }
70
71   identity STREAM_SSH {
72     base STREAM_PROTOCOL;
73     description
74       "Telemetry stream is carried over a SSH connection";
75   }
76
77   identity STREAM_GRPC {
78     base STREAM_PROTOCOL;
79     description
80       "Telemetry stream is carried over via the gRPC framework";
81   }
82
83   identity STREAM_JSON_RPC {
84     base STREAM_PROTOCOL;
85     description
86       "Telemetry stream is carried via the JSON-RPC framework";
87   }
88
89   identity STREAM_THRIFT_RPC {
90     base STREAM_PROTOCOL;
91     description
92       "Telemetry stream is carried via the Apache Thrift framework";
93   }
94
95   identity STREAM_WEBSOCKET_RPC {
96     base STREAM_PROTOCOL;
97     description
98       "Telemetry stream is carried by the WebSocket framework";
99   }
100
101   oc-ext:openconfig-version "0.4.1";
102 }