first initial working version of REST API auto-generation via yang-express using xos-core, cord-core, and its dependent modules. validate/polish various YANG schema files, introduce 'cord-core.yang' data model schema, annotate copyright/license info inside YANG schemas, create initial controller logic bindings for various cord data models. build/packaging complete with dependency mappings
diff --git a/schema/corenova-node.yang b/schema/corenova-node.yang
new file mode 100644
index 0000000..104c2e4
--- /dev/null
+++ b/schema/corenova-node.yang
@@ -0,0 +1,52 @@
+module corenova-node {
+ namespace "urn:corenova:node";
+ prefix node;
+
+ organization
+ "Corenova Technologies, Inc.";
+
+ contact
+ "Peter K. Lee <peter@corenova.com>";
+
+ description
+ "This module defines extensions to dynamically control schema node
+ display and access overlay controls";
+
+ feature corenova-node {
+ description
+ "this is to indicate the agent supports dynamic schema node
+ link/map/view.";
+ }
+
+ extension link {
+ description
+ "Links the current leaf (or leaf-list) to an alternate leaf in the
+ schema data tree. The current leaf becomes a 'mirror' instance
+ of the target node.";
+ argument target-node-path {
+ yin-element true;
+ }
+ }
+
+ extension map {
+ description
+ "Maps the current container (or list entry) to an alternate container
+ in the schema data tree. The target-node-path must not map to
+ leaf or leaf-list nodes. The current container will map to
+ additional data nodes found inside the alternate container. The
+ mapped data nodes behave similarly to the 'link' extension
+ case. It can be defined one or more times within the same
+ container to map across modules and other subtrees.";
+ argument target-node-path {
+ yin-element true;
+ }
+ }
+
+ extension view {
+ description
+ "Informs the interface layers that only the data nodes referenced
+ within the value argument should be made visible to the
+ consumer.";
+ argument value;
+ }
+}