diff options
author | elie <elie> | 2015-09-19 13:46:22 +0000 |
---|---|---|
committer | elie <elie> | 2015-09-19 13:46:22 +0000 |
commit | b257c84d44e1be5b114cc8a812ca0ab5773e57b2 (patch) | |
tree | 21ce8b7d7efdfc959b4fa336802b9fcbb0707203 /docs | |
parent | 851e80ae0e04a05c40755d2f5a95d3571f71d64b (diff) | |
download | pysnmp-b257c84d44e1be5b114cc8a812ca0ab5773e57b2.tar.gz |
- Constraints assignment shortcut added to some base rfc1902 types (Integer,
Integer32, OctetString, Bits). That formally constitutes ASN.1 sub-typing.
- Base SNMP types documented
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/docs/snmp-data-types.rst | 75 |
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: |