Many corrections to face/local-face/net-device-face/fib/pit. Now
interest packets actually go down to ccnx stack. Also, now it is
possible to manually configure FIB entries.
CcnxFib now is an object aggregated to the node
diff --git a/apps/ccnx-producer.cc b/apps/ccnx-producer.cc
index 43964b1..7e0757a 100644
--- a/apps/ccnx-producer.cc
+++ b/apps/ccnx-producer.cc
@@ -34,10 +34,11 @@
static TypeId tid = TypeId ("ns3::CcnxProducer")
.SetParent<Application> ()
.AddConstructor<CcnxProducer> ()
- .AddAttribute ("Face","Local face to be used",
- PointerValue (CreateObject<CcnxLocalFace> ()),
- MakePointerAccessor (&CcnxProducer::m_face),
- MakePointerChecker<CcnxLocalFace> ())
+ // Alex: this is incorrect. SetNode call is not called if face is created using this accessor
+ // .AddAttribute ("Face","Local face to be used",
+ // PointerValue (CreateObject<CcnxLocalFace> ()),
+ // MakePointerAccessor (&CcnxProducer::m_face),
+ // MakePointerChecker<CcnxLocalFace> ())
.AddAttribute ("Ccnx","Ccnx is needed to access ContentStore",
PointerValue (NULL),
MakePointerAccessor (&CcnxProducer::m_ccnx),