Junxiao Shi
3d2049fbc1
table: add CS enablement flags
...
This commit also:
* deletes never-implemented and unused Cs::erase method
* groups CS configuration methods together
* uses Table::emplace in Cs::insert
refs #4050
Change-Id: If8cf29dd33921da2f2c4ce56e02395d43cd3ee99
2018-01-30 09:15:15 -08:00
Junxiao Shi
3aba7548f4
table: make FIB and StrategyChoice iterators default-constructible
...
They were previously not default-constructible when compiled with gcc 4.8.4.
refs #3882
Change-Id: I2431c869fb61b7adbe83d5551705981bf8618280
2016-12-24 02:42:52 +00:00
Junxiao Shi
b4a5acd890
mgmt: tables.cs_policy config option
...
refs #3148
Change-Id: Icf30bbe508c1c491949d9fcb433fdfa16842d312
2016-12-07 19:59:18 +00:00
Junxiao Shi
52555b06d4
table: CS policy registry
...
refs #3148
Change-Id: I058357839e514787405952569d1abf402375d1ea
2016-11-25 21:39:06 +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
Minsheng Zhang
ffe8bbb8aa
table: allow setting CS capacity limit to zero
...
refs #3503
Change-Id: I6e1bfb64ea3a1f31070a7290c250fbcec46623fb
2016-03-10 13:40:37 -07: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
Davide Pesavento
01f8dba914
Use make_unique where appropriate
...
Change-Id: I30c9f0fb2033a810df73a1c9147fcf09d610f763
Refs: #3093
2015-09-19 21:56:34 +02:00
Minsheng Zhang
cb6e05f2dd
table: add CS policy interface
...
Change-Id: I1946fe03ca00150b1ff9f08acae48c01bc569904
Refs: #1207
2015-06-12 10:03:17 -05:00
mzhang4
eab7249b74
table: change ContentStore lookup API to allow async implementations
...
refs: #2411
Change-Id: Ifbb4179c34cf10a7913f8113a2f9238476d8eafa
2015-03-19 04:59:33 -07:00
Junxiao Shi
35b16b1984
table: ContentStore recognizes CachingPolicy-NoCache
...
refs #2185
Change-Id: Id3dab8936c4dafc96c5d8933d7e75c6cc2e31ff2
2015-02-21 21:42:11 -07:00
Junxiao Shi
fc20696c59
table: ContentStore enumeration
...
refs #2254
Change-Id: Ic440afea2197f12f7720adb559b836d08e864bed
2015-01-20 12:16:43 -07:00
Junxiao Shi
5640ec8934
table: better ContentStore findRightmost algorithm
...
refs #2254
Change-Id: Ib8f473f0cce1a1636b600a98494292499d71972e
2015-01-15 21:43:55 -07:00
Junxiao Shi
a938818047
table: rewrite ContentStore
...
This is the first of a series of commits that rewrites the ContentStore
with a cleaner design.
refs #2254
Change-Id: I6595dca63137760d2283934a8f311a14dc2183bf
2014-12-15 21:48:30 -07:00
Alexander Afanasyev
4cf4170b75
table: Evict unsolicited Data in FIFO order
...
Change-Id: Iba97441e3e23e686da0612810b09108090e64aca
Refs: #2043
2014-10-20 10:38:10 -04:00
Alexander Afanasyev
4b3fc86c96
table: Offload the implicit digest calculation to the library
...
Change-Id: I8577ec3ee194d639cce74b53fb5f02c7e718cbc3
Refs: #1678
2014-06-20 17:29:19 -07:00
Junxiao Shi
af6569aa7e
core: unify randomization
...
Non-security randomizations are changed to use boost::random,
with a global random number generator.
refs #1369
Change-Id: I5000fd02f170fa47058af790e2bea767f9c65650
2014-06-17 17:34:39 -07:00
Steve DiBenedetto
3a4f83dc7e
mgmt, main: add "tables" configuration file section and processor
...
refs: #1623
Change-Id: If54097ba738381f7a75d755933e20b35387ff1d4
2014-06-13 17:10:41 -07:00
Alexander Afanasyev
281b916a35
tables: Adjust pre-allocated CS entry queue on Cs::setLimit call
...
Change-Id: I7611dfb671060864e40cadb707ad0a89f0359c07
Fixes : #1646
2014-06-09 08:44:03 +03:00
Alexander Afanasyev
4a77136894
build: == Dependency change == NFD now depends on ndn-cxx library
...
Change-Id: Ia9dd324a536573b5ac4fe1b73d82af772dc84923
Refs: #1536
2014-04-25 10:09:23 -07:00
Ilya Moiseenko
9c9231b0e3
table: Processing of PublisherPublicKeyLocator in CS
...
refs: #1424
Change-Id: Ia4ad2c92a7a6860b73674444ba4a0120a90e5342
2014-04-11 10:42:19 -07:00
Alexander Afanasyev
8881162509
table: Calling the correct version of Cs::setData when refreshing CS entry
...
Change-Id: I9d33716a56c6aafb061716eed44d8e3f54363129
Refs: #1458
2014-04-10 15:14:19 -07:00
Ilya Moiseenko
96b80bb645
table: Content Store performance fix
...
Change-Id: I7f6752ec279e64e81c90c0b3e8d756da34194965
Refs: #1432
2014-04-09 00:26:22 -07:00
Alexander Afanasyev
9bcbc7c130
docs: Update of copyright and license statement in all .hpp and .cpp files
...
Change-Id: I4082db67f2390482615a780d91a513f09d57a9a4
Refs: #1266
2014-04-07 09:18:25 -07:00
Alexander Afanasyev
bf9edeeaee
logging: Reducing log level in several places
...
INFO level is suppose to be used for informational messages that are
useful for ordinary user, but in several places we used it as a DEBUG
output.
In CS the level is reduced even more, to TRACE.
Change-Id: I9058e25d95de79661099dd4624d802cc33420983
2014-04-01 22:24:50 -07:00
Steve DiBenedetto
bf6a93da4e
core: change logging from environment variable to configuration file-based
...
GlobalConfigurationFixture uses unit-tests.conf to determine default
and module specific logging levels. Logging will gracefully default to
INFO if unit-tests.conf is not found. See unit-tests.conf.sample for a
sample configuration file.
refs: #1375 , #1267
Change-Id: Ib0c4eb4149748e6658f94ef1afa23ddd3072c0fa
2014-03-31 20:46:51 -06:00
Alexander Afanasyev
efea8fe804
build: Enabling -Werror in debug mode and fixing discovered issues
...
Change-Id: I29685dcb9240a3e0c8d7eaf28c8bc2ae720e55a1
2014-03-25 11:01:53 -07:00
Alexander Afanasyev
eb3197fa35
all: Update code to compile with latest time-related changes in ndn-cpp-dev library
...
Change-Id: I7e859989c833001f49b286d4a9917f4dc740b4a4
2014-03-18 17:34:12 -07:00
Ilya Moiseenko
76cf77a5cb
table: ContentStore based on skip list
...
ref: #1212
Change-Id: Iaa13aa7c110c3cd059438bf553a19b4fcd07e137
2014-03-06 15:29:38 +00:00
Alexander Afanasyev
18bbf81601
src: Changing namespace ndn to namespace nfd
...
Also, this commit imports used classes from ::ndn namespace (from
NDN-CPP library) directly to ::nfd namespace.
refs: #1163
Change-Id: I9cc9d72e00af495b4ed0c84e6d418a7c9ba986cb
2014-01-29 14:12:58 -08:00
Alexander Afanasyev
fd603eee93
table: Small stylistic update in CS API
...
Change-Id: I113a62b7ca580fe7b25bb893fc239ed404b7f012
2014-01-26 13:51:16 -08:00
Alexander Afanasyev
c9765dffb6
cs: Update interface
...
Change-Id: I9b637c21ae15e784317568affdc530c21ec32e9a
2014-01-25 23:05:50 -08:00
Alexander Afanasyev
b927a3a5c6
src: Creating daemon/common.hpp for all generic includes and import of commonly used abstractions to ndn namespace
...
This commit also update CS interface (find should return
shared_ptr<Data>, CS entry is internal to CS, the design diagrams are
corrected too).
Change-Id: Ib6377b6d9b8478640ac35d3cfb6c9180cc57c4fe
2014-01-24 15:22:18 -08:00
Junxiao Shi
0fcb41e6de
cs: Implementing fake CS
...
refs #1129
Change-Id: I1aa2e9dcea5a8f298b254f13ad651ced22118471
2014-01-24 10:19:51 -08:00