summaryrefslogtreecommitdiff
path: root/rtsadmin/ui_target.py
Commit message (Collapse)AuthorAgeFilesLines
* Changed name to targetcli at community request.Jerome Martin2011-09-201-1023/+0
|
* Converted to refactored ConfigShell/Node layout.Jerome Martin2011-07-181-123/+110
| | | | | | | * 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.
* Fixed error for nonexisting IP on portal creation.Jerome Martin2011-06-101-2/+1
| | | | * Message is now less wordy and includes faulty IP Address.
* Now check for acls_auth feature in ACL UI.Jerome Martin2011-06-091-4/+4
| | | | * Prevents exposing auth config group when the feature is not implemented.
* Added discovery_auth support to fabric modules UI.Jerome Martin2011-06-091-0/+50
|
* Using config params wrappers, not direct access.Jerome Martin2011-06-081-5/+3
|
* Now using configshell new ui_type style.Jerome Martin2011-06-081-5/+3
| | | | * Instead of using directly ui_type_* methods, use the type name.
* Merged UIAttributes/UIParameters to UIRTSLibNode.Jerome Martin2011-06-041-7/+3
| | | | | | | | * 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-7/+21
| | | | | * 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-3/+2
|
* Fixed regression from 1d55a9f7 (target creation)Jerome Martin2011-06-011-1/+1
| | | | * Only impacts non multi-TPG targets, was a non-converted object name.
* Fixed some line breaks.Jerome Martin2011-05-311-6/+4
|
* Added autocompletion for "acls/ delete".Jerome Martin2011-05-311-0/+23
|
* Switched to 1:1 hba:storage view.Jerome Martin2011-05-311-2/+9
| | | | | | | | | * 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.
* Now creates first TPG for multi TPG target.Jerome Martin2011-05-261-2/+5
| | | | | * The target is useless without at least one TPG, so now we create it automatically.
* Better handling of non-existing configfs objects.Jerome Martin2011-05-261-61/+54
| | | | | | | | | | | * 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.
* Added auto_add_mapped_luns global.Jerome Martin2011-05-261-2/+50
| | | | | | | | * Also added add_mapped_luns parameter to both 'luns/ create' and 'acls/ create', both boolean and defaulting to auto_add_mapped_luns. * When true, that parameter automatically add mapped LUNs, either for all existing TPG LUNs (acls/ create) or to all existing ACLs (luns/ create).
* Added 'auth' attributes set/get to node ACLs.Jerome Martin2011-05-171-0/+46
| | | | * Allows setting/getting auth passwd/userid/mutual_passwd/mutual_userid.
* Now correctly create multi TPG target objects.Jerome Martin2011-05-141-1/+4
| | | | | * Was always creating no-TPG target before, needing refresh to actually display multi-TPG targets correctly.
* Cleaned up trailing whitespaces from *.pyJerome Martin2011-05-131-3/+3
|
* Disable privileged commands if user is not root.Jerome Martin2011-05-111-0/+14
|
* Fixed acls refresh issue upon LUN deletion.Jerome Martin2011-05-111-1/+2
| | | | | * When deleting a LUN, we must refresh the whole TPG UI so that potentially deleted acls mapped LUNs get accounted for too.
* initial rtsadmin commit1.99Nicholas Bellinger2011-05-041-0/+846
Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>