Download Yuma netconfd Manual
Transcript
Yuma netconfd Manual within it. A <discard-changes> operation may be needed to clear any leftover edits, if this operation fails with a 'resource-denied' error instead of a 'lock-denied' error. If the session holding the lock is terminated for any reason, the lock will be released, as if the <unlock> operation was invoked. <lock> operation Min parameters: 1 Max parameters: 1 Return type: status YANG file: yuma-netconf.yang Capabilities needed: none Capabilities optional: :candidate :startup Mandatory Parameters: • target ◦ type: container with 1 of N choice of leafs ◦ This parameter specifies the name of the target database to be locked. ◦ container contents: 1 of N: ▪ ▪ ▪ candidate • type: empty • capabilities needed: :candidate running • type: empty • capabilities needed: none startup • type: empty • capabilities needed: startup Optional Parameters: • none Returns: • <ok/> Possible Operation Errors: • access-denied • lock-denied (lock already held by <session-id> in the <error-info>) • resource-denied (candidate is dirty; <discard-changes> needed) Page 65 Version 2.2