Javadoc
Contains the list of NETCONF configuration datastores.
<p>This class represents the following YANG schema fragment defined in module <b>ietf-netconf-monitoring</b>
<br>(Source path: <i>META-INF/yang/ietf-netconf-monitoring.yang</i>):
<pre>
container datastores {
list datastore {
key "name"
leaf name {
type netconf-datastore-type;
}
container locks {
choice lock-type {
case global-lock {
container global-lock {
leaf locked-by-session {
type uint32;
}
leaf locked-time {
type date-and-time;
}
uses netconf-state;
}
}
case partial-lock {
list partial-lock {
key "lock-id"
leaf lock-id {
type uint32;
}
leaf locked-by-session {
type uint32;
}
leaf locked-time {
type date-and-time;
}
leaf-list select {
type xpath1.0;
}
leaf-list locked-node {
type instance-identifier;
}
uses netconf-state;
}
}
}
grouping lock-info {
leaf locked-by-session {
type uint32;
}
leaf locked-time {
type date-and-time;
}
}
}
}
}
</pre>
The schema path to identify an instance is
<i>ietf-netconf-monitoring/netconf-state/datastores</i>
<p>To create instances of this class use
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.monitoring.rev101004.netconf.state.DatastoresBuilder.