blob: f9b7625320ad0ddf77b3376132ca6b9ec4ba2c03 [file] [log] [blame]
romanc1d2b092023-02-02 08:58:27 +01001module libnetconf2-netconf-server {
2 yang-version 1.1;
3 namespace "urn:cesnet:libnetconf2-netconf-server";
4 prefix np2;
5
6 import ietf-netconf-server {
7 prefix ncs;
8 }
9
10 augment "/ncs:netconf-server/ncs:listen/ncs:endpoint/ncs:transport/ncs:ssh/ncs:ssh/ncs:ssh-server-parameters/ncs:client-authentication" {
11 leaf auth-attempts {
12 type uint16;
13 default 3;
14 }
15
16 leaf auth-timeout {
17 type uint16;
18 default 10;
19 units "seconds";
20 }
21 }
22
23 augment "/ncs:netconf-server/ncs:listen/ncs:endpoint/ncs:transport/ncs:ssh/ncs:ssh/ncs:ssh-server-parameters/ncs:client-authentication/ncs:users/ncs:user" {
24 container keyboard-interactive {
25 presence "";
26 leaf pam-config-file-name {
27 type string;
28 mandatory true;
29 }
30 leaf pam-config-file-dir {
31 type string;
32 }
33 }
34 }
35}