Esempio n. 1
0
 def __init__(self, node_acl, parent):
     UIRTSLibNode.__init__(self, node_acl.node_wwn, node_acl, parent)
     if self.rtsnode.has_feature("acls_tcq_depth"):
         self.define_config_group_param('attribute', 'tcq_depth', 'string',
                                        "Command queue depth.", True)
     self.cfs_cwd = node_acl.path
     self.refresh()
Esempio n. 2
0
 def __init__(self, node_acl, parent):
     UIRTSLibNode.__init__(self, node_acl.node_wwn, node_acl, parent)
     if self.rtsnode.has_feature("acls_tcq_depth"):
         self.define_config_group_param(
             'attribute', 'tcq_depth', 'string', "Command queue depth.", True)
     self.cfs_cwd = node_acl.path
     self.refresh()
Esempio n. 3
0
    def __init__(self, node_acl, parent):
        UIRTSLibNode.__init__(self, node_acl.node_wwn, node_acl, parent)
        self.cfs_cwd = node_acl.path

        if self.rtsnode.has_feature("acls_auth"):
            for parameter in ["userid", "password", "mutual_userid", "mutual_password"]:
                self.define_config_group_param("auth", parameter, "string")
        self.refresh()
Esempio n. 4
0
    def __init__(self, node_acl, parent):
        UIRTSLibNode.__init__(self, node_acl.node_wwn, node_acl, parent)
        self.cfs_cwd = node_acl.path

        if self.rtsnode.has_feature('acls_auth'):
            for parameter in ['userid', 'password',
                              'mutual_userid', 'mutual_password']:
                self.define_config_group_param('auth', parameter, 'string')
        self.refresh()
Esempio n. 5
0
 def __init__(self, fabric_module, parent):
     UIRTSLibNode.__init__(self, fabric_module.name, fabric_module, parent)
     self.cfs_cwd = fabric_module.path
     self.refresh()
     if self.rtsnode.has_feature('discovery_auth'):
         for param in ['userid', 'password',
                       'mutual_userid', 'mutual_password',
                       'enable']:
             self.define_config_group_param('discovery_auth',
                                            param, 'string')
     self.refresh()
Esempio n. 6
0
    def __init__(self, tpg, parent):
        name = "tpg%d" % tpg.tag
        UIRTSLibNode.__init__(self, name, tpg, parent)
        self.cfs_cwd = tpg.path
        self.refresh()

        UILUNs(tpg, self)

        if tpg.has_feature("acls"):
            UINodeACLs(self.rtsnode, self)
        if tpg.has_feature("nps"):
            UIPortals(self.rtsnode, self)
Esempio n. 7
0
 def __init__(self, fabric_module, parent):
     UIRTSLibNode.__init__(self, fabric_module.name, fabric_module, parent)
     self.cfs_cwd = fabric_module.path
     self.refresh()
     if self.rtsnode.has_feature('discovery_auth'):
         for param in [
                 'userid', 'password', 'mutual_userid', 'mutual_password',
                 'enable'
         ]:
             self.define_config_group_param('discovery_auth', param,
                                            'string')
     self.refresh()
Esempio n. 8
0
    def __init__(self, tpg, parent):
        name = "tpg%d" % tpg.tag
        UIRTSLibNode.__init__(self, name, tpg, parent)
        self.cfs_cwd = tpg.path
        self.refresh()

        UILUNs(tpg, self)

        if tpg.has_feature('acls'):
            UINodeACLs(self.rtsnode, self)
        if tpg.has_feature('nps'):
            UIPortals(self.rtsnode, self)
Esempio n. 9
0
 def __init__(self, backstore, parent):
     UIRTSLibNode.__init__(self, backstore.name, backstore, parent)
     self.cfs_cwd = backstore.path
     self.refresh()
Esempio n. 10
0
 def __init__(self, lun, parent):
     name = "lun%d" % lun.lun
     UIRTSLibNode.__init__(self, name, lun, parent)
     self.cfs_cwd = lun.path
     self.refresh()
Esempio n. 11
0
 def __init__(self, mapped_lun, parent):
     name = "mapped_lun%d" % mapped_lun.mapped_lun
     UIRTSLibNode.__init__(self, name, mapped_lun, parent)
     self.cfs_cwd = mapped_lun.path
     self.refresh()
Esempio n. 12
0
 def __init__(self, target, parent):
     UIRTSLibNode.__init__(self, target.wwn, target, parent)
     self.cfs_cwd = target.path
     self.refresh()
Esempio n. 13
0
 def __init__(self, target, parent):
     UIRTSLibNode.__init__(self, target.wwn, target, parent)
     self.cfs_cwd = target.path
     self.refresh()
Esempio n. 14
0
 def __init__(self, portal, parent):
     name = "%s:%s" % (portal.ip_address, portal.port)
     UIRTSLibNode.__init__(self, name, portal, parent)
     self.cfs_cwd = portal.path
     self.refresh()
Esempio n. 15
0
 def __init__(self, portal, parent):
     name = "%s:%s" % (portal.ip_address, portal.port)
     UIRTSLibNode.__init__(self, name, portal, parent)
     self.cfs_cwd = portal.path
     self.portal = portal
     self.refresh()
Esempio n. 16
0
 def __init__(self, storage_object, parent):
     name = storage_object.name
     UIRTSLibNode.__init__(self, name, storage_object, parent)
     self.cfs_cwd = storage_object.path
     self.refresh()
Esempio n. 17
0
 def __init__(self, lun, parent):
     name = "lun%d" % lun.lun
     UIRTSLibNode.__init__(self, name, lun, parent)
     self.cfs_cwd = lun.path
     self.refresh()
Esempio n. 18
0
 def __init__(self, mapped_lun, parent):
     name = "mapped_lun%d" % mapped_lun.mapped_lun
     UIRTSLibNode.__init__(self, name, mapped_lun, parent)
     self.cfs_cwd = mapped_lun.path
     self.refresh()
Esempio n. 19
0
 def __init__(self, storage_object, parent):
     name = storage_object.name
     UIRTSLibNode.__init__(self, name, storage_object, parent)
     self.cfs_cwd = storage_object.path
     self.refresh()
Esempio n. 20
0
 def __init__(self, backstore, parent):
     UIRTSLibNode.__init__(self, backstore.name, backstore, parent)
     self.cfs_cwd = backstore.path
     self.refresh()