faucet.meter module

Configure meters.

class faucet.meter.Meter(_id, dp_id, conf)[source]

Bases: Conf

Implement FAUCET configuration for an OpenFlow meter.

check_config()[source]

Check config at instantiation time for errors, typically via assert.

defaults: dict = {'entry': None, 'meter_id': None}
defaults_types: dict = {'entry': <class 'dict'>, 'meter_id': <class 'int'>}
entry = None
entry_msg = None
meter_id = None