* **DOM-like APIs** - DOM-like tree model, which uses conceptual meta-model
* **Java Bindings** - Concrete data model generated from YANG models
* serialization / deserialization of YANG-modeled data driven by YANG models
- * XML - as defined in [RFC6020]
- * JSON - as defined in [draft-lhotka-netmod-yang-json-01]
+ * XML - as defined in [RFC6020] and revised in [RFC7950]
+ * JSON - as defined in [draft-lhotka-netmod-yang-json-01] and standardized in [RFC7951]
* Integration of YANG model parsing into Maven build lifecycle and
support for third-party generators processing YANG models.
-
[RFC6020]:https://tools.ietf.org/html/rfc6020
+[RFC7950]:https://tools.ietf.org/html/rfc7950
+[RFC7951]:https://tools.ietf.org/html/rfc7951
[draft-lhotka-netmod-yang-json-01]:https://tools.ietf.org/html/draft-lhotka-netmod-yang-json-01
--- /dev/null
+# YANG data
+
+This directory contains artifacts which deal with representing YANG-modeled data in ways similar
+to how Java models XML data. These includes:
+* an object model representation similar to W3C Document Object Model as found in **org.w3c.dom**
+* corresponding stream similar Streaming APIs for XML as found in **java.xml.stream**
+* an implementation of a YANG datastore, which has a number of convenient features:
+ * transactions with multi-version concurrency control
+ * optional enforcement of simple YANG structural constraints:
+ * **mandatory**
+ * **min-elements**/**max-elements**
</properties>
<modules>
+ <module>yang-data-api</module>
+ <module>yang-data-impl</module>
<module>yang-data-spi</module>
+ <module>yang-data-transform</module>
+ <module>yang-data-util</module>
</modules>
</project>
<version>7.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
+ <properties>
+ <maven.deploy.skip>true</maven.deploy.skip>
+ <maven.install.skip>true</maven.install.skip>
+ </properties>
+
<modules>
<!-- FIXME: organize these into groups -->
<module>yang-common</module>
<module>yang-common-netty</module>
- <module>yang-data-api</module>
- <module>yang-data-util</module>
- <module>yang-data-impl</module>
- <module>yang-data-transform</module>
<module>yang-data-codec-binfmt</module>
<module>yang-data-codec-gson</module>
<module>yang-data-codec-xml</module>