This commit also contains a quick fix in LpReliability to avoid
ndn::lp::Packet::wireEncode(EncodingEstimator&).
refs #3940, #4156
Change-Id: Ice8e3649be21dd023ed1f6562c185f9e6721e45e
This commit also simplifies 'nfdc face destroy' and its test case.
'nfdc register' is deprecated in favor of 'nfdc route add'.
refs #3866
Change-Id: I1de5cc0bc956d57b0793da920c1e87b3580a3297
They are deprecated in favor of nfdc face create and nfdc face destroy.
There is also a minor correction to nfdc-face man page.
refs #3864
Change-Id: I038bc604304ac5650101ee2afe30753e59061632
1. enable changing persistency in faces/update command
2. reject faces/create request if the face already exists
3. nfdc changes to support the above
Change-Id: I659906da846608a42a768f08fb110ceee1a947a7
refs: #3232
NFD faces/create command response does not contain a Uri field,
so nfdc face create output should not try to obtain canonical
remote FaceUri from the command response.
refs #3864
Change-Id: Idae4552e0e197257ea1277e12e20fe565a8562c6
When multiple ItemAttributes::operator() invocations appear on the same
expression, they are not always evaluated left-to-right, causing incorrect
text output.
refs #3864
Change-Id: I4c99c5bc4a76b4becf83f368c9f253c0b254fc05
Moving exit code to the context allows error handling routines to
rely only on the context.
Moving stdout and stderr streams to the context allows mocking in
unit tests, and allows sending output to a buffer for pre-processing
when we implement interactive mode.
refs #3864
Change-Id: Ibf59c12405d0eaca0597835cb2e30125b7f70adb
* 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
nfd-status functionality is accessible through `nfdc legacy-nfd-status` subcommand,
and nfd-status is replaced with a shell script calling this subcommand.
refs #3749
Change-Id: Iab03f3bc9ddb4333a0b6ca5fb9c67f54e9960ab4