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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
|
--==================================================================
-- Copyright (C) 2017 by HUAWEI TECHNOLOGIES. All rights reserved.
--
-- Description: HUAWEI VS MIB
-- Reference:
-- Version: V1.03
-- History:
-- <author>, <date>, <contents>
-- xuzhen 2011-6-17
-- ==================================================================
-- ==================================================================
--
-- Varibles and types are imported
--
-- ==================================================================
HUAWEI-VS-MIB DEFINITIONS ::= BEGIN
IMPORTS
hwDatacomm
FROM HUAWEI-MIB
DisplayString
FROM SNMPv2-TC
OBJECT-GROUP, MODULE-COMPLIANCE
FROM SNMPv2-CONF
Integer32, OBJECT-TYPE, MODULE-IDENTITY
FROM SNMPv2-SMI;
hwVsMIB MODULE-IDENTITY
LAST-UPDATED "201708171841Z"
ORGANIZATION
"Huawei Technologies Co.,Ltd."
CONTACT-INFO
"Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China
Website: http://www.huawei.com
Email: support@huawei.com
"
DESCRIPTION
"The HUAWEI-VS-MIB which contains objects manages virtual system name and virtual system id.
"
REVISION "201708171841Z"
DESCRIPTION
"Modify the description."
REVISION "201705181000Z"
DESCRIPTION
"HwVSEntry MIB objects hwVSStatus, hwVSCPUUsage, hwVSMemoryUsedSize, and hwVSMemoryTotalSize were added."
REVISION "201410211000Z"
DESCRIPTION
"Modify the Index of hwVSTable."
::= { hwDatacomm 255 }
--
-- Node definitions
--
-- ==================================================================
--
-- ======================= definition begin =========================
--
-- ==================================================================
hwVSObjects OBJECT IDENTIFIER ::= { hwVsMIB 1 }
hwVSTable OBJECT-TYPE
SYNTAX SEQUENCE OF HwVSEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table about the id and name of virtual system."
::= { hwVSObjects 1 }
hwVSEntry OBJECT-TYPE
SYNTAX HwVSEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Information about the id and name of virtual system."
INDEX { hwVSVsId }
::= { hwVSTable 1 }
HwVSEntry ::=
SEQUENCE {
hwVSVsId
Integer32,
hwVSVsName
DisplayString,
hwVSStatus
INTEGER,
hwVSCPUUsage
Integer32,
hwVSMemoryUsedSize
Integer32,
hwVSMemoryTotalSize
Integer32
}
hwVSVsId OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object indicates the index of a VS. The index is unique in the related physical system (PS)."
::= { hwVSEntry 1 }
hwVSVsName OBJECT-TYPE
SYNTAX DisplayString (SIZE(1..31))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object indicates the name of the VS. The VS name must be unique in the entire system. It is a string of 1 to 31 characters."
::= { hwVSEntry 2 }
hwVSStatus OBJECT-TYPE
SYNTAX INTEGER
{
running(1),
stop(2),
restoring(3),
shutdowning(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The object specifies the virtual system state.
1. running(1): The virtual system is running.
2. stop(2): The virtual system is stopped.
3. restoring (3): The virtual system is being restored.
4. shutdowning(4): The virtual system is being stopped."
::= { hwVSEntry 3 }
hwVSCPUUsage OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object specifies the CPU usage of the virtual system."
::= { hwVSEntry 4 }
hwVSMemoryUsedSize OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object specifies the size of the memory used by the virtual system."
::= { hwVSEntry 5 }
hwVSMemoryTotalSize OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object specifies the total size of memory available to the virtual system."
::= { hwVSEntry 6 }
-- conformance information
hwVSConformance OBJECT IDENTIFIER ::= { hwVsMIB 2 }
hwVSGroups OBJECT IDENTIFIER ::= { hwVSConformance 1 }
hwVSCompliances OBJECT IDENTIFIER ::= { hwVSConformance 2 }
hwVSConformance2 MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for systems supporting the HUAWEI-VS-MIB."
MODULE HUAWEI-VS-MIB
MANDATORY-GROUPS { hwVSBasicGroup }
::= { hwVSCompliances 1 }
hwVSBasicGroup OBJECT-GROUP
OBJECTS { hwVSVsName, hwVSStatus, hwVSCPUUsage, hwVSMemoryUsedSize, hwVSMemoryTotalSize, hwVSType }
STATUS current
DESCRIPTION
"The virtual system attribute group."
::= { hwVSGroups 1 }
-- compliance statements
hwVSType OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The single-node scalar table hwVSType contains only one field: hwVSType. This field indicates whether the current device supports VS. If the device does not support VS and a GET operation is performed, noSuchObject/noSuchInstance is returned. If the device supports VS and a GET operation is performed: hwVSType = 1, indicating that the device is an admin-VS device; hwVSType = 2, indicating that the device is a common VS device."
::= { hwVsMIB 3 }
END
--
-- HUAWEI-VS-MIB.mib
--
|