module yumaworks-extensions { namespace "http://yumaworks.com/ns/yumaworks-extensions"; prefix "ywx"; organization "YumaWorks, Inc."; contact "Support "; description "This module contains definitions for YumaWorks YANG extensions."; revision 2014-06-05 { description "Add sil-force-replay extension."; } revision 2013-11-23 { description "Add exclusive-rpc extension."; } revision 2013-05-30 { description "Fix some missing argument clauses in the documentation. Comment out notif-root and rpc-hook extensions for now because they are not used in YANG-API."; } revision 2013-01-27 { description "Add help string extension."; } revision 2012-06-28 { description "Initial version"; } extension alt-name { argument name { yin-element false; } description "Used within a data node definition to specify an alternate name for the node. The --alt-names parameter must be enabled for these names to be used. The argument is the altername name to use. It must be a valid YANG identifier."; } extension rpc-root { description "Used within a container definition to indicate it is really a root container for a conceptual NETCONF operations, instead of just a container. The container is expected to be empty. Any top-level rpc-stmt can be specified using a QName value with the same module and local name as the RPC operation definition. This extension is reserved and only used by the server."; } extension urlpath { description "Used within a leaf or leaf-list definition to indicate it is really a REST URI path string, not a plain string."; } extension cli-text-block { description "If this extension is present in an empty container or list, it will be treated in unit-test parsing as a container or list of ordered text commands, 1 per line. Line extension is needed to wrap a command into many lines. Example YANG: container setup { ywx:cli-text-block; } Example test script or conf file usage: setup { run test1-script get-config source=running lock target=candidate some-long-command parms='this is a wrapped \ line in a text block' } "; } extension help { description "Used within a rpc or data definition statement to provide a short help text string for CLI and other applications to use in addition to the description statement. The 'helptext' argument is the help text string, which should be 60 characters or less in length."; argument helptext { yin-element true; } } extension exclusive-rpc { description "Used within an rpc definition statement to indicate that the RPC is not allowed to be called concurrently by different sessions. The server will return an in-use error if another session is currently invoking the RPC operation and this extension is present in the rpc-stmt."; } extension sil-force-replay { description "Used within a configuration data node definition statement to indicate that the SIL (or SIL-SA) callback should be invoked even for nodes that are not changing. At least one descendant-or-self node must be changing in order for any of the SIL callbacks for unchanged sibling nodes to be invoked."; } }