diff options
| author | Jerome Martin <jxm@risingtidesystems.com> | 2011-05-26 21:22:40 +0200 |
|---|---|---|
| committer | Jerome Martin <jxm@risingtidesystems.com> | 2011-05-26 21:46:14 +0200 |
| commit | 6b0875919d0255eb78495c1235bfb9c99a746545 (patch) | |
| tree | d7d5233aa7a2e61ddc62e01fc2cc8c8ba1d52d3a /scripts | |
| parent | d4df22f8cb5790c5ee5e196de8324539e5db3568 (diff) | |
| download | targetcli-6b0875919d0255eb78495c1235bfb9c99a746545.tar.gz | |
Better handling of non-existing configfs objects.
* 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.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
