Commit 95396c98 authored by Ignacio Corderi's avatar Ignacio Corderi
Browse files

Added Limits to geLog

parent 518f0509
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -148,12 +148,14 @@ class IntegrityAlgorithms:
    # 100-inf are private algorithms

class LogTypes:
    INVALID_TYPE = -1
    UTILIZATIONS = 0
    TEMPERATURES = 1
    CAPACITIES = 2
    CONFIGURATION = 3
    STATISTICS = 4
    MESSAGES = 5
    LIMITS = 6

    @classmethod
    def all(cls):
@@ -163,4 +165,4 @@ class LogTypes:
            2->Drive Capacity, 3-> Drive Configuration, 4->Drive usage statistics, and 5-> Drive messages). This can be passed as
            the sole argument to the AdminClient.getLog function.
        """
        return [cls.UTILIZATIONS, cls.TEMPERATURES, cls.CAPACITIES, cls.CONFIGURATION, cls.STATISTICS, cls.MESSAGES]
        return [cls.UTILIZATIONS, cls.TEMPERATURES, cls.CAPACITIES, cls.CONFIGURATION, cls.STATISTICS, cls.MESSAGES, cls.LIMITS]