Commit Graph
9 Commits
Author SHA1 Message Date
HangZhang ad4afd1492 table: FIB on NameTree
Change-Id:Ie949ad2209ed841af498f45e2d0f365ac905c45d
Refs: #1190
2014-02-28 23:31:29 -08:00
Steve DiBenedetto 2693db9439 mgmt: echo FibManagementOptions as response body on command success
Add support for commands with FaceId == zero

refs: #1236

Change-Id: If67e955668d5a3622893582111601d358df9137e
2014-02-10 16:45:56 -07:00
Alexander Afanasyev d482fd3b6b build: Fixes for the latest reorganizations in ndn-cpp-dev library
Change-Id: I7cdb1e680342f72d90da6bc41028388dc57a22c0
2014-02-10 12:14:17 -08:00
Alexander Afanasyev b78ec7d111 build: Fixing code to compile using the latest version of ndn-cpp-dev
The latest version of ndn-cpp-dev updated Name and Name::Components.

One issue is that name components now need to be explicitly constructed
either with name::Component or Name::Component constructor (implicit
construction is reserved for NDN names).

Another issue is that both Name and Name::Components are now internally
stored as "Blocks".  Access to the value is possible through value(),
value_begin(), value_end(), value_size(), and blockFromValue() methods.

Change-Id: I25835da2c67567b2a20ecaa573ddd14edb6d6c0b
2014-02-09 12:22:47 -08:00
Steve DiBenedetto 0b73f4455f mgmt: added FIB manager support for insert, delete, and remove-nexthop verbs
Refactor option decoding, verb authorization (placeholder),
and response sending into single location.
Added unit tests for ManagerBase.

refs: #1223

Change-Id: I731be586ee8f06defb00fcadc6010409560891a1
2014-02-07 12:49:22 -07:00
Steve DiBenedetto bdedce9252 mgmt: moved signing into AppFace, code streamlining, and bug fixes
tests/management: improved callback validation

Fixed bad shared_ptr NULL checks
Fixed bad iterator decrement in InternalFace.sendInterest
Removed semi-useless constants in FibManager
Clarified ControlResponse text messages

Change-Id: Ic327a0b6b57827e401c7c3115d0ee92bae996a34
refs: #1138
2014-02-03 12:06:20 -07:00
Steve DiBenedetto 80ddc2195b mgmt: improved control response identification and bug fixes
tests/management: extended unit tests for new response types

Change-Id: Iebed4b3172ff6a07b71021a0ffa4870013d86f48
refs: #1138
2014-02-02 19:07:18 -07:00
Steve DiBenedetto 3970c89293 mgmt: loosened coupling between FibManager and InternalFace
Implemented InternalFace.setInterestFilter to loosen
coupling

refs: #1138

Change-Id: Ie58daed35bc3613398c8d3fc1de8b796e29907b8
2014-02-02 19:07:18 -07:00
Steve DiBenedetto 042bfe935a mgmt: Initial fib manager with support for fib/add-nexthop
fw: Added FaceId to Face conversion method

Linked InternalFace's sendInterest to FibManager's
onFibRequest

refs: #1138

Change-Id: I0b18f2d41c9ba9d8749c586e3553b51a1e8b1269
2014-02-02 19:07:18 -07:00