Classes | Functions | Variables
multi_interface_roam::multi_interface_roam Namespace Reference

Classes

class  AlwaysSwitchSelectionStrategy
class  CommandWithOutput
class  ConfigureArp
class  ConfigureRpFilter
class  DhcpClient
class  DhcpInterface
class  KillServices
class  LinkBringupTimeMeasurementStrategy
class  LinkStabilityTimeMeasurementStrategy
class  LoggerStream
class  NetlinkMonitor
class  NetworkConnection
class  NetworkSelector
class  RoutingRules
class  RunCommand
class  SelectionStrategy
class  SimpleSelectionStrategy
class  StatGatherer
class  StaticRoute
class  System
class  WiredInterface
class  WirelessInterface
class  WpaSupplicant

Functions

def flushiprule
def log_time_string
def main
def safe_shutdown

Variables

tuple all_logger = logging.getLogger('')
tuple all_logger_formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
tuple all_logger_handler = logging.handlers.TimedRotatingFileHandler(os.path.join(logdir,'all.log'), when='midnight', backupCount=logfilecount)
int BLACKHOLE_BASESTATION_RULE = 175
int BLOCK_NON_TUNNEL_RULE = 250
tuple console_file_handler = logging.handlers.TimedRotatingFileHandler(os.path.join(logdir,'console-output.log'), when='midnight', backupCount=logfilecount)
tuple console_formatter = logging.Formatter('%(message)s')
tuple console_handler = logging.StreamHandler(sys.stdout)
tuple console_logger = logging.getLogger('console')
int DEFAULT_RULE = 200
tuple file_formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')
int FIRST_IFACE_RULE = 100
int LOCAL_RULE = 50
string logdir = '/var/log/roam'
int logfilecount = 10
int NOCHECK = 0
int NOIP = 1
int NOLINK = 2
tuple null_file = open('/dev/null')
dictionary STATUSES
tuple strategy_logger = logging.getLogger('console.strategy')
tuple strategy_str = LoggerStream(strategy_logger.info)
int TUNNEL_RULE = 150
int TUNNEL_RULE2 = 75

Function Documentation

def multi_interface_roam.multi_interface_roam.flushiprule (   rule_prio,
  leave_one = False 
)

Definition at line 120 of file multi_interface_roam.py.

Definition at line 117 of file multi_interface_roam.py.

def multi_interface_roam.multi_interface_roam.main (   config_file,
  strategy,
  supervisor_function = None 
)

Definition at line 1217 of file multi_interface_roam.py.

def multi_interface_roam.multi_interface_roam.safe_shutdown (   method,
  args,
  nargs 
)

Definition at line 132 of file multi_interface_roam.py.


Variable Documentation

Definition at line 105 of file multi_interface_roam.py.

tuple multi_interface_roam::multi_interface_roam::all_logger_formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')

Definition at line 107 of file multi_interface_roam.py.

tuple multi_interface_roam::multi_interface_roam::all_logger_handler = logging.handlers.TimedRotatingFileHandler(os.path.join(logdir,'all.log'), when='midnight', backupCount=logfilecount)

Definition at line 106 of file multi_interface_roam.py.

Definition at line 42 of file multi_interface_roam.py.

Definition at line 44 of file multi_interface_roam.py.

tuple multi_interface_roam::multi_interface_roam::console_file_handler = logging.handlers.TimedRotatingFileHandler(os.path.join(logdir,'console-output.log'), when='midnight', backupCount=logfilecount)

Definition at line 100 of file multi_interface_roam.py.

tuple multi_interface_roam::multi_interface_roam::console_formatter = logging.Formatter('%(message)s')

Definition at line 96 of file multi_interface_roam.py.

tuple multi_interface_roam::multi_interface_roam::console_handler = logging.StreamHandler(sys.stdout)

Definition at line 94 of file multi_interface_roam.py.

tuple multi_interface_roam::multi_interface_roam::console_logger = logging.getLogger('console')

Definition at line 89 of file multi_interface_roam.py.

Definition at line 43 of file multi_interface_roam.py.

tuple multi_interface_roam::multi_interface_roam::file_formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')

Definition at line 87 of file multi_interface_roam.py.

Definition at line 39 of file multi_interface_roam.py.

Definition at line 38 of file multi_interface_roam.py.

Definition at line 79 of file multi_interface_roam.py.

Definition at line 85 of file multi_interface_roam.py.

Definition at line 48 of file multi_interface_roam.py.

Definition at line 47 of file multi_interface_roam.py.

Definition at line 46 of file multi_interface_roam.py.

Definition at line 36 of file multi_interface_roam.py.

Initial value:
00001 { 
00002     NOLINK : "Establishing Link", 
00003     NOIP : "Getting an IP address", 
00004     NOCHECK : "Ready"
00005 }

Definition at line 50 of file multi_interface_roam.py.

tuple multi_interface_roam::multi_interface_roam::strategy_logger = logging.getLogger('console.strategy')

Definition at line 91 of file multi_interface_roam.py.

Definition at line 115 of file multi_interface_roam.py.

Definition at line 41 of file multi_interface_roam.py.

Definition at line 40 of file multi_interface_roam.py.



multi_interface_roam
Author(s): Blaise Gassend
autogenerated on Wed Sep 16 2015 04:38:27