Пример #1
0
 def __init__(self):
     DatasetReplicaAttr.__init__(self, Attr.TIME_TYPE)
Пример #2
0
 def __init__(self):
     DatasetReplicaAttr.__init__(self, Attr.NUMERIC_TYPE)
Пример #3
0
    def __init__(self):
        DatasetReplicaAttr.__init__(self, Attr.BOOL_TYPE)

        self.required_attrs = ['enforcer_protected_replicas']
Пример #4
0
             dict_attr='on_protected_site',
             dict_default=False),
 'dataset.unknown_in_all_dbs':
 DatasetAttr(Attr.BOOL_TYPE,
             dict_attr='unknown_in_all_dbs',
             dict_default=False),
 'dataset.unhandled_copy_exists':
 DatasetAttr(Attr.BOOL_TYPE,
             dict_attr='unhandled_copy_exists',
             dict_default=False),
 'replica.size':
 ReplicaSize(),
 'replica.incomplete':
 ReplicaIncomplete(),
 'replica.last_block_created':
 DatasetReplicaAttr(Attr.TIME_TYPE, 'last_block_created', tuple()),
 'replica.first_block_created':
 ReplicaFirstBlockCreated(),
 'replica.num_access':
 DatasetAttr(Attr.NUMERIC_TYPE, dict_attr='num_access'),
 'replica.num_full_disk_copy_common_owner':
 ReplicaNumFullDiskCopyCommonOwner(),
 'replica.num_full_other_copy_common_owner':
 ReplicaNumFullOtherCopyCommonOwner(),
 'replica.enforcer_protected':
 ReplicaEnforcerProtected(),
 'blockreplica.is_last_transfer_source':
 ReplicaIsLastSource(),
 'blockreplica.last_update':
 BlockReplicaAttr(Attr.TIME_TYPE, 'last_update'),
 'blockreplica.owner':
Пример #5
0
 def __init__(self):
     DatasetReplicaAttr.__init__(self, Attr.BOOL_TYPE)
Пример #6
0
    def __init__(self):
        DatasetReplicaAttr.__init__(self, Attr.NUMERIC_TYPE)

        self.required_attrs = ['local_usage']
Пример #7
0
 def __init__(self):
     DatasetReplicaAttr.__init__(self, Attr.TIME_TYPE)
Пример #8
0
    def __init__(self):
        DatasetReplicaAttr.__init__(self, Attr.BOOL_TYPE)

        self.required_attrs = ['enforcer_protected_replicas']
Пример #9
0
 def __init__(self):
     DatasetReplicaAttr.__init__(self, Attr.NUMERIC_TYPE)
Пример #10
0
 def __init__(self):
     DatasetReplicaAttr.__init__(self, Attr.BOOL_TYPE)