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 ietf-inet-types { prefix inet; revision-date "2010-09-24"; }
9 revision "2015-01-14" {
10 description "Initial revision of Topology model";
13 augment "/nt:network-topology/nt:topology/nt:topology-types" {
14 container topology-netconf {
18 grouping netconf-node-fields {
19 leaf connection-status {
23 enum unable-to-connect;
32 type inet:port-number;
35 leaf connected-message {
39 container available-capabilities {
40 leaf-list available-capability {
45 container unavailable-capabilities {
46 list unavailable-capability {
54 enum unable-to-resolve;
60 container pass-through {
61 when "../connection-status = connected";
63 "When the underlying node is connected, its NETCONF context
64 is available verbatim under this container through the
69 augment "/nt:network-topology/nt:topology/nt:node" {
70 when "../../nt:topology-types/topology-netconf";
71 ext:augment-identifier "netconf-node";
73 uses netconf-node-fields;