1#!/bin/sh 2# SPDX-License-Identifier: GPL-2.0-or-later 3# Copyright (c) 2018 Petr Vorel <pvorel@suse.cz> 4# Copyright (c) 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 multiple VLAN interfaces. 8 9p0="protocol 802.1Q" 10p1="protocol 802.1ad" 11lb0="loose_binding off" 12lb1="loose_binding on" 13rh0="reorder_hdr off" 14rh1="reorder_hdr on" 15 16virt_type="vlan" 17 18TST_TEST_DATA=",$p0 $lb0 $rh0,$p0 $lb0 $rh1,$p0 $lb1 $rh0,$p0 $lb1 $rh1,\ 19$p1 $lb0 $rh0,$p1 $lb0 $rh1,$p1 $lb1 $rh0,$p1 $lb1 $rh1" 20TST_TEST_DATA_IFS="," 21TST_TESTFUNC=virt_test_01 22. virt_lib.sh 23 24tst_run 25