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.";
16 description "This revision integrates device-status leaf, formerly hosted in callhome-device.yang";
21 "This revision adds connectivity details for one of the supported transport protocols";
23 "RFC 8071: NETCONF Call Home and RESTCONF Call Home";
26 revision "2016-11-09" {
27 description "Initial version";
30 grouping credentials {
31 container credentials {
32 presence "Credentials to device.";
35 description "Username to be used for authentication";
41 description "Passwords to be used for authentication.";
47 container netconf-callhome-server {
48 description "Settings for call home server administration";
51 presence "global credentials are enabled.";
53 leaf accept-all-ssh-keys {
58 leaf mount-point-naming-strategy {
64 description "Mount name will be chosen as per this strategy in the absence of per device settings. Default is IP_PORT";
68 container allowed-devices {
69 description "A list of allowed devices";
73 description "Identifier of device, which will be used to identify device.";
77 description "BASE-64 encoded public key which device will use during connection.
78 Deprecated, a 'host-key' from the 'ssh-client-params' containers should be used instead.";
86 description "Provides connectivity details for one of the supported transport protocols";
88 container ssh-client-params {
91 description "BASE-64 encoded public key which device will use during connection.";
98 container tls-client-params {
101 description "Certificate identifier which will be used during two-way TLS authentication.";
106 description "Key identifier inside the NetConf keystore which will be used during two-way TLS authentication.";
112 unique transport/ssh/ssh-client-params/host-key;
113 unique transport/tls/tls-client-params/certificate-id;
119 enum FAILED_AUTH_FAILURE;
120 enum FAILED_NOT_ALLOWED;
124 default DISCONNECTED;