aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/strategy_dpo_manager.c
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-05-03 15:11:28 +0200
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-05-07 14:35:59 +0200
commit3ba9071c6899d64b36e910943f109ddc7c7e0809 (patch)
treedbfe4c6f2b10c4b7c824cc8b4c6d4003ba5422b3 /hicn-plugin/src/strategy_dpo_manager.c
parentcd48bbd9685f042a2f1f90678f8fa98a5175ea4d (diff)
[HICN-181] Added round robin strategy
Change-Id: I301ffaeed6f43b7db6701810167f02947439d20c Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'hicn-plugin/src/strategy_dpo_manager.c')
-rw-r--r--hicn-plugin/src/strategy_dpo_manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hicn-plugin/src/strategy_dpo_manager.c b/hicn-plugin/src/strategy_dpo_manager.c
index c1723eccc..470d8d185 100644
--- a/hicn-plugin/src/strategy_dpo_manager.c
+++ b/hicn-plugin/src/strategy_dpo_manager.c
@@ -17,6 +17,7 @@
#include "strategy_dpo_manager.h"
#include "strategies/dpo_mw.h"
+#include "strategies/dpo_rr.h"
#include "strategy.h"
#include "faces/face.h"
@@ -94,6 +95,7 @@ void
hicn_dpos_init (void)
{
hicn_dpo_strategy_mw_module_init ();
+ hicn_dpo_strategy_rr_module_init ();
default_dpo.hicn_dpo_get_ctx = &hicn_strategy_mw_ctx_get;
default_dpo.hicn_dpo_is_type = &hicn_dpo_is_type_strategy_mw;