Load balancing controller flowmonitor does not capture Rx packets sent by virtual server

86 views
Skip to first unread message

faraz Mir

unread,
Apr 18, 2020, 2:06:37 AM4/18/20
to ns-3-users
Hi everybody
I am trying to create a load balancing application as my MSc project using openflow libraries in NS3. I have modified the qos controller example in ofswitch13 library. so far i have been able to distribute to packets among four servers evenly. But the problem I am facing is that collecting statistics for further calculation is not possible due to the fact that all the packets sent form the virtual server installed by the qos controller having ip address 10.1.1.1 are not recorded by the flowmonitor.
I am sending all the files for anyone who might help.
Thanks in advance
Faraz mir
main.cc
qos-controller.cc
qos-controller.h
Message has been deleted

Saurabh Maurya

unread,
Nov 23, 2021, 1:28:57 AM11/23/21
to ns-3-users
Hello , I'm using your file , simple put in scratch and run main.cc with the help of ./waf  , but face some error like-

scratch/main.cc.30.o: In function `ns3::Ptr<QosController> ns3::CreateObject<QosController>()':
/home/sdn/NS3/ns-3-allinone/ns-3-dev/build/./ns3/object.h:530: undefined reference to `QosController::QosController()'
scratch/main.cc.30.o: In function `ns3::Ptr<QosController> ns3::CompleteConstruct<QosController>(QosController*)':
/home/sdn/NS3/ns-3-allinone/ns-3-dev/build/./ns3/object.h:512: undefined reference to `QosController::GetTypeId()'
collect2: error: ld returned 1 exit status


Saurabh Maurya

unread,
Nov 23, 2021, 1:29:26 AM11/23/21
to ns-3-users
How can i solve it ?
Reply all
Reply to author
Forward
0 new messages