def start_ping(user = None, target = None, threadlock = None):
	"""
		Web UI calls start_ping()
		return
			(True, str)
			(False, list)
	"""
	if target is None:
		return (False, ["invalid target"])
	if ml_check.validate_ipv4(target):
		e = ml_func.sudo(["ping -W 3 -c 10", target], block=True)
	elif ml_check.validate_ipv6(target):
		e = ml_func.sudo(["ping6 -W 3 -c 10", target], block=True)
	else:
		return (False, ["invalid target"])
	return e
	def test_validate_ipv6_b02(self):
		""" validate_ipv6_b02 """
		self.maxDiff = None
		self.assertFalse(ml_check.validate_ipv6("x:y:z"))
	def test_validate_ipv6_g01(self):
		""" validate_ipv6_g01 """
		self.maxDiff = None
		self.assertTrue(ml_check.validate_ipv6("2001::1"))