faucet.valve_util module¶
Utility functions for FAUCET.
-
faucet.valve_util.
get_logger
(logname, logfile, loglevel, propagate)[source]¶ Create and return a logger object.
-
faucet.valve_util.
get_setting
(name, path_eval=False)[source]¶ Returns value of specified configuration setting.
-
faucet.valve_util.
get_sys_prefix
()[source]¶ Returns an additional prefix for log and configuration files when used in a virtual environment
-
faucet.valve_util.
kill_on_exception
(logname)[source]¶ decorator to ensure functions will kill ryu when an unhandled exception occurs