daemon: added option API TLVs so that per-interface parameters are kept for EMANE models when a single node has multiple interfaces of the same EMANE model type but different model parameters
This commit is contained in:
parent
46cd65c821
commit
68532cb818
2 changed files with 8 additions and 11 deletions
|
@ -11,6 +11,8 @@ vnet.py: PyCoreNet and LxBrNet classes that implement virtual networks using
|
|||
Linux Ethernet bridging and ebtables rules.
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
||||
import os, sys, threading, time, subprocess
|
||||
|
||||
from core.api import coreapi
|
||||
|
@ -345,6 +347,10 @@ class LxBrNet(PyCoreNet):
|
|||
''' Configure link parameters by applying tc queuing disciplines on the
|
||||
interface.
|
||||
'''
|
||||
|
||||
sys.stderr.write("enter linkconfig() ...\n")
|
||||
traceback.print_stack()
|
||||
|
||||
if devname is None:
|
||||
devname = netif.localname
|
||||
tc = [TC_BIN, "qdisc", "replace", "dev", devname]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue