model+apps+utils+examples+ci+docs: Update code for changes in ns-2.23
- Replace removed RandomVariable with RandomVariableStream
- Replace deprecated usages of AddTraceSource
- Update changed LogComponent interface
ci: This commit also integrates a script for Jenkins and Travis CI to
clone NS-3 and pybindgen repositories, so the code can be built.
docs: Update to reflect new home of ndnSIM and related sources
Change-Id: Ic14e1269bf15366b0041fd670c577053b6704dc7
Refs: #3122, #3123
diff --git a/apps/ndn-app.cpp b/apps/ndn-app.cpp
index fdeb4e7..802f697 100644
--- a/apps/ndn-app.cpp
+++ b/apps/ndn-app.cpp
@@ -41,16 +41,20 @@
.AddConstructor<App>()
.AddTraceSource("ReceivedInterests", "ReceivedInterests",
- MakeTraceSourceAccessor(&App::m_receivedInterests))
+ MakeTraceSourceAccessor(&App::m_receivedInterests),
+ "ns3::ndn::App::InterestTraceCallback")
.AddTraceSource("ReceivedDatas", "ReceivedDatas",
- MakeTraceSourceAccessor(&App::m_receivedDatas))
+ MakeTraceSourceAccessor(&App::m_receivedDatas),
+ "ns3::ndn::App::DataTraceCallback")
.AddTraceSource("TransmittedInterests", "TransmittedInterests",
- MakeTraceSourceAccessor(&App::m_transmittedInterests))
+ MakeTraceSourceAccessor(&App::m_transmittedInterests),
+ "ns3::ndn::App::InterestTraceCallback")
.AddTraceSource("TransmittedDatas", "TransmittedDatas",
- MakeTraceSourceAccessor(&App::m_transmittedDatas));
+ MakeTraceSourceAccessor(&App::m_transmittedDatas),
+ "ns3::ndn::App::DataTraceCallback");
return tid;
}