summaryrefslogtreecommitdiff
path: root/docs/source/docs/snmp-data-types.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/docs/snmp-data-types.rst')
-rw-r--r--docs/source/docs/snmp-data-types.rst75
1 files changed, 72 insertions, 3 deletions
diff --git a/docs/source/docs/snmp-data-types.rst b/docs/source/docs/snmp-data-types.rst
index 63d2f1a..caa14a3 100644
--- a/docs/source/docs/snmp-data-types.rst
+++ b/docs/source/docs/snmp-data-types.rst
@@ -5,12 +5,81 @@ 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* data description language. PySNMP types are derived
-from `Python ASN.1 types <http://pyasn1.sf.net>`_ implementation.
+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
-.. autoclass:: pysnmp.proto.rfc1902.Integer(initializer)
+.. _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: