diff options
| author | Jerome Martin <jxm@risingtidesystems.com> | 2011-05-26 14:37:50 +0200 |
|---|---|---|
| committer | Jerome Martin <jxm@risingtidesystems.com> | 2011-05-26 15:44:27 +0200 |
| commit | d4df22f8cb5790c5ee5e196de8324539e5db3568 (patch) | |
| tree | dbc35064bfc79f48b6d458afc6c77bcde3599bf1 /rtsadmin/ui_node.py | |
| parent | 1fa4164f907f1307b79ee0a2a85d47566b1f0939 (diff) | |
| download | targetcli-d4df22f8cb5790c5ee5e196de8324539e5db3568.tar.gz | |
Added auto_add_mapped_luns global.
* 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).
Diffstat (limited to 'rtsadmin/ui_node.py')
| -rw-r--r-- | rtsadmin/ui_node.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rtsadmin/ui_node.py b/rtsadmin/ui_node.py index 35c9265..de46bbf 100644 --- a/rtsadmin/ui_node.py +++ b/rtsadmin/ui_node.py @@ -31,6 +31,10 @@ class UINode(ConfigNode): self._configuration_groups['global']['auto_enable_tpgt'] = \ [self.ui_type_bool, 'If true, automatically enables TPGTs upon creation.'] + self._configuration_groups['global']['auto_add_mapped_luns'] = \ + [self.ui_type_bool, + 'If true, automatically create node ACLs mapped LUNs' + + 'after creating a new target LUN or a new node ACL'] def assert_root(self): ''' |
