1 module netconf-node-optional {
2 namespace "urn:opendaylight:netconf-node-optional";
5 import network-topology { prefix nt; revision-date 2013-10-21; }
6 import yang-ext { prefix ext; revision-date "2013-07-09";}
8 revision "2019-06-14" {
9 description "Initial revision of Node Optional model";
12 grouping netconf-node-augmented-optional-fields {
13 container ignore-missing-schema-sources {
14 description "Allows mount point to reconnect on the 'missing schema sources' error.
15 WARNING - enabling the reconnection on the 'missing schema sources' error can lead
16 to unexpected errors at runtime.";
20 description "Allows reconnection of the mount point. Default false.";
25 description "Time for reconnection - in units milliseconds. Default 5000 ms.";
30 container netconf-node-fields-optional {
31 description "Allows to create node's optional value with the path mapping according to
32 the network-topology -> topology -> node";
37 description "The name of node's topology";
43 description "The identifier of a node in the topology";
45 // Containers allow to create specific data-change-listener directly on a node's optional value.
46 // In the future, it'll be easy to extend the node by optional node fields in this way. Do not create
47 // direct leafs here, please.
48 container datastore-lock {
49 description "Allows to ignore lock/unlock node's datastare.";
50 leaf datastore-lock-allowed {
53 description "The operation allows the client to lock the entire configuration datastore
55 WARNING - With blocking the lock/unlock operations, the user is coming to operate
56 in a manner which is not supported. Concurrent access to the data store may interfere
57 with data consistency.";
64 augment "/nt:network-topology/nt:topology/nt:node/" {
65 when "../../nt:topology-types/topology-netconf";
66 ext:augment-identifier "netconf-node-augmented-optional";
67 uses netconf-node-augmented-optional-fields;