Code Review
/
netconf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Fix DeviceOp DTCL"
[netconf.git]
/
netconf
/
sal-netconf-connector
/
src
/
test
/
resources
/
yang-library.xml
diff --git
a/netconf/sal-netconf-connector/src/test/resources/yang-library.xml
b/netconf/sal-netconf-connector/src/test/resources/yang-library.xml
index 704ec670a2360b7a241e6cce1d224c09181c0daf..a7c9544a5462f0cb79ec556919a15818619dd2cf 100644
(file)
--- a/
netconf/sal-netconf-connector/src/test/resources/yang-library.xml
+++ b/
netconf/sal-netconf-connector/src/test/resources/yang-library.xml
@@
-1,7
+1,9
@@
+<?xml version="1.0"?>
<modules xmlns="urn:ietf:params:xml:ns:yang:ietf-yang-library">
<module>
<name>module-with-revision</name>
<revision>2014-04-08</revision>
<modules xmlns="urn:ietf:params:xml:ns:yang:ietf-yang-library">
<module>
<name>module-with-revision</name>
<revision>2014-04-08</revision>
+ <namespace>namespace</namespace>
<schema>
http://localhost:8181/yanglib/schemas/module-with-revision/2014-04-08
</schema>
<schema>
http://localhost:8181/yanglib/schemas/module-with-revision/2014-04-08
</schema>
@@
-9,15
+11,25
@@
<module>
<name>another-module-with-revision</name>
<revision>2013-10-21</revision>
<module>
<name>another-module-with-revision</name>
<revision>2013-10-21</revision>
+ <namespace>another-module-with-revision:namespace</namespace>
<schema>
http://localhost:8181/yanglib/schemas/another-module-with-revision/2013-10-21
</schema>
</module>
<module>
<name>module-without-revision</name>
<schema>
http://localhost:8181/yanglib/schemas/another-module-with-revision/2013-10-21
</schema>
</module>
<module>
<name>module-without-revision</name>
- <revision></revision>
+ <namespace>module-without-revision:namespace</namespace>
+ <revision/>
<schema>
http://localhost:8181/yanglib/schemas/module-without-revision/
</schema>
</module>
<schema>
http://localhost:8181/yanglib/schemas/module-without-revision/
</schema>
</module>
-</modules>
\ No newline at end of file
+ <module>
+ <name>module-with-wrong-revision</name>
+ <revision>2014-004-08</revision>
+ <namespace>namespace</namespace>
+ <schema>
+ http://localhost:8181/yanglib/schemas/module-with-revision/2014-04-08
+ </schema>
+ </module>
+</modules>