1 module ietf-netconf-partial-lock {
3 namespace urn:ietf:params:xml:ns:netconf:partial-lock:1.0;
6 // needed to force data type of select string to be corect
7 import ietf-yang-types { prefix yang; }
9 organization "IETF Network Configuration (netconf) Working Group";
12 "Netconf Working Group
13 Mailing list: netconf@ietf.org
14 Web: http://www.ietf.org/html.charters/netconf-charter.html
18 balazs.lengyel@ericsson.com";
21 "This YANG module defines the <partial-lock> and
22 <partial-unlock> operations.";
26 "Initial version, published as RFC 5717.";
29 typedef lock-id-type {
32 "A number identifying a specific partial-lock granted to a session.
33 It is allocated by the system, and SHOULD be used in the
34 partial-unlock operation.";
39 "A NETCONF operation that locks parts of the running datastore.";
46 "XPath expression that specifies the scope of the lock.
47 An Instance Identifier expression MUST be used unless the
48 :xpath capability is supported, in which case any XPath 1.0
49 expression is allowed.";
57 "Identifies the lock, if granted. The lock-id SHOULD be
58 used in the partial-unlock rpc.";
60 leaf-list locked-node {
61 type instance-identifier;
64 "List of locked nodes in the running datastore";
71 "A NETCONF operation that releases a previously acquired
78 "Identifies the lock to be released. MUST be the value
79 received in the response to a partial-lock operation.";