Commit Graph

1285 Commits

Author SHA1 Message Date
Davide Pesavento 5f59607a8a pit-fib-benchmark: remove gap4 and simplify
Refs: #4929
Change-Id: Iebe064ace48a78aa88449c17f08a9522935448f0
2019-05-11 16:52:05 -04:00
Davide Pesavento b3a23ca711 face: eliminate Transport::Packet wrapper type
Refs: #4843
Change-Id: I5977be55e8bdac33c989e3b8523fea764f304c37
2019-05-07 00:32:57 -04:00
ashiqopu 075bb7dac4 face: add EndpointId in Face and LinkService
refs: #4843

Change-Id: If1249015392ef904a56a0d0d97946e2b3024d7d4
2019-05-02 06:04:43 +00:00
Junxiao Shi 14b391842b table: drop ChildSelector processing in CS
refs #4805

Change-Id: I994d1955091421e6a4ab682f40898999875736fe
2019-04-29 19:19:18 +00:00
Alexander Afanasyev 65c494acf0 Prepare release 0.6.6
Refs: #4916
Change-Id: I1134244b58f14afa32c21dd8270103693cea4e84
NFD-0.6.6
2019-04-29 11:05:38 -04:00
Alexander Afanasyev a6bd7da559 build: Remove unnecessary std::ref, causing compilation issues with Boost 1.70.0
Refs: #4923
Change-Id: Idba1abe89161b11b1ec80fdceac51e2b00ed507b
2019-04-26 10:49:02 -04:00
Davide Pesavento b31206e87e fw: always create PIT in-records with EndpointId=0 for now
Also improve test coverage

Refs: #4849
Change-Id: I0f3aba98ec7460f0dbf58b6dc00414e1f722c036
2019-04-23 13:30:56 -04:00
Davide Pesavento 2cae8cacf0 core: move nfd-specific files to daemon/
Refs: #4922
Change-Id: I2243dbb87c63f9cbaf7d7051d7a0d4bca2f9fdb5
2019-04-21 22:15:03 -04:00
Davide Pesavento 2840dbc868 tests: remove support for unit-tests.conf
Logging can be configured, as usual, via the
NDN_LOG environment variable.

Change-Id: I488d4c85961cb013b9e3421d049a9baa8ef45357
2019-04-21 16:27:39 -04:00
Davide Pesavento 0dc3cb1788 ci: adapt to new repo layout for CentOS boost RPMs
Change-Id: I8f8c804d0499fecaac744a08111709d2fd49e7b7
2019-04-20 16:38:06 -04:00
Junxiao Shi 9222f3665b table: eliminate Selectors from CS tests
refs #4805

Change-Id: I6ae48fc40e62aeeb41cde7530d6bfa6b6d5ef000
2019-04-16 15:15:23 +00:00
Davide Pesavento 08b91c8d4e docs: sync sphinx build config with ndn-cxx, improve README.md
Replace custom redmine_issue extension with sphinx.ext.extlinks

Change-Id: Ie6995fd418e4e355cc193b68423899fc029d93ce
2019-04-14 16:01:15 -04:00
Saurab Dulal a6dec22caa fw: properly handle consumer retransmission in AsfStrategy
Do not reject an existing PIT entry if there are no
next hops during consumer retransmission

refs: #4874

Change-Id: Iea8602897e99fdf2f6fd0226b5eb74bd7a4bced1
2019-04-12 20:05:53 -04:00
Davide Pesavento 03f45d2bb6 core: move NFD_VERSION{,_BUILD}_STRING to version.cpp
Change-Id: I97c23de24d8a176bb83a8f481f4880ff49ea710d
2019-04-04 12:35:17 -04:00
Davide Pesavento a809858c53 tests: merge DummyFace::LinkService with DummyReceiveLinkService
Change-Id: I0b45d80055085278bbe028ef95898d68c6e3f824
2019-04-01 22:23:13 -04:00
Davide Pesavento 284bd626fd face: simplify and optimize Internal{Forwarder,Client}Transport
Refs: #4528
Change-Id: Ie3246382965640e0d2cb71116b6526e68925887c
2019-03-31 02:10:02 -04:00
Davide Pesavento 16916ae20a face: introduce NullTransport and use it in several places
Refs: #4528
Change-Id: Icc7a77232bca1a700ce1319493c15a85d05d7488
2019-03-30 15:30:09 -04:00
Davide Pesavento a681a24c22 face: downgrade "Creating transport" log message to DEBUG
FaceTable already logs at INFO level whenever a new face is added.

Change-Id: Id2905c8b6d42df8bfc4c43cc12d432d9ce180aae
2019-03-29 23:51:04 -04:00
Davide Pesavento 14e71f0fe8 tests+tools: minor code cleanup
Change-Id: Ic3356d4a18a8e5eeb45fc076fc0563c3d1549c8a
2019-03-28 18:46:47 -04:00
Davide Pesavento c6a65ad55e nfd-status-http-server: fix display of satisfied/unsatisfied Interests
Amends commit 7570e778e4

Refs: #4720
Change-Id: I61bd78076b0b8d14b106e056a0ea9e000d70369b
2019-03-27 18:30:25 -04:00
Davide Pesavento 17c172ba6b fw: AccessStrategy: fix PIT in-record lookup with EndpointId
Refs: #4849
Change-Id: Ia3e2d033be507cb782b8d6c234a0e53c18590528
2019-03-26 22:53:08 -04:00
Davide Pesavento cf7db2fd83 tests: unit-tests-{core,tools} no longer require a global io_service
BaseFixture is moved to tests/daemon and renamed to GlobalIoFixture

Refs: #4528
Change-Id: If9184e9f7f1d6072b0103d3ea3ca6c31a9e505c8
2019-03-26 22:52:16 -04:00
Davide Pesavento b7703adb88 tests: introduce ClockFixture
Identical to UnitTestTimeFixture, except that it does not derive
from BaseFixture, and thus does not depend on a global io_service.

Refs: #4528
Change-Id: Ia2e6c4835a1e461c73281e103109d5cc85be355e
2019-03-26 22:51:04 -04:00
Davide Pesavento 1d12d2fe4e tests: IdentityManagementFixture no longer derives from BaseFixture
Also rename it to KeyChainFixture

Refs: #4528
Change-Id: Id86f4affc9c4c9ae159912430cc3e78557bf1ac2
2019-03-26 22:50:07 -04:00
Davide Pesavento 3626b59818 ci: update .travis.yml
Change-Id: Iffa90852e74b6ea40bbb52239a91f4fd98de27c4
2019-03-23 13:10:06 -04:00
Davide Pesavento fa2aa50d8d face+tools: fix compilation with Boost 1.69.0
Refs: #4890
Change-Id: I64c2e6ac99767fbd0b8afa9669eb6097148f8628
2019-03-22 21:44:29 -04:00
Davide Pesavento 0a71dd3a00 mgmt+rib: use getScheduler() in RibManager and Readvertise
Refs: #4528
Change-Id: Ie6dd2b0fbe5d57cd7878d86b0185ae5d9bd92cf0
2019-03-19 16:05:24 -04:00
Davide Pesavento 3dade00499 core+daemon: eliminate scheduler::{schedule,cancel} wrappers
Also move core/global-io.hpp to daemon/global.hpp

Refs: #4528, #4883
Change-Id: I0b99029f1a19d7451aab57099cd3303b7eb42ff3
2019-03-19 11:29:56 -06:00
Davide Pesavento 2d83a86255 face: introduce NullLinkService and use it in makeNullFace()
Change-Id: Ia983c62fecdf94aa4f8cbb034735a229bd58d742
2019-03-16 19:27:48 -04:00
ashiqopu c707948105 fw: add FaceEndpoint parameter in Forwarding and Strategy API
refs: #4849

Change-Id: Ibe22557488fa83a555fd13d6eb8e03f8d81d0b2b
2019-03-06 02:27:50 +00:00
Davide Pesavento 78ddcabcd0 mgmt: merge ManagerBase with NfdManagerBase
Refs: #4528
Change-Id: I2ecb4af68927157a9eafc269399855cff192bb54
2019-02-28 23:37:02 -05:00
Davide Pesavento 8a05c7fd2a rib: move RibManager to mgmt
Refs: #4528
Change-Id: Idff4ce8fe28b48163794cd12f0d185f8ca4233e3
2019-02-28 12:32:31 -05:00
Davide Pesavento 1b077f6028 rib: move entire subdir to daemon/rib
Refs: #4528
Change-Id: I7de03631ddef0f014f12f979373aa449f42486d1
2019-02-21 12:37:03 -05:00
Davide Pesavento 50a6af341d table: code modernization
Change-Id: I9ca9a1905aea316726d0323f4537a2420890735f
2019-02-21 00:42:49 -05:00
ashiqopu 77d0bfdaf0 face+table: move EndpointId typedef out of Transport and use it in table
refs: #4843

Change-Id: I2b200518a57b21d66eae4360166afda31c3bf11b
2019-02-20 21:18:08 -05:00
Davide Pesavento 2bdf60c4e8 core+main: switch to std::thread and thread_local
Change-Id: I892eb7d87639c2b0d24a8ed457b9d32635269216
2019-02-19 18:23:45 -05:00
Davide Pesavento 6ecc3f8141 build: respect --without-systemd
Change-Id: I5c5b5f43c5e3ae3ca2812b1f167179d4b6624319
2019-02-19 16:26:33 -05:00
ashiqopu d3ae85dbad pit: add EndpointId field in in-record and out-record
refs: #4842

Change-Id: Id4bca4ad9c2d7c8a2fd975c0b052fb9271b6e47d
2019-02-18 00:07:10 +00:00
Davide Pesavento 97e33024f2 Replace nfd::getExtendedErrorMessage with boost::diagnostic_information
Refs: #4834
Change-Id: I7fc00960d7e5a97748b2277c525a19775810377f
2019-02-15 18:48:22 -05:00
Davide Pesavento 19779d861e Replace all uses of BOOST_THROW_EXCEPTION with NDN_THROW
Refs: #4834
Change-Id: If2455e1830f310beea434ffb455d960e11c4c2ed
2019-02-14 20:48:34 -05:00
Alexander Afanasyev 99a7ce1363 core: Fix compilation error when privilege drop is not supported
Refs: #4833
Change-Id: I2ccc80b31eb5642d66b28e205143243e006f18ca
2019-02-05 14:38:19 -05:00
Davide Pesavento b8bd5ee965 core: use ndn-cxx's getRandomNumberEngine()
Change-Id: I3b5b3ac5238d47ac14481b21d0303c63d0c93b56
2019-02-04 18:52:05 -05:00
Alexander Afanasyev 77cddbc978 Prepare release 0.6.5
Change-Id: I2cc63230fd6b949cfae763a7a1cbeb03ea1d6400
Refs: #4821
NFD-0.6.5
2019-02-04 13:31:06 -05:00
Alexander Afanasyev c38219e208 build: Upgrade waf build system to version 2.0.14
Version 2.0.6 had some strange issues with Python 3.7.2 on macOS with
Homebrew.

Change-Id: I1f61c343cbef37db0dbf3fe8b4b291afd84bc0f0
2019-01-30 05:32:53 -08:00
Davide Pesavento 48b4587eee systemd: allow nfd-status-http-server to bind to any port
Change-Id: Ie6e2af3b2e194fbe0c4952b90fc39844b20722f0
Refs: #4533
2019-01-28 22:22:18 -05:00
ashiqopu 3ad49db6ea fib: add EndpointId field in NextHop record
refs: #4284

Change-Id: If0cfc21cfa81d6fa3c1590ecdce8fbbc1ea95e13
2019-01-24 18:07:07 +00:00
Junxiao Shi feddc3c054 core: use ndn-cxx scheduler::ScopedEventId
refs #4698

Change-Id: I5ab56855fb22824e129fd7e3ccfb53174cf34f82
2019-01-17 19:06:00 +00:00
Davide Pesavento 9120cee21d systemd: allow AF_NETLINK in ndn-autoconfig-client.service
It uses NetworkMonitor

Change-Id: I244f61578614307b13ed5b67981e1409e3d9e677
2019-01-16 15:40:36 -05:00
Davide Pesavento 97ab201be7 systemd: add WantedBy=nfd.service to units that bind to nfd
Change-Id: I09c0f05a22985b9182e75feaae0d97791827675e
Refs: #4594
2019-01-16 02:50:56 -05:00
Teng Liang 39465c218d fw: implement self-learning forwarding strategy
refs #4279

Change-Id: I3c80820f9e3382d204a75ea3248234581b4d97d2
2019-01-16 02:25:53 -05:00