1f08c3bdfSopenharmony_ci#!/bin/sh 2f08c3bdfSopenharmony_ci# SPDX-License-Identifier: GPL-2.0-or-later 3f08c3bdfSopenharmony_ci# Copyright (c) 2018 Petr Vorel <pvorel@suse.cz> 4f08c3bdfSopenharmony_ci# Copyright (c) 2014-2015 Oracle and/or its affiliates. All Rights Reserved. 5f08c3bdfSopenharmony_ci# Author: Alexey Kodanev <alexey.kodanev@oracle.com> 6f08c3bdfSopenharmony_ci# 7f08c3bdfSopenharmony_ci# Local test, check if we can create and then delete VXLAN 8f08c3bdfSopenharmony_ci# interface 5000 times. 9f08c3bdfSopenharmony_ci 10f08c3bdfSopenharmony_ciTST_OPTS="hi:d:" 11f08c3bdfSopenharmony_ciTST_PARSE_ARGS=virt_lib_parse_args 12f08c3bdfSopenharmony_ciTST_USAGE=virt_lib_usage 13f08c3bdfSopenharmony_ciTST_TESTFUNC=do_test 14f08c3bdfSopenharmony_ci 15f08c3bdfSopenharmony_civirt_type="vxlan" 16f08c3bdfSopenharmony_cistart_id=16700000 17f08c3bdfSopenharmony_ci 18f08c3bdfSopenharmony_cido_test() 19f08c3bdfSopenharmony_ci{ 20f08c3bdfSopenharmony_ci local mult_addr="239.1.1.1" 21f08c3bdfSopenharmony_ci [ "$TST_IPV6" ] && mult_addr="ff02::abc" 22f08c3bdfSopenharmony_ci 23f08c3bdfSopenharmony_ci virt_add_delete_test "id $start_id group $mult_addr" 24f08c3bdfSopenharmony_ci} 25f08c3bdfSopenharmony_ci 26f08c3bdfSopenharmony_ci. virt_lib.sh 27f08c3bdfSopenharmony_citst_run 28