[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue 9.4) Partial locks



Should a variant of the lock operation support the
specification of a subset of the data model?

Is this the best way?
If so, how should the partial subset be specified?

9.4.1) Partial lock proposal

Include the top-level element of the data element sub-tree
to be locked.

Example 1: Lock all interfaces

   <lock>
       <target>
         <running/>
       </target>
       <lock-scope>
          <interfaces xmlns="http://example.com/intf";>
       </lock-scope>
   </lock>

Example 2: Lock two interfaces

   <lock>
       <target>
         <running/>
       </target>
       <lock-scope>
          <interfaces xmlns="http://example.com/intf";>
             <interface>
                 <ifName>Ethernet0/0</ifName>
             </interface>
             <interface>
                 <ifName>Ethernet0/1</ifName>
             </interface>
          </interfaces>
       </lock-scope>
   </lock>


--
to unsubscribe send a message to netconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>