faucet.valves_manager module¶
Manage a collection of Valves.
-
class
faucet.valves_manager.ConfigWatcher[source]¶ Bases:
objectWatch config for file or content changes.
-
config_file= None¶
-
config_file_stats= None¶
-
config_hashes= None¶
-
-
class
faucet.valves_manager.ValvesManager(logname, logger, metrics, notifier, bgp, dot1x, config_auto_revert, send_flows_to_dp_by_id)[source]¶ Bases:
objectManage a collection of Valves.
-
maintain_stack_root(now)[source]¶ Maintain current stack root and return True if stack root changes.
-
request_reload_configs(now, new_config_file, delete_dp=None)[source]¶ Process a request to load config changes.
-
update_config_applied(sent=None, reset=False)[source]¶ Update faucet_config_applied from {dpid: sent} dict, defining applied == sent == enqueued via Ryu
-
valve_flow_services(now, valve_service)[source]¶ Call a method on all Valves and send any resulting flows.
-
valves= None¶
-