Junxiao Shi
df1dc6590c
rib: change FIB update mocking method
...
Previously, FIB update mocking occurs in Rib class. Test coverage
for FibUpdater class is limited to update computation only.
Now, mocking is moved to a subclass of FibUpdater. Test coverage
for FibUpdater class extends to include FIB update queuing.
Previously, mocked FIB update succeeds synchronously.
Now, mocked FIB update completes via io.post, which better
reflects reality that FIB commands are asynchronous.
refs #4731
Change-Id: I563edda5d398eb915f22fecd4b987f32c610d323
2019-08-30 19:03:19 +00:00
wenkaizheng
55d83d449d
docs: remove "Installing from Binaries" section from INSTALL doc
...
Refs: #4984
Change-Id: I56e3be670e0981c4f9e30a7bcec73d8533bde847
2019-08-28 07:42:02 -07:00
Ju Pan
d8315bf75b
table: add Fib::afterNewNextHop signal
...
Refs: #4931
Change-Id: I68915b5f5688ad2f62147069fea86956a22672b6
2019-08-27 10:41:59 -07:00
Davide Pesavento
7890a9f26d
tests: avoid comparing Interests with operator==
...
Refs: #4569
Change-Id: Ia75169c147976d3980dd113054ba560caf0f33c8
2019-08-25 23:11:18 -04:00
Davide Pesavento
eb7b7abbee
fw: use ndn-cxx's RttEstimator in AccessStrategy
...
Refs: #4887
Change-Id: I7e404df953f99374e676c7eb29897c45d0868eef
2019-08-22 22:15:53 -04:00
Ernest McCracken
1402fa153d
fw: Use ndn-cxx's RttEstimator in AsfStrategy
...
Refs: #4887
Change-Id: Ice718be99f2b96f183bb35c5df84930be54a9f8e
2019-08-13 13:15:50 -04:00
Md Ashiqur Rahman
6be9387a4f
Revert "fib: add EndpointId field in NextHop record"
...
This reverts commit 3ad49db6ea .
refs: #4973
Change-Id: I3216a55a8c4ed52cd9181f790f8ab72e44330a38
2019-08-12 12:00:30 -07:00
Ju Pan
9aafc2a086
Revert "mgmt: add EndpointId for fib dataset"
...
This reverts commit 602c3aaa56 .
Refs: #4973
Change-Id: I02553dc7385d430cf719db3b0f576dc48f6ec059
2019-08-12 08:46:08 -07:00
Ju Pan
57113d1369
Revert "tools: display EndpointId in 'nfdc fib list'"
...
This reverts commit 13839ac94a .
Refs: #4973
Change-Id: If03e8f22ff4c8c65b20b486302fda0ffc8192662
2019-08-07 21:21:47 +00:00
Junxiao Shi
07f2e2f516
table: rename cs::iterator to cs::Table::const_iterator
...
refs #4914
Change-Id: I0d81a0983c6bbf8ad2bdf78eec4f37ac73ec3d2d
2019-07-22 09:10:06 -06:00
Davide Pesavento
f190cfa470
face: use ndn-cxx's RttEstimator in LpReliability
...
Refs: #4887
Change-Id: Iaf8b04e33de363bae2c99f10f3866773c900f30d
2019-07-20 02:25:14 -04:00
Junxiao Shi
5153338a18
rib: make several Rib methods private
...
refs #4731
Change-Id: Id0e7aa70bb21c2a5f08679a2d82e5dc91d618ef4
2019-07-19 13:50:26 +00:00
Davide Pesavento
cb425e83e4
face: move common declarations to face-common.hpp
...
Change-Id: I0e3e7a93f0693b0e24ca67493a4229987e792ef4
2019-07-18 11:07:40 -04:00
Davide Pesavento
d214881326
ci: add Xcode 11 to Travis CI build matrix
...
Also reenable ASan on Linux with clang 9, it seems to be working now.
Change-Id: If1beb0d9437954a229d9dbf248c6a231f6e11ace
2019-07-18 11:03:29 -04:00
Junxiao Shi
5e4a02fe9e
cs: avoid Entry construction during query
...
Using C++14's transparent comparators, CS lookup logic can
compare stored Entry objects with the queried Name without
constructing an Entry object. This in turn eliminates the need
for a special "query entry", so EntryImpl class is deleted.
refs #4914
Change-Id: I5b05a1ab9ad696e79f7ebd6045be8de11cd58ee6
2019-07-15 11:59:18 +00:00
Davide Pesavento
859a69e349
daemon: globally disable automatic verification of Interest parameters digest
...
Refs: #4658
Change-Id: I07cc6811fc42ee216e0b84cdcb3165170e5d3f89
2019-07-13 17:10:46 -04:00
Md Ashiqur Rahman
115ea63ecf
fw: on CS miss, pass ingress with EndpointId=0 to strategy
...
refs: #4849
Change-Id: Idebbd60c185497bde5c4372e512a5f937b42f0a7
2019-07-05 22:32:19 -07:00
Junxiao Shi
17a7001ae9
rib: consolidate RibManager::FaceIdSet into Rib
...
refs #4731
Change-Id: Ic78f44e8a504ebf1490dfc1ee4f0fe6cbc7135d0
2019-06-25 10:50:32 +00:00
Davide Pesavento
9d491024ac
ci: add gcc-9 to Travis CI build matrix
...
Change-Id: Id4165765e2099ba9ff242dcef6b4a6fe08eaba97
2019-06-23 19:15:05 -04:00
Ju Pan
13839ac94a
tools: display EndpointId in 'nfdc fib list'
...
Refs: #4816
Change-Id: Id656939d9595adbd8c96a78e9aedfdd8dda2a555
2019-06-19 12:08:43 -07:00
Ju Pan
602c3aaa56
mgmt: add EndpointId for fib dataset
...
Refs: #4816
Change-Id: Ic463ac34fca8d9c415e66347dfe642ad01c1ce59
2019-06-04 21:45:49 +00:00
Junxiao Shi
47c343b9f2
tools: set CanBePrefix in autoconfig
...
Also, rewrite RoutablePrefixesDataset test suite to use
SegmentFetcher.
refs #4581
Change-Id: I68e0ffcd59dcbae0856bfa2977545f06482f3515
2019-05-25 07:53:01 +00:00
Junxiao Shi
73b4980eb6
tests: add FreshnessPeriod where MustBeFresh is used
...
Also, set MustBeFresh in autoconfig-server HubData test,
to reflect the behavior of autoconfig client.
refs #4913
Change-Id: I0af29378630a2208e98ef0913d83668a603e9a88
2019-05-25 07:52:26 +00:00
Junxiao Shi
25d9728d2f
table: drop Selectors processing from PIT
...
refs #4805
Change-Id: Ic15aec7f30d40485031e48e83377a621279e82f1
2019-05-14 13:44:46 -06:00
Junxiao Shi
9d727857dc
tests: set CanBePrefix in daemon tests
...
This commit also updates makeInterest and makeNack functions
so that their APIs are compatible with ndn-cxx test suite.
refs #4581
Change-Id: I0c81740416c26a03450dc3a12c89944b72ce5901
2019-05-14 13:44:22 -06:00
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