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