Skip to content

Netconfessor is fork a of discontinued JNC from Tail-f Systems (c)

License

Notifications You must be signed in to change notification settings

xotonic/netconfessor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netconfessor

Build Status codecov

Netconfessor is fork of discontinued JNC from Tail-f Systems (c)

Netconfessor is NETCONF protocol client. Transport layer uses Ganymed SSH-2 library.

The project consists of 2 parts:

  1. core - client part
  2. gen - pyang plugin for generation Java code from .yang files

Build

Install pyang for Python 2.7

$ pip install pyang==1.7.3

Build java sources

$ gradle build

Using your own .yang file for generation

  1. Add the file gen/src/main/yang directory

  2. Add name of the file in build.gradle of gen module in task yang.

    If module has dependencies, you should add them too.

    HashSet<String> yangs = [ "your-module.yang" ]
  1. Run gradle task gradle yang

You can also add files in test source set (gen/src/test/yang) for testing generated classes.

Usage

See RoboCop's basic API tests here

About

Netconfessor is fork a of discontinued JNC from Tail-f Systems (c)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published