rib: Verify face before route registration

refs: #1811

Change-Id: If99f59734b29a46eca4f6139d35361a8563a9010
diff --git a/rib/rib-manager.hpp b/rib/rib-manager.hpp
index a19d211..c31256e 100644
--- a/rib/rib-manager.hpp
+++ b/rib/rib-manager.hpp
@@ -202,6 +202,18 @@
   void
   listEntries(const Interest& request);
 
+  void
+  fetchActiveFaces();
+
+  void
+  fetchSegments(const Data& data, shared_ptr<ndn::OBufferStream> buffer);
+
+  void
+  updateActiveFaces(shared_ptr<ndn::OBufferStream> buffer);
+
+  void
+  onFetchFaceStatusTimeout();
+
 private:
   Rib m_managedRib;
   ndn::Face& m_face;
@@ -263,6 +275,11 @@
 
   static const Name LIST_COMMAND_PREFIX;
   static const size_t LIST_COMMAND_NCOMPS;
+
+  static const Name FACES_LIST_DATASET_PREFIX;
+
+PUBLIC_WITH_TESTS_ELSE_PRIVATE:
+  std::set<int> activeFaces;
 };
 
 } // namespace rib