Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / tools / testing / selftests / tc-testing / tdc_config.py
bloba023d0d62b25c5986a648ff5d8d68fc528252e49
1 """
2 # SPDX-License-Identifier: GPL-2.0
3 tdc_config.py - tdc user-specified values
5 Copyright (C) 2017 Lucas Bates <lucasb@mojatatu.com>
6 """
8 # Dictionary containing all values that can be substituted in executable
9 # commands.
10 NAMES = {
11 # Substitute your own tc path here
12 'TC': '/sbin/tc',
13 # Name of veth devices to be created for the namespace
14 'DEV0': 'v0p0',
15 'DEV1': 'v0p1',
16 'DEV2': '',
17 'BATCH_FILE': './batch.txt',
18 # Name of the namespace to use
19 'NS': 'tcut'
23 ENVIR = { }
25 # put customizations in tdc_config_local.py
26 try:
27 from tdc_config_local import *
28 except ImportError as ie:
29 pass
31 try:
32 NAMES.update(EXTRA_NAMES)
33 except NameError as ne:
34 pass