Davide Pesavento
87fc0f8d6f
core: drop std::function and ndn::Exclude from common.hpp, add ndn::optional
...
Change-Id: Ie3983d8b6f9929430efd8ada8d942e3f95755cd4
2018-04-12 14:23:40 -04:00
Junxiao Shi
75306351ff
rib: limit route prefix length in rib/register command
...
refs #4262
Change-Id: I567934419f6872cb0f5a823400f53014b9c6e85e
2018-02-01 21:59:44 +00:00
Alexander Afanasyev
847de408cb
build: Add warning for non-virtual destructor and fix discovered issues
...
Change-Id: I1d67b9b63d84d8524580e80ac06c3efef860c56a
2017-09-22 15:00:29 -04:00
Davide Pesavento
c0a5a39a4f
Add -Wextra-semi -Wundefined-func-template to the default CXXFLAGS
...
And fix the resulting compilation errors.
Change-Id: I2f8a8406542d297bfeeb4c922812ff1879a4dff6
Refs: #4248
2017-08-20 14:29:18 -04:00
Yanbiao Li
f32ca897c5
rib: make log messages of AutoPrefixPropagator more accurate
...
Change-Id: Ieadfb95cd97b6f4ad0397d927ab31b21da3aa431
ref: #3774
2017-06-13 11:56:08 -07:00
Junxiao Shi
3f21e58a58
rib: simplify Route class
...
Route::expires is changed to an optional, with nullopt representing
"never expires". This avoids an integer overflow.
RouteFlags accessors are now provided by ndn::nfd::RouteFlagsTraits.
Stream insertion operator is improved.
refs #3502
Change-Id: Ia912eab771fb00020385bf84d486955feae6aafa
2017-05-29 15:26:32 +00:00
Junxiao Shi
16a3adfafc
switch to ndn-cxx KeyChain v2
...
refs #4089
Change-Id: I32bc19db156de49275b681ef67f684b76631d50b
2017-05-26 17:38:51 +00:00
Davide Pesavento
22db53973d
rib+tools: use ndn::nfd::RouteOrigin instead of uint64_t
...
Change-Id: Ic8cbe95491a41e1d34b66d406da8637aeb5fd9e3
Refs: #3903
2017-04-14 20:48:20 -04:00
Davide Pesavento
d396b61ba1
rib: a few cleanups and simplifications in RibManager
...
Change-Id: I77699525ab372c4f4f3bbcae74e65bec24a86b4c
Refs: #3903
2017-03-12 19:53:54 -04:00
Nick Gordon
9fcf123b19
rib: Enable Readvertise-to-NLSR
...
Change-Id: If50ffe740e8137ca2aeed67be219f6487153af9f
refs: #3818
2017-03-10 22:30:20 +00:00
Alexander Afanasyev
635bf20ef5
Remove use of deprecated code
...
Notably, faces/enable-local-control and faces/disable-local-control
management commands are removed in this commit.
Change-Id: I9ba45c9697eca418315c1c749a3c0c602a36f34e
Refs: #3988
2017-03-09 21:57:34 +00:00
Junxiao Shi
89c0ea0621
rib: introduce Readvertise
...
refs #3818
Change-Id: I4635fecfcb8be5d9bb3086dea3bf7bbd90538832
2017-03-06 19:52:05 +00:00
Nick Gordon
2fb3e8e3fe
rib: introduce ReadvertisePolicy
...
refs #3818
Change-Id: Id40a7dfeeb1c46d6bff0750b15f3288a10897288
2017-03-06 19:50:59 +00:00
Junxiao Shi
63b67e2b23
rib: simplify ReadvertisedRoute
...
refs #3818
Change-Id: Ied644d825458f387b6f886bfcd425cffd2c2c7aa
2017-03-06 19:46:02 +00:00
Nick Gordon
04262d9c84
rib: ReadvertiseDestination availability
...
refs: #3818
Change-Id: Ifc2875ba38025595f3d6a8f8207f5ec126f93c90
2017-02-01 12:14:21 -06:00
Nick Gordon
947192570d
rib: ReadvertiseDestination
...
refs: #3818
Change-Id: I453d69c4a100ede9065756fe16cb60c19aea33db
2016-12-19 11:58:31 -08:00
Weiwei Liu
aaa58a6c10
rib: fix incorrect operator<< output
...
refs #3423
Change-Id: I22137a1ad2c3b64d74b7ba2fe6b5f7f55486c276
2016-11-29 23:48:28 -07:00
Eric Newberry
ecc45cbc7e
rib: use faces/update instead of faces/enable-local-control to enable local fields
...
refs #3734
Change-Id: Ic7a39a9b3297103bbe36bf5955e52523b9f8baa4
2016-11-08 19:57:12 +00:00
Nick Gordon
89c4cca866
rib: route addition and removal signals
...
refs: #3818
Change-Id: Ic47afeba4b4133a2092b26ecd49adbaac0505781
2016-11-03 13:51:49 -06:00
Weiwei Liu
6e21cdb13f
rib: fetch face dataset with StatusDataset client
...
refs #3620
Change-Id: Ibf1a0e064e105389d6b733b2d1f0791dff356208
2016-10-06 16:21:31 -07:00
Davide Pesavento
e94804bd48
rib: fix use-after-free in Rib::erase and RibManagerFixture::clearRib
...
Change-Id: Ia4c2211f6c48d852e3b73dc84e298d26ad14f708
Refs: #3787
2016-09-19 17:23:21 +00: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
cbc8e947bf
daemon+rib: add proper #include line for NDNLPv2 tags
...
refs #3755
Change-Id: I3ab279405aca7c7139e8d0e8e662eb3ea7200045
2016-09-06 03:17:45 +00:00
Yanbiao Li
5ad19febad
rib: keep AutoPrefixPropagator log levels symmetric
...
Change-Id: Iabf254706dba0ea7843495912be4154321a91993
refs: #3524
2016-09-03 07:16:46 +00:00
Junxiao Shi
2e526d70d2
rib: delete RibStatusPublisher
...
RibStatusPublisher is unused since RibManager switches to ndn::mgmt::Dispatcher.
This commit also corrects a typo in rib-entry.hpp
refs #2857
Change-Id: I968a836e46c9a7e70513d45c90099678ef587f86
2016-08-22 16:02:13 +00:00
Junxiao Shi
06d6ba666d
rib: add proper #include line for ndn::OBufferStream
...
refs #3741
Change-Id: If08719fac9e977bd5d68c1aba491738eacbfa900
2016-08-22 15:59:03 +00:00
Junxiao Shi
217384025e
core: change ManagerBase::authorize to makeAuthorization
...
refs #2063
Change-Id: I0e6faced6e4e1733362e3ec018e2ee60fcefafa1
2016-08-22 03:58:28 +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
b260017fec
rib+tools: delete NRD
...
refs #3570
Change-Id: I9a6e8eb6c74ea5e09a2e724805f07ca4e58af51c
2016-07-11 08:53:53 +00:00
Junxiao Shi
fde3f54d67
rib: register /localhost|localhop/nfd/rib in FIB
...
refs #2857
Change-Id: If3a471c1c5dbe514929ce5d02a4741960dedc02b
2016-07-10 19:54:53 +00:00
Yanbiao Li
cf0db02ced
rib: refactor RibManager to use ManagementDispatcher
...
Change-Id: I3f689de7d043e85531f0b3f4accf65345cde5d9e
refs: #2857
2016-07-09 09:43:19 +08: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
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
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
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
Alexander Afanasyev
b755e9d5a7
docs: Fixing doxygen warnings
...
Change-Id: Ic85f86f4de8224e2fa5d1c41f6afb0f367af5b37
Refs: #3210
2015-10-22 11:34:56 -07:00
Yanbiao Li
d7c9636078
rib: redesign of remote prefix registration
...
Change-Id: I8418de6d5bb9615af898df5dbf9ed4cc2cb6a43a
Refs: #3211 , #2413
2015-10-04 20:58:52 -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
Spyridon Mastorakis
149e02cf7d
Enhance exception throwing with Boost Exception library
...
Change-Id: I471023fc23ffaebe04d9668426b4c1b03e4919aa
Refs: #2541
2015-08-17 16:17:33 -07:00
Vince Lehman
c1dfdb44da
rib: Accept KeyChain in RibManager constructor
...
refs: #2390
Change-Id: I45c9aae4bb111d75de63dcbcba4b3e6296eb2426
2015-07-17 08:18:28 -07:00
Alexander Afanasyev
692842d6ad
rib: Avoid deprecated nfd::CommandOptions::setSigningIdentity method
...
Change-Id: Id98538d96368c67ac1db939e0ad0fd43ec0c6ab9
Refs: #2893
2015-06-23 14:26:45 -07:00
Vince Lehman
f91ab74da9
rib: Stop removed namespace from inheriting ancestor route
...
refs: #2757
Change-Id: I9f9e18109f0d8ee45571d23a6eea7f254302a56f
2015-04-27 10:00:14 -05:00
Vince Lehman
9dcfc40f21
rib: Fix TestFibUpdates/EraseFace on Ubuntu 14.04 32-bit
...
Change-Id: I1381bc3eb813a1afad9b666fba30688216ee38dc
Refs: #2697
2015-03-26 12:34:26 -07:00
Vince Lehman
76c751ce80
rib: Perform FIB updates before modifying RIB
...
refs: #1941
Change-Id: I1457f71ddd1c120daae48308d5cc02a7c0ecf93d
2015-03-13 19:57:39 -07: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
Vince Lehman
ff8b39746b
rib: Change register/unregister logging to INFO
...
refs: #2547
Change-Id: Iedf72cb9c9f36742ea43650f8cdd4a9450c987de
2015-02-23 12:45:26 -08:00
Alexander Afanasyev
c3ea5a7886
rib: Use only a forward declaration of RibManager in the header of Nrd class
...
Change-Id: I8a681dc9a75ac8cdabc289e685ec6a505cfb5aac
2015-02-15 12:43:57 -08: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