Les prises en 10Mb.
darcs-hash:20040910205644-41617-7f34db9dcce072ba2d774c7625dbab0d23832401.gz
This commit is contained in:
parent
cd2535f3c8
commit
51dce99033
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@ class switch(gen_config) :
|
||||||
# Action sur le switch
|
# Action sur le switch
|
||||||
prise = chbre_prises[bat][chbre[1:].lower()]
|
prise = chbre_prises[bat][chbre[1:].lower()]
|
||||||
sw=hp(bat,int(prise[0]))
|
sw=hp(bat,int(prise[0]))
|
||||||
|
if prise[-1]=='-' :
|
||||||
|
prise=prise[:-1]
|
||||||
|
sw.set_prise(int(prise[1:4]),'speed-duplex auto-10')
|
||||||
r = sw.set_prise(int(prise[1:4]),action)
|
r = sw.set_prise(int(prise[1:4]),action)
|
||||||
sw.close()
|
sw.close()
|
||||||
if not r :
|
if not r :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue