Skip to content

Commit 3286739

Browse files
authored
Extensions to gNMI is described in Section 2.8 (#217)
1 parent b0e2b6d commit 3286739

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

rpc/gnmi/gnmi-specification.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ MUST send JSON encoded values (the default encoding).
867867
The `CapabilityRequest` message is sent by the client to request capability
868868
information from the target. The `CapabilityRequest` message carries a single
869869
repeated `extension` field, which is used as per the definition in [Section
870-
2.7](#27-extensions-to-gnmi).
870+
2.8](#28-extensions-to-gnmi).
871871

872872
### 3.2.2 The CapabilityResponse message
873873

@@ -883,7 +883,7 @@ The `CapabilityResponse` message has the following fields:
883883
target, specified as a string. The version should be interpreted as per
884884
[[OPENCONFIG-SEMVER](http://www.openconfig.net/documentation/semantic-versioning/)].
885885
- `extension` - a repeated field to carry gNMI extensions, which is used as
886-
per the definition in [Section 2.7](#27-extensions-to-gnmi).
886+
per the definition in [Section 2.8](#28-extensions-to-gnmi).
887887

888888
## 3.3 Retrieving Snapshots of State Information
889889

@@ -936,7 +936,7 @@ The `GetRequest` message contains the following fields:
936936
RPC call. The semantics of the `use_models` field are defined in [Section
937937
2.6](#26-schema-definition-models).
938938
- `extension` - a repeated field to carry gNMI extensions, used as per the
939-
definition in [Section 2.7](#27-extensions-to-gnmi).
939+
definition in [Section 2.8](#28-extensions-to-gnmi).
940940

941941
Since the data tree stored by the target may consist of different types of data
942942
(e.g., values that are operational in nature, such as protocol statistics) - the
@@ -972,7 +972,7 @@ The `GetResponse` message consists of:
972972
`Notification` message MUST be set to the time at which the target's
973973
snapshot of the relevant path was taken.
974974
- `extension` - a repeated field used to carry gNMI extensions, as per the
975-
description in [Section 2.7](#27-extensions-to-gnmi).
975+
description in [Section 2.8](#28-extensions-to-gnmi).
976976

977977
### 3.3.3 Considerations for using Get
978978

@@ -1061,7 +1061,7 @@ A `SetRequest` message consists of the following fields:
10611061
- `update` - A set of `Update` messages indicating elements of the data tree
10621062
whose content is to be updated.
10631063
- `extension` - a repeated field used to carry gNMI extensions, as per the
1064-
description in [Section 2.7](#27-extensions-to-gnmi).
1064+
description in [Section 2.8](#28-extensions-to-gnmi).
10651065

10661066
The semantics of "updating" versus "replacing" content are defined in [Section
10671067
3.4.4.](#344-modes-of-update-replace-versus-update)
@@ -1103,7 +1103,7 @@ A `SetResponse` consists of the following fields:
11031103
2.5](#25-error-handling)). This field follows the same rules as the
11041104
status field returned with the `SetResponse` message specified above.
11051105
- `extension` - a repeated field used to carry gNMI extensions, as per the
1106-
description in [Section 2.7](#27-extensions-to-gnmi).
1106+
description in [Section 2.8](#28-extensions-to-gnmi).
11071107

11081108
### 3.4.3 Transactions
11091109

@@ -1445,7 +1445,7 @@ The fields of the `SubscribeRequest` are as follows:
14451445
the subscription. The semantics of the `Poll` message are described in
14461446
[Section 3.5.1.5.3](#35153-poll-subscriptions).
14471447
- `extension` - a repeated field used to carry gNMI extensions, as per the
1448-
description in [Section 2.7](#27-extensions-to-gnmi).
1448+
description in [Section 2.8](#28-extensions-to-gnmi).
14491449

14501450
In order to create a new subscription a client MUST initiate a `Subscribe` RPC
14511451
with a `SubscribeRequest` message specifying the `subscribe` field. The
@@ -1514,7 +1514,7 @@ subscription behavior are required. The fields of the message are:
15141514
before proceeding to process poll requests (in the case of `POLL`) or
15151515
closing the RPC (in the case of `ONCE`)."
15161516
- `extension` - a repeated field used to carry gNMI extensions, as per the
1517-
description in [Section 2.7](#27-extensions-to-gnmi).
1517+
description in [Section 2.8](#28-extensions-to-gnmi).
15181518

15191519
A client generating a `SubscriptionList` message MUST include the `subscription`
15201520
field - which MUST be a non-empty set of `Subscription` messages, all other
@@ -1560,7 +1560,7 @@ established `Subscribe` RPC. The message contains the following fields:
15601560
been transmitted at least once, used for `ONCE`, `POLL` and `STREAM`
15611561
subscriptions.
15621562
- `extension` - a repeated field used to carry gNMI extensions, as per the
1563-
description in [Section 2.7](#27-extensions-to-gnmi).
1563+
description in [Section 2.8](#28-extensions-to-gnmi).
15641564

15651565
`SubscribeResponse` messages with the `update` field set to a `Notification` are
15661566
not required to be sent by the target in timestamp order, and client

0 commit comments

Comments
 (0)