faucet.faucet_bgp module

BGP implementation for FAUCET.

class faucet.faucet_bgp.BgpSpeakerKey(dp_id, vlan_vid, ipv)[source]

Bases: object

Uniquely describe a BGP speaker.

class faucet.faucet_bgp.FaucetBgp(logger, exc_logname, metrics, send_flow_msgs)[source]

Bases: object

Wrapper for Ryu BGP speaker.

exc_logname = None
reset(valves)[source]

Set up a BGP speaker for every VLAN that requires it.

shutdown_bgp_speakers()[source]

Shutdown any active BGP speakers.

update_metrics(_now)[source]

Update BGP metrics.