faucet.valve_ryuapp module
OSKenApp base class for FAUCET/Gauge.
- class faucet.valve_ryuapp.EventReconfigure[source]
Bases:
EventBase
Event sent to controller to cause config reload.
- class faucet.valve_ryuapp.OSKenAppBase(*args, **kwargs)[source]
Bases:
OSKenApp
OSKenApp base class for FAUCET/Gauge.
- OFP_VERSIONS = [4]
A list of supported OpenFlow versions for this OSKenApp. The default is all versions supported by the framework.
Examples:
OFP_VERSIONS = [ofproto_v1_0.OFP_VERSION, ofproto_v1_2.OFP_VERSION]
If multiple OSKen applications are loaded in the system, the intersection of their OFP_VERSIONS is used.
- connect_or_disconnect_handler(ryu_event)[source]
Handle connection or disconnection of a datapath.
- Parameters:
ryu_event (ryu.controller.dpset.EventDP) – trigger.
- exc_logname = ''
- logname = ''