Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Benjamin Graillot
scripts
Commits
880f1ba9
Commit
880f1ba9
authored
Jan 06, 2018
by
Maxime Bombar
Browse files
Desactive arp-protect pour les locaux clubs
parent
4c8bab32
Changes
1
Hide whitespace changes
Inline
Side-by-side
gestion/gen_confs/switchs2.py
View file @
880f1ba9
...
...
@@ -319,8 +319,8 @@ class Port(object):
@
property
def
arp_protect_trust
(
self
):
"""Indique si on active la protection arp.
Désactivé sur nos prises ainsi que sur le wifi (because roaming)"""
return
self
.
bornes
or
self
.
trusted
Désactivé sur nos prises ainsi que sur le wifi (because roaming)
et celles des clubs
"""
return
self
.
bornes
or
self
.
trusted
or
any
(
"cl"
in
chbre
for
chbre
in
self
.
chambres
)
@
property
def
poe_level
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment