예제 #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()
예제 #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()
예제 #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()
예제 #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()
예제 #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()
예제 #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)
예제 #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()
예제 #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)
예제 #9
0
 def __init__(self, backstore, parent):
     UIRTSLibNode.__init__(self, backstore.name, backstore, parent)
     self.cfs_cwd = backstore.path
     self.refresh()
예제 #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()
예제 #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()
예제 #12
0
 def __init__(self, target, parent):
     UIRTSLibNode.__init__(self, target.wwn, target, parent)
     self.cfs_cwd = target.path
     self.refresh()
예제 #13
0
 def __init__(self, target, parent):
     UIRTSLibNode.__init__(self, target.wwn, target, parent)
     self.cfs_cwd = target.path
     self.refresh()
예제 #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()
예제 #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()
예제 #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()
예제 #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()
예제 #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()
예제 #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()
예제 #20
0
 def __init__(self, backstore, parent):
     UIRTSLibNode.__init__(self, backstore.name, backstore, parent)
     self.cfs_cwd = backstore.path
     self.refresh()