def METHOD_NAME():
    """
    Ping test for nic option.
    """
    package_sizes = params.objects("ping_sizes")
    guest_ip = vm.get_address()
    for size in package_sizes:
        error_context.context("From host ping to '%s' with guest '%s'"
                              " with package size %s. " %
                              (vm.name, guest_ip, size), test.log.info)
        status, output = utils_net.ping(guest_ip, count=10, packetsize=size, timeout=30)
        if status != 0:
            test.fail("host ping %s unexpected, output %s" % (guest_ip, output))