mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 09:35:11 +07:00
2a171788ba
Files removed in 'net-next' had their license header updated in 'net'. We take the remove from 'net-next'. Signed-off-by: David S. Miller <davem@davemloft.net>
35 lines
763 B
Python
35 lines
763 B
Python
"""
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
tdc_config.py - tdc user-specified values
|
|
|
|
Copyright (C) 2017 Lucas Bates <lucasb@mojatatu.com>
|
|
"""
|
|
|
|
# Dictionary containing all values that can be substituted in executable
|
|
# commands.
|
|
NAMES = {
|
|
# Substitute your own tc path here
|
|
'TC': '/sbin/tc',
|
|
# Name of veth devices to be created for the namespace
|
|
'DEV0': 'v0p0',
|
|
'DEV1': 'v0p1',
|
|
'DEV2': '',
|
|
'BATCH_FILE': './batch.txt',
|
|
# Name of the namespace to use
|
|
'NS': 'tcut'
|
|
}
|
|
|
|
|
|
ENVIR = { }
|
|
|
|
# put customizations in tdc_config_local.py
|
|
try:
|
|
from tdc_config_local import *
|
|
except ImportError as ie:
|
|
pass
|
|
|
|
try:
|
|
NAMES.update(EXTRA_NAMES)
|
|
except NameError as ne:
|
|
pass
|