xref: /third_party/ltp/testcases/network/virt/vlan01.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/testcases/network/virt/
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) 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 multiple VLAN interfaces.
8f08c3bdfSopenharmony_ci
9f08c3bdfSopenharmony_cip0="protocol 802.1Q"
10f08c3bdfSopenharmony_cip1="protocol 802.1ad"
11f08c3bdfSopenharmony_cilb0="loose_binding off"
12f08c3bdfSopenharmony_cilb1="loose_binding on"
13f08c3bdfSopenharmony_cirh0="reorder_hdr off"
14f08c3bdfSopenharmony_cirh1="reorder_hdr on"
15f08c3bdfSopenharmony_ci
16f08c3bdfSopenharmony_civirt_type="vlan"
17f08c3bdfSopenharmony_ci
18f08c3bdfSopenharmony_ciTST_TEST_DATA=",$p0 $lb0 $rh0,$p0 $lb0 $rh1,$p0 $lb1 $rh0,$p0 $lb1 $rh1,\
19f08c3bdfSopenharmony_ci$p1 $lb0 $rh0,$p1 $lb0 $rh1,$p1 $lb1 $rh0,$p1 $lb1 $rh1"
20f08c3bdfSopenharmony_ciTST_TEST_DATA_IFS=","
21f08c3bdfSopenharmony_ciTST_TESTFUNC=virt_test_01
22f08c3bdfSopenharmony_ci
23f08c3bdfSopenharmony_ci. virt_lib.sh
24f08c3bdfSopenharmony_citst_run
25

Indexes created Thu Nov 07 10:32:03 CST 2024