complete code for slave_ip_failover4dp