Hello, I am trying to pass switch statistics to another component. The final goal is to be able to use the bandwidth and latency between two switches. I would like to use switchstats, which, as far as I understand delivers the functions closest to what I need.
I am however not sure how to add a port listener. I tried to have add_port_listener() in the install() function of my component, but it says it is not defined(i do import * from nox.netapps.switchstats .) I tried to use resolve(switchstats), no chance at that either. One error i got is the following: cannot import a Python module 'nox.coreapps.examples.stats': Traceback (most recent call last): File "./nox/coreapps/examples/stats.py", line 22, in <module> from nox.netapps.switchstats.switchstats import * File "./nox/netapps/switchstats/switchstats.py", line 27, in <module> from nox.netapps.switchstats.pycswitchstats import pycswitchstats File "./nox/netapps/switchstats/pycswitchstats.py", line 25, in <module> _pycswitchstats = swig_import_helper() File "./nox/netapps/switchstats/pycswitchstats.py", line 21, in swig_import_helper _mod = imp.load_module('_pycswitchstats', fp, pathname, description) ImportError: ./nox/netapps/switchstats/_pycswitchstats.so: undefined symbol: vigil::applications::CSwitchStats::get_loc_conn_p_s(unsigned long long) I would be very grateful if someone would point me in the right direction. I'm not too experienced in this kind of coding, i need to get something done soon, and i'm struggling, to be honest. Thank you in advance for your help and best regards, Walid van Boetzelaer
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev