Hi Rohit,
I think you may be running into a circular dependency issue, which NOX
doesn't currently handle gracefully. 'authenticator' depends on
'routing_module', and I'm assuming for your change you added
'authenticator' as a dependency of 'routing'_module'. Probably the
easiest thing to do would be to try to rework your changes into
another component that can depend on authenticator without creating
this kind of loop. Let me know if this would be difficult given your
changes.
On another note, here is the low-down on the host events:
Host_auth_event - posted when a host has authenticated appropriately
on the network. Can be posted by any component, and is currently
posted by authenticator on "default" authentications.
Host_join_event - posted by authenticator when a host becomes either
active or inactive on the network. This is probably the event you
want to be listening for.
Host_bind_event - posted by authenticator when an address becomes
active or inactive for a given host. i.e. an ip host when becoming
active on the network would have three events posted for it: 1 host
join event, 1 bind event for its mac address, and 1 bind event for its
IP address.
Hope that clears things up,
Natasha
On Oct 27, 2009, at 10:53 PM, Rohit wrote:
Hi,
I am trying to create a snapshot of the topology in the latest full
version of the nox controller. As a part of the process, I am
assuming, and correct me If I am wrong, host_auth_event should tell
me when a new host joins the network. (There are a bunch of other
host events as well)
Nevertheless, Irrespective of the functionality of host_auth_event,
I am getting the following error when nox is run. (the compilation
goes fine). I registered a handler in router.cc for this event,
also authenticator has been added as a dependency.
routing:
Current state: NOT_INSTALLED
Required state: INSTALLED
Dependencies: 'routing_module' not installed,
'authenticator' not found, 'configuration' not found
routing_module:
Current state: ERR
00191|nox|ERR:Cannot change the state of 'routing' to INSTALLED:
'routing' has an unmet dependency:
'routing_module' ran into an error:
Event 'Host_auth_event'doesn't exist.
Any ideas?
Thanks
Rohit
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org