1 """ 2 # SPDX-License-Identifier: GPL-2.0 3 tdc_config.py - tdc user-specified values 4 5 Copyright (C) 2017 Lucas Bates <lucasb (at] mojatatu.com> 6 """ 7 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', 20 # Directory containing eBPF test programs 21 'EBPFDIR': './bpf' 22 } 23 24 25 ENVIR = { } 26 27 # put customizations in tdc_config_local.py 28 try: 29 from tdc_config_local import * 30 except ImportError as ie: 31 pass 32 33 try: 34 NAMES.update(EXTRA_NAMES) 35 except NameError as ne: 36 pass 37