Commit Graph

26 Commits

Author SHA1 Message Date
Weiwei Liu 7c7951391c tools: fetch face dataset with StatusDataset client in nfd-autoreg
refs #3659

Change-Id: I60b0947cbaf47d2e69cd3f3604ffc46f96ad91a1
2016-10-11 10:43:24 -07:00
Junxiao Shi 25c6ce41d5 mgmt+rib: include ndn-cxx/mgmt/nfd/*
refs #3760

Change-Id: I9a2e3012af2f72495ce3259fa4f51ebaa8ea7096
2016-09-09 13:49:59 +00:00
Junxiao Shi 29b4128397 rib+tools: adapt to Controller::CommandFailCallback with ControlResponse
refs #3739

Change-Id: Icf5b3ed0bd997730a024bad2ccd258c8168b4ccb
2016-08-22 03:47:02 +00:00
Junxiao Shi 9f5b01dfd8 core: move common.hpp to core/
Headers in core/ are now included as `#include "core/*.hpp"`.
This allows NFD to rely less on include paths when used as a submodule in
another codebase, such as ndnSIM and NFD-Android.

refs #3127

Change-Id: Ia38f3c97427e17ff7b5401281f1fe875b5d5313e
2016-08-05 03:54:28 +00:00
Junxiao Shi 78926c9083 face/rib/tools: avoid deprecate Block::fromBuffer overloads
refs #2553

Change-Id: I32ea424ab7547f59fea2fca70ad6f41cd90bab58
2015-02-28 23:02:31 -07:00
Junxiao Shi fbf783450c rib+tools: subscribe to FaceMonitor notifications using connect
refs #2350

Change-Id: I1b1b33cdcc3638c7344b6c690f928aff25aa5c8c
2015-01-23 14:46:41 -07:00
Junxiao Shi a1937bf54c core: use FaceUri from ndn-cxx
refs #2143

Change-Id: Ida06daf406f941a699c9f1013450951db3cd28e9
2014-11-14 12:44:55 -08:00
Junxiao Shi 8e273cac72 rib+tools: avoid deprecated ndn::nfd::Controller(Face&) constructor
refs #2039

Change-Id: I8fde413a9f38b18d00b71878b623f0eeb3551b09
2014-11-12 00:42:29 -07:00
Alexander Afanasyev 689f0e9d52 tools+core: Moving Network class implementation to core
Change-Id: I312b827215c8ec3d13aff61584f162125fc48d2a
Refs: #2153
2014-11-09 19:17:11 -08:00
Chengyu Fan 9942cea529 tools, tests: replace FaceFlags with individual fields
refs #1992

Change-Id: Ic635deb5c6c03f2eba4c440357ca435a46a91588
2014-10-14 11:24:09 -06:00
Alexander Afanasyev f056c11fd4 tools: Process auto-registration for faces that existed prior to start of nfd-autoreg
Change-Id: I3848f1a20a0d816258759f95d427cf91cb3b9713
Refs: #1863
2014-08-14 17:21:40 -07:00
Alexander Afanasyev 81c1a2a267 tools: Enable "all-faces-prefix" option to register prefix for all face (on-demand and non-on-demand)
Change-Id: I6f2e894f2b46ba80c33c501623e47ca08a294795
Refs: #1861
2014-08-14 16:50:21 -07:00
Alexander Afanasyev 585e5a6ff8 rib+tools: Make use of ndn::nfd::FaceMonitor from the ndn-cxx library
NFD still uses its own NotificationStream, as ApiFace needs to be
changed to use library's version of the class.

Change-Id: Ifc5727a555528a1aa48ccf7379fcbb61a33049d7
2014-08-12 11:50:17 -07:00
Junxiao Shi 15b12e759d core: use markers in StatusDataset and NotificationStream
This commit also refactors FaceMonitor as generic NotificationSubscriber,
and refactors AutoregServer to use FaceMonitor.

refs #1837 #1838

Change-Id: I8b40dfae118853d1224c8290cf92e7cc0daa116f
2014-08-10 19:23:09 -07:00
Junxiao Shi dda0b467bc tools: autoreg uses RibRegisterCommand
refs #1710

Change-Id: I158817af5f25d97f11a81b4e03d2523157f49c7d
2014-07-02 15:25:44 -07:00
Alexander Afanasyev f4e89b4000 src: Small improvements
Change-Id: I9850cd6ec2330482915f815d94a2ac2ccaeae7f1
2014-05-31 15:54:18 +03:00
Alexander Afanasyev b3893c9950 src: Updating code to compile with the latest ndn-cxx library
This commit includes updates against the latest Face API and replaces
uses of deprecated methods.

Change-Id: I33ad398d26f8faf9f9627ff329ce0936e0911ab2
2014-05-15 21:52:26 -07:00
Alexander Afanasyev f6980284e6 src: Remove unnecessary uses of boost::cref in make_shared and replace boost::cref/boost::ref with just cref/ref
In some cases, due to argument-dependent lookup, it is necessary to use
ndn::ref, instead of just ref.

Change-Id: I682180a007609535855f77511b49622154ad4f11
Refs: #1591
2014-05-15 09:52:28 -07:00
Alexander Afanasyev b47d53842a build+core: Add printing of version number in daemons and tools
This commit also changes how version number is handled.  Version is now
fully controlled from top-level wscript.  In addition to that, a new
NFD_VERSION_BUILD_STRING macro is set to include more detailed
information, including commit ID (e.g., "0.1.0-rc1-1-g5c86570").

Change-Id: I448eb627e0c42dc814de1107cf7bb0dc94fa2a89
Refs: #1575
2014-05-06 18:42:04 -07:00
Alexander Afanasyev 4a77136894 build: == Dependency change == NFD now depends on ndn-cxx library
Change-Id: Ia9dd324a536573b5ac4fe1b73d82af772dc84923
Refs: #1536
2014-04-25 10:09:23 -07:00
Alexander Afanasyev 613e2a9ba3 src: Reorganizing source code in preparation to merge NRD code
Note that as of this commit, there are several changes in location of
compiled binaries in `build/` folder:

* `nfd` has been moved to `build/bin/nfd`
* `unit-tests` has been split into `unit-tests-core` and `unit-tests-daemon`

Change-Id: I2c830c117879edbaa5457d6423c13f0273285919
Refs: #1486
2014-04-16 11:54:35 -07:00
Alexander Afanasyev 9bcbc7c130 docs: Update of copyright and license statement in all .hpp and .cpp files
Change-Id: I4082db67f2390482615a780d91a513f09d57a9a4
Refs: #1266
2014-04-07 09:18:25 -07:00
Junxiao Shi 6e69432262 face/mgmt/fw/tools: add localUri to FaceStatus and FaceEventNotification
refs #1396

Change-Id: I6084745c62c44a409ecbd4a795cb712475e32416
2014-04-03 10:27:13 -07:00
Alexander Afanasyev 352e14eb7b tools: Update code to use unified NFD Management Protocol
Change-Id: I0e638f189afa87431292ca9471d95cba02ccd831
Refs: #1418
2014-03-28 15:08:12 -07:00
Alexander Afanasyev 60a7ba55f8 tools: Fixing help message printing in nfd-status
Change-Id: I937e317b02989aa9f51168e101d203ecd9199de8
Refs: #1395
2014-03-25 11:01:53 -07:00
Alexander Afanasyev 82afa1a44a tools: nfd-autoreg
Change-Id: Id4fefea85cc240c476cb7e33022f05d5f839ae27
Refs: #1371
2014-03-25 11:01:43 -07:00