mgmt: improved interest filter matching and bug fixes
tests/mgmt: added test fixtures to simplify unit testing
Added control response Data signing
Fixed control response payload parsing
Simplified fib-manager unit test assumptions
Expanded internal-face unit tests
refs: #1138
Change-Id: Ibe5d95ab9c42f890c0691c9040e4ae792e598974
diff --git a/daemon/mgmt/fib-manager.hpp b/daemon/mgmt/fib-manager.hpp
index 59a242b..a0de2fc 100644
--- a/daemon/mgmt/fib-manager.hpp
+++ b/daemon/mgmt/fib-manager.hpp
@@ -9,13 +9,12 @@
#include "common.hpp"
#include "face/face.hpp"
+#include "mgmt/app-face.hpp"
+#include "fw/strategy.hpp"
#include "mgmt/manager-base.hpp"
namespace nfd {
-class AppFace;
-class Face;
-class Strategy;
class Forwarder;
class Fib;
@@ -30,9 +29,6 @@
void
onFibRequest(const Interest& request);
- const Name&
- getRequestPrefix() const { return FIB_MANAGER_REQUEST_PREFIX; }
-
private:
void
@@ -57,7 +53,7 @@
Fib& m_managedFib;
function<shared_ptr<Face>(FaceId)> m_getFace;
- std::map<Name, shared_ptr<Strategy> > m_namespaceToStrategyMap;
+ std::map<Name, shared_ptr<fw::Strategy> > m_namespaceToStrategyMap;