summaryrefslogtreecommitdiff
path: root/MIBS/arista/ARISTA-GENERAL-MIB
blob: c504f5f4c279e3387a244e85d92f9b499e735bdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
-- ARISTA-GENERAL-MIB: Arista General MIB
ARISTA-GENERAL-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY,
    OBJECT-TYPE,
    Unsigned32                  FROM SNMPv2-SMI
    MODULE-COMPLIANCE,
    OBJECT-GROUP                FROM SNMPv2-CONF
    DateAndTime                 FROM SNMPv2-TC
    aristaMibs                  FROM ARISTA-SMI-MIB;

aristaGeneralMib MODULE-IDENTITY
    LAST-UPDATED "201711060000Z"
    ORGANIZATION "Arista Networks, Inc."
    CONTACT-INFO
        "Arista Networks, Inc.

         Postal: 5453 Great America Parkway
                 Santa Clara, CA 95054

         Tel: +1 408 547-5500

         E-mail: snmp@arista.com"
    DESCRIPTION
         "First draft."
    REVISION "201711060000Z"
    DESCRIPTION
         "Initial version."
    ::= { aristaMibs 24 }

-- Textual Conventions --

aristaGeneralMibNotifications OBJECT IDENTIFIER
    ::= { aristaGeneralMib 0 }

aristaGeneralMibObjects OBJECT IDENTIFIER
    ::= { aristaGeneralMib 1 }

aristaGeneralMibConformance OBJECT IDENTIFIER
    ::= { aristaGeneralMib 2 }

-- Reload cause table --

aristaReloadCauseTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF AristaReloadCauseEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
         "Information describing the reload cause of each CPU unit.
         On a modular system, entries for reboot instances of the
         standby supervisor are present only when the redundancy
         protocol is stateful switchover (SSO)."
    ::= { aristaGeneralMibObjects 1 }

aristaReloadCauseEntry OBJECT-TYPE
    SYNTAX      AristaReloadCauseEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
         "This entry contains reload cause information of a CPU unit
          for a particular reboot instance."
    INDEX {
      aristaReloadUnitIndex,
      aristaReloadIndex,
      aristaReloadCauseIndex
    }
    ::= { aristaReloadCauseTable 1 }

AristaReloadCauseEntry ::= SEQUENCE {
    -- INDEX information
    aristaReloadUnitIndex               Unsigned32,
    aristaReloadIndex                   Unsigned32,
    aristaReloadCauseIndex              Unsigned32,
    -- Reload Cause
    aristaReloadCauseDescription        OCTET STRING,
    aristaReloadTime                    DateAndTime
}

aristaReloadUnitIndex OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
         "A unique identifier for a CPU unit.  On a modular system, it is
         the slot number of the supervisor.  Unit index 0 mirrors the entries
         of the active supervisor.  On a fixed system, unit index 0 is for
         the whole system."
    ::= { aristaReloadCauseEntry 1 }

aristaReloadIndex OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
         "A unique key to get the particular reboot instance.  Reboot instances
         are numbered in reverse chronological order, with the latest reboot
         at index 0."
    ::= { aristaReloadCauseEntry 2 }

aristaReloadCauseIndex OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
         "A unique key to get one of the causes of a particular reboot instance."
    ::= { aristaReloadCauseEntry 3 }

aristaReloadCauseDescription OBJECT-TYPE
    SYNTAX      OCTET STRING
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
         "Description for the reload cause."
    ::= { aristaReloadCauseEntry 4 }

aristaReloadTime OBJECT-TYPE
    SYNTAX      DateAndTime
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
         "Time when the reload happened."
    ::= { aristaReloadCauseEntry 5 }

-- Conformance and Compliance --

aristaGeneralMibCompliances OBJECT IDENTIFIER
    ::= { aristaGeneralMibConformance 1 }

aristaGeneralMibGroups OBJECT IDENTIFIER
    ::= { aristaGeneralMibConformance 2 }

aristaGeneralMibCompliance  MODULE-COMPLIANCE
    STATUS      current
    DESCRIPTION
        "The compliance statement for Arista switches that support
        the ARISTA-GENERAL-MIB."
    MODULE        -- this module
    MANDATORY-GROUPS {
        aristaGeneralMibGroup
    }
    ::= { aristaGeneralMibCompliances 1 }

aristaGeneralMibGroup   OBJECT-GROUP
    OBJECTS {
	aristaReloadCauseDescription,
	aristaReloadTime
    }
    STATUS      current
    DESCRIPTION
        "The collection of objects that provide reload cause
        information for the CPU units in the system."
    ::= { aristaGeneralMibGroups 1 }

END