1 module netconf-node-topology {
2 namespace "urn:opendaylight:netconf-node-topology";
5 import network-topology { prefix nt; revision-date 2013-10-21; }
6 import yang-ext { prefix ext; revision-date "2013-07-09";}
7 import netconf-node-optional { prefix nno; }
8 import odl-netconf-device { prefix ond; }
11 description "Separated RPC create-device input credentials from odl-netconf-device";
15 description "Refactored into odl-netconf-device";
18 revision "2015-01-14" {
19 description "Initial revision of Topology model";
22 grouping netconf-node-fields {
23 uses ond:connection-parameters;
24 uses ond:netconf-schema-storage;
25 uses ond:datastore-access;
28 grouping rpc-username-password {
38 grouping rpc-credentials {
39 choice rpc-credentials {
41 description "login-password credentials, encrypted.";
43 container login-password {
44 uses rpc-username-password;
47 case login-pw-unencrypted {
48 description "login-password credentials, not encrypted.";
50 container login-password-unencrypted {
51 uses rpc-username-password;
55 description "key-based authentication, use the id for the pair thats stored in the keystore.";
74 uses netconf-node-fields;
75 uses nno:netconf-node-augmented-optional-fields;
91 augment "/nt:network-topology/nt:topology/nt:topology-types" {
92 container topology-netconf {
93 presence "The presence of the container node indicates a network
98 augment "/nt:network-topology/nt:topology/nt:node" {
99 when "../../nt:topology-types/topology-netconf";
100 ext:augment-identifier "netconf-node";
102 uses ond:credentials;
103 uses netconf-node-fields;
104 uses ond:connection-oper;