Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/airshiplay/yang-maven-plugin
- Owner: airshiplay
- License: apache-2.0
- Created: 2017-08-24T05:45:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-13T15:36:37.000Z (over 3 years ago)
- Last Synced: 2023-07-26T21:12:54.180Z (over 1 year ago)
- Topics: jnc, maven-plugin, netconf, pyang, tail-f-systems, yang, yang-model
- Language: Java
- Homepage:
- Size: 4.98 MB
- Stars: 3
- Watchers: 3
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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:
```xmlcom.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,packagemvn yang:validate # validate yang model
```
[yang-example](https://github.com/airshiplay/play-yang/tree/master/yang-example)## License
See [License File](LICENSE).