def send_ip_addr_adv_notif(ns_name, iface_name, address, count=3, log_exception=True):
 def arping():
  _arping(ns_name, iface_name, address, count, log_exception)
 if ((count > 0) and (netaddr.IPAddress(address).version == 4)):
  eventlet.spawn_n(arping)

def send_ip_addr_adv_notif ( ns_name , iface_name , address , count = 3 , log_exception = True ) : def arping ( ) : _arping ( ns_name , iface_name , address , count , log_exception ) if ( ( count > 0 ) and ( netaddr . IPAddress ( address ) . version == 4 ) ) : eventlet . spawn_n ( arping )
send advance notification of an ip address assignment .