Details
-
Bug
-
Status: Resolved
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
-
None
-
Operating System: Linux
Platform: PC
-
2993
Description
I've just built a controller (2015-04-14) with odl-netconf-monitoring feature activated and when I call a request /restconf/modules/module/ietf-netconf-monitoring/2010-10-04/schema I get this data :
<leaf-list name="location">
<type name="union"></type>
<config value="false"></config>
<ordered-by value="system"></ordered-by>
<status value="current"></status>
<description>
<text>One or more locations from which the schema can be
retrieved. This list SHOULD contain at least one
entry per schema.
A schema entry may be located on a remote file system
(e.g., reference to file system for ftp retrieval) or
retrieved directly from a server supporting the
<get-schema> operation (denoted by the value 'NETCONF').</text>
</description>
</leaf-list>
In file in controller opendaylight/netconf/ietf-netconf-monitoring/src/main/yang/ietf-netconf-monitoring.yang are data :
leaf-list location {
type union {
type enumeration {
enum "NETCONF"
}
type inet:uri;
}
description
"One or more locations from which the schema can be
retrieved. This list SHOULD contain at least one
entry per schema.
A schema entry may be located on a remote file system
(e.g., reference to file system for ftp retrieval) or
retrieved directly from a server supporting the
<get-schema> operation (denoted by the value 'NETCONF').";
}
} // list schema