/usr/share/yuma/modules/netconfcentral/yuma-mysession.yang is in libyuma-base 2.10-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | module yuma-mysession {
namespace "http://netconfcentral.org/ns/yuma-mysession";
prefix "myses";
import yuma-app-common { prefix appcmn; }
import ietf-netconf-with-defaults { prefix wd; }
organization "Netconf Central";
contact
"Andy Bierman <andy@netconfcentral.org>";
description
"This module contains RPC methods for
customizing the default session settings
for the current session.";
revision 2010-05-10 {
description
"Added default to line-size parameter.";
}
revision 2009-08-11 {
description
"Initial published 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;
}
}
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;
}
}
}
|