예제 #1
0
    def __init__(self, lun, lun_index, group, group_index, target):
        self.target = target
        self.group = group
        self.group_inex = group_index
        self.obj = lun
        self.lun_index = lun_index

        AutomagicNode.__init__(self)
예제 #2
0
    def __init__(self, group_index=None, group=None, target=None):
        self.target = target
        self.group_index = group_index
        self.group = group
        self.obj = self.group
        AutomagicNode.__init__(self)

        self.define_config_group_param('acl', 'allowed_initiators', 'string', 'Allowed initiators; space separated list')
        #self.define_config_group_param('acl', 'denied_initiators', 'string', 'Denied initiators; space separated list')

        for i in xrange(10):
            self.define_config_group_param('acl', 'recent_initiator_%s' % i, 'string', 'Recent initiator %s' % i)
예제 #3
0
    def __init__(self, display_name=None):
        if not display_name:
            display_name = 'email:[email protected]'
        self.display_name = display_name

        AutomagicNode.__init__(self)
예제 #4
0
 def __init__(self, name=None, group=None, group_index=None, target=None):
     self.target = target
     self.group_index = group_index
     self.group = group
     self.obj = self.group
     AutomagicNode.__init__(self)
예제 #5
0
 def __init__(self):
     AutomagicNode.__init__(self)