summaryrefslogtreecommitdiff
path: root/docs/source/docs/snmp-data-types.rst
blob: caa14a3c21c7debcac899cba81edf3571ea15a00 (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

SNMP data types
===============

SNMP represents real-world objects it serves along with their
states in form of values. Those values each belong to one
of SNMP types (:RFC:`1902#section-2`) which, in turn, are based
on `ASN.1 <https://en.wikipedia.org/wiki/Abstract_Syntax_Notation_One>`_ 
data description language. PySNMP types are derived from
`Python ASN.1 types <http://pyasn1.sf.net>`_ implementation.

.. toctree::
   :maxdepth: 2

.. _integer32:

Integer32 type
--------------

.. autoclass:: pysnmp.proto.rfc1902.Integer32(initializer)
   :members:

.. _integer:

Integer type
------------

.. autoclass:: pysnmp.proto.rfc1902.Integer(initializer)
   :members:

.. _octetstring:

OctetString type
----------------

.. autoclass:: pysnmp.proto.rfc1902.OctetString(strValue=None, hexValue=None)
   :members:

.. _ipaddress:

IpAddress type
----------------

.. autoclass:: pysnmp.proto.rfc1902.IpAddress(strValue=None, hexValue=None)

ObjectIdentifier type
---------------------

.. autoclass:: pysnmp.proto.rfc1902.ObjectIdentifier(initializer)

Counter32 type
--------------

.. autoclass:: pysnmp.proto.rfc1902.Counter32(initializer)

Gauge32 type
------------

.. autoclass:: pysnmp.proto.rfc1902.Gauge32(initializer)

Unsigned32 type
---------------

.. autoclass:: pysnmp.proto.rfc1902.Unsigned32(initializer)

TimeTicks type
--------------

.. autoclass:: pysnmp.proto.rfc1902.TimeTicks(initializer)

Opaque type
-----------

.. autoclass:: pysnmp.proto.rfc1902.Opaque(initializer)

Counter64 type
--------------

.. autoclass:: pysnmp.proto.rfc1902.Counter64(initializer)

Bits type
---------

.. autoclass:: pysnmp.proto.rfc1902.Bits(initializer)
   :members: