commit | 1182ca818461e1f61909c49e233cfe743b321503 | [log] [tgz] |
---|---|---|
author | Peter Lee <peter@corenova.com> | Thu Jul 28 20:14:48 2016 -0700 |
committer | Peter Lee <peter@corenova.com> | Thu Jul 28 20:14:48 2016 -0700 |
tree | 5409338fa7bdf9f528d6bad4a2ce003f3bc43b2e | |
parent | 3a262ed86a8005d2ffb84d13cd23f07533824796 [diff] |
updated documentation for main package README as well as schema Modeler's Guide
This is a work-in-progress effort to create YANG data models for the CORD project and deliver flexible service compositions.
You may contact Larry Peterson llp@onlab.us and Peter Lee peter@corenova.com to learn more about this initiative and find out how you can help.
$ npm install yang-cord
Following the installation, you can start an instance of the YANG model-driven REST API web server. It utilizes yang-express middleware framework built on Express.js to provide dynamic YANG model-driven API routing capability.
$ npm start > yang-cord@1.0.1 start /home/peter/yang-cord > node lib/server.js mounted 'cord-core' model mounted 'xos-core' model [cord-core] calling GET on /cord-core:subscriber
To run the test suite, first install the dependencies, then run npm test
.
$ npm install $ npm test
Mocha test suite is currently under development...