Open onosAdmin opened 7 years ago
quindi solo l'elenco puntato è quello visualizzabile nelle impostazioni avanzate ?
objname, type,mail_l sono quelli che si possono vedere senza spuntare la casella "impostazioni avanzate"
Le altre impostazioni compaiono solo selezionando la casella.. e sono: htmlDict,styleDict,cmdDict,owner,grp,perm
Cosa ne pensi? va bene come idea?
ok ottimo !
Sviluppare la parte web per permettere agli uenti di creare manualmente degli oggetti e di modificare quelli esitenti.
Ecco i parametri che gli utenti dovranno poter cambiare:
Ci dovrà essere una casella da spuntare per visualizzare i parametri avanzati. E alcuni parametri saranno modificabili solo se si è amminitratori.
Web Object Status type[edit] digital_input digital_output analog_input analog_output servo_output sr_relay string_var numeric_var switch digital_obj analog_obj cfg_obj
'''htmlDict''' : a dictionary where the keys are the status values and the data is the html to display for each status visibile solo e si spunta la casella advanced options
'''styleDict''' : a dictionary where the keys are the status values and the data is the style to use for each status visibile solo e si spunta la casella advanced options
'''cmdDict''' : a dictionary where the keys are the status values and the data is the linux shell command to execute when the webobject became equal to the relative status key solo admin può cambiare questa impostazione visibile solo e si spunta la casella advanced options
'''own''' : the username of the web object owner (the one who created it) solo admin può cambiare questa impostazione visibile solo e si spunta la casella advanced options
'''grp''' : the group list the user must belong to in order to set the status (linux style) solo admin può cambiare questa impostazione visibile solo e si spunta la casella advanced options
'''perm''' : the permission the user must have in order to change the status (linux style) , expressed in octal form like 777 ,read write execute (execute is not used) solo admin può cambiare questa impostazione visibile solo e si spunta la casella advanced options
'''mail_l''' : list of mail addresses which onos will send a mail when the object status changes