Skip to content

xinsfang/netopeer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NETCONF toolset Netopeer

[Project Stats] (https://www.openhub.net/p/netopeer)

Netopeer is a set of NETCONF tools built on the [libnetconf] (https://github.com/CESNET/libnetconf) library. It allows operators to connect to their NETCONF-enabled devices as well as developers to allow control their devices via NETCONF. More information about NETCONF protocol can be found at NETCONF WG.

Tools Overview

Netopeer Tools Scheme

CLI interface allowing user to connect to a NETCONF-enabled device and to obtain and manipulate its configuration data.

The main Netopeer server following the [integrated architecture] (https://rawgit.com/CESNET/libnetconf/master/doc/doxygen/html/da/db3/server.html#server-arch-integrated). netopeer-server is supposed to run as a system service controlling a device. By default, we provide example modules to control several areas of a GNU/Linux desktop (network interfaces, packet filter and overall system information). The netopeer-server allows you to simply switch the modules to use your own control modules.

As part of the Netopeer server, there is a set of the following tools:

Running the server in docker

This repository has a Dockerfile that can be used to create a container that builds netopeer-server and starts the service. You need a linux with working docker installation to use it.

To build the container:

git clone https://github.com/CESNET/netopeer.git
cd netopeer
docker build -t netopeer .

To start it:

docker run -it --rm -p 8300:830 --name netopeer netopeer

The line above maps netopeer's netconf port to 8300 on the host. You can connect to that port with ncclient without any user or password (as long as you have a valid private key on the host).

Netopeer projects provides several basic transAPI modules that, besides their functionality, serve as examples for writing the libnetconf transAPI modules. These modules are located inside the transAPI/ directory.

TransAPI module implementing ietf-system data model following RFC 7317.

The Apache module with a web-based GUI allowing user to connect to a NETCONF-enabled device and to obtain and manipulate its configuration data from a graphical interface.

This part is available as a standalone project at GitHub.

Interoperability

In November 2012, prior to the IETF 85 meeting, some of these tools were participating in NETCONF Interoperability Testing.

All tools are built on top of the libnetconf library and allows you to use the following NETCONF features:

Other Resources

Solving Issues

Please, do not contact authors directly. Instead, use the project issue tracker. This way, we can share the solutions to your problems with all users and avoid repeating the same answers over and over again.

About

NETCONF Protocol Toolset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 46.7%
  • C 39.0%
  • Python 4.8%
  • HTML 3.4%
  • Roff 2.0%
  • XSLT 1.6%
  • Other 2.5%