RFC Errata
Found 1 record.
Status: Reported (1)
RFC 8640, "Dynamic Subscription to YANG Events and Datastores over NETCONF", September 2019
Source of RFC: netconf (ops)
Errata ID: 6886
Status: Reported
Type: Technical
Publication Format(s) : TEXT
Reported By: Jernej Tuljak
Date Reported: 2022-03-16
Section A. 4. says:
<rpc message-id="601" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <establish-subscription xmlns="urn:ietf:params:xml:ns:yang:ietf-subscribed-notifications"> <stream>NETCONF</stream> <stream-xpath-filter xmlns="urn:ietf:params:xml:ns:yang:ietf-vrrp"> /vrrp-protocol-error-event[ vrrp:protocol-error-reason="vrrp:checksum-error"] </stream-xpath-filter> </establish-subscription> </rpc>
It should say:
<rpc message-id="601" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <establish-subscription xmlns="urn:ietf:params:xml:ns:yang:ietf-subscribed-notifications"> <stream>NETCONF</stream> <stream-xpath-filter xmlns:vrrp="urn:ietf:params:xml:ns:yang:ietf-vrrp"> /vrrp:vrrp-protocol-error-event[ derived-from-or-self(vrrp:protocol-error-reason, "vrrp:checksum-error")] </stream-xpath-filter> </establish-subscription> </rpc>
Notes:
The original example put <stream-xpath-filter> element in a wrong namespace, never defined a namespace binding for prefix "vrrp" and checked a value of type identityref by treating it as an XPath string literal (instead of using the XPath function from RFC 7950, which is allowed by type definition of leaf "stream-xpath-filter").