xref: /aosp_15_r20/external/ltp/testcases/network/virt/vxlan01.sh (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker#!/bin/sh
2*49cdfc7eSAndroid Build Coastguard Worker# SPDX-License-Identifier: GPL-2.0-or-later
3*49cdfc7eSAndroid Build Coastguard Worker# Copyright (c) 2018 Petr Vorel <[email protected]>
4*49cdfc7eSAndroid Build Coastguard Worker# Copyright (c) 2014-2015 Oracle and/or its affiliates. All Rights Reserved.
5*49cdfc7eSAndroid Build Coastguard Worker# Author: Alexey Kodanev <[email protected]>
6*49cdfc7eSAndroid Build Coastguard Worker#
7*49cdfc7eSAndroid Build Coastguard Worker# Local test, check if we can create multiple VXLAN interfaces.
8*49cdfc7eSAndroid Build Coastguard Worker
9*49cdfc7eSAndroid Build Coastguard WorkerTST_OPTS="hi:d:"
10*49cdfc7eSAndroid Build Coastguard WorkerTST_PARSE_ARGS=virt_lib_parse_args
11*49cdfc7eSAndroid Build Coastguard WorkerTST_USAGE=virt_lib_usage
12*49cdfc7eSAndroid Build Coastguard WorkerTST_TEST_DATA="l2miss l3miss,norsc nolearning noproxy,\
13*49cdfc7eSAndroid Build Coastguard Workerttl 0x01 tos 0x01,ttl 0xff tos 0xff,gbp"
14*49cdfc7eSAndroid Build Coastguard WorkerTST_TEST_DATA_IFS=","
15*49cdfc7eSAndroid Build Coastguard WorkerTST_TESTFUNC=virt_test_01
16*49cdfc7eSAndroid Build Coastguard Worker
17*49cdfc7eSAndroid Build Coastguard Workervirt_type="vxlan"
18*49cdfc7eSAndroid Build Coastguard Workerstart_id=16700000
19*49cdfc7eSAndroid Build Coastguard Worker
20*49cdfc7eSAndroid Build Coastguard Worker. virt_lib.sh
21*49cdfc7eSAndroid Build Coastguard Workertst_run
22