[ndnSIM] face: Enable metric parameter on a face

Change-Id: I1de7298835af1fb329e356cbe74c3ac29fc53cea
diff --git a/daemon/face/face.cpp b/daemon/face/face.cpp
index 69d32c1..250a4b7 100644
--- a/daemon/face/face.cpp
+++ b/daemon/face/face.cpp
@@ -37,6 +37,7 @@
   , m_service(std::move(service))
   , m_transport(std::move(transport))
   , m_counters(m_service->getCounters(), m_transport->getCounters())
+  , m_metric(0)
 {
   m_service->setFaceAndTransport(*this, *m_transport);
   m_transport->setFaceAndLinkService(*this, *m_service);
diff --git a/daemon/face/face.hpp b/daemon/face/face.hpp
index 5486a43..1a69cb5 100644
--- a/daemon/face/face.hpp
+++ b/daemon/face/face.hpp
@@ -119,6 +119,12 @@
   void
   setId(FaceId id);
 
+  void
+  setMetric(uint64_t metric);
+
+  uint64_t
+  getMetric() const;
+
   /** \return a FaceUri representing local endpoint
    */
   FaceUri
@@ -186,6 +192,7 @@
   unique_ptr<LinkService> m_service;
   unique_ptr<Transport> m_transport;
   FaceCounters m_counters;
+  uint64_t m_metric;
 };
 
 inline LinkService*
@@ -230,6 +237,18 @@
   m_id = id;
 }
 
+inline void
+Face::setMetric(uint64_t metric)
+{
+  m_metric = metric;
+}
+
+inline uint64_t
+Face::getMetric() const
+{
+  return m_metric;
+}
+
 inline FaceUri
 Face::getLocalUri() const
 {