blob: 49c11c7d00ec59520ebbaa1eb7281573f8d1a41f [file] [log] [blame] [view]
Andrew Brown352e0192015-02-20 17:41:45 -08001# jndn-management
2
Alexander Afanasyev60f8f8e2018-07-25 13:24:19 -04003This project consists of tools for managing an NDN forwarding daemon (NFD). It relies on the [NDN Protocol](https://named-data.net) and its associated [client library](https://github.com/named-data/jndn). It implements the NFD management specification outlined at https://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.
Andrew Brown352e0192015-02-20 17:41:45 -08004
Andrew Brown352e0192015-02-20 17:41:45 -08005## Use
Davide Pesavento37505c12019-09-24 12:01:50 -04006
Andrew Brown352e0192015-02-20 17:41:45 -08007With a Face that has command signing information set, call any of the following static methods:
andrewsbrownaf0b2732016-02-22 16:57:44 -08008 - __Nfdc.pingLocal(Face forwarder)__: ping a local NFD with /localhost/nfd to verify if it exists.
9 - __Nfdc.getForwarderStatus(Face forwarder)__: retrieve the forwarder status information.
10 - __Nfdc.getFaceList(Face forwarder)__: retrieve all connected faces.
11 - __Nfdc.getFibList(Face forwarder)__: retrieve all forwarding entries in the Forwarding Information Base (FIB).
12 - __Nfdc.getRibList(Face forwarder)__: retrieve all routing entries in the Routing Information Base (RIB).
13 - __Nfdc.getChannelStatusList(Face forwarder)__: Retrieve the list of channel status entries from the NFD.
14 - __Nfdc.createFace(Face forwarder, String uri)__: create a new face on the NFD opened to the given URI.
15 - __Nfdc.register(Face forwarder, ...)__: includes several similar methods for registering a new route on the NFD.
16 - __Nfdc.unregister(Face forwarder, Name route)__: unregister a route by name.
17 - __Nfdc.setStrategy(Face forwarder, Name prefix, Name strategy)__: set the forwarding strategy for the given prefix.
Andrew Brownd5f6f692015-02-20 17:43:05 -080018
andrewsbrown6b342ce2015-03-24 09:46:47 -070019See [full Javadoc documentation](http://01org.github.io/jndn-management/index.html)
20
Andrew Brownd5f6f692015-02-20 17:43:05 -080021## License
Davide Pesavento37505c12019-09-24 12:01:50 -040022
23Copyright © 2015, Intel Corporation.
andrewsbrown7e6b9e82015-03-03 16:11:11 -080024
Davide Pesavento399f0b92020-04-17 18:31:26 -040025This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License, version 3, as published by the Free Software Foundation.
andrewsbrown7e6b9e82015-03-03 16:11:11 -080026
Davide Pesavento399f0b92020-04-17 18:31:26 -040027This program is distributed in the hope that 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](LICENSE.md) for more details.