macvlan01.sh 476 B

12345678910111213141516
  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 and then delete macvlan
  8. # interface multiple times.
  9. virt_type="macvlan"
  10. TST_TEST_DATA="mode private,mode vepa,mode bridge,mode passthru"
  11. TST_TEST_DATA_IFS=","
  12. TST_TESTFUNC=virt_test_02
  13. . virt_lib.sh
  14. tst_run