Commit Graph

752 Commits

Author SHA1 Message Date
spirosmastorakis ff920303df table: fix Pit::erase crash when Interest name contains implicit digest
refs #3608

Change-Id: I41e0cd327b9dcc5f2d3a83f4cebff40c2d302fc1
2016-05-26 18:09:31 +00:00
Alexander Afanasyev e0d71b0bc0 build+tests: Correct detection of privilege elevation/drop and the corresponding test case
Change-Id: I005c2846474a00aeeb3e63a1e9761a3f8bc0a572
Refs: #3494, #3632, #3633
2016-05-25 19:07:11 -07:00
Yumin Xia ab49745afe core: use Boost.Log for logging
This makes the logging backend asynchronous

Change-Id: Ib3417e2ae424c5ae7237c071dc4698ca9769a33c
Refs: #2513
2016-05-11 11:33:13 +08:00
Weiwei Liu ace83ac938 tools: display Nack counters in nfd-status
refs #3569

Change-Id: I59e76d421502417a13efbf088284d278da07bae4
2016-04-27 12:15:54 -07:00
Spencer Lee 75142a10be face: improve UnixStreamChannel test suite
Change-Id: I41eaa3c7d1dea9effdc2e597926b110c9a703084
Refs: #3372
2016-04-27 12:15:06 -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
Davide Pesavento cafae24473 build: require gcc >= 4.8.2 and boost >= 1.54.0
Change-Id: I6778f55f43e517a3d1d28387e953412a5292f063
Refs: #3599
2016-04-27 12:15:06 -07:00
Davide Pesavento cc7bee7d80 docs+ci: Ubuntu 12.04 is no longer supported
Change-Id: I423a0f22662383f52413d12dc26d2a4ed08579e2
Refs: #3599, #3600
2016-04-27 12:15:06 -07:00
Alexander Afanasyev 6602b3b179 ci: Update Travis-CI to use Ubuntu Linux 14.04 (trusty) and OS X 10.9 VMs
Due to resource constraints, this commit also makes Travis-CI to build
only once (debug, without precompiled headers, with tests).

Change-Id: I65ec64bca545093efae384dd00b51bbeaf7d9b65
Refs: #3360
2016-04-26 18:43:19 -07:00
Weiwei Liu 4f1afaca16 tests: face system benchmark
Change-Id: Ia2d9125486c57f949e5c855ae6b8d95ffd5aa6e3
Refs: #3567
2016-04-17 20:53:55 -07:00
Yumin Xia d72f092052 tests: PIT and FIB benchmark
Change-Id: I906f82f42dc6ca5dbf0871fae99c47fdda62c7a5
Refs: #3571
2016-04-14 09:00:55 -07:00
Junxiao Shi 8744c97a4d fw: hasPendingOutRecords considers Nack
refs #3545

Change-Id: I986187f58e60090518df2a55a8bd9c1f05771b03
2016-04-12 16:20:35 -07:00
Yanbiao Li df846e5904 core: allow ManagerBase be inherited by RibManager
Change-Id: Ie2613e32460fb109a9f9302a0cc4b4b3400ba9f4
refs: #2857
2016-04-12 14:10:55 -07:00
Davide Pesavento eee53aa5d5 tests: skip IPv6 tests if IPv6 is not available
This commit also renames the getAvailableInterfaceIp() API
to getTestIp(), and improves its expressiveness.

Change-Id: I4b0080fb5e85cd523305ecb14183ef6acb34b5cd
Refs: #3367
2016-04-11 19:58:45 +02:00
Junxiao Shi f3410d8c59 fw: use scope_prefix::LOCALHOST in Forwarder
refs #3546

Change-Id: I10a05b642284e7466746cac121d13e7948ca8667
2016-04-05 13:49:44 -07:00
Junxiao Shi 4846f37117 table: simplify pit::Entry API
refs #3546

Change-Id: I6a9cb83b9e56ce1d1bb6047049378c51781605af
2016-04-05 13:39:30 -07:00
Hila Ben Abraham 39a79be5ae fw: NccStrategy explore potential upstreams
ref: #3411

Change-Id: I30593e01b15a28a32011831659cce6e457633791
2016-03-30 22:00:55 -07:00
Junxiao Shi fef73e4b86 table+fw: move forwarding semantics out of PIT entry
refs #3546

Change-Id: I1e6f87fd81176c116b6d758156da1cf96ea03608
2016-03-29 14:15:05 -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
Alexander Afanasyev 58d479cd4a docs+build: Prepare release of version 0.4.1
Change-Id: I03fc06c2b2f5be87e86a1fa1ab6eca83e8cc07a0
Refs: #3385
NFD-0.4.1
2016-03-24 14:00:09 -07:00
Davide Pesavento 305529410b build: fix pthread detection code in boost tool
It failed to build with several "null argument where
non-null required" errors on some Linux systems.

Change-Id: Ia3dccf3bb0e63d80d73b870632adc3308da6ecd0
2016-03-22 16:39:00 -08:00
Yanbiao Li 150b80deee tests: concatenate StatusDataset respones after all segments are fetched
Change-Id: Ia1c5b973b40c764d6a00fdd681ae4ade123eb7ab
refs: #2182
2016-03-18 08:25:35 -08:00
Weiwei Liu 280d7dde50 face: improve WebSocketChannel test suite
Change-Id: I7b3dfa930713331e6911a57624727163b8a7b3fe
Refs: #3373
2016-03-18 03:31:36 +01:00
Alexander Afanasyev 8509398137 build: Fix detection of Boost.Log compile flags
Change-Id: Ifdd5c485930a0bc50c1cbd76525947b001b44822
Refs: #2513
2016-03-11 13:44:37 -08: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
Minsheng Zhang ffe8bbb8aa table: allow setting CS capacity limit to zero
refs #3503

Change-Id: I6e1bfb64ea3a1f31070a7290c250fbcec46623fb
2016-03-10 13:40:37 -07:00
Junxiao Shi 330136a89e fw: fix PIT leak from DNL-detected duplicate Nonce
refs #3484

Change-Id: Id5928356a39b2f8988b6d4969c15ac744d283e3f
2016-03-10 04:53:08 -07:00
Spencer Lee bb9102f7d4 face: improve UdpChannel test suite
Change-Id: I90124bf6701639ea38154a6e3e62918dfbcfa6dd
Refs: #3371
2016-03-08 18:13:11 +01:00
Vince Lehman 4310d505a7 rib: Fix use-after-free in RibEntry::getRouteWithSecondLowestCostByFaceId
refs: #3319

Change-Id: I7c6aeb541a7cd7d83965a87e50be1a0bdf633a2e
2016-03-07 11:08:29 -06:00
Spencer Lee d5fe0cf158 face: improve TcpChannel test suite
Change-Id: I751eb58d5b794bc6ba6f77c065fe6616cfc07ced
Refs: #3370
2016-03-04 02:03:53 +01:00
Weiwei Liu 9360623853 face: improve WebSocketTransport test suite
refs #3374

Change-Id: I6ebfee61ec5f793f21a33071aa2e76295a5b496a
2016-03-03 11:09:06 -08:00
Alexander Afanasyev e6f0e91590 build: Update boost tool
Change-Id: I4255b617c3f6b9dab068114aa01caaf5e2c22569
Refs: #2513
2016-03-03 11:03:16 -08:00
Alexander Afanasyev dd7e5da016 build: Fix compatibility with Python 3
Change-Id: I7a1b98c38c2ed3a147c7b0e6c7b79d2723f2a3ba
Refs: #3493
2016-03-03 08:39:39 -08:00
Davide Pesavento 459cf197b7 tests: fix build with clang 3.8
Change-Id: Idcb5db7b3c0dc645aa569b70b4ea8df9858b7cd4
Refs: #3498
2016-03-03 02:20:12 +01:00
Weiwei Liu 073da60b19 face: improve Face test suite
refs #3376

Change-Id: Ibc36b16d0e6f620112bfa730ecb30149ddfd7ca5
2016-02-26 17:18:25 -07:00
Junxiao Shi 4370fde844 table: fix PIT not matching full name
refs #3363

Change-Id: I4ff3d02aaf43c3aaba843cfcf6221c218c1cea99
2016-02-24 13:28:45 -08:00
Alexander Afanasyev 965f23dd61 docs: Add licensing statements for NFD and third-party components
Change-Id: I544499af303d020a4275fa8782b2b71656c766be
Refs: #3133
2016-02-23 16:33:15 -08:00
Weiwei Liu 72cee94646 face: improve UdpFactory test suite
refs #3375

Change-Id: I8f6b17e5fcdbcd56cf8a4585993159919035f3a1
2016-02-16 14:34:06 -07:00
Alexander Afanasyev bc9ed49a55 tests: Customize environment to run test cases
This commit minimizes the impact of running unit tests on the host
system. In particular, the test cases will have its own public info and
TPM.

Change-Id: Ic6e78ebd80dea920806ca1898caa6a2eac30348b
2016-01-26 22:41:16 -08:00
Yanbiao Li 6db75f0bd2 rib: delete incorrect assertion in AutoPrefixPropagator::afterEraseRibEntry
Change-Id: Ie78675055317e5297174447ce4782c5e0fafd760
refs: #3362
2016-01-26 01:19:36 -08:00
Junxiao Shi 4100646192 Update copyright notices for files modified in 2016
refs #3415

Change-Id: I187c4709a40d3540e89a59cf678e53cf35ad1676
2016-01-19 07:31:59 -07:00
Alexander Afanasyev 3152abac67 ci: Fix unit test execution with boost 1.60
Change-Id: I461e634e5cdf022fed76ca6b92759b18b1d4aed6
Refs: #3417
2016-01-18 22:44:38 +01:00
Vince Lehman 9aac873415 rib: Don't add inherited routes to RIB entries pending removal
refs: #3404

Change-Id: I33a4ee7aa4e286a562c720656cb9e4ee7753ae05
2016-01-11 17:16:26 -06:00
Alexander Afanasyev da3ba96430 docs+build: Prepare release of version 0.4.0
Change-Id: I3af73fed66b44d708532bbda146376b7f7487d28
Refs: #3008
NFD-0.4.0
2015-12-29 20:39:40 -08:00
Junxiao Shi 809462490f mgmt: enhance ForwarderStatusManager test suite
Newly added GeneralStatus dataset as well as its legacy counterpart are tested.
The test suite is simplified with ManagerCommonFixture.

refs #3081

Change-Id: I9a00a6f69866c722d7f7fbaa3e207ae6e2ec79f5
2015-12-29 17:53:18 -07: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
Eric Newberry c64d30aeff mgmt: re-added expiration time to FaceStatus
refs #3381

Change-Id: I57d3166fc6ed52a54c442a80faffe7a7f4051e1d
2015-12-29 13:11:47 -08: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
Eric Newberry 6d8ee7acc9 tests: MulticastUdpTransport test suite improvements
refs #3346

Change-Id: I31b272b9b99d97ed317cf534d9e1bc4592bde77d
2015-12-24 20:39:56 -07:00
Junxiao Shi cde37ad608 face: face refactoring completion
* delete old Face
* rename LpFace as Face
* eliminate LpFaceWrapper and use new Face

refs #3172

Change-Id: I08c3a5dfb4cc1b9834b30cccd9ab634535d0608c
2015-12-24 01:02:05 -07:00