migration komaz->odlyd
This commit is contained in:
parent
752f84ca35
commit
5f9ee2e593
4 changed files with 11 additions and 2 deletions
|
@ -18,6 +18,7 @@ hostname = socket.gethostname()
|
|||
#: Associe à un ``hostname`` la classe du pare-feu correspondant
|
||||
firewall = {
|
||||
'komaz' : komaz.firewall,
|
||||
'odlyd' : komaz.firewall,
|
||||
'zamok' : zamok.firewall,
|
||||
'routeur' : routeur.firewall,
|
||||
'gordon' : base.firewall_routeur,
|
||||
|
|
|
@ -534,7 +534,7 @@ class firewall(base.firewall_routeur):
|
|||
for int_key in ['app']:
|
||||
try:
|
||||
utils.tc('qdisc del dev %s root' % dev[int_key])
|
||||
except TcError:
|
||||
except utils.TcError:
|
||||
pass
|
||||
utils.tc('qdisc add dev %s root handle 1: htb r2q 1' % dev[int_key])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue