• 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
13
14virt_type="vxlan"
15start_id=16700000
16
17TST_TESTFUNC=do_test
18. virt_lib.sh
19
20do_test()
21{
22	local mult_addr="239.1.1.1"
23	[ "$TST_IPV6" ] && mult_addr="ff02::abc"
24
25	virt_add_delete_test "id $start_id group $mult_addr"
26}
27
28tst_run
29