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
Steve DiBenedetto
7564d97d13
mgmt: refactor management modules to conform to NFD Management Protocol
...
Refactor management protocol specific option types to ControlParameters
Add control parameter field enforcement
Add missing control response "success" message bodies
Update fib management protocol response codes and behavior
Merge local control header manager into face manager
Refactor references of nfd::LocalControlHeaderFeature enum to ndn::nfd::LocalControlFeature
Remove "control-header" privilege from default configuration
refs: #1397 , #1399 , #1400
Change-Id: Id042daf00b3cee1f1c7fa38d2e4a4ff6d95c15c6
2014-03-25 17:46:31 -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
Junxiao Shi
57f0f311f2
fw: make strategies understand scope
...
refs #1253
Change-Id: I57f7a6008e6f08c9817e58f480020eb9219a4aec
2014-03-16 17:19:28 -07:00
Junxiao Shi
11bd9c28e8
fw: /localhop scope control on outgoing Interests
...
refs #1253
Change-Id: I359747688568934070d1583995957835ac690f28
2014-03-15 22:27:19 -07:00
Junxiao Shi
e349ea10e0
table: clear StrategyInfo during strategy change
...
refs #1234
Change-Id: Idd5383a5f8bc706aceea5a630b93cd4ab9bd2c3a
2014-03-13 15:36:41 -07:00
HangZhang
5d46942329
table: FIB enumeration
...
refs #1315
Change-Id: I535d519836720c40f72904e5520d11026ea30a33
2014-03-12 10:12:00 -07:00
Junxiao Shi
f3c0781d22
fw: refine pipelines, dispatch to strategy
...
refs #1345 #1255
Change-Id: If1cfc26049f87318103fc09c3b211ebf1eb3ebaa
2014-03-11 22:33:15 -07:00
Steve DiBenedetto
d030cfca45
mgmt: fib manager implicit fib entry insertion and deletion
...
refs: #1340
Change-Id: If552bbff71b54c4616ff4478a470c9cdc2a5c4e4
2014-03-11 17:13:28 -07:00
HangZhang
cb4fc83bff
table: shortcuts between FIB, PIT, Measurements, StrategyChoice
...
refs #1202
Change-Id: Ie63ab792e840de7e0889d385d3e8ea8a112cb7e5
2014-03-11 16:31:09 -07:00
Junxiao Shi
efceadc378
fib: implicitly delete empty Entry
...
Fib::removeNextHopFromAllEntries automatically deletes fib::Entry
if the last nexthop record is being removed.
refs #1341
Change-Id: I36d42fe8f9fc8f03d194f845020aff408cd70488
2014-03-09 19:39:26 -07:00
Haowei Yuan
e1079fc4e4
table: NameTree enumeration
...
refs #1318
Change-Id: I26f25cefe8f2939ca884103f1b081c0c02325207
2014-03-09 19:37:04 -05:00
Ilya Moiseenko
76cf77a5cb
table: ContentStore based on skip list
...
ref: #1212
Change-Id: Iaa13aa7c110c3cd059438bf553a19b4fcd07e137
2014-03-06 15:29:38 +00:00
Junxiao Shi
7bb01512b0
table: MeasurementsAccessor uses StrategyChoice
...
This commit also deletes fib::Entry::set/getStrategy attribute.
refs #1276
Change-Id: I57dfe842a8024e0ad9908ba8a9c415d5f4ac1bbe
2014-03-06 07:06:29 -07:00
Junxiao Shi
2d9bdc8a5f
fw: ClientControlStrategy
...
refs #1214
Change-Id: Ia382acad6c8eeac85663fd664d1d34ba6f2ad478
2014-03-05 01:46:12 -08:00
Junxiao Shi
bb5105f218
table: Strategy Choice table
...
refs #1309
Change-Id: I6fd8efdfc98175a1cc39fdc3aa7175671596f470
2014-03-05 09:27:51 +00:00
Junxiao Shi
4063184af0
table: NameTree::findLongestPrefixMatch predicate
...
refs #1313
Change-Id: I759c8ddf9bc0fe5b970c979f69131a98b1ef32e4
2014-03-03 09:27:13 -07:00
HangZhang
c85a23c457
table: Measurements on NameTree
...
Change-Id: I17bab4a7a085c529b04b35b7fe47e02dd9d6ff00
refs #1200
refs #1201
2014-03-01 16:08:56 +08:00
HangZhang
ad4afd1492
table: FIB on NameTree
...
Change-Id:Ie949ad2209ed841af498f45e2d0f365ac905c45d
Refs: #1190
2014-02-28 23:31:29 -08:00
Junxiao Shi
d9ee45c952
tests: resetGlobalIoService for every test
...
All tests must use BaseFixture or a fixture derived from it to get this feature.
This commit also fixes a few warnings in tests/mgmt, and moves test cases into nfd::tests namespace.
refs #1290
Change-Id: I891441a5abce170e35648d463f7157b18429f79f
2014-02-27 19:36:19 -07:00
Haowei Yuan
78c84d1ce5
table: PIT on NameTree
...
ref# 1194
Change-Id: I32f103374885445725fc5deeebda60b1b1e54c2f
2014-02-27 15:35:13 -06:00
Junxiao Shi
0b5fbbb4ff
fw: NccStrategy
...
refs #1242
Change-Id: I21f870728b7b361547adbde9d64357c93aeb1ed9
2014-02-26 23:53:53 -08:00
Junxiao Shi
c041ca36ed
core: global io_service and scheduler
...
Scheduler and time are imported from ndn-cpp-dev.
Forwarder is using the new scheduler API.
Face system is not transitioned yet.
refs #1290
Change-Id: I5679cb50bbf9890a105f663b038f13951403c2b6
2014-02-26 12:40:22 -07:00
HYuan
a9b85754b2
table: Name Tree Implementation
...
Change-Id: I27dbe50a1f484a7722b443dea6197a0f8d74aa0a
2014-02-26 10:35:16 -08:00
Junxiao Shi
dbe7173db1
table: MeasurementsAccessor for strategy
...
refs #1276
Change-Id: Idec8f615c726f51612236a55a7532fabeb81a32d
2014-02-24 23:32:48 -07:00
Junxiao Shi
65d0072aa1
table: mock Measurements table
...
refs #1259 , #1197
Change-Id: Ie7cd2ff6fbbb413a77539eb9f1c5354405252cec
2014-02-17 20:09:58 -07:00
Junxiao Shi
408a7000a8
table: set/getStrategyInfo on FIB/PIT entities
...
refs #1241
Change-Id: I20f509384a0a046962c3debf3a53a1fc2a01b3bc
2014-02-12 17:53:47 -07:00
Junxiao Shi
e5e2fceff5
table: StrategyInfo getter/setter
...
refs #1180
Change-Id: I8ac487b2b372ceb33d71ebeb14d4fbdeefca9e8e
2014-02-10 23:31:02 -07:00
Steve DiBenedetto
d5f87930a1
table: added findExactMatch and remove methods to Fib
...
Added methods required to implement remaining FIB
management commands.
refs: #1223
Change-Id: Idf27a60a19286ab1d5712bbc00cca7f41092807b
2014-02-05 16:21:04 -07:00
Junxiao Shi
d3c792f95c
fw: basic forwarding procedure & strategy skeleton
...
refs #1131 #1136
Change-Id: I3e97cb17bf85082b6499a310120409379f8eaa65
2014-01-30 16:39:21 -07: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
Junxiao Shi
cbba04c997
table: mock PIT
...
refs #1128
Change-Id: I8943ad07d93422dc456fd051b2e4c0d5f38bc227
2014-01-27 05:49:28 -07:00
Alexander Afanasyev
fd603eee93
table: Small stylistic update in CS API
...
Change-Id: I113a62b7ca580fe7b25bb893fc239ed404b7f012
2014-01-26 13:51:16 -08:00
Junxiao Shi
c1e1236b04
table: Mock implementation of FIB
...
refs #1127
Change-Id: Ie0bc1fc2ddcc61dd1f1cf10fb1935edde4aff6c5
2014-01-26 14:22:48 -07: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