Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Latest commit

 

History

History
44 lines (33 loc) · 2.87 KB

README.md

File metadata and controls

44 lines (33 loc) · 2.87 KB

DISCONTINUATION OF PROJECT.

This project will no longer be maintained by Intel.

Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.

Intel no longer accepts patches to this project.

If you have an ongoing need to use this project, are interested in independently developing it, or would like to maintain patches for the open source software community, please create your own fork of this project.

jndn-management

This project consists of tools for managing an NDN forwarding daemon (NFD). It relies on the NDN Protocol and its associated client library. It implements the NFD management specification outlined at http://redmine.named-data.net/projects/nfd/wiki/Management. Please note that this library does not yet implement all of the commands in the management specification.

Install

With Maven, add the following to your POM:

<dependency>
  <groupId>com.intel.jndn.management</groupId>
  <artifactId>jndn-management</artifactId>
  <version>RELEASE</version> <!-- or a specific version -->
</dependency>

Use

With a Face that has command signing information set, call any of the following static methods:

  • Nfdc.pingLocal(Face forwarder): ping a local NFD with /localhost/nfd to verify if it exists.
  • Nfdc.getForwarderStatus(Face forwarder): retrieve the forwarder status information.
  • Nfdc.getFaceList(Face forwarder): retrieve all connected faces.
  • Nfdc.getFibList(Face forwarder): retrieve all forwarding entries in the Forwarding Information Base (FIB).
  • Nfdc.getRibList(Face forwarder): retrieve all routing entries in the Routing Information Base (RIB).
  • Nfdc.getChannelStatusList(Face forwarder): Retrieve the list of channel status entries from the NFD.
  • Nfdc.createFace(Face forwarder, String uri): create a new face on the NFD opened to the given URI.
  • Nfdc.register(Face forwarder, ...): includes several similar methods for registering a new route on the NFD.
  • Nfdc.unregister(Face forwarder, Name route): unregister a route by name.
  • Nfdc.setStrategy(Face forwarder, Name prefix, Name strategy): set the forwarding strategy for the given prefix.

See full Javadoc documentation

License

Copyright � 2015, Intel Corporation.

This program is free software; you can redistribute it and/or modify it under the terms and conditions of the GNU Lesser General Public License, version 3, as published by the Free Software Foundation.

This program is distributed in the hope it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.