Giter VIP home page Giter VIP logo

netconf's Introduction

Netconf

Authors: Felipe Ripoll. ([email protected]).

This project is an implementation of the Netconf specification RFC6241 written in Erlang

That code was inspired in enetconf library.

Note This project is still under development.

Before start

This projects run over ssh connection. Actually this server is an ssh subsystem. For this reason we have to think in the authentication we want to use.

So far, our netconf has two authentication ways:

  • Public key auth
  • User/Password auth.

If the first one fails, then the user/password auth is tried.

In order to config the Public Key Authentication you can read this. The ssh folder used by this server is on priv/ssh, there you should put the authorized_keys, ssh_host_rsa_key and ssh_host_rsa_key.pub files. If you want to use the user/password mechanism you have to provide a list of tuples {user, password} in the configuration file, with the name ssh_credentials. ie:

[{netconf, [ {host, "127.0.0.1"} , {port, 8989} , {device_module, fake_device} , {ssh_credentials, [{"felipe", "password"}]} ]}].

Device Callback

The netconf_device behaviour must be implemented in order to add the device specific responses. For example the capabilities the device has. You can see an example of it on the 'test/fake_device.erl' module.

Build

$ git clone https://github.com/ferigis/netconf.git
$ cd netconf
$ make

Tests

For testing I have used the ct_netconfc module from Common Tests

$ make tests

Copyright and License

Copyright (c) 2016 Felipe Ripoll Gisbert

netconf source code is licensed under the MIT License.

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.