New clixon-restconf@2025-02-01.yang revision: timeout parameter
This commit is contained in:
parent
18c29f018a
commit
a7cc1c6362
7 changed files with 47 additions and 20 deletions
|
|
@ -46,7 +46,7 @@ YANGSPECS = clixon-config@2024-11-01.yang # 7.3
|
|||
YANGSPECS += clixon-lib@2024-11-01.yang # 7.3
|
||||
YANGSPECS += clixon-rfc5277@2008-07-01.yang
|
||||
YANGSPECS += clixon-xml-changelog@2019-03-21.yang
|
||||
YANGSPECS += clixon-restconf@2022-08-01.yang # 5.9
|
||||
YANGSPECS += clixon-restconf@2025-02-01.yang # 7.4
|
||||
YANGSPECS += clixon-autocli@2024-08-01.yang # 7.2
|
||||
|
||||
all:
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ module clixon-restconf {
|
|||
"This YANG module provides a data-model for the Clixon RESTCONF daemon.
|
||||
There is also clixon-config also including some restconf options.
|
||||
The separation is not always logical but there are some reasons for the split:
|
||||
1. Some data (ie 'socket') is structurally complex and cannot be expressed as a
|
||||
1. Some data (ie 'socket') is structurally complex and cannot be expressed as a
|
||||
simple option
|
||||
2. clixon-restconf is defined as a macro/grouping and can be included in
|
||||
other YANGs. In particular, it can be used inside a datastore, which
|
||||
|
|
@ -53,6 +53,11 @@ module clixon-restconf {
|
|||
|
||||
***** END LICENSE BLOCK *****";
|
||||
|
||||
revision 2025-02-01 {
|
||||
description
|
||||
"Added timeout parameter
|
||||
Released in Clixon 7.4";
|
||||
}
|
||||
revision 2022-03-21 {
|
||||
description
|
||||
"Added feature:
|
||||
|
|
@ -185,8 +190,9 @@ module clixon-restconf {
|
|||
}
|
||||
leaf log-destination {
|
||||
description
|
||||
"Log destination.
|
||||
If debug is not set, only notice, error and warning will be logged";
|
||||
"Log destination.
|
||||
If debug is not set, only notice, error and warning will be logged
|
||||
If log-destination is file, the actual file is /var/log/clixon_restconf.log";
|
||||
type log-destination;
|
||||
default syslog;
|
||||
}
|
||||
|
|
@ -243,6 +249,14 @@ module clixon-restconf {
|
|||
"Path to server CA cert file
|
||||
Note only applies if socket has ssl enabled";
|
||||
}
|
||||
leaf timeout {
|
||||
description
|
||||
"Timeout of individual sessions.
|
||||
Useful when debugging long-poll server-sent event streams";
|
||||
type uint32;
|
||||
default 0;
|
||||
units "seconds";
|
||||
}
|
||||
list socket {
|
||||
description
|
||||
"List of server sockets that the restconf daemon listens to.
|
||||
|
|
@ -272,7 +286,8 @@ module clixon-restconf {
|
|||
}
|
||||
container restconf {
|
||||
description
|
||||
"This presence is strictly not necessary since the enable flag
|
||||
"If imported, this container appears in top-level configuration.
|
||||
The presence statement is strictly not necessary since the enable flag
|
||||
in clixon-restconf is the flag bearing the actual semantics.
|
||||
However, removing the presence leads to default config in all
|
||||
clixon installations, even those which do not use backend-started restconf.
|
||||
Loading…
Add table
Add a link
Reference in a new issue