Code Monkey home page Code Monkey logo

netconf4j's Introduction

NETCONF4J

A simple, from scratch implementation of the Netconf protocol. We are currently using this library at OpenNaaS and quite happy with its feature set. See roadmap for more details and things to come.

Contributors are welcomed!

Features

  • Low, atomic dependencies (commons-logging, commons-configuration, commons-io, junit, ganymed-ssh2).
  • OSGi ready.
  • Test coverage.
  • Support for both sync and async calls.
  • Maven based, easy to build & contribute.
  • Efficient (SAX based) parsing.
  • Transport abstraction (currently, SSH and Virtual).
  • This is an RPC only implementation. Configuration data passed to user untouched.

Roadmap

  • Fully support base Netconf (RFC4741) with all its capabilities.
  • Support for events (RFC5277) and SOAP transport (RFC4743).
  • Add vendor (i.e. Juniper) specific capabilities utils project.

Usage

Check out the code using normal github procedure.

Build as usual. Both maven2 and maven3 should work:

cd netconf-read-only/
mvn install

Alternatively, if any test fail but you want to build anyway, try:

cd netconf-read-only/
mvn install -DskipTests

The produced jar can now be found in the target directory and at your .m2 local repo.

For importing the produced jar in your maven project use:

<dependency>
		<groupId>net.i2cat.netconf</groupId>
		<artifactId>netconf4j</artifactId>
		<version>0.0.2</version>
</dependency>

From java, you can open a netconf session with:

sessionContext = new SessionContext();
sessionContext.setURI(new URI(System.getProperty("net.i2cat.netconf.test.transportUri", "mock://foo:bar@foo:22/okServer")));
session = new NetconfSession(sessionContext);
session.connect();

For the library interface check:

  • INetconfSession here.
  • SessionContext here.
  • The RPC objects here.

Some usage examples can be found at:

  • The JUnit tests inside the library here.
  • The OpenNaaS protocol bundle here.

Origin

This project is a spin-off of the Manticore 2 and Mantychore FP7 projects. See http://www.mantychore.eu/about/ for further details.

Mantychore FP7 project is funded by the European Commission.

Contact

Mail { user | dev } @ lists.opennaas.org for further information.

netconf4j's People

Contributors

adrian-rosello avatar dhaeschlimann avatar elirigol avatar isartcanyameres avatar jrcamp avatar maneljara avatar pau-minoves avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.