lra-simple-panda: converted experiment to campaign
As we need hop chains to efficiently navigate to the injection point on pandaboard, this campaign uses these. As we do not yet have a component, which automatically navigates to a generic InjectionPoint (API needs to be properly designed), we do this explicitly. Change-Id: I26ca6ebb3f05cde735f9641551a8ce5478e463f6
This commit is contained in:
20
src/experiments/lra-simple-panda/main.cc
Normal file
20
src/experiments/lra-simple-panda/main.cc
Normal file
@ -0,0 +1,20 @@
|
||||
#include <iostream>
|
||||
#include <cstdlib>
|
||||
|
||||
#include "cpn/CampaignManager.hpp"
|
||||
#include "util/CommandLine.hpp"
|
||||
#include "campaign.hpp"
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
fail::CommandLine &cmd = fail::CommandLine::Inst();
|
||||
for (int i = 1; i < argc; ++i)
|
||||
cmd.add_args(argv[i]);
|
||||
|
||||
LraSimpleCampaign c;
|
||||
if (fail::campaignmanager.runCampaign(&c)) {
|
||||
return 0;
|
||||
} else {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user