Commit Graph

39 Commits

Author SHA1 Message Date
Junxiao Shi fbf783450c rib+tools: subscribe to FaceMonitor notifications using connect
refs #2350

Change-Id: I1b1b33cdcc3638c7344b6c690f928aff25aa5c8c
2015-01-23 14:46:41 -07:00
Vince Lehman 7c7d33a4b5 rib: Insert RIB command prefixes into RIB
refs: #2312

Change-Id: I9452f60d4c2162ad265603d3d5d44f083452ec58
2015-01-22 10:39:36 -08:00
Vince Lehman 218be0a884 rib: Rename FaceEntry to Route
refs: #2159

Change-Id: Ia324a47816cac514dacc4a69a29fd30d08932e5b
2015-01-21 15:33:34 -08:00
Junxiao Shi 1e46be30e4 core: rename nfd::EventId to nfd::scheduler::EventId
refs #2298

Change-Id: I5d4f4c5234fd370666e81a8a8e7d312694a6ad5d
2015-01-09 09:52:56 -07:00
Yanbiao Li b9d439d202 rib: remote prefix registration
resolve 3 bugs:

There are redundant registrations/unregistrations if loading the
config file multiple times.

Remote registration/unregistration will fail if localhop_security
is enabled.

Unstable RemoteRegistrator/UnregisterAdvanced test case.

Change-Id: I4437292e9f6c0e340c761ef7556a9bdc703ac06c
refs: #2294
2014-12-16 22:58:56 -08:00
Steve DiBenedetto cd4ee5fcb4 mgmt,rib: check command length before accessing verb
refs: #2151

Change-Id: I0e67fd4b4df10d842648797ed42771af7c53a938
2014-12-09 00:12:43 -07:00
Yanbiao Li c17de8379b rib: remote prefix registration
Change-Id: I0ee01317c213380481eed5c3a13cc19fb0b897ee
Refs: #2056
2014-11-26 21:24:58 -08: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
Junxiao Shi 67f11acf5c all: avoid usage of deprecated namespace ndn::Tlv
refs #2079

Change-Id: I3d8748929706726b55fe1a9a0f6ae00857ea3547
2014-10-20 06:52:36 -07:00
Vince Lehman 26b215c603 rib: Add periodic invalid face clean up
refs: #1744, #1875

Change-Id: I4e6780ef6abb95b2c4ad7c1e6291897693cb551a
2014-08-21 16:14:01 -05:00
Vince Lehman 281ded753b rib: Cancel expiration on unregistration
refs: #1902

Change-Id: I85a75370ecc3677c8a9ebf3a48f3c0857598da2d
2014-08-21 14:51:13 -05:00
Vince Lehman bc05b761a4 rib: Log individual FIB updates
refs: #1868

Change-Id: I400d9bed369c7c27237c2ebd7f3c31865b5c9853
2014-08-18 11:58:15 -05:00
Alexander Afanasyev 483efd1668 rib: Disable FaceId check for self-registrations
Change-Id: I9e022d3067c5c4ecb3ec0a10a4446e9af49c68eb
Refs: #1852
2014-08-14 10:51:18 -07:00
Junxiao Shi 15b12e759d core: use markers in StatusDataset and NotificationStream
This commit also refactors FaceMonitor as generic NotificationSubscriber,
and refactors AutoregServer to use FaceMonitor.

refs #1837 #1838

Change-Id: I8b40dfae118853d1224c8290cf92e7cc0daa116f
2014-08-10 19:23:09 -07:00
Vince Lehman cd613c5008 rib: Verify face before route registration
refs: #1811

Change-Id: If99f59734b29a46eca4f6139d35361a8563a9010
2014-08-07 14:35:29 -07:00
Alexander Afanasyev 68bc1e0dce Merge remote-tracking branch 'named-data/master' into release-0.2.0
Change-Id: I5c62c7de04027d40f083c871d6d5b6f42a6f8965
2014-07-28 17:46:13 -07:00
Vince Lehman cd16c83f35 rib: Add RIB dataset publisher
refs: #1662
Change-Id: I97885c07af131a7ea78d074b39df884178f09416
2014-07-23 16:02:26 -07:00
Alexander Afanasyev 97a9c2c828 rib: Create response Data as shared_ptr to avoid copy inside Face::put
Change-Id: I1fff93f162cda443e09b62db10ea0d7f3c04628d
Refs: #1775
2014-07-20 14:58:16 -07:00
Alexander Afanasyev b609f00cbe rib: Fixing bug with RibUnregister when route origin is not specified
Change-Id: Ica250a1c45ed42f1dc7862a12916f893fa846312
Refs: #1773
2014-07-18 17:34:11 -07:00
Alexander Afanasyev 56356b2134 rib: Fixing bug with RibUnregister when route origin is not specified
Change-Id: Ica250a1c45ed42f1dc7862a12916f893fa846312
Refs: #1773
2014-07-18 17:33:50 -07:00
Alexander Afanasyev f67cf0899c rib: Update to properly handle optional ExpirationPeriod in RibRegister command
Change-Id: I9f18988f295a993e53dc03547f2f20967431dc10
Refs: #1772
2014-07-18 17:33:49 -07:00
Alexander Afanasyev fb1c808832 rib: Fix to correctly set default expiration for self-registrations
Change-Id: I598fc8b0395118156fe2f394798b9ee846348c4f
Refs: #1772
2014-07-17 15:16:15 -07:00
Vince Lehman 72446ecb93 rib: Unit tests for RibManager
Change-Id: I8096089f6cc8a6eea7be51278b29700c79e68d5c
Refs: #1501
2014-07-11 12:43:04 -07:00
Syed Obaid 3313a370a7 rib-manager: deleting expired entries from the rib and fib.
refs #1326
Change-Id: I865bff19da766560f920b1818bdf3eaa91e7dbb1
2014-07-08 12:21:38 -07:00
Alexander Afanasyev 63108c4ace rib: Request Face create/destroy notification as early as possible
This commit does not completely solve the problem, as depending on
ContentStore size and amount of updates, some notification still can be
missed.  However, this commit reduces chances for this to happen.

Change-Id: I5456667c1fba1031146b379195de852f1561fd5d
Refs: #1742
2014-07-07 20:51:04 -07:00
Vince Lehman 4387e78005 rib: Generate FIB updates using route flags
refs: #1325

Change-Id: I5c567da1c06819caeba5cc5b024914666ba70ab6
2014-06-29 17:41:49 -07:00
Vince 12e49466bb rib: Implement RIB as trie
refs: #1271

Change-Id: Idbd6d4d67f8a88b474ea0b20280c79e367bc98e5
2014-06-17 14:11:09 -05:00
Junxiao Shi a3295741d6 rib: fix FibAddNextHopCommand parameters
refs #1618

Change-Id: I6f8003bee785f0eaaadbf4fa3c5c8281a2cf48da
2014-05-16 22:40:10 -07:00
Alexander Afanasyev b3893c9950 src: Updating code to compile with the latest ndn-cxx library
This commit includes updates against the latest Face API and replaces
uses of deprecated methods.

Change-Id: I33ad398d26f8faf9f9627ff329ce0936e0911ab2
2014-05-15 21:52:26 -07:00
Alexander Afanasyev f6980284e6 src: Remove unnecessary uses of boost::cref in make_shared and replace boost::cref/boost::ref with just cref/ref
In some cases, due to argument-dependent lookup, it is necessary to use
ndn::ref, instead of just ref.

Change-Id: I682180a007609535855f77511b49622154ad4f11
Refs: #1591
2014-05-15 09:52:28 -07:00
Alexander Afanasyev b305165282 rib: Properly terminate when a critical error occurs
Change-Id: I0acd44d0f0bba808f8a049527708cf01a6f56eaa
Fixes: #1567
2014-04-30 18:13:19 -07:00
Yingdi Yu e5224e9343 rib: Separate trust models for /localhost and /localhop RIB management commands
Change-Id: I10fd9a1c8a2e0e572ea28f6e97d57b0b5b9750c8
Refs: #1557
Refs: #1558
2014-04-30 17:51:11 -07:00
Alexander Afanasyev ce7520edcc rib: Fixing incorrect usage of RibRegisterCommand in RibManager::unregisterEntry
Change-Id: I3ef4a46ae6a012a4424e088369563bb590f330b1
Fixes: #1548
2014-04-28 09:40:06 -07:00
Alexander Afanasyev 20d3144721 rib: Switch RibManager to use NFD RIB Management protocol
Change-Id: I725529a96b5ad4318e0e0a8c2bd61b84ae439a32
Refs: #1490
2014-04-20 00:30:23 -07:00
Yingdi Yu f4db0b5920 security: Fix the compile problem caused by an API change of ValidatorConfig.
Refs: #1481

Change-Id: Iea5cb1e13b509d570d8eb6b05ccb3fd6d7816bbc
2014-04-18 15:22:06 -07:00
Alexander Afanasyev 03ea3ebe76 rib: Switching to use global IO
Change-Id: I5eca302c65d868810bd59ab654b7ea74762dc7ee
2014-04-18 14:21:42 -07:00
Steve DiBenedetto 34c95f71bd core, main: make missing config file section behavior configurable
refs: #1499

Change-Id: I01cce3c73214f592d8c342d8aeda4fbafc6804b8
2014-04-18 12:16:35 -06:00
Alexander Afanasyev 89cf5e0b0c rib: Making single configuration file for both nrd and nfd
Change-Id: I4f03896459e8dc8564c44a7b610cd1351473d966
Refs: #1486, #1412
2014-04-17 18:01:42 -07:00
Alexander Afanasyev 3ecec50221 rib: Integrating NRD code into NFD codebase
Change-Id: I3e548f974255f62a4680cfc6c12be3bb7a3db4d2
Refs: #1486
2014-04-16 21:27:43 -07:00