summaryrefslogtreecommitdiff
path: root/rtsadmin
Commit message (Collapse)AuthorAgeFilesLines
* Changed name to targetcli at community request.Jerome Martin2011-09-206-2264/+0
|
* Root UI now imports tcm_dump directly.Jerome Martin2011-07-191-2/+7
|
* Moved saveconfig to /, added hostname reminder.Jerome Martin2011-07-192-13/+15
| | | | | | | * Reminder is useful for remote access. * Moving to root node makes it clear that the whole config is saved, not just the current node or subtree. * Removes command clutter from nodes.
* Removed temporary debug hidden cmds _sh and _cfs.Jerome Martin2011-07-181-8/+0
| | | | | | * Were not even proper UI commands (just hardcoded test cases) * Now useless as that part has been debugged * Shell access can be dangerous using remote access.
* Converted to refactored ConfigShell/Node layout.Jerome Martin2011-07-185-336/+293
| | | | | | | * 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-082-43/+27
|
* Now using configshell new ui_type style.Jerome Martin2011-06-084-15/+13
| | | | * Instead of using directly ui_type_* methods, use the type name.
* Missed 'writable' flag to some globals params.Jerome Martin2011-06-081-4/+8
|
* Merged UIAttributes/UIParameters to UIRTSLibNode.Jerome Martin2011-06-044-63/+53
| | | | | | | | * 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-014-39/+108
| | | | | * 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.
* 'version' command now warns if version is not set.Jerome Martin2011-06-011-3/+11
|
* Code cleanup: unused imports, indents, unused vars.Jerome Martin2011-06-015-8/+7
|
* Fixed regression from 1d55a9f7 (target creation)Jerome Martin2011-06-011-1/+1
| | | | * Only impacts non multi-TPG targets, was a non-converted object name.
* Added version command to new style storage objects.Jerome Martin2011-05-311-9/+8
|
* Fixed some line breaks.Jerome Martin2011-05-312-10/+6
|
* Added autocompletion for "acls/ delete".Jerome Martin2011-05-311-0/+23
|
* Fixed regression in 1d55a9f (catch RTSLibNotInCFS)Jerome Martin2011-05-311-4/+0
| | | | | | | * An abusive catch of RTSLibNotInCFS in execute_command was retrying the command endlessly, which is bad on general principle but even worse when the RTSLibNotInCFS is legit and should get through (i.e. trying to delete a non-existent MappedLUN would result in and endless loop).
* Fixed legacy storage object and backstore deletion.Jerome Martin2011-05-311-2/+2
| | | | | * Wrong object reference after previous wholesale conversion to using "rtsnode" for underlying configFS objects in UIRTSLibNode.
* Switched to 1:1 hba:storage view.Jerome Martin2011-05-315-221/+656
| | | | | | | | | * 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.
* Fixed missing space in help text.Jerome Martin2011-05-271-1/+1
|
* 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-263-87/+110
| | | | | | | | | | | * 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-262-2/+54
| | | | | | | | * 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.
* Fixed typo in UIIBlockBackstore creation.Jerome Martin2011-05-141-1/+1
| | | | * Was using the wrong method name for prm_gen_wwn.
* 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-132-8/+8
|
* 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).
* Global 'auto_enable_tpg' type is now bool.Jerome Martin2011-05-131-2/+2
| | | | | * Reflects configshell-side conversion of ui_type_onoff to ui_type_bool, using true|false instead of on|off values.
* Disable privileged commands if user is not root.Jerome Martin2011-05-114-3/+39
|
* 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-045-0/+1594
Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>