faucet.valve_lldp module

Manage LLDP.

class faucet.valve_lldp.ValveLLDPManager(vlan_table, highest_priority, logger, notify, inc_var, set_var, set_port_var, stack_manager)[source]

Bases: faucet.valve_manager_base.ValveManagerBase

Manage LLDP.

add_port(port)[source]

install flows in response to a new port

Update the stack link states of the set of provided stack ports

Parameters
  • ports (list) – List of stack ports to update the state of

  • now (float) – Current time

  • valve (Valve) – Valve that owns this LLDPManager instance

  • other_valves (list) – List of other valves

Returns

ofmsgs by valve

Return type

dict