Auto failover transition script for wan load balancing on EdgeOS