Hi,
I am trying to use the method :
self.bindings.get_names_by_ap(self.datapathid(111111111111),2,self.topology_call_back)
Since it needs a datapathid i tried both the constructor datapathid()
and the method create_datapathid_from_host(uint64_t id) given by the
"netinet" lib, however eventhough i imported this lib it seems that it
is not being recognized and I get the folowing error:
00069|reactor|ERR:Unhandled Error
Traceback (most recent call last):
--- <exception caught here> ---
File "./nox/coreapps/pyrt/pyoxidereactor.py", line 86, in __call__
self.func(*self.args, **self.kw);
File "./nox/coreapps/try_topology/try_topology.py", line 48, in
call_back
self.debugPrint(self.bindings.get_names_by_ap(self.datapathid(111111111111),2,self.topology_call_back))
exceptions.AttributeError: try_topology instance has no attribute
'datapathid'
My second question is in the following method: def
get_entities_by_name(self,name, name_type, cb), what are the values that
can be taken by name and name_type, in the nox spec (under
nox/src/nox/apps/bindings_storage/bs_datastructures.i) "name_type" can
be for example : HOST,SWITCH etc. but using one of them I get the error
that those values are not defined.
Any help would be very appreciated.
Thanks a lot,
Karim
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev