35 #include <ndn-cxx/security/validator-null.hpp>
45 report.
sections.push_back(make_unique<ForwarderGeneralModule>());
49 report.
sections.push_back(make_unique<ChannelModule>());
53 report.
sections.push_back(make_unique<FaceModule>());
57 report.
sections.push_back(make_unique<FibModule>());
61 report.
sections.push_back(make_unique<RibModule>());
65 report.
sections.push_back(make_unique<CsModule>());
69 report.
sections.push_back(make_unique<StrategyChoiceModule>());
73 ndn::security::getAcceptAllValidator(),
82 ctx.
err <<
"Error while collecting status report (" << code <<
").\n";
101 options.*wantSection =
true;
122 .
setTitle(
"print full status report")
131 parser.
addAlias(
"status",
"show",
"");
138 parser.
addAlias(
"channel",
"list",
"");
Context for command execution.
std::ostream & out
output stream
const CommandArguments & args
int exitCode
program exit code
std::ostream & err
error stream