fw: Add Random Forwarding Strategy
Implement a forwarding strategy that chooses a random outgoing face,
excluding the incoming face of an Interest packet.
Refs: #4992
Change-Id: I056cd0f05463f5f0742c6adcb32ec1df8ef7529b
diff --git a/tests/daemon/fw/strategy-instantiation.t.cpp b/tests/daemon/fw/strategy-instantiation.t.cpp
index f6ff4e2..705b3aa 100644
--- a/tests/daemon/fw/strategy-instantiation.t.cpp
+++ b/tests/daemon/fw/strategy-instantiation.t.cpp
@@ -35,6 +35,7 @@
#include "fw/multicast-strategy.hpp"
#include "fw/ncc-strategy.hpp"
#include "fw/self-learning-strategy.hpp"
+#include "fw/random-strategy.hpp"
#include "tests/test-common.hpp"
#include <boost/mpl/vector.hpp>
@@ -80,7 +81,8 @@
Test<BestRouteStrategy2, false, 5>,
Test<MulticastStrategy, false, 3>,
Test<NccStrategy, false, 1>,
- Test<SelfLearningStrategy, false, 1>
+ Test<SelfLearningStrategy, false, 1>,
+ Test<RandomStrategy, false, 1>
>;
BOOST_AUTO_TEST_CASE_TEMPLATE(Registration, T, Tests)