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
38f4ce9f25
tools: refactor nfd-status
...
refs #3658
Change-Id: Ia347074bea802eba5f539208e276e849a60db8a4
2016-08-04 10:01:52 +00:00
Junxiao Shi
5149320e5b
tools: don't use deprecated ndn::encoding::dataBlock
...
refs #2950
Change-Id: Ibda4af7ab50df5a7f5700d7db5de1da938b7e020
2016-07-23 02:03:08 +00:00
Junxiao Shi
b260017fec
rib+tools: delete NRD
...
refs #3570
Change-Id: I9a6e8eb6c74ea5e09a2e724805f07ca4e58af51c
2016-07-11 08:53:53 +00:00
Alexander Afanasyev
3d1874af59
build: Adjust order of link flags
...
The previous order of flags (unintentionally) had `-lboost_log` flag
specified before `-lndn-cxx`. Incidentally, the order adjustment avoids
a symbol collision between the two libraries that prevented nfd-status
and nfdc from working on Ubuntu 14.04. A proper fix will follow (see #2859 ).
Change-Id: I68a5d37b013c1bf91b25e707a04ab1f66298a7f4
Refs: #3650
2016-06-19 12:30:15 -07:00
Weiwei Liu
ace83ac938
tools: display Nack counters in nfd-status
...
refs #3569
Change-Id: I59e76d421502417a13efbf088284d278da07bae4
2016-04-27 12:15:54 -07:00
Davide Pesavento
b84bd3a8c4
common: remove DECL_FINAL/OVERRIDE macros; use C++11 keywords directly
...
Change-Id: I71a148b0df7c95387b2caa8e2b9fe93b03ca2399
Refs: #3599
2016-04-27 12:15:06 -07:00
Weiwei Liu
2c5a01a67d
tools: nfd-status retrieves ForwarderStatus with SegmentFetcher
...
refs: #3380
Change-Id: I8fbfba38204c7a111a3940ef751e4ebf61890df2
2016-03-26 23:27:26 -07:00
Davide Pesavento
42388d6c08
tools: delete deprecated ndn-tlv-peek and ndn-tlv-poke
...
Superseded by ndnpeek and ndnpoke from ndn-tools repo.
Change-Id: Ief379c53d73e0b3e8e0092dfb22b55c6de0de2b1
Refs: #2819
2016-03-10 12:54:48 -08:00
Junxiao Shi
498373dd01
mgmt: publish GeneralStatus dataset
...
In ForwarderStatusManager, publish ForwarderStatus as a dataset at
/localhost/nfd/status/general.
To maintain backwards compatibility, an Interest to /localhost/nfd/status
also retrieves this dataset.
It's intentional not to update the test suite in this commit,
to illustrate that backwards compatibility is maintained.
refs #3081
Change-Id: I9b636e2e621563185303a7304be402c8221c9863
2015-12-29 17:51:26 -07:00
Alexander Afanasyev
5c47597be9
tools: Automatically start ndn-autoconfig in nfd-start, if enabled in autoconfig.conf
...
Change-Id: I09d3fff87f00ce8684e6e304e8327f9d03ca18bf
Refs: #2716
2015-12-28 14:15:50 -08:00
Junxiao Shi
0de23a29c5
face: use IncomingFaceId, NextHopFaceId, CachePolicy tags
...
This commit replaces all LocalControlHeader usages with these tags,
and deletes LocalFace.
This commit also does minor improvements in RIB test suites.
refs #3339
Change-Id: I14cbfc296a6723a5860bf8bd95d9804d3bac3da5
2015-12-03 20:07:02 +00:00
Muktadir R Chowdhury
6c4a67af0d
tools: adapt to ndn-cxx SegmentFetcher API change
...
Refs: #2734
Change-Id: Ibce8942007d0b26f34b212140a7b4313c4b6a397
2015-12-01 15:15:51 -07:00
Davide Pesavento
ec2a698301
Remove illegal std::to_string definition and use ndn::to_string in its place
...
Change-Id: I81481fea3267bde669c45df182e0aea8ccd1a188
Refs: #3214
2015-09-21 01:17:16 +02:00
Joao Pereira
c6184cdb3e
tools: Extend nfdc to allow creation of permanent faces
...
Change-Id: If108fc3c7ae2ba1adab50269db3a23b426553b56
Refs: #2993
2015-09-04 20:22:01 -07:00
Junxiao Shi
67ba8d28df
fw: rename BroadcastStrategy to MulticastStrategy
...
BroadcastStrategy is temporarily retained for backwards compatibility.
This commit also updates nfd.conf and ndn-autoconfig to use MulticastStrategy
in place of BroadcastStrategy.
refs #3011
Change-Id: I011f1cf75db26b3c93552f8322a0bba4ce8dd033
2015-08-21 21:21:28 -07:00
Spyridon Mastorakis
149e02cf7d
Enhance exception throwing with Boost Exception library
...
Change-Id: I471023fc23ffaebe04d9668426b4c1b03e4919aa
Refs: #2541
2015-08-17 16:17:33 -07:00
Joao Pereira
4e274ac915
nfd-status-http-server: erroneous <!DOCTYPE html> display
...
refs: #3019
Change-Id: I9b400446c12ed1b6b0899dced0d9b4aff8720d4c
2015-07-23 11:54:52 -04:00
Yukai Tu
971d3c2b09
tools: Simplify nfd-status using SegmentFetcher
...
refs #2456
Change-Id: I5beb402b211717816ae11d3474b41ade15c7418c
2015-06-29 09:47:43 -07:00
Junxiao Shi
5620fb2ac9
tools: deprecate ndn-tlv-peek and ndn-tlv-poke
...
refs #2817
Change-Id: Iee198533659320bf2e9219b92195e06a3ba2b25f
2015-06-07 20:59:38 -07:00
multicast proxy
d6474640da
tools: Fix hanging of nfdc on wrong input
...
Change-Id: I4fd4fb95d3dee72f5e0b8bc2435f7fffca87e5e3
Refs: #2690
2015-03-26 14:36:02 -05: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
Minsheng Zhang
60d06d8770
tools: change prefix of routable-prefixes packet to under /localhop/nfd
...
refs #2512
Change-Id: Ib399e61b3d7b84f7993a5b887ff6b5b7c3e93a45
2015-02-20 16:49:15 -06:00
Alexander Afanasyev
f08a7376e9
daemon+rib: Merge nrd and nfd into a single process (separate threads)
...
Change-Id: I41952d5b8ee29f109130c570e0d13ccad6970d2f
Refs: #2489
2015-02-15 12:43:49 -08:00
Alexander Afanasyev
7c10b3bdc8
docs: Prepare release notes for version 0.3.0
...
Change-Id: If0ae14cbf97ee3d9b92a3467d0b6592c10e66698
Refs: #2462 , #2352 , #2209
2015-02-02 19:21:57 -08:00
Alexander Afanasyev
ba3f79ec4f
tools: Ensure that ndn-autoconfig quits after successful discovery in non-daemon mode
...
Change-Id: Ifde24e1800faba630cafb7b04d034b916a6c069d
Refs: #2469
2015-02-02 15:37:20 -08:00
Alexander Afanasyev
e46279dc83
tools: Daemon mode for ndn-autoconfig (re-run detection when connectivity changes)
...
Change-Id: I3cb870b13ba60d255162862c7dd0053ec5b578c4
Refs: #2417
2015-01-31 21:16:39 -08:00
Alexander Afanasyev
bda8366ada
tools: ndn-autoconfig: Register also /localhop/nfd prefix towards the hub
...
Change-Id: Ia5f9ac5514470070160d32ed8883d3fa04d33e10
Refs: #2416
2015-01-28 14:17:46 -08:00
Alexander Afanasyev
2a655f70a1
tools: Refactoring ndn-autoconfig implementation
...
Change-Id: Ib92942ba40f04aaee83479177b9ba5d32a09af04
Refs: #2421
2015-01-28 14:17:10 -08:00
Alexander Afanasyev
262203b644
build: Support tools with multiple translation units
...
Change-Id: I95c7ec4c0923e59b2652c6bba4ed2c0f00aa71da
Refs: #2344
2015-01-27 18:14:10 -08:00
Alexander Afanasyev
d7bb88b53a
tools: Fix broken link to documentation in NFD status web page
...
Change-Id: Ic47a1c2be6ccc185b9ff8b67c863a356a63746fe
Refs: #2405
2015-01-27 11:05:13 -08: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
Chengyu Fan
5010123d5c
tools: fix bug that nfdc register does not terminate if FaceUri canonization fails
...
refs #2397
Change-Id: I8c1dce00cfbf4926ead7c4794d02158e43008000
2015-01-21 11:24:27 -07:00
Alexander Afanasyev
319f2c8dbc
src: Update copyright notices for files modified in 2015
...
Change-Id: Ia52e6e891a06fcc7ace06eafd2fffecd7bd55a95
Refs: #2352
2015-01-19 21:45:21 -08:00
Hila Ben Abraham
6cdbdfc5ff
tools: ndn-autoconfig: canonize FaceUri before creating face
...
refs: #2387
Change-Id: I4d5682206cd44c93f61d28b5ae3bca60d5086277
2015-01-19 12:30:14 -08:00
Chengyu Fan
27be0b0d41
tools: nfdc accepts FaceUri in all commands
...
refs #1995
Change-Id: Ifd05eb835bdf86d6e44bca4f8fe1c973ddb7a6ee
2014-12-13 15:33:57 -08:00
Hila Ben Abraham
2ef995772b
tools: display nfd software verion in nfd-status-http-server and nfd-status
...
refs #1916
Change-Id: I0ba272d4ba9314d483776526d05eaf0f2393dbac
2014-12-06 23:32:34 -08: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
cd55cde10d
tools/tests: fix compilation errors caused by bind and placeholders
...
refs #2175
Change-Id: I65eadb0d0ccf468c3d478236335dbf09aa4dcc71
2014-11-13 16:03:24 -07: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
Alexander Afanasyev
b4bac92547
tools: Fix status-http-server hanging when nfd-status output is >64k
...
Refs: #2121
Change-Id: I84382bc01891cd1c7e52912f9a6ef2c131e1046a
2014-11-04 15:37:41 -08:00
Davide Pesavento
ab1e8f2497
build: Always build in C++11 mode.
...
This commit also includes update of websocketpp submodule, as the
previous version has compilation problems on OSX with XCode 6.1
Change-Id: I8c9670d0026d840838d77e610e50679ee5ede7a5
Refs: #1930 , #2082
2014-10-29 23:53:23 -07:00
Chengyu Fan
dae253025c
nfdc: ensure FaceUri is in canonical form
...
refs #1909
Change-Id: If0560c03f3cafe3cd3a181246a7c185e07ade1ca
2014-10-19 14:08:30 -06:00
Chengyu Fan
9942cea529
tools, tests: replace FaceFlags with individual fields
...
refs #1992
Change-Id: Ic635deb5c6c03f2eba4c440357ca435a46a91588
2014-10-14 11:24:09 -06:00
Chengyu Fan
27d570a089
tools: Display face attribute fields instead of FaceFlags
...
refs #1991
Change-Id: I413db0afd77ceaa1549fcd11d6cb832fff02020b
2014-10-11 10:32:30 -06:00
Alexander Afanasyev
c2642ca20c
tools: Small formatting correction in plain text output of nfd-status
...
Change-Id: I7657d10ce91ce7f90d264296e69b87179c08c1a7
2014-09-02 18:54:31 -07:00
Yingdi Yu
7b0e9cf792
tools: Publish /localhop/ndn-autoconf/routable-prefixes from ndn-autoconfig-server
...
Change-Id: I2902b91cebf1f4b8ac1a7dabedb0f0cbd0a13b24
Refs: #1954
2014-09-02 11:01:24 -07:00
Chengyu Fan
1c630ba026
tools: display RIB flags by name in nfd-status page
...
refs #1870
Change-Id: I327ef9a672dc845f814930c818982fa2700f6402
2014-08-20 13:27:58 -05:00
Chengyu Fan
671796414b
tools: display face flags and expiration in nfd-status page
...
refs #1862
Change-Id: I62919316ee503a8a6b816bdce995c693c3b436d2
2014-08-16 17:49:44 -06:00