def srcroute_enable(rt_table, ipaddr):
 run(settings.ip, 'rule', 'add', 'from', ipaddr, 'table', rt_table)
 run(settings.ip, 'route', 'flush', 'cache')

def srcroute_enable ( rt_table , ipaddr ) : run ( settings . ip , 'rule' , 'add' , 'from' , ipaddr , 'table' , rt_table ) run ( settings . ip , 'route' , 'flush' , 'cache' )
enable routing policy for specified source ip address .