1 module odl-netconf-callhome-server {
3 namespace "urn:opendaylight:params:xml:ns:yang:netconf-callhome-server";
7 "OpenDaylight Project";
10 "netconf-dev@lists.opendaylight.org";
13 "This module defines the northbound interface for OpenDaylight NETCONF Callhome.";
17 "A number of improvements to the sematics of this model. In concrete terms:
18 - every device now has to have a transport
19 - previously-deprecated 'ssh-host-key' is now obsolete
20 - 'credentials; is obsoleted as well";
24 description "This revision integrates device-status leaf, formerly hosted in callhome-device.yang";
29 "This revision adds connectivity details for one of the supported transport protocols";
31 "RFC 8071: NETCONF Call Home and RESTCONF Call Home";
34 revision "2016-11-09" {
35 description "Initial version";
38 grouping credentials {
39 container credentials {
40 presence "Credentials to device.";
43 description "Username to be used for authentication";
49 description "Passwords to be used for authentication.";
55 container netconf-callhome-server {
56 description "Settings for call home server administration";
59 presence "global credentials are enabled.";
61 leaf accept-all-ssh-keys {
66 leaf mount-point-naming-strategy {
72 description "Mount name will be chosen as per this strategy in the absence of per device settings. Default is IP_PORT";
76 container allowed-devices {
77 description "A list of allowed devices";
81 description "Identifier of device, which will be used to identify device.";
86 description "Provides connectivity details for one of the supported transport protocols";
90 container ssh-client-params {
93 description "BASE-64 encoded public key which device will use during connection.";
100 container tls-client-params {
101 leaf certificate-id {
103 description "Certificate identifier which will be used during two-way TLS authentication.";
108 description "Key identifier inside the NetConf keystore which will be used during two-way TLS authentication.";
114 unique transport/ssh/ssh-client-params/host-key;
115 unique transport/tls/tls-client-params/certificate-id;
121 enum FAILED_AUTH_FAILURE;
122 enum FAILED_NOT_ALLOWED;
126 default DISCONNECTED;
130 description "Obsolete, a 'host-key' from the 'ssh-client-params' containers should be used instead.";