faucet.valve_manager_base module

Valve Manager base class

class faucet.valve_manager_base.ValveManagerBase[source]

Bases: object

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.

add_port(port)[source]

install flows in response to a new port

add_vlan(vlan)[source]

install flows in response to a new vlan

del_port(port)[source]

delete flows in response to a port removal

del_vlan(vlan)[source]

delete flows in response to a vlan removal

initialise_tables()[source]

initialise tables controlled by this manager