I made some changes to the ns3 source code by adding in a few functions I needed and successfully built the code using ./build.py in the OpenNet/ns-allinone-3.22 directory.
I then also compiled the mininet code by executing ./install.sh -n in the OpenNet/mininet/util/ directory.
I am trying to access these ns3 functions I added through python wrappers in the ns3.py script. But when I set up the simulation I get the error
AttributeError: 'wifi.YansWifiPhy' object has no attribute 'MyNewlyAddedFunction'
Even though I have added this function as public and built the code.
Is there some other linking I need to do for the changes in ns3 source code to be accessible to me in ns3.py
I am actually not sure if this has anything to do with OpenNet or is a ns3 python bindings issue, So a link to some relevant information woudl also be appreciated.
Hi,
I made some changes to the ns3 source code by adding in a few functions I needed and successfully built the code using ./build.py in the OpenNet/ns-allinone-3.22 directory. I then also compiled the mininet code by executing ./install.sh -n in the OpenNet/mininet/util/ directory. I am trying to access these ns3 functions I added through python wrappers in the ns3.py script. But when I set up the simulation I get the error AttributeError: 'wifi.YansWifiPhy' object has no attribute 'MyNewlyAddedFunction' Even though I have added this function as public and built the code.
Is there some other linking I need to do for the changes in ns3 source code to be accessible to me in ns3.py
I am actually not sure if this has anything to do with OpenNet or is a ns3 python bindings issue, So a link to some relevant information woudl also be appreciated.
-Regards