Friday, November 21, 2014

Syntax and parameters of different OpenFlow library functions

The core function of OpenFlow is implemented in /opt/openflow-main/nox/src/nox/lib.

The core.py contains following important functions:

register_for_port_status(self, handler):
register_for_datapath_leave(self, handler):
register_for_flow_stats_in(self, handler):
register_for_aggregate_stats_in(self, handler):
register_for_port_stats_in(self, handler):
register_for_table_stats_in(self, handler):
register_for_datapath_join(self, handler):
register_for_flow_mod(self, handler):
register_for_flow_removed(self, handler):
register_for_packet_in(self, handler):

The file describes the syntax to be followed while declaring a handler function.

No comments:

Post a Comment