Skip to content

Commit 8feeb04

Browse files
committed
Fix relative path when run code from IDE, update report
1 parent c5eefdb commit 8feeb04

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+132233
-5
lines changed

Docs/Project_I_Report.pdf

-1.37 MB
Binary file not shown.
Lines changed: 358 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,358 @@
1+
{
2+
"imports": {
3+
"class": "imports",
4+
"A3COM-HUAWEI-OID-MIB": [
5+
"h3cCommon"
6+
],
7+
"INET-ADDRESS-MIB": [
8+
"InetAddress",
9+
"InetAddressType"
10+
],
11+
"SNMPv2-CONF": [
12+
"MODULE-COMPLIANCE",
13+
"NOTIFICATION-GROUP"
14+
],
15+
"SNMPv2-SMI": [
16+
"Counter64",
17+
"Counter32",
18+
"Gauge32",
19+
"OBJECT-TYPE",
20+
"NOTIFICATION-TYPE",
21+
"OBJECT-IDENTITY",
22+
"Unsigned32",
23+
"MibIdentifier",
24+
"Integer32",
25+
"TimeTicks",
26+
"IpAddress",
27+
"MODULE-IDENTITY",
28+
"iso",
29+
"Bits"
30+
],
31+
"SNMPv2-TC": [
32+
"RowStatus",
33+
"TEXTUAL-CONVENTION",
34+
"DisplayString"
35+
]
36+
},
37+
"h3cIpv6AddrMIB": {
38+
"name": "h3cIpv6AddrMIB",
39+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71",
40+
"class": "moduleidentity",
41+
"revisions": [
42+
{
43+
"revision": "2006-03-15 00:00",
44+
"description": "The initial revision of this MIB module."
45+
}
46+
],
47+
"lastupdated": "200603150000Z",
48+
"organization": "Huawei 3Com Technologies Co., Ltd.",
49+
"contactinfo": "Platform Team Huawei 3Com Technologies Co., Ltd. HaiDian District Beijing P.R. China http://www.huawei-3com.com Zip:100085",
50+
"description": "The MIB module for managing IPv6 address"
51+
},
52+
"h3cIpv6AddressObjects": {
53+
"name": "h3cIpv6AddressObjects",
54+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1",
55+
"class": "objectidentity"
56+
},
57+
"h3cIpv6AddressConfig": {
58+
"name": "h3cIpv6AddressConfig",
59+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1",
60+
"class": "objectidentity"
61+
},
62+
"h3cIpv6AddrSetTable": {
63+
"name": "h3cIpv6AddrSetTable",
64+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.1",
65+
"nodetype": "table",
66+
"class": "objecttype",
67+
"maxaccess": "not-accessible",
68+
"reference": "RFC 2456",
69+
"status": "current",
70+
"description": "The table of address information is relevant to this entity's IPv6 addresses for setting. The address information that can be read and set in this table is a subset of the address information that can be read in h3cIpv6AddrReadTable and ipv6AddrTable in IPV6-MIB. This table is used to configure IPv6 addresses of an interface identified by h3cIpv6AddrSetIfIndex. When users create or delete an entry in this table, the agent also increases or reduces a corresponding entry in the h3cIpv6AddrReadTable and ipv6AddrTable in IPV6-MIB. When an interface which has been assigned IPv6 address is deleted, the agent also deletes the entry corresponding to the interface in this table and h3cIpv6AddrReadTable. All IPv6 addresses in this table will also show in ipv6AddrTable in IPV6-MIB."
71+
},
72+
"h3cIpv6AddrSetEntry": {
73+
"name": "h3cIpv6AddrSetEntry",
74+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.1.1",
75+
"nodetype": "row",
76+
"class": "objecttype",
77+
"maxaccess": "not-accessible",
78+
"indices": [
79+
{
80+
"module": "A3COM-HUAWEI-IPV6-ADDRESS-MIB",
81+
"object": "h3cIpv6AddrSetIfIndex",
82+
"implied": 0
83+
},
84+
{
85+
"module": "A3COM-HUAWEI-IPV6-ADDRESS-MIB",
86+
"object": "h3cIpv6AddrSetAddrType",
87+
"implied": 0
88+
},
89+
{
90+
"module": "A3COM-HUAWEI-IPV6-ADDRESS-MIB",
91+
"object": "h3cIpv6AddrSetAddr",
92+
"implied": 0
93+
}
94+
],
95+
"status": "current",
96+
"description": "Define the IPv6 address information."
97+
},
98+
"h3cIpv6AddrSetIfIndex": {
99+
"name": "h3cIpv6AddrSetIfIndex",
100+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.1.1.1",
101+
"nodetype": "column",
102+
"class": "objecttype",
103+
"syntax": {
104+
"type": "Integer32",
105+
"class": "type",
106+
"constraints": {
107+
"range": [
108+
{
109+
"min": 1,
110+
"max": 2147483647
111+
}
112+
]
113+
}
114+
},
115+
"maxaccess": "not-accessible",
116+
"status": "current",
117+
"description": "The index value which uniquely identifies the interface to which this entry is applicable. The interface identified by a particular value of this index is the same interface as identified by the same value of RFC 1573's ifIndex."
118+
},
119+
"h3cIpv6AddrSetAddrType": {
120+
"name": "h3cIpv6AddrSetAddrType",
121+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.1.1.2",
122+
"nodetype": "column",
123+
"class": "objecttype",
124+
"syntax": {
125+
"type": "InetAddressType",
126+
"class": "type"
127+
},
128+
"maxaccess": "not-accessible",
129+
"status": "current",
130+
"description": "The IP address type to which this entry's address information pertains. The value must be ipv6."
131+
},
132+
"h3cIpv6AddrSetAddr": {
133+
"name": "h3cIpv6AddrSetAddr",
134+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.1.1.3",
135+
"nodetype": "column",
136+
"class": "objecttype",
137+
"syntax": {
138+
"type": "InetAddress",
139+
"class": "type"
140+
},
141+
"maxaccess": "not-accessible",
142+
"status": "current",
143+
"description": "The IPv6 address to which this entry's address information pertains."
144+
},
145+
"h3cIpv6AddrSetPfxLength": {
146+
"name": "h3cIpv6AddrSetPfxLength",
147+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.1.1.4",
148+
"nodetype": "column",
149+
"class": "objecttype",
150+
"syntax": {
151+
"type": "Integer32",
152+
"class": "type",
153+
"constraints": {
154+
"range": [
155+
{
156+
"min": 1,
157+
"max": 128
158+
}
159+
]
160+
}
161+
},
162+
"maxaccess": "read-create",
163+
"status": "current",
164+
"description": "The length of the prefix (in bits) associated with the IPv6 address of this entry."
165+
},
166+
"h3cIpv6AddrSetSourceType": {
167+
"name": "h3cIpv6AddrSetSourceType",
168+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.1.1.5",
169+
"nodetype": "column",
170+
"class": "objecttype",
171+
"syntax": {
172+
"type": "INTEGER",
173+
"class": "type",
174+
"constraints": {
175+
"enumeration": {
176+
"assignedIp": 1,
177+
"assignedEUI64Ip": 2,
178+
"assignedLinklocalIp": 3
179+
}
180+
}
181+
},
182+
"maxaccess": "read-create",
183+
"status": "current",
184+
"description": "Indicate the type of source of IPv6 address. The value can be one of following: 'assignedIp': Assigned global/site-local IPv6 address; 'assignedEUI64Ip': Assigned global/site-local IPv6 address by using EUI-64 interface identifier; 'assignedLinklocalIp': Assigned link-local IPv6 address. The value of h3cIpv6AddrSetSourceType is relevant to h3cIpv6AddrReadSourceType and h3cIpv6AddrReadCatalog . For example, if the value of h3cIpv6AddrSetSourceType is set to 'assignedIp', then the value of h3cIpv6AddrReadSourceType is 'assignedIp' and the value of h3cIpv6AddrReadCatalog is 'global' or 'sitelocal'. The relation listed in the following table. ---------------------------------------------------------------- h3cIpv6Addr- | h3cIpv6Addr- | h3cIpv6Addr- SetSourceType | ReadSourceType | ReadCatalog ---------------------------------------------------------------- assignedIp | assignedIp | global or sitelocal ---------------------------------------------------------------- assignedEUI64Ip | assignedIp | global or sitelocal ---------------------------------------------------------------- assignedLinklocalIp | assignedIp | linklocal ---------------------------------------------------------------- "
185+
},
186+
"h3cIpv6AddrSetRowStatus": {
187+
"name": "h3cIpv6AddrSetRowStatus",
188+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.1.1.6",
189+
"nodetype": "column",
190+
"class": "objecttype",
191+
"syntax": {
192+
"type": "RowStatus",
193+
"class": "type"
194+
},
195+
"maxaccess": "read-create",
196+
"status": "current",
197+
"description": "This object is used to create a new row or delete an existing row in this table, only supports active(1), createAndGo(4) and destroy(6)."
198+
},
199+
"h3cIpv6AddrReadTable": {
200+
"name": "h3cIpv6AddrReadTable",
201+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.2",
202+
"nodetype": "table",
203+
"class": "objecttype",
204+
"maxaccess": "not-accessible",
205+
"reference": "RFC 2456",
206+
"status": "current",
207+
"description": "The table of address information is relevant to this entity's IPv6 addresses for reading. This is the extension of the ipv6AddrTable in IPV6-MIB. All IPv6 addresses in this table will also show in ipv6AddrTable in IPV6-MIB."
208+
},
209+
"h3cIpv6AddrReadEntry": {
210+
"name": "h3cIpv6AddrReadEntry",
211+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.2.1",
212+
"nodetype": "row",
213+
"class": "objecttype",
214+
"maxaccess": "not-accessible",
215+
"indices": [
216+
{
217+
"module": "A3COM-HUAWEI-IPV6-ADDRESS-MIB",
218+
"object": "h3cIpv6AddrReadIfIndex",
219+
"implied": 0
220+
},
221+
{
222+
"module": "A3COM-HUAWEI-IPV6-ADDRESS-MIB",
223+
"object": "h3cIpv6AddrReadAddrType",
224+
"implied": 0
225+
},
226+
{
227+
"module": "A3COM-HUAWEI-IPV6-ADDRESS-MIB",
228+
"object": "h3cIpv6AddrReadAddr",
229+
"implied": 0
230+
}
231+
],
232+
"status": "current",
233+
"description": "Define the IPv6 address information."
234+
},
235+
"h3cIpv6AddrReadIfIndex": {
236+
"name": "h3cIpv6AddrReadIfIndex",
237+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.2.1.1",
238+
"nodetype": "column",
239+
"class": "objecttype",
240+
"syntax": {
241+
"type": "Integer32",
242+
"class": "type",
243+
"constraints": {
244+
"range": [
245+
{
246+
"min": 1,
247+
"max": 2147483647
248+
}
249+
]
250+
}
251+
},
252+
"maxaccess": "not-accessible",
253+
"status": "current",
254+
"description": "The index value which uniquely identifies the interface to which this entry is applicable. The interface identified by a particular value of this index is the same interface as identified by the same value of RFC 1573's ifIndex."
255+
},
256+
"h3cIpv6AddrReadAddrType": {
257+
"name": "h3cIpv6AddrReadAddrType",
258+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.2.1.2",
259+
"nodetype": "column",
260+
"class": "objecttype",
261+
"syntax": {
262+
"type": "InetAddressType",
263+
"class": "type"
264+
},
265+
"maxaccess": "not-accessible",
266+
"status": "current",
267+
"description": "The IP address type to which this entry's address information pertains. The value must be ipv6."
268+
},
269+
"h3cIpv6AddrReadAddr": {
270+
"name": "h3cIpv6AddrReadAddr",
271+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.2.1.3",
272+
"nodetype": "column",
273+
"class": "objecttype",
274+
"syntax": {
275+
"type": "InetAddress",
276+
"class": "type"
277+
},
278+
"maxaccess": "not-accessible",
279+
"status": "current",
280+
"description": "The IPv6 address to which this entry's address information pertains."
281+
},
282+
"h3cIpv6AddrReadPfxLength": {
283+
"name": "h3cIpv6AddrReadPfxLength",
284+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.2.1.4",
285+
"nodetype": "column",
286+
"class": "objecttype",
287+
"syntax": {
288+
"type": "Integer32",
289+
"class": "type",
290+
"constraints": {
291+
"range": [
292+
{
293+
"min": 1,
294+
"max": 128
295+
}
296+
]
297+
}
298+
},
299+
"maxaccess": "read-only",
300+
"status": "current",
301+
"description": "The length of the prefix (in bits) associated with the IPv6 address of this entry."
302+
},
303+
"h3cIpv6AddrReadSourceType": {
304+
"name": "h3cIpv6AddrReadSourceType",
305+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.2.1.5",
306+
"nodetype": "column",
307+
"class": "objecttype",
308+
"syntax": {
309+
"type": "INTEGER",
310+
"class": "type",
311+
"constraints": {
312+
"enumeration": {
313+
"assignedIp": 1,
314+
"assignedEUI64Ip": 2,
315+
"assignedAutoIp": 3,
316+
"autoIp": 4,
317+
"dhcpv6": 5,
318+
"negotiate": 6,
319+
"cluster": 7
320+
}
321+
}
322+
},
323+
"maxaccess": "read-only",
324+
"status": "current",
325+
"description": "Indicate the type of source of IPv6 address. The value can be one of following: 'assignedIp': Assigned IPv6 address; 'assignedEUI64Ip': Assigned IPv6 address by using EUI-64 interface identifier; 'assignedAutoIp': Auto generated IPv6 address by user setting; 'autoIp': Auto generated IPv6 address as a result of non-linklocal anycast/unicast address configuration; 'dhcpv6': Assigned IPv6 address through DHCPv6 protocol; 'negotiate': Assigned IPv6 address through negotiation; 'cluster': Assigned IPv6 address through cluster module."
326+
},
327+
"h3cIpv6AddrReadCatalog": {
328+
"name": "h3cIpv6AddrReadCatalog",
329+
"oid": "1.3.6.1.4.1.43.45.1.10.2.71.1.1.2.1.6",
330+
"nodetype": "column",
331+
"class": "objecttype",
332+
"syntax": {
333+
"type": "INTEGER",
334+
"class": "type",
335+
"constraints": {
336+
"enumeration": {
337+
"nodelocal": 1,
338+
"linklocal": 2,
339+
"sitelocal": 3,
340+
"orglocal": 4,
341+
"global": 5
342+
}
343+
}
344+
},
345+
"maxaccess": "read-only",
346+
"status": "current",
347+
"description": "Indicate the category of the IPv6 address. The value can be one of following: 'nodelocal': node-local scope; 'linklocal': link-local scope; 'sitelocal': site-local scope; 'orglocal': organization-local scope; 'global': global scope. "
348+
},
349+
"meta": {
350+
"comments": [
351+
"ASN.1 source file:///Users/neermitt/kusanagi/mibs.snmplabs.com/asn1/A3COM-HUAWEI-IPV6-ADDRESS-MIB",
352+
"Produced by pysmi-0.3.4 at Fri May 24 14:47:55 2019",
353+
"On host NEERMITT-M-J0NV platform Darwin version 18.6.0 by user neermitt",
354+
"Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) "
355+
],
356+
"module": "A3COM-HUAWEI-IPV6-ADDRESS-MIB"
357+
}
358+
}

0 commit comments

Comments
 (0)