Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/airshiplay/yang-maven-plugin

yang-maven-plugin based on JNC( Java NETCONF Client, https://github.com/tail-f-systems/JNC ) ,and a plugin for pyang to generate Java classes from YANG models
https://github.com/airshiplay/yang-maven-plugin

jnc maven-plugin netconf pyang tail-f-systems yang yang-model

Last synced: about 1 month ago
JSON representation

yang-maven-plugin based on JNC( Java NETCONF Client, https://github.com/tail-f-systems/JNC ) ,and a plugin for pyang to generate Java classes from YANG models

Awesome Lists containing this project

README

        

# play-yang
Play Yang based on JNC,and a plugin for pyang to generate Java classes from YANG models.

Reference
[JNC](https://github.com/tail-f-systems/JNC)
[pyang](https://github.com/mbj4668/pyang)
# play-jnc
Modify based on [JNC](https://github.com/tail-f-systems/JNC)

# yang-maven-plugin

Download
--------

Download [the latest JAR](https://search.maven.org/remote_content?g=com.airlenet.yang&a=yang-maven-plugin&v=LATEST) or grab via Maven:
```xml

com.airlenet.yang
yang-maven-plugin
1.2.0-SNAPSHOT

```
or Gradle:
```groovy
compile 'com.airlenet.yang:yang-maven-plugin:1.2.0-SNAPSHOT'
```

Snapshots of the development version are available in [Sonatype's `snapshots` repository](https://oss.sonatype.org/content/repositories/snapshots/com/airlenet/yang/yang-maven-plugin).

Usage
--------

```


com.airlenet.yang
yang-maven-plugin
1.2.0-SNAPSHOT

false
false
false

tailf/*.yang
ietf/*.yang
iana/*.yang




process

process


target/generated-sources/java
com.airlenet.yang.model






org.codehaus.mojo
build-helper-maven-plugin
1.7


add-source
generate-sources

add-source



target/generated-sources/java




add-resource
generate-resources

add-resource




target/generated-sources/java





```
```
mvn package # generator java class from yang model,compile,package

mvn yang:validate # validate yang model
```
[yang-example](https://github.com/airshiplay/play-yang/tree/master/yang-example)

## License
See [License File](LICENSE).