Here are a few I found while browsing the code. I don;t think there is a direct
way to find out( I would like to know if there is one..). If you pretty much
grep on the event handler name you can find out who posts them and how they are
handled.
-Ramesh
Datapath_join_event : Issued whenever a new switch is
detected on the network.
* Datapath_leave_event : Issued whenever a switch has left the network.
* Error_event : Issued when an error happens. The error type and code
are returned.
* Flow_expired_event : Flow expired events are thrown for each
openflow expiration message received by the controller. Expiration messages
are sent by the switches on flow timeout
* Flow_mod_event : Flow modification event are thrown when the flow is
modified on the switches for the controller to take some actions.
* Packet_in_event : Called for each new packet received by NOX. The
event includes the switch ID, the incoming port, and the packet buffer.
* Port_status_event : Indicates a change in port status. Contains the
current port state including whether it is disabled, speed, and the port name.
* Shutdown_event : Thrown by NOX prior to system Shutdown
* Bootstrap_complete_event : Thrown by NOX once the boot step is done
and NOX is up and running to receive packets and handle events.
* Flow_stats_in_event : Thrown by NOX in response to Flow stats Request
message. The event contains information on table id of the flow, priority,
number of packets and bytes in the flow and other flow parameters.
* Table_stats_in_event : Thrown by NOX in response to Table Stats
Request Message. The event contains information on the max number of entries in
the table, active entries, number of packets looked up in the table and the
number that matched etc.
* Port_stats_in_event : Sent in response to a Port_stats_request
message and includes the current counter values for a given port (such as
rx,tx, and errors).
* Aggregate_stats_in_event : Thrown by NOX in response to Aggregate
Stats Request message. The event contains information on the total flows and
the number of packets and bytes in aggregate.
* Desc_stats_in_event : Thrown by NOX in response to Flow Description
request message. The event contains information on manufacturer's description,
hardware description, software description and serial number fields.
* Switch_mgr_join_event : Issued when a new Switch manager is
registered.
* Switch_mgr_leave_event : Issued when the switch manager leaves
________________________________
From: [email protected] [mailto:[email protected]] On
Behalf Of Ashish Agarwal
Sent: Tuesday, February 23, 2010 5:21 PM
To: [email protected]
Subject: [nox-dev] list of events and their handlers
Is there any way to get a list of events provided by default in NOX, along with
a list of which components raise and handle them? Thank you.
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org