Source code for faucet.valve_manager_base

"""Valve Manager base class"""

# pylint: disable=R0201
# pylint: disable=W0613
[docs]class ValveManagerBase: # pylint: disable=too-few-public-methods """Base class for ValveManager objects. Expected to control the installation of flows into datapath tables. Ideally each datapath table should be controlled by 1 manager only."""
[docs] def initialise_tables(self): '''initialise tables controlled by this manager''' return []
[docs] def add_vlan(self, vlan): """install flows in response to a new vlan""" return []