RFC Errata
RFC 5717, "Partial Lock Remote Procedure Call (RPC) for NETCONF", December 2009
Source of RFC: netconf (ops)
Errata ID: 2657
Status: Rejected
Type: Technical
Publication Format(s) : TEXT
Reported By: B Viswanath Reddy
Date Reported: 2010-12-02
Rejected by: Dan Romascanu
Date Rejected: 2011-03-09
Section Appendix C says:
Step 6 - Lock user Joe
<nc:rpc
xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns="urn:ietf:params:xml:ns:netconf:partial-lock:1.0"
message-id="104">
<partial-lock>
<select xmlns:usr="http://example.com/users">
| /usr:top/usr:users/user[usr:name="Joe"]"
</select>
</partial-lock>
</nc:rpc>
The NETCONF server grants the partial lock. The scope of this second
lock includes only the <user> node with name Joe. The lock protects
all data below this particular <user> node.
Step 7 - Receive lock
<nc:rpc-reply
xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns="urn:ietf:params:xml:ns:netconf:partial-lock:1.0"
message-id="104">
<lock-id>2</lock-id>
<locked-node xmlns:usr="http://example.com/users">
| /usr:top/usr:users/user[usr:name="Joe"]"
</locked-node>
</nc:rpc-reply>
It should say:
Step 6 - Lock user Joe
<nc:rpc
xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns="urn:ietf:params:xml:ns:netconf:partial-lock:1.0"
message-id="104">
<partial-lock>
<select xmlns:usr="http://example.com/users">
| /usr:top/usr:users/usr:user[usr:name="Joe"]"
</select>
</partial-lock>
</nc:rpc>
The NETCONF server grants the partial lock. The scope of this second
lock includes only the <user> node with name Joe. The lock protects
all data below this particular <user> node.
Step 7 - Receive lock
<nc:rpc-reply
xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns="urn:ietf:params:xml:ns:netconf:partial-lock:1.0"
message-id="104">
<lock-id>2</lock-id>
<locked-node xmlns:usr="http://example.com/users">
| /usr:top/usr:users/usr:user[usr:name="Joe"]"
</locked-node>
</nc:rpc-reply>
Notes:
The instance identifier /usr:top/usr:users/user[usr:name="Joe"]" must be replaced with /usr:top/usr:users/usr:user[usr:name="Joe"]"
--VERIFIER NOTES--
The solution for this errata is contained in errata #2746 proposed by Mehmet Ersue which is Verified.
