AccessStrategy now properly invokes reject pending Interest action
when an Interest cannot be forwarded.
Fw/TestStrategyScopeControl test suite is introduced to test localhost and
localhop scope control in strategies.
refs #3841, #1756
Change-Id: I7ae0d9f07ad6673363045a8c0341dfb78e088672
localhop scope rules are implemented as wouldViolateScope function;
the old violatesScope function is now deprecated.
Strategy::sendInterest overload without specific Interest packet is also
deprecated. BestRouteStrategy2 has switched to use the new overload.
refs #3841, #1756
Change-Id: Ic117f01926eadddf1da3ccb580b52a3903a70c89
This commit changes outgoing Interest pipeline and Strategy API,
to give strategies an opportunity to pick an outgoing Interest that
matches the Interest table entry.
No strategy is updated in this commit.
refs #1756
Change-Id: Iffad77ef0078c437070039fca6b24a85df13bda7
pit::Entry::canMatch is the single place to determine whether an Interest
matches an Interest table entry. This condition is asserted when an in/out-
record is inserted or updated. This prevents a strategy from incorrectly
picking an Interest that is incompatible with the Interest table entry.
refs #1756
Change-Id: Ibf61a0e2e32b7a0e04e581f01ef07b791c6010a2
The original motivation of this change was to avoid compilation failure
in debug mode on macOS 10.12.
Change-Id: I15437050555646b2458989f3788fce4c1e354e48
Refs: #3795
GeneralStatus dataset at /localhost/nfd/status prefix was deprecated
and is now removed.
refs #3379
Change-Id: I9ce8bba9b11823b6a1a159703cc9f8050656ab53
Don't assume that the local address of the client is the same as the remote
address seen by the server. The client may be behind a NAT, for example.
Change-Id: I2de084830c364e28c49de8fdbce60b46f76727ad
Refs: #3676
* use same underlying type for ParseMode and AvailableIn,
to avoid potential errors when converting between them
* simplify AvailableIn stream output operator with text::Separator
* allow CommandParser::addCommand to accept bitwise OR'ed modes
* qualify nfdc logging sources with 'nfdc.' prefix
refs #3780
Change-Id: I2eee3d562184daf27305c2d5f2892637b63421c2
These commands are added to nfdc:
status show
face list
channel list
strategy list
fib list
route list
They are implemented by calling into legacy nfd-status procedures,
and currently do not support filtering arguments.
Future commits will re-implement them directly with StatusReport.
refs #3749
Change-Id: I11f3f074966649c3732969ffa22f9b3938bb4bac
ndn-cxx logging facility and NFD logging both use Boost.Log.
When each of ndn-cxx and NFD adds a std::clog sink, messages are
appearing twice on OS X, resulting in scrambled log output.
This commit removes NFD's Boost.Log backend initialization and
let ndn-cxx logging facility initialize Boost.Log.
Change-Id: Ib25efe5c924d530424c275f9c8f168683f4ef039
Refs: #3761