UNIX socket UPDATE configurable with YANG data
Implemented the ability to create a UNIX socket server with YANG
data. Additionally all new tests timeouts are now unified.
diff --git a/modules/libnetconf2-netconf-server.yang b/modules/libnetconf2-netconf-server.yang
index f9b7625..9d8bbb9 100644
--- a/modules/libnetconf2-netconf-server.yang
+++ b/modules/libnetconf2-netconf-server.yang
@@ -32,4 +32,24 @@
}
}
}
+
+ augment "/ncs:netconf-server/ncs:listen/ncs:endpoint/ncs:transport" {
+ case unix-socket {
+ container unix-socket {
+ leaf path {
+ type string;
+ mandatory true;
+ }
+ leaf mode {
+ type uint16;
+ }
+ leaf uid {
+ type uint16;
+ }
+ leaf gid {
+ type uint16;
+ }
+ }
+ }
+ }
}