1 module netconf-node-topology {
2 namespace "urn:opendaylight:netconf-node-topology";
6 import network-topology { prefix nt; revision-date 2013-10-21; }
7 import yang-ext { prefix ext; revision-date "2013-07-09";}
8 import netconf-node-optional { prefix nno; }
9 import odl-netconf-device { prefix ond; }
12 description "Update the YANG model to version 1.1 and modify the rpc-credentials
13 choice within the rpc-credentials grouping to be mandatory";
17 description "Separated RPC create-device input credentials from odl-netconf-device";
21 description "Refactored into odl-netconf-device";
24 revision "2015-01-14" {
25 description "Initial revision of Topology model";
28 grouping netconf-node-fields {
29 uses ond:connection-parameters;
30 uses ond:netconf-schema-storage;
31 uses ond:datastore-access;
34 grouping rpc-username-password {
44 grouping rpc-credentials {
45 choice rpc-credentials {
48 description "login-password credentials, encrypted.";
50 container login-password {
51 uses rpc-username-password;
54 case login-pw-unencrypted {
55 description "login-password credentials, not encrypted.";
57 container login-password-unencrypted {
58 uses rpc-username-password;
62 description "key-based authentication, use the id for the pair thats stored in the keystore.";
81 uses netconf-node-fields;
82 uses nno:netconf-node-augmented-optional-fields;
98 augment "/nt:network-topology/nt:topology/nt:topology-types" {
99 container topology-netconf {
100 presence "The presence of the container node indicates a network
105 augment "/nt:network-topology/nt:topology/nt:node" {
106 when "../../nt:topology-types/topology-netconf";
107 ext:augment-identifier "netconf-node";
109 uses ond:credentials;
110 uses netconf-node-fields;
111 uses ond:connection-oper;