Hi Tommaso,i applied the Flowmonitor-related patches:
However, when i build ns-3.19, i have this error:src/flow-monitor/bindings/ns3module.cc: In function ‘PyObject* _wrap_PyNs3FlowMonitor_SetFlowClassifier(PyNs3FlowMonitor*, PyObject*, PyObject*)’:src/flow-monitor/bindings/ns3module.cc:2372:16: error: ‘class ns3::FlowMonitor’ has no member named ‘SetFlowClassifier’although i removed the member named "SetFlowClassifier" as it is mentioned in the patches.So,i edited the "modulegen__gcc_ILP32.py" file and i changed the line:## flow-monitor.h (module 'flow-monitor'): void ns3::FlowMonitor::SetFlowClassifier(ns3::Ptr<ns3::FlowClassifier> classifier) [member function]cls.add_method('SetFlowClassifier','void',[param('ns3::Ptr< ns3::FlowClassifier >', 'classifier')])by## flow-monitor.h (module 'flow-monitor'): void ns3::FlowMonitor::AddFlowClassifier(ns3::Ptr<ns3::FlowClassifier> classifier) [member function]cls.add_method('AddFlowClassifier','void',[param('ns3::Ptr< ns3::FlowClassifier >', 'classifier')])During the build, it seems that everything works and the build was successfully completed!Now, i would like to test if the flow monitor supports ipv6, so do you by chance have an example to test it?
Thank you.
--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/rvzMCHfr6Ds/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/groups/opt_out.
Ptr<Ipv6FlowClassifier> classifier = DynamicCast<Ipv6FlowClassifier> (flowmon.GetClassifier6 ());
For more options, visit https://groups.google.com/d/optout.
1817: IPv4 Identification field should be set to zero for all datagrams but fragments.
https://www.nsnam.org/bugzilla/show_bug.cgi?id=1817
1808: FlowMon relies on IPv4's Identification field to trace packets
https://www.nsnam.org/bugzilla/show_bug.cgi?id=1808
1818: FlowMonitor needs IPv6 support
https://www.nsnam.org/bugzilla/show_bug.cgi?id=1818
1819: FlowMonitor might cause the simulation to run forever
https://www.nsnam.org/bugzilla/show_bug.cgi?id=1819
Best regards,
A.B.
" Build failed
-> task in 'pybindgen(ns3 module antenna)' failed (exit status 1):
{task 164314156: command_task ns3modulegen-modular.py,modulegen__gcc_ILP32.py -> ns3module.cc,ns3module.h,ns3modulegen.log}
''
May i know what is the problem has cause this error come out? and how to fix it?
regards,
Agnes
--disable-python is to be used with configure.
./waf clean
./waf configure --disable-python (add other options if you want)
./waf
Cheers,
T.
Hi T,
I have a question here.... i have tried to build for so many times..
But there is still have an error, the "ipv6-flow-classifier.h" cannot be detected.
Perhaps, i had save "ipv6-flow-classifier.h" in src/flow-monitor/model/ipv6-flow-classifier.h along with the iov6-flow-classifier.cc