summaryrefslogtreecommitdiff
path: root/rtsadmin/ui_backstore.py
Commit message (Collapse)AuthorAgeFilesLines
* Changed name to targetcli at community request.Jerome Martin2011-09-201-427/+0
|
* Converted to refactored ConfigShell/Node layout.Jerome Martin2011-07-181-77/+67
| | | | | | | * Now using console, log, prefs through shell. * Root node binds to shell, not the other way. * Replaced del_child() calls by remove_child() * Replaced a children loop scan by ConfigNode get_child() method.
* Now using configshell new ui_type style.Jerome Martin2011-06-081-2/+2
| | | | * Instead of using directly ui_type_* methods, use the type name.
* Merged UIAttributes/UIParameters to UIRTSLibNode.Jerome Martin2011-06-041-3/+2
| | | | | | | | * As a result all UIRTSLibNode have the capabilities to use attributes and parameters. * Added a couple of checks to actually enable the feature only if the underlying rtslib node has attributes/parameters. * Added the writable flag to the Attributes/Parameters.
* Added auto_cd_after_create global.Jerome Martin2011-06-011-6/+19
| | | | | * Automatically cd's to newly created object after a 'create' command if true. * Added autosave (always) of last created node's path under @last bookmark.
* Code cleanup: unused imports, indents, unused vars.Jerome Martin2011-06-011-1/+1
|
* Added version command to new style storage objects.Jerome Martin2011-05-311-9/+8
|
* Switched to 1:1 hba:storage view.Jerome Martin2011-05-311-218/+154
| | | | | | | | | * Added 'legacy_hba_view' global boolean to select legacy view if needed. * Added root refresh when setting a global parameter. * All backstore plugins now part of the backstores/ tree * Only one storage object by backstore. * We now hide indiviual backstores. As they are mapped 1:1 with storage objects, both levels are collapsed.
* Better handling of non-existing configfs objects.Jerome Martin2011-05-261-17/+17
| | | | | | | | | | | * If rtslib/configfs objects have been deleted under us, catch the (new) RTSLibNotInCFS exception and refresh before executing the command. * All UI objects attached to a configfs/rtslib node now check that they still exist before executing a command. If not, display an error, refresh the tree and go back to root (i.e. after doing '../ delete object' while in /parent/object). Done via a new class UIRTSLibNode. * Refactored a bit UIRTSLibNode to use self.rtsnode instead of self.lun, self.tpg, etc.
* Fixed typo in UIIBlockBackstore creation.Jerome Martin2011-05-141-1/+1
| | | | * Was using the wrong method name for prm_gen_wwn.
* Cleaned up trailing whitespaces from *.pyJerome Martin2011-05-131-5/+5
|
* Cleaned up storage object creation bool params.Jerome Martin2011-05-131-39/+39
| | | | | | | | | * Renamed 'wwn' parameter to 'generate_wwn' * Both 'generate_wwn' and 'buffered' paramters are now using ui_type_bool. * Converted to use new configshell ui_eval_param() helper. * Fixed typo that lead to ignoring those parameters default value (True) and made it False, thus not generating vpd_serial_unit wwn by default (reported by Nic).
* Disable privileged commands if user is not root.Jerome Martin2011-05-111-0/+8
|
* initial rtsadmin commit1.99Nicholas Bellinger2011-05-041-0/+482
Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>