mgmt: Initial fib manager with support for fib/add-nexthop
fw: Added FaceId to Face conversion method
Linked InternalFace's sendInterest to FibManager's
onFibRequest
refs: #1138
Change-Id: I0b18f2d41c9ba9d8749c586e3553b51a1e8b1269
diff --git a/daemon/mgmt/internal-face.hpp b/daemon/mgmt/internal-face.hpp
index 7798143..4b16cc1 100644
--- a/daemon/mgmt/internal-face.hpp
+++ b/daemon/mgmt/internal-face.hpp
@@ -12,11 +12,14 @@
namespace nfd {
+class FibManager;
+
class InternalFace : public Face, public AppFace
{
public:
- InternalFace();
+ explicit
+ InternalFace(FibManager& manager);
// Overridden Face methods for forwarder
@@ -44,6 +47,7 @@
// onConfig(ConfigFile::Node section, bool isDryRun);
std::map<Name, OnInterest> m_interestFilters;
+ FibManager& m_fibManager; // for mock only
};