module sample-mysession { namespace "http://netconfcentral.org/ns/sample-mysession"; prefix "myses"; import yuma-app-common { prefix appcmn; } import ietf-netconf-with-defaults { prefix wd; } revision 2020-03-03 { description "Initial version"; } grouping session-params { uses appcmn:IndentParm; leaf linesize { description "The desired maximum number of characters printed per line. The server may exceed this number. It is only a suggestion, not a hard limit."; type uint32 { range "40 .. 1024"; } default 72; } leaf with-defaults { description "The desired maximum number of characters printed per line. The server may exceed this number. It is only a suggestion, not a hard limit."; type wd:with-defaults-mode; } leaf message-indent { type int8 { range "-1 .. 9"; } default -1; description "The number of spaces to indent for each level of output in a protocol message, e.g. NETCONF request. The value zero means no indent, just line feeds. The value -1 means no indent and no line feeds either."; } } rpc get-my-session { description "Get the customization settings for this session"; output { uses session-params; } } rpc set-my-session { description "Set the customization settings for this session. This is like a merge operation. Only the values that are present will be used to overwrite the existing settings."; input { uses session-params; } } }