Commit Graph
384 Commits
Author SHA1 Message Date
Junxiao Shi cbb490a6de fw: NccStrategy always sets pitEntryEntry->maxInterval
Change-Id: I675745cbd40e8d9c6651e6a728deb194ff37d189
refs: #1853
2014-08-13 12:24:24 -07:00
Alexander Afanasyev 585e5a6ff8 rib+tools: Make use of ndn::nfd::FaceMonitor from the ndn-cxx library
NFD still uses its own NotificationStream, as ApiFace needs to be
changed to use library's version of the class.

Change-Id: Ifc5727a555528a1aa48ccf7379fcbb61a33049d7
2014-08-12 11:50:17 -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
Alexander Afanasyev b3033247ee table: Fix segfault during Fib::removeNextHopFromAllEntries
Change-Id: I905a3c0da2f2a9197942cfeba7fd698b779e6e4a
Refs: #1816
2014-08-08 16:09:44 -07:00
Vince Lehman cd613c5008 rib: Verify face before route registration
refs: #1811

Change-Id: If99f59734b29a46eca4f6139d35361a8563a9010
2014-08-07 14:35:29 -07:00
Wentao Shang e612e2f9bf face: increment link layer byte counters in WebSocketFace
Change-Id: I88b7dea1cbd291765345982ce193700aacd73eb3
Refs: #1781
2014-08-04 17:40:51 -07:00
Chengyu Fan 8a53caf629 tools: include the key name in keylocator as the NFD id in nfd-status
refs #1807

Change-Id: I28f17c459efb720f957f33a6fc27a55edde719ea
2014-08-03 22:52:27 -06:00
Alexander Afanasyev 68bc1e0dce Merge remote-tracking branch 'named-data/master' into release-0.2.0
Change-Id: I5c62c7de04027d40f083c871d6d5b6f42a6f8965
NFD-0.2.0-rc2
2014-07-28 17:46:13 -07:00
Chengyu Fan 3331cfa76d tools: Visualize per-face link-layer byte counts in nfd-status
refs #1768

Change-Id: Ic70567501903f6d386a9dc5fdc81e70eeb8c5fd7
2014-07-28 14:02:19 -07:00
Alexander Afanasyev 2fdbe86df8 build: Fix bug in instructions to get websocketpp library
Change-Id: I7eb7585a67cd738768b31b51298852ea380d5a04
2014-07-27 20:35:08 -07:00
Junxiao Shi ee5a444344 table: erase NameTree entry when FIB/Measurements/StrategyChoice entry is erased
This commit also optimizes Measurements table to make use of NameTree shortcuts.

refs #1803

Change-Id: Ib0e465750ed5e8ff9ed129a926a7bc852db4e9e1
2014-07-27 17:13:43 -07:00
Junxiao Shi 5dd26c3ef8 face: increment link layer byte counters in StreamFace and DatagramFace
refs #1766

Change-Id: I69377fa561ae1ee845808aa02ae1b85b1771899e
2014-07-24 15:55:31 -07:00
Chengyu Fan 30aa207a8f tools: visualize RIB dataset in nfd-status
refs #1749

Change-Id: Ia11b88187635ffa4eda4b829afd6a20120765d58
2014-07-23 16:02:26 -07:00
Alexander Afanasyev 4e9a98f392 core: Force SegmentPublisher to publish at least one Data packet, which could have empty content
Change-Id: I8338f78ebfa4c2641eaae606b28c1112f06619c9
Refs: #1662
2014-07-23 16:02:26 -07:00
Vince Lehman cd16c83f35 rib: Add RIB dataset publisher
refs: #1662
Change-Id: I97885c07af131a7ea78d074b39df884178f09416
2014-07-23 16:02:26 -07:00
Vince Lehman 5144f829b9 mgmt+core: Moving SegmentPublisher to core/ and removing KeyChain from nfd::AppFace
This change ensures interface uniformity between nfd::AppFace and
ndn::Face and allow now templated version of SegmentPublisher to be used
with either.

Change-Id: I82e29528b13b37bd2ae27ef47db30e8c87c15a38
Refs: #1749
2014-07-23 16:01:27 -07:00
Alexander Afanasyev e5966b7ac3 face: Serializing StreamFace::send(Interest|Data) operations using queue
Change-Id: I254d5e3030c94fac224e81e66bcbc58ffa752c0e
Refs: #1777
2014-07-21 13:48:35 -07:00
Junxiao Shi 632a62089a mgmt: expose link layer counters in Face Dataset
refs #1767

Change-Id: If0b66ead4c2f2741c83396f251cce9a0d83c1520
2014-07-20 19:47:06 -07:00
Junxiao Shi 7b984c6d8e face: reserved FaceIds and NullFace
refs #1620, #1622

Change-Id: I315ae262c7e0813a64b69d3e7d67de61b7b88c55
2014-07-20 14:58: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
Junxiao Shi 651b75e214 table: capacity limit in PIT NonceList
refs #1770

Change-Id: Ia5722968cca1d9a4bbf3ef19e57be73eac702a69
2014-07-19 10:14:30 -07:00
Junxiao Shi 33152f18b1 face: link layer byte counts in FaceCounters
This commit declares the counters, but does not increment the new counters.

refs #1729

Change-Id: I9cd136fc65955192a92d567629a9aba2df8090f3
2014-07-19 01:14:05 -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 8a093763b6 tools: Corrections and visual improvements for nfd-status-http-server
Change-Id: I123020f023d9dc52268a35d4ad7aa4752e79309b
Refs: #1690
2014-07-18 14:23:11 -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
Chengyu Fan 45d1a76140 tools: nfd-status-http-server: serve XML
refs #1690

Change-Id: Ie5de0b8e5041f91cf9bdf1ec7e2c24cde5ffbe38
2014-07-16 16:23:16 -07:00
Alexander Afanasyev a57f8b4194 fw: set unsatisfy timer in incoming Interest pipeline
Change-Id: I478de1482f79f96f81162ab5e6e8df490061b852
Refs: #1754
2014-07-14 19:59:44 -07:00
Alexander Afanasyev 28d586a16b table: Store shared_ptr<Interest> instead of just Interest to avoid extra copy
Change-Id: I240ea4cbe2c9e14b4c1ca2df87d40da8042b78d1
Refs: #1753
2014-07-14 19:20:55 -07:00
Alexander Afanasyev 7bbe80cf74 mgmt: Change InternalFace::processEvents to accept shared_ptr, instead of weak_ptr
Change-Id: I13af9a4b07a339cf66be1fa8783dc0475ded75f0
Refs: #1753
2014-07-13 12:10:29 -07:00
Vince Lehman 72446ecb93 rib: Unit tests for RibManager
Change-Id: I8096089f6cc8a6eea7be51278b29700c79e68d5c
Refs: #1501
2014-07-11 12:43:04 -07:00
Steve DiBenedetto fbea590074 mgmt: mark tables as configured after applying default configuration
refs: #1743

Change-Id: I8fa82462ff1dc328f70a1c6b335ef42c52d1f06f
2014-07-08 15:30:08 -06:00
Steve DiBenedetto 9bcc88fe8d mgmt,main: configure tables with defaults when missing config section/values
refs: #1743

Change-Id: Id0c24bd2b2e86df763892d194f9c04777a369d0c
2014-07-08 12:51:15 -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 29d1fab41e face: Avoid calls to socket::local_endpoint()
Change-Id: I0cb9152efb95faa105a0d0e08ebfb263581d4d43
Refs: #1741
2014-07-08 10:59:02 -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
Alexander Afanasyev 7465d5fc0c face: Workaround to Boost.Asio bug 8795 with async_connect
Change-Id: I033a9ae719306f1af605124d982df60b9a8e7372
Refs: #1736
2014-07-07 19:52:19 -07:00
Junxiao Shi 0e173b7690 fw: permit setStragglerTimer with unexpired OutRecord
refs #1733

Change-Id: I899ce2f826d84b048536bcf56aec2ff038534901
2014-07-07 16:15:51 -07:00
Wentao Shang 3d36c2bc6c face: handle exceptions in WebSocket sending path
Change-Id: I231f201d0999f74369fab5ff98b24b2185e45815
Refs: #1732
2014-07-07 12:29:43 -07:00
Junxiao Shi 223271ba39 fw: require valid FaceId in outgoing Interest/Data pipelines
This is to avoid sending via a failed/closed face.

refs #1732

Change-Id: I31b205c2b97185e7955107a2591f8c4d2b7f0cc0
2014-07-03 22:52:00 -07:00
Syed Obaid 818e8a609e nfdc: setting default expiration time to time::milliseconds::max()
refs #1727

Change-Id: I6da174d18053fa05cf10804d398605d076475fe8
2014-07-03 00:59:46 -07:00
Alexander Afanasyev 84e2977be7 docs: Update source installation instructions and other additions
Change-Id: Ie4976f728e0f091d829ba05539eb27c2e328e496
Refs: #1728
2014-07-02 15:26:06 -07:00
Junxiao Shi dda0b467bc tools: autoreg uses RibRegisterCommand
refs #1710

Change-Id: I158817af5f25d97f11a81b4e03d2523157f49c7d
2014-07-02 15:25:44 -07:00
Junxiao Shi a753f1b988 tools: autoconfig prefix registration changes
After establishing HUB connectivity,
the prefix registration for TESTBED_PREFIX (/ndn) sets:
* Origin=autoconf
* Cost=100
* ExpirationPeriod=(practically) infinity

refs #1726

Change-Id: I7d2cf0982626c02efa6fbded677e47cdb14336ef
2014-07-02 14:47:02 -07:00
Alexander Afanasyev 40ee381e32 docs: Release notes for version 0.2.0
Change-Id: Ied19433005fb01dee3f182ed2848cb8cf5ab37b0
Refs: #1714
NFD-0.2.0-rc1
2014-07-01 22:01:10 -07:00
Haowei Yuan d5b68593cc core: Commented out SSE4.2 instruction set related code block in city-hash.c
Change-Id: I40cd04c0edc44922bd43a07cf5aa907072a884c8
Refs: #1721
2014-07-01 20:37:38 -07:00
Alexander Afanasyev 583760b22b face: Cleaning up onFail EventEmitter after event is fired from Face::fail
Change-Id: I3e90ae4af6843c2cd6d24835e0d3dab98f4c94df
Refs: #1718
2014-06-30 23:14:53 -07:00
Davide Pesavento a75305892c face: remove pointless method UdpFace::handleFirstReceive
Simply call DatagramFace::receiveDatagram directly.

Change-Id: Icec976fb9f4a008d08ece56c28ac652ea615bc76
2014-06-30 23:14:53 -07:00
Alexander Afanasyev 40c61f77cc tools: Showing ExpirationPeriod if it is present in FaceStatus
Change-Id: I8e5b1350179830a1d12866c02c16393068e06369
Refs: #1686
2014-06-30 23:14:49 -07:00