Affichage des champs nvram.
darcs-hash:20060403022933-68412-3461ee93f88ab1a3345dcbe94f8aa8f40722cfd2.gz
This commit is contained in:
parent
ada275ccbd
commit
449fffbe78
1 changed files with 4 additions and 2 deletions
|
@ -549,12 +549,12 @@ def machine_details(machine) :
|
|||
if borne_etat(machine.nom()):
|
||||
f += coul(u'borne active', 'vert')
|
||||
f += '\n'
|
||||
# S'il y a des clients, on les liste
|
||||
canal_clients = borne_clients_canal(machine.nom())
|
||||
clients = canal_clients["mac-rssi"]
|
||||
canal = canal_clients["canal"]
|
||||
f += coul(u'\t Canal courant : ', 'gras') + u"%d" % canal
|
||||
f += "\n"
|
||||
# S'il y a des clients, on les liste
|
||||
if clients and base:
|
||||
f += coul(u'Clients : \n','gras')
|
||||
for (client, rssi) in clients:
|
||||
|
@ -586,7 +586,9 @@ def machine_details(machine) :
|
|||
else:
|
||||
f += coul(u'borne éteinte','rouge')
|
||||
f += '\n'
|
||||
|
||||
if machine.nvram():
|
||||
f += coul(u'NVRAM : ', 'gras')
|
||||
f += ', '.join(machine.nvram()) + '\n'
|
||||
|
||||
if aff_ipsec and isinstance(machine, MachineWifi):
|
||||
f += coul(u'Clef IPsec : ','gras') + machine.ipsec()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue