debug print of backend state, split test-stream into a netconf and restconf part, change restconf yang auth-type from leaf-list to leaf

This commit is contained in:
Olof hagsand 2021-01-27 14:40:34 +01:00
parent a5f32fbedf
commit b41f68b677
13 changed files with 244 additions and 63 deletions

View file

@ -300,9 +300,11 @@ module clixon-config {
enum IPv4 {
description "IPv4";
}
enum IPv6 {
description "IPv6";
}
}
}
container clixon-config {
container restconf {
uses clrc:clixon-restconf;
@ -629,8 +631,12 @@ module clixon-config {
type string;
mandatory true;
description
"If family above is AF_UNIX: Unix socket for communicating
with clixon_backend. If family is AF_INET: IPv4 address";
"String description of Clixon Internal (IPC) socket that connects a clixon
client to the clixon backend. This string is dependent on family.
If CLICON_SOCK_FAMILY is:
- UNIX: The value is a Unix socket path
- IPv4: IPv4 address string
- IPv6: IPv6 address string (NYI)";
}
leaf CLICON_SOCK_PORT {
type int32;

View file

@ -78,7 +78,7 @@ module clixon-restconf {
For example, if the restconf daemon is under systemd management, the restconf
daemon will only start if enable=true.";
}
leaf-list auth-type {
leaf auth-type {
type http-auth-type;
description
"The authentication type.