From e565a17186096784222702f51ad2c14964aa0818 Mon Sep 17 00:00:00 2001 From: Bogdan Popescu <68062990+bopopescu@users.noreply.github.com> Date: Sun, 26 Jul 2020 11:35:07 +0300 Subject: [PATCH] Discard master/slave jargon --- Jinja2-2.9.6/docs/conf.py | 4 +- Jinja2-2.9.6/examples/basic/test.py | 4 +- cffi-1.10.0/doc/source/conf.py | 4 +- cryptography-2.0.3/docs/conf.py | 4 +- .../src/_cffi_src/openssl/ssl.py | 14 ++-- enum34-1.1.6/enum/test.py | 2 +- natsort-5.1.0/docs/source/conf.py | 4 +- netaddr-0.7.19/docs/source/conf.py | 4 +- pexpect-4.2.1/doc/conf.py | 4 +- .../tests/platform_checks/check_handler.py | 2 +- pip-9.0.1/docs/conf.py | 4 +- .../pip/_vendor/pkg_resources/__init__.py | 10 +-- pip-9.0.1/pip/vcs/git.py | 4 +- ptyprocess-0.5.2/docs/conf.py | 4 +- ptyprocess-0.5.2/ptyprocess/ptyprocess.py | 2 +- pyOpenSSL-17.2.0/doc/conf.py | 4 +- pyOpenSSL-17.2.0/src/OpenSSL/SSL.py | 8 +-- pyOpenSSL-17.2.0/tests/test_ssl.py | 12 ++-- pycparser-2.18/pycparser/ply/lex.py | 22 +++--- pycrypto-2.6.1/lib/Crypto/Protocol/KDF.py | 4 +- pysnmp-4.3.5/docs/source/conf.py | 10 +-- pysnmp-mibs-0.1.6/pysnmp_mibs/AGENTX-MIB.py | 24 +++---- .../pysnmp_mibs/DIRECTORY-SERVER-MIB.py | 14 ++-- pysnmp-mibs-0.1.6/pysnmp_mibs/DOT12-IF-MIB.py | 12 ++-- .../pysnmp_mibs/DOT12-RPTR-MIB.py | 2 +- pysnmp-mibs-0.1.6/pysnmp_mibs/DSA-MIB.py | 14 ++-- pysnmp-mibs-0.1.6/pysnmp_mibs/IPS-AUTH-MIB.py | 2 +- pysnmp-mibs-0.1.6/pysnmp_mibs/MTA-MIB.py | 4 +- pysnmp-mibs-0.1.6/pysnmp_mibs/Printer-MIB.py | 2 +- pysnmp-mibs-0.1.6/pysnmp_mibs/RFC1285-MIB.py | 16 ++--- pysnmp-mibs-0.1.6/pysnmp_mibs/VRRP-MIB.py | 70 +++++++++---------- pysnmp-mibs-0.1.6/pysnmp_mibs/WWW-MIB.py | 2 +- setuptools-28.2.0/docs/conf.py | 4 +- setuptools-28.2.0/pkg_resources/__init__.py | 10 +-- .../setuptools/command/easy_install.py | 2 +- six-1.10.0/documentation/conf.py | 4 +- urllib3-1.16/docs/conf.py | 4 +- 37 files changed, 158 insertions(+), 158 deletions(-) diff --git a/Jinja2-2.9.6/docs/conf.py b/Jinja2-2.9.6/docs/conf.py index 6e990be..2cf4519 100644 --- a/Jinja2-2.9.6/docs/conf.py +++ b/Jinja2-2.9.6/docs/conf.py @@ -31,8 +31,8 @@ # The suffix of source filenames. source_suffix = '.rst' -# The master toctree document. -master_doc = 'index' +# The main toctree document. +main_doc = 'index' # General substitutions. project = 'Jinja2' diff --git a/Jinja2-2.9.6/examples/basic/test.py b/Jinja2-2.9.6/examples/basic/test.py index 8f7dde7..1a3652a 100644 --- a/Jinja2-2.9.6/examples/basic/test.py +++ b/Jinja2-2.9.6/examples/basic/test.py @@ -3,7 +3,7 @@ env = Environment(loader=DictLoader({ 'child.html': u'''\ -{% extends master_layout or 'master.html' %} +{% extends main_layout or 'main.html' %} {% include helpers = 'helpers.html' %} {% macro get_the_answer() %}42{% endmacro %} {% title = 'Hello World' %} @@ -12,7 +12,7 @@ {{ helpers.conspirate() }} {% endblock %} ''', -'master.html': u'''\ +'main.html': u'''\ {{ title }} {% block body %}{% endblock %} diff --git a/cffi-1.10.0/doc/source/conf.py b/cffi-1.10.0/doc/source/conf.py index 75da487..3d83692 100644 --- a/cffi-1.10.0/doc/source/conf.py +++ b/cffi-1.10.0/doc/source/conf.py @@ -33,8 +33,8 @@ # The encoding of source files. #source_encoding = 'utf-8' -# The master toctree document. -master_doc = 'index' +# The main toctree document. +main_doc = 'index' # General information about the project. project = u'CFFI' diff --git a/cryptography-2.0.3/docs/conf.py b/cryptography-2.0.3/docs/conf.py index 80ac59f..93e3041 100644 --- a/cryptography-2.0.3/docs/conf.py +++ b/cryptography-2.0.3/docs/conf.py @@ -66,8 +66,8 @@ # The encoding of source files. # source_encoding = 'utf-8-sig' -# The master toctree document. -master_doc = 'index' +# The main toctree document. +main_doc = 'index' # General information about the project. project = 'Cryptography' diff --git a/cryptography-2.0.3/src/_cffi_src/openssl/ssl.py b/cryptography-2.0.3/src/_cffi_src/openssl/ssl.py index 8bda4e0..c77a846 100644 --- a/cryptography-2.0.3/src/_cffi_src/openssl/ssl.py +++ b/cryptography-2.0.3/src/_cffi_src/openssl/ssl.py @@ -416,7 +416,7 @@ int SSL_SESSION_set1_id_context(SSL_SESSION *, const unsigned char *, unsigned int); /* Added in 1.1.0 for the great opaquing of structs */ -size_t SSL_SESSION_get_master_key(const SSL_SESSION *, unsigned char *, +size_t SSL_SESSION_get_main_key(const SSL_SESSION *, unsigned char *, size_t); size_t SSL_get_client_random(const SSL *, unsigned char *, size_t); size_t SSL_get_server_random(const SSL *, unsigned char *, size_t); @@ -475,18 +475,18 @@ } /* Added in 1.1.0 as well */ /* from ssl/ssl_lib.c */ -size_t SSL_SESSION_get_master_key(const SSL_SESSION *session, +size_t SSL_SESSION_get_main_key(const SSL_SESSION *session, unsigned char *out, size_t outlen) { - if (session->master_key_length < 0) { + if (session->main_key_length < 0) { /* Should never happen */ return 0; } if (outlen == 0) - return session->master_key_length; - if (outlen > (size_t)session->master_key_length) - outlen = session->master_key_length; - memcpy(out, session->master_key, outlen); + return session->main_key_length; + if (outlen > (size_t)session->main_key_length) + outlen = session->main_key_length; + memcpy(out, session->main_key, outlen); return outlen; } #endif diff --git a/enum34-1.1.6/enum/test.py b/enum34-1.1.6/enum/test.py index d9edfae..369289d 100644 --- a/enum34-1.1.6/enum/test.py +++ b/enum34-1.1.6/enum/test.py @@ -673,7 +673,7 @@ def test_exploding_pickle(self): def test_string_enum(self): class SkillLevel(str, Enum): - master = 'what is the sound of one hand clapping?' + main = 'what is the sound of one hand clapping?' journeyman = 'why did the chicken cross the road?' apprentice = 'knock, knock!' self.assertEqual(SkillLevel.apprentice, 'knock, knock!') diff --git a/natsort-5.1.0/docs/source/conf.py b/natsort-5.1.0/docs/source/conf.py index 3406b28..574f93d 100644 --- a/natsort-5.1.0/docs/source/conf.py +++ b/natsort-5.1.0/docs/source/conf.py @@ -58,8 +58,8 @@ def current_version(): # The encoding of source files. #source_encoding = 'utf-8-sig' -# The master toctree document. -master_doc = 'index' +# The main toctree document. +main_doc = 'index' # General information about the project. project = u'natsort' diff --git a/netaddr-0.7.19/docs/source/conf.py b/netaddr-0.7.19/docs/source/conf.py index 6c8a22e..6f90b5f 100644 --- a/netaddr-0.7.19/docs/source/conf.py +++ b/netaddr-0.7.19/docs/source/conf.py @@ -36,8 +36,8 @@ # The encoding of source files. #source_encoding = 'utf-8-sig' -# The master toctree document. -master_doc = 'index' +# The main toctree document. +main_doc = 'index' # General information about the project. project = u'netaddr' diff --git a/pexpect-4.2.1/doc/conf.py b/pexpect-4.2.1/doc/conf.py index cda9f5d..a22898d 100644 --- a/pexpect-4.2.1/doc/conf.py +++ b/pexpect-4.2.1/doc/conf.py @@ -40,8 +40,8 @@ # The encoding of source files. #source_encoding = 'utf-8-sig' -# The master toctree document. -master_doc = 'index' +# The main toctree document. +main_doc = 'index' # General information about the project. project = u'Pexpect' diff --git a/pexpect-4.2.1/tests/platform_checks/check_handler.py b/pexpect-4.2.1/tests/platform_checks/check_handler.py index c0633eb..889c91e 100755 --- a/pexpect-4.2.1/tests/platform_checks/check_handler.py +++ b/pexpect-4.2.1/tests/platform_checks/check_handler.py @@ -52,7 +52,7 @@ def main (): print '\tChild appears to be dead.' # print str(e) print - print 'Reading from master fd:', os.read (fd, 1000) + print 'Reading from main fd:', os.read (fd, 1000) diff --git a/pip-9.0.1/docs/conf.py b/pip-9.0.1/docs/conf.py index 3a55481..a80e442 100644 --- a/pip-9.0.1/docs/conf.py +++ b/pip-9.0.1/docs/conf.py @@ -46,8 +46,8 @@ # The encoding of source files. # source_encoding = 'utf-8' -# The master toctree document. -master_doc = 'index' +# The main toctree document. +main_doc = 'index' # General information about the project. project = 'pip' diff --git a/pip-9.0.1/pip/_vendor/pkg_resources/__init__.py b/pip-9.0.1/pip/_vendor/pkg_resources/__init__.py index b8e598b..986cb7f 100644 --- a/pip-9.0.1/pip/_vendor/pkg_resources/__init__.py +++ b/pip-9.0.1/pip/_vendor/pkg_resources/__init__.py @@ -644,9 +644,9 @@ def __init__(self, entries=None): self.add_entry(entry) @classmethod - def _build_master(cls): + def _build_main(cls): """ - Prepare the master working set. + Prepare the main working set. """ ws = cls() try: @@ -3016,9 +3016,9 @@ def _initialize(g=globals()): @_call_aside -def _initialize_master_working_set(): +def _initialize_main_working_set(): """ - Prepare the master working set and make the ``require()`` + Prepare the main working set and make the ``require()`` API available. This function has explicit effects on the global state @@ -3028,7 +3028,7 @@ def _initialize_master_working_set(): Invocation by other packages is unsupported and done at their own risk. """ - working_set = WorkingSet._build_master() + working_set = WorkingSet._build_main() _declare_state('object', working_set=working_set) require = working_set.require diff --git a/pip-9.0.1/pip/vcs/git.py b/pip-9.0.1/pip/vcs/git.py index 2187dd8..53aec99 100644 --- a/pip-9.0.1/pip/vcs/git.py +++ b/pip-9.0.1/pip/vcs/git.py @@ -118,7 +118,7 @@ def update(self, dest, rev_options): self.run_command(['fetch', '-q', '--tags'], cwd=dest) else: self.run_command(['fetch', '-q'], cwd=dest) - # Then reset to wanted revision (maybe even origin/master) + # Then reset to wanted revision (maybe even origin/main) if rev_options: rev_options = self.check_rev_options( rev_options[0], dest, rev_options, @@ -133,7 +133,7 @@ def obtain(self, dest): rev_options = [rev] rev_display = ' (to %s)' % rev else: - rev_options = ['origin/master'] + rev_options = ['origin/main'] rev_display = '' if self.check_destination(dest, url, rev_options, rev_display): logger.info( diff --git a/ptyprocess-0.5.2/docs/conf.py b/ptyprocess-0.5.2/docs/conf.py index 3a5e13a..0447acc 100644 --- a/ptyprocess-0.5.2/docs/conf.py +++ b/ptyprocess-0.5.2/docs/conf.py @@ -43,8 +43,8 @@ # The encoding of source files. #source_encoding = 'utf-8-sig' -# The master toctree document. -master_doc = 'index' +# The main toctree document. +main_doc = 'index' # General information about the project. project = u'Ptyprocess' diff --git a/ptyprocess-0.5.2/ptyprocess/ptyprocess.py b/ptyprocess-0.5.2/ptyprocess/ptyprocess.py index cb3efae..4ff95e5 100644 --- a/ptyprocess-0.5.2/ptyprocess/ptyprocess.py +++ b/ptyprocess-0.5.2/ptyprocess/ptyprocess.py @@ -225,7 +225,7 @@ def spawn( pid, fd = _fork_pty.fork_pty() # Some platforms must call setwinsize() and setecho() from the - # child process, and others from the master process. We do both, + # child process, and others from the main process. We do both, # allowing IOError for either. if pid == CHILD: diff --git a/pyOpenSSL-17.2.0/doc/conf.py b/pyOpenSSL-17.2.0/doc/conf.py index 3940dd2..67706c2 100644 --- a/pyOpenSSL-17.2.0/doc/conf.py +++ b/pyOpenSSL-17.2.0/doc/conf.py @@ -68,8 +68,8 @@ def find_version(*file_paths): # The encoding of source files. #source_encoding = 'utf-8-sig' -# The master toctree document. -master_doc = 'index' +# The main toctree document. +main_doc = 'index' # General information about the project. project = u'pyOpenSSL' diff --git a/pyOpenSSL-17.2.0/src/OpenSSL/SSL.py b/pyOpenSSL-17.2.0/src/OpenSSL/SSL.py index 8d94bd8..b328e9b 100644 --- a/pyOpenSSL-17.2.0/src/OpenSSL/SSL.py +++ b/pyOpenSSL-17.2.0/src/OpenSSL/SSL.py @@ -1925,9 +1925,9 @@ def client_random(self): _lib.SSL_get_client_random(self._ssl, outp, length) return _ffi.buffer(outp, length)[:] - def master_key(self): + def main_key(self): """ - Get a copy of the master key. + Get a copy of the main key. :return: A string representing the state """ @@ -1935,10 +1935,10 @@ def master_key(self): if session == _ffi.NULL: return None - length = _lib.SSL_SESSION_get_master_key(session, _ffi.NULL, 0) + length = _lib.SSL_SESSION_get_main_key(session, _ffi.NULL, 0) assert length > 0 outp = _no_zero_allocator("unsigned char[]", length) - _lib.SSL_SESSION_get_master_key(session, outp, length) + _lib.SSL_SESSION_get_main_key(session, outp, length) return _ffi.buffer(outp, length)[:] def sock_shutdown(self, *args, **kwargs): diff --git a/pyOpenSSL-17.2.0/tests/test_ssl.py b/pyOpenSSL-17.2.0/tests/test_ssl.py index e154811..4666f2e 100644 --- a/pyOpenSSL-17.2.0/tests/test_ssl.py +++ b/pyOpenSSL-17.2.0/tests/test_ssl.py @@ -2064,7 +2064,7 @@ class TestConnection(object): """ # XXX get_peer_certificate -> None # XXX sock_shutdown - # XXX master_key -> TypeError + # XXX main_key -> TypeError # XXX server_random -> TypeError # XXX connect -> TypeError # XXX connect_ex -> TypeError @@ -2488,10 +2488,10 @@ def makeClient(socket): # This is a proxy: in general, we have no access to any unique # identifier for the session (new enough versions of OpenSSL expose # a hash which could be usable, but "new enough" is very, very new). - # Instead, exploit the fact that the master key is re-used if the - # session is re-used. As long as the master key for the two + # Instead, exploit the fact that the main key is re-used if the + # session is re-used. As long as the main key for the two # connections is the same, the session was re-used! - assert originalServer.master_key() == resumedServer.master_key() + assert originalServer.main_key() == resumedServer.main_key() def test_set_session_wrong_method(self): """ @@ -3336,7 +3336,7 @@ def test_memory_connect(self): client_conn = self._client(None) # There should be no key or nonces yet. - assert server_conn.master_key() is None + assert server_conn.main_key() is None assert server_conn.client_random() is None assert server_conn.server_random() is None @@ -3346,7 +3346,7 @@ def test_memory_connect(self): assert interact_in_memory(client_conn, server_conn) is None # Now that the handshake is done, there should be a key and nonces. - assert server_conn.master_key() is not None + assert server_conn.main_key() is not None assert server_conn.client_random() is not None assert server_conn.server_random() is not None assert server_conn.client_random() == client_conn.client_random() diff --git a/pycparser-2.18/pycparser/ply/lex.py b/pycparser-2.18/pycparser/ply/lex.py index 4bdd76c..eb368cb 100644 --- a/pycparser-2.18/pycparser/ply/lex.py +++ b/pycparser-2.18/pycparser/ply/lex.py @@ -114,12 +114,12 @@ def __call__(self, *args, **kwargs): class Lexer: def __init__(self): - self.lexre = None # Master regular expression. This is a list of + self.lexre = None # Main regular expression. This is a list of # tuples (re, findex) where re is a compiled # regular expression and findex is a list # mapping regex group numbers to rules self.lexretext = None # Current regular expression strings - self.lexstatere = {} # Dictionary mapping lexer states to master regexs + self.lexstatere = {} # Dictionary mapping lexer states to main regexs self.lexstateretext = {} # Dictionary mapping lexer states to regex strings self.lexstaterenames = {} # Dictionary mapping lexer states to symbol names self.lexstate = 'INITIAL' # Current lexer state @@ -484,13 +484,13 @@ def _names_to_funcs(namelist, fdict): return result # ----------------------------------------------------------------------------- -# _form_master_re() +# _form_main_re() # # This function takes a list of all of the regex components and attempts to -# form the master regular expression. Given limitations in the Python re -# module, it may be necessary to break the master regex into separate expressions. +# form the main regular expression. Given limitations in the Python re +# module, it may be necessary to break the main regex into separate expressions. # ----------------------------------------------------------------------------- -def _form_master_re(relist, reflags, ldict, toknames): +def _form_main_re(relist, reflags, ldict, toknames): if not relist: return [] regex = '|'.join(relist) @@ -518,8 +518,8 @@ def _form_master_re(relist, reflags, ldict, toknames): m = int(len(relist)/2) if m == 0: m = 1 - llist, lre, lnames = _form_master_re(relist[:m], reflags, ldict, toknames) - rlist, rre, rnames = _form_master_re(relist[m:], reflags, ldict, toknames) + llist, lre, lnames = _form_main_re(relist[:m], reflags, ldict, toknames) + rlist, rre, rnames = _form_main_re(relist[m:], reflags, ldict, toknames) return (llist+rlist), (lre+rre), (lnames+rnames) # ----------------------------------------------------------------------------- @@ -943,7 +943,7 @@ def lex(module=None, object=None, debug=False, optimize=False, lextab='lextab', stateinfo = linfo.stateinfo regexs = {} - # Build the master regular expressions + # Build the main regular expressions for state in stateinfo: regex_list = [] @@ -963,13 +963,13 @@ def lex(module=None, object=None, debug=False, optimize=False, lextab='lextab', regexs[state] = regex_list - # Build the master regular expressions + # Build the main regular expressions if debug: debuglog.info('lex: ==== MASTER REGEXS FOLLOW ====') for state in regexs: - lexre, re_text, re_names = _form_master_re(regexs[state], reflags, ldict, linfo.toknames) + lexre, re_text, re_names = _form_main_re(regexs[state], reflags, ldict, linfo.toknames) lexobj.lexstatere[state] = lexre lexobj.lexstateretext[state] = re_text lexobj.lexstaterenames[state] = re_names diff --git a/pycrypto-2.6.1/lib/Crypto/Protocol/KDF.py b/pycrypto-2.6.1/lib/Crypto/Protocol/KDF.py index 973b7af..23aaa90 100644 --- a/pycrypto-2.6.1/lib/Crypto/Protocol/KDF.py +++ b/pycrypto-2.6.1/lib/Crypto/Protocol/KDF.py @@ -24,11 +24,11 @@ """This file contains a collection of standard key derivation functions. A key derivation function derives one or more secondary secret keys from -one primary secret (a master key or a pass phrase). +one primary secret (a main key or a pass phrase). This is typically done to insulate the secondary keys from each other, to avoid that leakage of a secondary key compromises the security of the -master key, or to thwart attacks on pass phrases (e.g. via rainbow tables). +main key, or to thwart attacks on pass phrases (e.g. via rainbow tables). :undocumented: __revision__ """ diff --git a/pysnmp-4.3.5/docs/source/conf.py b/pysnmp-4.3.5/docs/source/conf.py index 95cae29..5ff8b6e 100644 --- a/pysnmp-4.3.5/docs/source/conf.py +++ b/pysnmp-4.3.5/docs/source/conf.py @@ -48,8 +48,8 @@ # The encoding of source files. #source_encoding = 'utf-8-sig' -# The master toctree document. -master_doc = 'contents' +# The main toctree document. +main_doc = 'contents' # General information about the project. project = u'PySNMP' @@ -239,7 +239,7 @@ # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - (master_doc, 'PySNMP.tex', u'PySNMP Documentation', + (main_doc, 'PySNMP.tex', u'PySNMP Documentation', u'Ilya Etingof \\textless{}etingof@gmail.com\\textgreater{}', 'manual'), ] @@ -269,7 +269,7 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - (master_doc, 'pysnmp', u'PySNMP Documentation', + (main_doc, 'pysnmp', u'PySNMP Documentation', [author], 1) ] @@ -283,7 +283,7 @@ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - (master_doc, 'PySNMP', u'PySNMP Documentation', + (main_doc, 'PySNMP', u'PySNMP Documentation', author, 'PySNMP', 'One line description of project.', 'Miscellaneous'), ] diff --git a/pysnmp-mibs-0.1.6/pysnmp_mibs/AGENTX-MIB.py b/pysnmp-mibs-0.1.6/pysnmp_mibs/AGENTX-MIB.py index 6bbf9a4..0d44c8a 100644 --- a/pysnmp-mibs-0.1.6/pysnmp_mibs/AGENTX-MIB.py +++ b/pysnmp-mibs-0.1.6/pysnmp_mibs/AGENTX-MIB.py @@ -16,7 +16,7 @@ if mibBuilder.loadTexts: agentxMIB.setLastUpdated('200001100000Z') if mibBuilder.loadTexts: agentxMIB.setOrganization('AgentX Working Group') if mibBuilder.loadTexts: agentxMIB.setContactInfo('WG-email: agentx@dorothy.bmc.com\n Subscribe: agentx-request@dorothy.bmc.com\n WG-email Archive: ftp://ftp.peer.com/pub/agentx/archives\n FTP repository: ftp://ftp.peer.com/pub/agentx\n http://www.ietf.org/html.charters/agentx-charter.html\n\n Chair: Bob Natale\n ACE*COMM Corporation\n Email: bnatale@acecomm.com\n\n WG editor: Mark Ellison\n Ellison Software Consulting, Inc.\n Email: ellison@world.std.com\n\n Co-author: Lauren Heintz\n Cisco Systems,\n EMail: lheintz@cisco.com\n\n Co-author: Smitha Gudur\n Independent Consultant\n Email: sgudur@hotmail.com\n\n ') -if mibBuilder.loadTexts: agentxMIB.setDescription('This is the MIB module for the SNMP Agent Extensibility\n Protocol (AgentX). This MIB module will be implemented by\n the master agent.\n ') +if mibBuilder.loadTexts: agentxMIB.setDescription('This is the MIB module for the SNMP Agent Extensibility\n Protocol (AgentX). This MIB module will be implemented by\n the main agent.\n ') class AgentxTAddress(OctetString, TextualConvention): subtypeSpec = OctetString.subtypeSpec+ValueSizeConstraint(0,255) @@ -26,9 +26,9 @@ class AgentxTAddress(OctetString, TextualConvention): agentxSession = MibIdentifier((1, 3, 6, 1, 2, 1, 74, 1, 3)) agentxRegistration = MibIdentifier((1, 3, 6, 1, 2, 1, 74, 1, 4)) agentxDefaultTimeout = MibScalar((1, 3, 6, 1, 2, 1, 74, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,255)).clone(5)).setUnits('seconds').setMaxAccess("readonly") -if mibBuilder.loadTexts: agentxDefaultTimeout.setDescription('The default length of time, in seconds, that the master\n agent should allow to elapse after dispatching a message\n to a session before it regards the subagent as not\n responding. This is a system-wide value that may\n override the timeout value associated with a particular\n session (agentxSessionTimeout) or a particular registered\n MIB region (agentxRegTimeout). If the associated value of\n agentxSessionTimeout and agentxRegTimeout are zero, or\n impractical in accordance with implementation-specific\n procedure of the master agent, the value represented by\n this object will be the effective timeout value for the\n master agent to await a response to a dispatch from a\n given subagent.\n ') -agentxMasterAgentXVer = MibScalar((1, 3, 6, 1, 2, 1, 74, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1,255))).setMaxAccess("readonly") -if mibBuilder.loadTexts: agentxMasterAgentXVer.setDescription('The AgentX protocol version supported by this master agent.\n The current protocol version is 1. Note that the master agent\n must also allow interaction with earlier version subagents.\n ') +if mibBuilder.loadTexts: agentxDefaultTimeout.setDescription('The default length of time, in seconds, that the main\n agent should allow to elapse after dispatching a message\n to a session before it regards the subagent as not\n responding. This is a system-wide value that may\n override the timeout value associated with a particular\n session (agentxSessionTimeout) or a particular registered\n MIB region (agentxRegTimeout). If the associated value of\n agentxSessionTimeout and agentxRegTimeout are zero, or\n impractical in accordance with implementation-specific\n procedure of the main agent, the value represented by\n this object will be the effective timeout value for the\n main agent to await a response to a dispatch from a\n given subagent.\n ') +agentxMainAgentXVer = MibScalar((1, 3, 6, 1, 2, 1, 74, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1,255))).setMaxAccess("readonly") +if mibBuilder.loadTexts: agentxMainAgentXVer.setDescription('The AgentX protocol version supported by this main agent.\n The current protocol version is 1. Note that the main agent\n must also allow interaction with earlier version subagents.\n ') agentxConnTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 74, 1, 2, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxConnTableLastChange.setDescription('The value of sysUpTime when the last row creation or deletion\n occurred in the agentxConnectionTable.\n ') agentxConnectionTable = MibTable((1, 3, 6, 1, 2, 1, 74, 1, 2, 2), ) @@ -36,21 +36,21 @@ class AgentxTAddress(OctetString, TextualConvention): agentxConnectionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 74, 1, 2, 2, 1), ).setIndexNames((0, "AGENTX-MIB", "agentxConnIndex")) if mibBuilder.loadTexts: agentxConnectionEntry.setDescription('An agentxConnectionEntry contains information describing a\n single AgentX transport connection. A connection may be\n used to support zero or more AgentX sessions. An entry is\n created when a new transport connection is established,\n and is destroyed when the transport connection is terminated.\n ') agentxConnIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 2, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1,4294967295))) -if mibBuilder.loadTexts: agentxConnIndex.setDescription('agentxConnIndex contains the value that uniquely identifies\n an open transport connection used by this master agent\n to provide AgentX service. Values of this index should\n not be re-used. The value assigned to a given transport\n connection is constant for the lifetime of that connection.\n ') +if mibBuilder.loadTexts: agentxConnIndex.setDescription('agentxConnIndex contains the value that uniquely identifies\n an open transport connection used by this main agent\n to provide AgentX service. Values of this index should\n not be re-used. The value assigned to a given transport\n connection is constant for the lifetime of that connection.\n ') agentxConnOpenTime = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 2, 2, 1, 2), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxConnOpenTime.setDescription('The value of sysUpTime when this connection was established\n and, therefore, its value when this entry was added to the table.\n ') agentxConnTransportDomain = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 2, 2, 1, 3), TDomain()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxConnTransportDomain.setDescription('The transport protocol in use for this connection to the\n subagent.\n ') agentxConnTransportAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 2, 2, 1, 4), AgentxTAddress()).setMaxAccess("readonly") -if mibBuilder.loadTexts: agentxConnTransportAddress.setDescription('The transport address of the remote (subagent) end of this\n connection to the master agent. This object may be zero-length\n for unix-domain sockets (and possibly other types of transport\n addresses) since the subagent need not bind a filename to its\n local socket.\n ') +if mibBuilder.loadTexts: agentxConnTransportAddress.setDescription('The transport address of the remote (subagent) end of this\n connection to the main agent. This object may be zero-length\n for unix-domain sockets (and possibly other types of transport\n addresses) since the subagent need not bind a filename to its\n local socket.\n ') agentxSessionTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 74, 1, 3, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxSessionTableLastChange.setDescription('The value of sysUpTime when the last row creation or deletion\n occurred in the agentxSessionTable.\n ') agentxSessionTable = MibTable((1, 3, 6, 1, 2, 1, 74, 1, 3, 2), ) if mibBuilder.loadTexts: agentxSessionTable.setDescription('A table of AgentX subagent sessions currently in effect.\n ') agentxSessionEntry = MibTableRow((1, 3, 6, 1, 2, 1, 74, 1, 3, 2, 1), ).setIndexNames((0, "AGENTX-MIB", "agentxConnIndex"), (0, "AGENTX-MIB", "agentxSessionIndex")) -if mibBuilder.loadTexts: agentxSessionEntry.setDescription('Information about a single open session between the AgentX\n master agent and a subagent is contained in this entry. An\n entry is created when a new session is successfully established\n and is destroyed either when the subagent transport connection\n has terminated or when the subagent session is closed.\n ') +if mibBuilder.loadTexts: agentxSessionEntry.setDescription('Information about a single open session between the AgentX\n main agent and a subagent is contained in this entry. An\n entry is created when a new session is successfully established\n and is destroyed either when the subagent transport connection\n has terminated or when the subagent session is closed.\n ') agentxSessionIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 3, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0,4294967295))) -if mibBuilder.loadTexts: agentxSessionIndex.setDescription("A unique index for the subagent session. It is the same as\n h.sessionID defined in the agentx header. Note that if\n a subagent's session with the master agent is closed for\n any reason its index should not be re-used.\n A value of zero(0) is specifically allowed in order\n to be compatible with the definition of h.sessionId.\n ") +if mibBuilder.loadTexts: agentxSessionIndex.setDescription("A unique index for the subagent session. It is the same as\n h.sessionID defined in the agentx header. Note that if\n a subagent's session with the main agent is closed for\n any reason its index should not be re-used.\n A value of zero(0) is specifically allowed in order\n to be compatible with the definition of h.sessionId.\n ") agentxSessionObjectID = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 3, 2, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxSessionObjectID.setDescription("This is taken from the o.id field of the agentx-Open-PDU.\n This attribute will report a value of '0.0' for subagents\n not supporting the notion of an AgentX session object\n identifier.\n ") agentxSessionDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 3, 2, 1, 3), SnmpAdminString()).setMaxAccess("readonly") @@ -60,9 +60,9 @@ class AgentxTAddress(OctetString, TextualConvention): agentxSessionOpenTime = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 3, 2, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxSessionOpenTime.setDescription('The value of sysUpTime when this session was opened and,\n therefore, its value when this entry was added to the table.\n ') agentxSessionAgentXVer = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 3, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1,255))).setMaxAccess("readonly") -if mibBuilder.loadTexts: agentxSessionAgentXVer.setDescription('The version of the AgentX protocol supported by the\n session. This must be less than or equal to the value of\n agentxMasterAgentXVer.\n ') +if mibBuilder.loadTexts: agentxSessionAgentXVer.setDescription('The version of the AgentX protocol supported by the\n session. This must be less than or equal to the value of\n agentxMainAgentXVer.\n ') agentxSessionTimeout = MibTableColumn((1, 3, 6, 1, 2, 1, 74, 1, 3, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,255))).setUnits('seconds').setMaxAccess("readonly") -if mibBuilder.loadTexts: agentxSessionTimeout.setDescription("The length of time, in seconds, that a master agent should\n allow to elapse after dispatching a message to this session\n before it regards the subagent as not responding. This value\n is taken from the o.timeout field of the agentx-Open-PDU.\n This is a session-specific value that may be overridden by\n values associated with the specific registered MIB regions\n (see agentxRegTimeout). A value of zero(0) indicates that\n the master agent's default timeout value should be used\n (see agentxDefaultTimeout).\n ") +if mibBuilder.loadTexts: agentxSessionTimeout.setDescription("The length of time, in seconds, that a main agent should\n allow to elapse after dispatching a message to this session\n before it regards the subagent as not responding. This value\n is taken from the o.timeout field of the agentx-Open-PDU.\n This is a session-specific value that may be overridden by\n values associated with the specific registered MIB regions\n (see agentxRegTimeout). A value of zero(0) indicates that\n the main agent's default timeout value should be used\n (see agentxDefaultTimeout).\n ") agentxRegistrationTableLastChange = MibScalar((1, 3, 6, 1, 2, 1, 74, 1, 4, 1), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentxRegistrationTableLastChange.setDescription('The value of sysUpTime when the last row creation or deletion\n occurred in the agentxRegistrationTable.\n ') agentxRegistrationTable = MibTable((1, 3, 6, 1, 2, 1, 74, 1, 4, 2), ) @@ -90,6 +90,6 @@ class AgentxTAddress(OctetString, TextualConvention): agentxMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 74, 2, 2)) agentxMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 74, 2, 2, 1)).setObjects(*(("AGENTX-MIB", "agentxMIBGroup"),)) if mibBuilder.loadTexts: agentxMIBCompliance.setDescription('The compliance statement for SNMP entities that implement the\n AgentX protocol. Note that a compliant agent can implement all\n objects in this MIB module as read-only.\n ') -agentxMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 74, 2, 1, 1)).setObjects(*(("AGENTX-MIB", "agentxDefaultTimeout"), ("AGENTX-MIB", "agentxMasterAgentXVer"), ("AGENTX-MIB", "agentxConnTableLastChange"), ("AGENTX-MIB", "agentxConnOpenTime"), ("AGENTX-MIB", "agentxConnTransportDomain"), ("AGENTX-MIB", "agentxConnTransportAddress"), ("AGENTX-MIB", "agentxSessionTableLastChange"), ("AGENTX-MIB", "agentxSessionTimeout"), ("AGENTX-MIB", "agentxSessionObjectID"), ("AGENTX-MIB", "agentxSessionDescr"), ("AGENTX-MIB", "agentxSessionAdminStatus"), ("AGENTX-MIB", "agentxSessionOpenTime"), ("AGENTX-MIB", "agentxSessionAgentXVer"), ("AGENTX-MIB", "agentxRegistrationTableLastChange"), ("AGENTX-MIB", "agentxRegContext"), ("AGENTX-MIB", "agentxRegStart"), ("AGENTX-MIB", "agentxRegRangeSubId"), ("AGENTX-MIB", "agentxRegUpperBound"), ("AGENTX-MIB", "agentxRegPriority"), ("AGENTX-MIB", "agentxRegTimeout"), ("AGENTX-MIB", "agentxRegInstance"),)) +agentxMIBGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 74, 2, 1, 1)).setObjects(*(("AGENTX-MIB", "agentxDefaultTimeout"), ("AGENTX-MIB", "agentxMainAgentXVer"), ("AGENTX-MIB", "agentxConnTableLastChange"), ("AGENTX-MIB", "agentxConnOpenTime"), ("AGENTX-MIB", "agentxConnTransportDomain"), ("AGENTX-MIB", "agentxConnTransportAddress"), ("AGENTX-MIB", "agentxSessionTableLastChange"), ("AGENTX-MIB", "agentxSessionTimeout"), ("AGENTX-MIB", "agentxSessionObjectID"), ("AGENTX-MIB", "agentxSessionDescr"), ("AGENTX-MIB", "agentxSessionAdminStatus"), ("AGENTX-MIB", "agentxSessionOpenTime"), ("AGENTX-MIB", "agentxSessionAgentXVer"), ("AGENTX-MIB", "agentxRegistrationTableLastChange"), ("AGENTX-MIB", "agentxRegContext"), ("AGENTX-MIB", "agentxRegStart"), ("AGENTX-MIB", "agentxRegRangeSubId"), ("AGENTX-MIB", "agentxRegUpperBound"), ("AGENTX-MIB", "agentxRegPriority"), ("AGENTX-MIB", "agentxRegTimeout"), ("AGENTX-MIB", "agentxRegInstance"),)) if mibBuilder.loadTexts: agentxMIBGroup.setDescription('All accessible objects in the AgentX MIB.\n ') -mibBuilder.exportSymbols("AGENTX-MIB", agentxRegUpperBound=agentxRegUpperBound, agentxRegStart=agentxRegStart, agentxRegistrationTableLastChange=agentxRegistrationTableLastChange, agentxConnOpenTime=agentxConnOpenTime, agentxSessionAdminStatus=agentxSessionAdminStatus, agentxConformance=agentxConformance, agentxMIBGroup=agentxMIBGroup, agentxSessionObjectID=agentxSessionObjectID, agentxConnectionEntry=agentxConnectionEntry, PYSNMP_MODULE_ID=agentxMIB, agentxRegistrationTable=agentxRegistrationTable, agentxConnTransportDomain=agentxConnTransportDomain, agentxRegInstance=agentxRegInstance, agentxRegTimeout=agentxRegTimeout, agentxRegPriority=agentxRegPriority, agentxSessionTableLastChange=agentxSessionTableLastChange, agentxConnectionTable=agentxConnectionTable, agentxRegContext=agentxRegContext, agentxConnTransportAddress=agentxConnTransportAddress, agentxMIBCompliance=agentxMIBCompliance, agentxObjects=agentxObjects, agentxConnIndex=agentxConnIndex, agentxSessionEntry=agentxSessionEntry, agentxMIB=agentxMIB, agentxRegRangeSubId=agentxRegRangeSubId, agentxConnTableLastChange=agentxConnTableLastChange, agentxSessionTimeout=agentxSessionTimeout, agentxMasterAgentXVer=agentxMasterAgentXVer, agentxSessionOpenTime=agentxSessionOpenTime, agentxRegistration=agentxRegistration, agentxSessionDescr=agentxSessionDescr, agentxSessionIndex=agentxSessionIndex, agentxMIBCompliances=agentxMIBCompliances, agentxGeneral=agentxGeneral, agentxSessionAgentXVer=agentxSessionAgentXVer, agentxRegistrationEntry=agentxRegistrationEntry, agentxSessionTable=agentxSessionTable, agentxRegIndex=agentxRegIndex, AgentxTAddress=AgentxTAddress, agentxSession=agentxSession, agentxConnection=agentxConnection, agentxMIBGroups=agentxMIBGroups, agentxDefaultTimeout=agentxDefaultTimeout) +mibBuilder.exportSymbols("AGENTX-MIB", agentxRegUpperBound=agentxRegUpperBound, agentxRegStart=agentxRegStart, agentxRegistrationTableLastChange=agentxRegistrationTableLastChange, agentxConnOpenTime=agentxConnOpenTime, agentxSessionAdminStatus=agentxSessionAdminStatus, agentxConformance=agentxConformance, agentxMIBGroup=agentxMIBGroup, agentxSessionObjectID=agentxSessionObjectID, agentxConnectionEntry=agentxConnectionEntry, PYSNMP_MODULE_ID=agentxMIB, agentxRegistrationTable=agentxRegistrationTable, agentxConnTransportDomain=agentxConnTransportDomain, agentxRegInstance=agentxRegInstance, agentxRegTimeout=agentxRegTimeout, agentxRegPriority=agentxRegPriority, agentxSessionTableLastChange=agentxSessionTableLastChange, agentxConnectionTable=agentxConnectionTable, agentxRegContext=agentxRegContext, agentxConnTransportAddress=agentxConnTransportAddress, agentxMIBCompliance=agentxMIBCompliance, agentxObjects=agentxObjects, agentxConnIndex=agentxConnIndex, agentxSessionEntry=agentxSessionEntry, agentxMIB=agentxMIB, agentxRegRangeSubId=agentxRegRangeSubId, agentxConnTableLastChange=agentxConnTableLastChange, agentxSessionTimeout=agentxSessionTimeout, agentxMainAgentXVer=agentxMainAgentXVer, agentxSessionOpenTime=agentxSessionOpenTime, agentxRegistration=agentxRegistration, agentxSessionDescr=agentxSessionDescr, agentxSessionIndex=agentxSessionIndex, agentxMIBCompliances=agentxMIBCompliances, agentxGeneral=agentxGeneral, agentxSessionAgentXVer=agentxSessionAgentXVer, agentxRegistrationEntry=agentxRegistrationEntry, agentxSessionTable=agentxSessionTable, agentxRegIndex=agentxRegIndex, AgentxTAddress=AgentxTAddress, agentxSession=agentxSession, agentxConnection=agentxConnection, agentxMIBGroups=agentxMIBGroups, agentxDefaultTimeout=agentxDefaultTimeout) diff --git a/pysnmp-mibs-0.1.6/pysnmp_mibs/DIRECTORY-SERVER-MIB.py b/pysnmp-mibs-0.1.6/pysnmp_mibs/DIRECTORY-SERVER-MIB.py index 379fc57..576553b 100644 --- a/pysnmp-mibs-0.1.6/pysnmp_mibs/DIRECTORY-SERVER-MIB.py +++ b/pysnmp-mibs-0.1.6/pysnmp_mibs/DIRECTORY-SERVER-MIB.py @@ -26,16 +26,16 @@ if mibBuilder.loadTexts: dsServerType.setDescription('This object indicates whether the server is\n a frontend or, a backend or, both. If the server\n is a frontend, then the frontEndDirectoryServer\n bit will be set. Similarly for the backend.') dsServerDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsServerDescription.setDescription('A text description of the application. This information\n is intended to identify and briefly describe the\n application in a status display.') -dsMasterEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 1, 1, 3), Gauge32()).setMaxAccess("readonly") -if mibBuilder.loadTexts: dsMasterEntries.setDescription(' Number of entries mastered in the Directory Server.') +dsMainEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 1, 1, 3), Gauge32()).setMaxAccess("readonly") +if mibBuilder.loadTexts: dsMainEntries.setDescription(' Number of entries mained in the Directory Server.') dsCopyEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 1, 1, 4), Gauge32()).setMaxAccess("readonly") -if mibBuilder.loadTexts: dsCopyEntries.setDescription(' Number of entries for which systematic (slave)\n copies are maintained in the Directory Server.') +if mibBuilder.loadTexts: dsCopyEntries.setDescription(' Number of entries for which systematic (subordinate)\n copies are maintained in the Directory Server.') dsCacheEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 1, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsCacheEntries.setDescription(' Number of entries cached (non-systematic copies) in\n the Directory Server. This will include the entries that\n are cached partially. The negative cache is not counted.') dsCacheHits = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsCacheHits.setDescription(' Number of operations that were serviced from\n the locally held cache.') -dsSlaveHits = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 1, 1, 7), Counter32()).setMaxAccess("readonly") -if mibBuilder.loadTexts: dsSlaveHits.setDescription(' Number of operations that were serviced from\n the locally held object replications ( copy-\n entries).') +dsSubordinateHits = MibTableColumn((1, 3, 6, 1, 2, 1, 66, 1, 1, 7), Counter32()).setMaxAccess("readonly") +if mibBuilder.loadTexts: dsSubordinateHits.setDescription(' Number of operations that were serviced from\n the locally held object replications ( copy-\n entries).') dsApplIfOpsTable = MibTable((1, 3, 6, 1, 2, 1, 66, 2), ) if mibBuilder.loadTexts: dsApplIfOpsTable.setDescription(' The table holding information related to the\n Directory Server operations.') dsApplIfOpsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 66, 2, 1), ).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "DIRECTORY-SERVER-MIB", "dsApplIfProtocolIndex")) @@ -123,10 +123,10 @@ if mibBuilder.loadTexts: dsIntCompliance.setDescription(' The compliance statement for SNMP entities\n which implement the DIRECTORY-SERVER-MIB for\n monitoring Directory Server operations and the\n interaction of the Directory Server with peer\n Directory Servers.') dsOpsIntCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 66, 4, 2, 4)).setObjects(*(("DIRECTORY-SERVER-MIB", "dsEntryGroup"), ("DIRECTORY-SERVER-MIB", "dsOpsGroup"), ("DIRECTORY-SERVER-MIB", "dsIntGroup"),)) if mibBuilder.loadTexts: dsOpsIntCompliance.setDescription(' The compliance statement for SNMP entities\n which implement the DIRECTORY-SERVER-MIB for monitoring\n Directory Server operations and the interaction of the\n Directory Server with peer Directory Servers.') -dsEntryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 66, 4, 1, 1)).setObjects(*(("DIRECTORY-SERVER-MIB", "dsServerType"), ("DIRECTORY-SERVER-MIB", "dsServerDescription"), ("DIRECTORY-SERVER-MIB", "dsMasterEntries"), ("DIRECTORY-SERVER-MIB", "dsCopyEntries"), ("DIRECTORY-SERVER-MIB", "dsCacheEntries"), ("DIRECTORY-SERVER-MIB", "dsCacheHits"), ("DIRECTORY-SERVER-MIB", "dsSlaveHits"),)) +dsEntryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 66, 4, 1, 1)).setObjects(*(("DIRECTORY-SERVER-MIB", "dsServerType"), ("DIRECTORY-SERVER-MIB", "dsServerDescription"), ("DIRECTORY-SERVER-MIB", "dsMainEntries"), ("DIRECTORY-SERVER-MIB", "dsCopyEntries"), ("DIRECTORY-SERVER-MIB", "dsCacheEntries"), ("DIRECTORY-SERVER-MIB", "dsCacheHits"), ("DIRECTORY-SERVER-MIB", "dsSubordinateHits"),)) if mibBuilder.loadTexts: dsEntryGroup.setDescription(' A collection of objects for a summary overview of the\n Directory Servers.') dsOpsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 66, 4, 1, 2)).setObjects(*(("DIRECTORY-SERVER-MIB", "dsApplIfProtocolIndex"), ("DIRECTORY-SERVER-MIB", "dsApplIfProtocol"), ("DIRECTORY-SERVER-MIB", "dsApplIfUnauthBinds"), ("DIRECTORY-SERVER-MIB", "dsApplIfSimpleAuthBinds"), ("DIRECTORY-SERVER-MIB", "dsApplIfStrongAuthBinds"), ("DIRECTORY-SERVER-MIB", "dsApplIfBindSecurityErrors"), ("DIRECTORY-SERVER-MIB", "dsApplIfInOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfReadOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfCompareOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfAddEntryOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfRemoveEntryOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfModifyEntryOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfModifyRDNOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfListOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfSearchOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfOneLevelSearchOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfWholeSubtreeSearchOps"), ("DIRECTORY-SERVER-MIB", "dsApplIfReferrals"), ("DIRECTORY-SERVER-MIB", "dsApplIfChainings"), ("DIRECTORY-SERVER-MIB", "dsApplIfSecurityErrors"), ("DIRECTORY-SERVER-MIB", "dsApplIfErrors"), ("DIRECTORY-SERVER-MIB", "dsApplIfReplicationUpdatesIn"), ("DIRECTORY-SERVER-MIB", "dsApplIfReplicationUpdatesOut"), ("DIRECTORY-SERVER-MIB", "dsApplIfInBytes"), ("DIRECTORY-SERVER-MIB", "dsApplIfOutBytes"),)) if mibBuilder.loadTexts: dsOpsGroup.setDescription(' A collection of objects for monitoring the Directory\n Server operations.') dsIntGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 66, 4, 1, 3)).setObjects(*(("DIRECTORY-SERVER-MIB", "dsIntEntDirectoryName"), ("DIRECTORY-SERVER-MIB", "dsIntEntTimeOfCreation"), ("DIRECTORY-SERVER-MIB", "dsIntEntTimeOfLastAttempt"), ("DIRECTORY-SERVER-MIB", "dsIntEntTimeOfLastSuccess"), ("DIRECTORY-SERVER-MIB", "dsIntEntFailuresSinceLastSuccess"), ("DIRECTORY-SERVER-MIB", "dsIntEntFailures"), ("DIRECTORY-SERVER-MIB", "dsIntEntSuccesses"), ("DIRECTORY-SERVER-MIB", "dsIntEntURL"),)) if mibBuilder.loadTexts: dsIntGroup.setDescription(" A collection of objects for monitoring the Directory\n Server's interaction with peer Directory Servers.") -mibBuilder.exportSymbols("DIRECTORY-SERVER-MIB", dsApplIfReferrals=dsApplIfReferrals, dsConformance=dsConformance, dsIntTable=dsIntTable, dsApplIfInBytes=dsApplIfInBytes, dsTable=dsTable, dsApplIfChainings=dsApplIfChainings, dsApplIfStrongAuthBinds=dsApplIfStrongAuthBinds, dsServerType=dsServerType, dsIntEntry=dsIntEntry, dsIntEntIndex=dsIntEntIndex, dsApplIfReadOps=dsApplIfReadOps, dsSlaveHits=dsSlaveHits, dsApplIfModifyRDNOps=dsApplIfModifyRDNOps, dsApplIfSearchOps=dsApplIfSearchOps, dsIntEntTimeOfCreation=dsIntEntTimeOfCreation, dsTableEntry=dsTableEntry, dsIntEntTimeOfLastAttempt=dsIntEntTimeOfLastAttempt, dsApplIfOneLevelSearchOps=dsApplIfOneLevelSearchOps, dsServerDescription=dsServerDescription, PYSNMP_MODULE_ID=dsMIB, dsIntEntURL=dsIntEntURL, dsApplIfSimpleAuthBinds=dsApplIfSimpleAuthBinds, dsIntEntFailuresSinceLastSuccess=dsIntEntFailuresSinceLastSuccess, dsApplIfAddEntryOps=dsApplIfAddEntryOps, dsApplIfOpsEntry=dsApplIfOpsEntry, dsApplIfSecurityErrors=dsApplIfSecurityErrors, dsEntryGroup=dsEntryGroup, dsCopyEntries=dsCopyEntries, dsOpsIntCompliance=dsOpsIntCompliance, dsApplIfReplicationUpdatesIn=dsApplIfReplicationUpdatesIn, dsOpsCompliance=dsOpsCompliance, dsCacheEntries=dsCacheEntries, dsIntEntDirectoryName=dsIntEntDirectoryName, dsApplIfListOps=dsApplIfListOps, dsApplIfUnauthBinds=dsApplIfUnauthBinds, dsIntGroup=dsIntGroup, dsApplIfOpsTable=dsApplIfOpsTable, dsApplIfErrors=dsApplIfErrors, dsOpsGroup=dsOpsGroup, dsIntCompliance=dsIntCompliance, dsApplIfProtocol=dsApplIfProtocol, dsApplIfProtocolIndex=dsApplIfProtocolIndex, dsCacheHits=dsCacheHits, dsApplIfRemoveEntryOps=dsApplIfRemoveEntryOps, dsApplIfCompareOps=dsApplIfCompareOps, dsApplIfWholeSubtreeSearchOps=dsApplIfWholeSubtreeSearchOps, dsApplIfModifyEntryOps=dsApplIfModifyEntryOps, dsIntEntFailures=dsIntEntFailures, dsIntEntSuccesses=dsIntEntSuccesses, dsGroups=dsGroups, dsApplIfInOps=dsApplIfInOps, dsApplIfReplicationUpdatesOut=dsApplIfReplicationUpdatesOut, dsIntEntTimeOfLastSuccess=dsIntEntTimeOfLastSuccess, dsCompliances=dsCompliances, dsEntryCompliance=dsEntryCompliance, dsMIB=dsMIB, dsApplIfBindSecurityErrors=dsApplIfBindSecurityErrors, dsMasterEntries=dsMasterEntries, dsApplIfOutBytes=dsApplIfOutBytes) +mibBuilder.exportSymbols("DIRECTORY-SERVER-MIB", dsApplIfReferrals=dsApplIfReferrals, dsConformance=dsConformance, dsIntTable=dsIntTable, dsApplIfInBytes=dsApplIfInBytes, dsTable=dsTable, dsApplIfChainings=dsApplIfChainings, dsApplIfStrongAuthBinds=dsApplIfStrongAuthBinds, dsServerType=dsServerType, dsIntEntry=dsIntEntry, dsIntEntIndex=dsIntEntIndex, dsApplIfReadOps=dsApplIfReadOps, dsSubordinateHits=dsSubordinateHits, dsApplIfModifyRDNOps=dsApplIfModifyRDNOps, dsApplIfSearchOps=dsApplIfSearchOps, dsIntEntTimeOfCreation=dsIntEntTimeOfCreation, dsTableEntry=dsTableEntry, dsIntEntTimeOfLastAttempt=dsIntEntTimeOfLastAttempt, dsApplIfOneLevelSearchOps=dsApplIfOneLevelSearchOps, dsServerDescription=dsServerDescription, PYSNMP_MODULE_ID=dsMIB, dsIntEntURL=dsIntEntURL, dsApplIfSimpleAuthBinds=dsApplIfSimpleAuthBinds, dsIntEntFailuresSinceLastSuccess=dsIntEntFailuresSinceLastSuccess, dsApplIfAddEntryOps=dsApplIfAddEntryOps, dsApplIfOpsEntry=dsApplIfOpsEntry, dsApplIfSecurityErrors=dsApplIfSecurityErrors, dsEntryGroup=dsEntryGroup, dsCopyEntries=dsCopyEntries, dsOpsIntCompliance=dsOpsIntCompliance, dsApplIfReplicationUpdatesIn=dsApplIfReplicationUpdatesIn, dsOpsCompliance=dsOpsCompliance, dsCacheEntries=dsCacheEntries, dsIntEntDirectoryName=dsIntEntDirectoryName, dsApplIfListOps=dsApplIfListOps, dsApplIfUnauthBinds=dsApplIfUnauthBinds, dsIntGroup=dsIntGroup, dsApplIfOpsTable=dsApplIfOpsTable, dsApplIfErrors=dsApplIfErrors, dsOpsGroup=dsOpsGroup, dsIntCompliance=dsIntCompliance, dsApplIfProtocol=dsApplIfProtocol, dsApplIfProtocolIndex=dsApplIfProtocolIndex, dsCacheHits=dsCacheHits, dsApplIfRemoveEntryOps=dsApplIfRemoveEntryOps, dsApplIfCompareOps=dsApplIfCompareOps, dsApplIfWholeSubtreeSearchOps=dsApplIfWholeSubtreeSearchOps, dsApplIfModifyEntryOps=dsApplIfModifyEntryOps, dsIntEntFailures=dsIntEntFailures, dsIntEntSuccesses=dsIntEntSuccesses, dsGroups=dsGroups, dsApplIfInOps=dsApplIfInOps, dsApplIfReplicationUpdatesOut=dsApplIfReplicationUpdatesOut, dsIntEntTimeOfLastSuccess=dsIntEntTimeOfLastSuccess, dsCompliances=dsCompliances, dsEntryCompliance=dsEntryCompliance, dsMIB=dsMIB, dsApplIfBindSecurityErrors=dsApplIfBindSecurityErrors, dsMainEntries=dsMainEntries, dsApplIfOutBytes=dsApplIfOutBytes) diff --git a/pysnmp-mibs-0.1.6/pysnmp_mibs/DOT12-IF-MIB.py b/pysnmp-mibs-0.1.6/pysnmp_mibs/DOT12-IF-MIB.py index 0ec4d51..612e667 100644 --- a/pysnmp-mibs-0.1.6/pysnmp_mibs/DOT12-IF-MIB.py +++ b/pysnmp-mibs-0.1.6/pysnmp_mibs/DOT12-IF-MIB.py @@ -19,23 +19,23 @@ dot12ConfigEntry = MibTableRow((1, 3, 6, 1, 3, 63, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dot12ConfigEntry.setDescription('Configuration for a particular interface to an\n 802.12 medium.') dot12DesiredFramingType = MibTableColumn((1, 3, 6, 1, 3, 63, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3,))).clone(namedValues=NamedValues(("frameType88023", 1), ("frameType88025", 2), ("frameTypeEither", 3),))).setMaxAccess("readwrite") -if mibBuilder.loadTexts: dot12DesiredFramingType.setDescription("The type of framing which will be requested by\n the interface during the next interface MAC\n initialization or open action.\n\n In master mode, this is the framing mode which\n will be granted by the interface. Note that\n for a master mode interface, this object must be\n equal to 'frameType88023' or 'frameType88025',\n since a master mode interface cannot grant\n 'frameTypeEither'.") +if mibBuilder.loadTexts: dot12DesiredFramingType.setDescription("The type of framing which will be requested by\n the interface during the next interface MAC\n initialization or open action.\n\n In main mode, this is the framing mode which\n will be granted by the interface. Note that\n for a main mode interface, this object must be\n equal to 'frameType88023' or 'frameType88025',\n since a main mode interface cannot grant\n 'frameTypeEither'.") dot12FramingCapability = MibTableColumn((1, 3, 6, 1, 3, 63, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3,))).clone(namedValues=NamedValues(("frameType88023", 1), ("frameType88025", 2), ("frameTypeEither", 3),))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12FramingCapability.setDescription('The type of framing this interface is capable of\n supporting.') dot12DesiredPromiscStatus = MibTableColumn((1, 3, 6, 1, 3, 63, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2,))).clone(namedValues=NamedValues(("singleAddressMode", 1), ("promiscuousMode", 2),))).setMaxAccess("readwrite") -if mibBuilder.loadTexts: dot12DesiredPromiscStatus.setDescription('This object is used to select the promiscuous\n mode that this interface will request in the next\n training packet issued on this interface.\n Whether the repeater grants the requested mode\n must be verified by examining the state of the PP\n bits in the corresponding instance of\n dot12LastTrainingConfig.\n\n In master mode, this object controls whether or\n not promiscuous mode will be granted by the\n interface when requested by the lower level\n device.\n\n Note that this object indicates the desired mode\n for the next time the interface trains. The\n currently active mode will be reflected in\n dot12LastTrainingConfig and in ifPromiscuousMode.') +if mibBuilder.loadTexts: dot12DesiredPromiscStatus.setDescription('This object is used to select the promiscuous\n mode that this interface will request in the next\n training packet issued on this interface.\n Whether the repeater grants the requested mode\n must be verified by examining the state of the PP\n bits in the corresponding instance of\n dot12LastTrainingConfig.\n\n In main mode, this object controls whether or\n not promiscuous mode will be granted by the\n interface when requested by the lower level\n device.\n\n Note that this object indicates the desired mode\n for the next time the interface trains. The\n currently active mode will be reflected in\n dot12LastTrainingConfig and in ifPromiscuousMode.') dot12TrainingVersion = MibTableColumn((1, 3, 6, 1, 3, 63, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,7))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12TrainingVersion.setDescription('The value that will be used in the version bits\n (vvv bits) in training frames on this interface.\n This is the highest version number supported by\n this MAC.') dot12LastTrainingConfig = MibTableColumn((1, 3, 6, 1, 3, 63, 1, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2,2)).setFixedLength(2)).setMaxAccess("readonly") -if mibBuilder.loadTexts: dot12LastTrainingConfig.setDescription('This 16 bit field contains the configuration\n bits from the most recent error-free training\n frame received during training on this interface.\n Training request frames are received when in\n master mode, while training response frames are\n received in slave mode. On master mode interfaces,\n this object contains the contents of the\n requested configuration field of the most recent\n traing request frame. On slave mode interfaces,\n this object contains the contents of the allowed\n configuration field of the most recent training\n response frame. The format of the current version\n of this field is described in section 3.7. Please\n refer to the most recent version of the IEEE\n 802.12 standard for the most up-to-date definition\n of the format of this object.') +if mibBuilder.loadTexts: dot12LastTrainingConfig.setDescription('This 16 bit field contains the configuration\n bits from the most recent error-free training\n frame received during training on this interface.\n Training request frames are received when in\n main mode, while training response frames are\n received in subordinate mode. On main mode interfaces,\n this object contains the contents of the\n requested configuration field of the most recent\n traing request frame. On subordinate mode interfaces,\n this object contains the contents of the allowed\n configuration field of the most recent training\n response frame. The format of the current version\n of this field is described in section 3.7. Please\n refer to the most recent version of the IEEE\n 802.12 standard for the most up-to-date definition\n of the format of this object.') dot12Commands = MibTableColumn((1, 3, 6, 1, 3, 63, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4,))).clone(namedValues=NamedValues(("noOp", 1), ("open", 2), ("reset", 3), ("close", 4),))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dot12Commands.setDescription("If the current value of dot12Status is 'closed',\n setting the value of this object to 'open' will\n change the corresponding instance of MIB-II's\n ifAdminStatus to 'up', cause this interface to\n enter the 'opening' state, and will cause training\n to be initiated on this interface. The progress\n and success of the open is given by the values of\n the dot12Status object. Setting this object to\n 'open' when dot12Status has a value other than\n 'closed' has no effect.\n\n Setting the corresponding instance of ifAdminStatus\n to 'up' when the current value of dot12Status is\n 'closed' will have the same effect as setting this\n object to 'open'. Setting ifAdminStatus to 'up'\n when dot12Status has a value other than 'closed'\n has no effect.\n\n Setting the value of this object to 'close' will\n move this interface into the 'closed' state and\n cause all transmit and receive actions to stop.\n This object will then have to be set to 'open' in\n order to reinitiate training.\n\n Setting the corresponding instance of ifAdminStatus\n to 'down' will have the same effect as setting this\n object to 'close'.\n\n Setting the value of this object to 'reset' when\n the current value of dot12Status has a value other\n than 'closed' will reset the interface. On a\n reset, all MIB counters should retain their values.\n This will cause the MAC to initiate an\n acInitializeMAC action as specified in IEEE 802.12.\n This will cause training to be reinitiated on this\n interface. Setting this object to 'reset' when\n dot12Status has a value of 'closed' has no effect.\n Setting this object to 'reset' has no effect on the\n corresponding instance of ifAdminStatus.\n\n Setting the value of this object to 'noOp' has no\n effect.\n\n When read, this object will always have a value\n of 'noOp'.") dot12Status = MibTableColumn((1, 3, 6, 1, 3, 63, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 5, 6,))).clone(namedValues=NamedValues(("opened", 1), ("closed", 2), ("opening", 3), ("openFailure", 5), ("linkFailure", 6),))).setMaxAccess("readonly") -if mibBuilder.loadTexts: dot12Status.setDescription("The current interface status with respect to\n training. One of the following values:\n\n opened - Training has completed \n successfully.\n closed - MAC has been disabled by\n setting dot12Commands to\n 'close'.\n opening - MAC is in training. Training\n signals have been received.\n openFailure - Passed 24 error-free packets,\n but there is a problem, noted\n in the training configuration\n bits (dot12LastTrainingConfig).\n linkFailure - Training signals not received,\n or could not pass 24 error-free\n packets.\n\n Whenever the dot12Commands object is set to\n 'close' or ifAdminStatus is set to 'down', the MAC\n will go silent, dot12Status will be 'closed', and\n ifOperStatus will be 'down'.\n\n When the value of this object is equal to 'closed'\n and the dot12Commands object is set to 'open' or\n the ifAdminStatus object is set to 'up', training\n will be initiated on this interface. When the\n value of this object is not equal to 'closed' and\n the dot12Commands object is set to 'reset',\n training will be reinitiated on this interface.\n Note that sets of some other objects (e.g.\n dot12ControlMode) or external events (e.g. MAC\n protocol violations) may also cause training to be\n reinitiated on this interface.\n\n When training is initiated or reinitiated on an\n interface, the end node will send Training_Up to\n the master and initially go to the 'linkFailure'\n state and ifOperStatus will go to 'down'.\n When the master sends back Training_Down,\n dot12Status will change to the 'opening' state,\n and training packets will be transferred.\n\n After all of the training packets have been\n passed, dot12Status will change to 'linkFailure'\n if 24 consecutive error-free packets were not\n passed, 'opened' if 24 consecutive error-free\n packets were passed and the training\n configuration bits were OK, or 'openFailure' if\n there were 24 consecutive error-free packets, but\n there was a problem with the training\n configuration bits.\n\n When in the 'openFailure' state, the\n dot12LastTrainingConfig object will contain the\n configuration bits from the last training\n packet which can be examined to determine the\n exact reason for the training configuration\n failure.\n\n If training did not succeed (dot12Status is\n 'linkFailure' or 'openFailure), the entire\n process will be restarted after\n MAC_Retraining_Delay_Timer seconds.\n\n If training does succeed (dot12Status changes to\n 'opened'), ifOperStatus will change to 'up'. If\n training does not succeed (dot12Status changes to\n 'linkFailure' or 'openFailure'), ifOperStatus will\n remain 'down'.") +if mibBuilder.loadTexts: dot12Status.setDescription("The current interface status with respect to\n training. One of the following values:\n\n opened - Training has completed \n successfully.\n closed - MAC has been disabled by\n setting dot12Commands to\n 'close'.\n opening - MAC is in training. Training\n signals have been received.\n openFailure - Passed 24 error-free packets,\n but there is a problem, noted\n in the training configuration\n bits (dot12LastTrainingConfig).\n linkFailure - Training signals not received,\n or could not pass 24 error-free\n packets.\n\n Whenever the dot12Commands object is set to\n 'close' or ifAdminStatus is set to 'down', the MAC\n will go silent, dot12Status will be 'closed', and\n ifOperStatus will be 'down'.\n\n When the value of this object is equal to 'closed'\n and the dot12Commands object is set to 'open' or\n the ifAdminStatus object is set to 'up', training\n will be initiated on this interface. When the\n value of this object is not equal to 'closed' and\n the dot12Commands object is set to 'reset',\n training will be reinitiated on this interface.\n Note that sets of some other objects (e.g.\n dot12ControlMode) or external events (e.g. MAC\n protocol violations) may also cause training to be\n reinitiated on this interface.\n\n When training is initiated or reinitiated on an\n interface, the end node will send Training_Up to\n the main and initially go to the 'linkFailure'\n state and ifOperStatus will go to 'down'.\n When the main sends back Training_Down,\n dot12Status will change to the 'opening' state,\n and training packets will be transferred.\n\n After all of the training packets have been\n passed, dot12Status will change to 'linkFailure'\n if 24 consecutive error-free packets were not\n passed, 'opened' if 24 consecutive error-free\n packets were passed and the training\n configuration bits were OK, or 'openFailure' if\n there were 24 consecutive error-free packets, but\n there was a problem with the training\n configuration bits.\n\n When in the 'openFailure' state, the\n dot12LastTrainingConfig object will contain the\n configuration bits from the last training\n packet which can be examined to determine the\n exact reason for the training configuration\n failure.\n\n If training did not succeed (dot12Status is\n 'linkFailure' or 'openFailure), the entire\n process will be restarted after\n MAC_Retraining_Delay_Timer seconds.\n\n If training does succeed (dot12Status changes to\n 'opened'), ifOperStatus will change to 'up'. If\n training does not succeed (dot12Status changes to\n 'linkFailure' or 'openFailure'), ifOperStatus will\n remain 'down'.") dot12CurrentFramingType = MibTableColumn((1, 3, 6, 1, 3, 63, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3,))).clone(namedValues=NamedValues(("frameType88023", 1), ("frameType88025", 2), ("frameTypeUnknown", 3),))).setMaxAccess("readonly") if mibBuilder.loadTexts: dot12CurrentFramingType.setDescription("When dot12DesiredFramingType is one of\n 'frameType88023' or 'frameType88025', this is the\n type of framing asserted by the interface.\n\n When dot12DesiredFramingType is 'frameTypeEither',\n dot12CurrentFramingType shall be one of\n 'frameType88023' or 'frameType88025' when the\n dot12Status is 'opened'. When the dot12Status is\n anything other than 'opened',\n dot12CurrentFramingType shall take the value of\n 'frameTypeUnknown'.") -dot12ControlMode = MibTableColumn((1, 3, 6, 1, 3, 63, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3,))).clone(namedValues=NamedValues(("masterMode", 1), ("slaveMode", 2), ("learn", 3),))).setMaxAccess("readwrite") -if mibBuilder.loadTexts: dot12ControlMode.setDescription("This object is used to configure and report\n whether or not this interface is operating in\n master mode. In a Demand Priority network, end\n node interfaces typically operate in slave mode,\n while switch interfaces may control the Demand\n Priority protocol and operate in master mode.\n\n This object may be implemented as a read-only\n object by those agents and interfaces that do not\n implement software control of master mode. In\n particular, interfaces that cannot operate in\n master mode, and interfaces on which master mode\n is controlled by a pushbutton on the device,\n should implement this object read-only.\n\n Some interfaces do not require network management\n configuration of this feature and can autosense\n whether to use master mode or slave mode. The\n value 'learn' is used for that purpose. While\n autosense is taking place, the value 'learn' is\n returned.\n\n A network management operation which modifies the\n value of dot12ControlMode causes the interface\n to retrain.") +dot12ControlMode = MibTableColumn((1, 3, 6, 1, 3, 63, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3,))).clone(namedValues=NamedValues(("mainMode", 1), ("subordinateMode", 2), ("learn", 3),))).setMaxAccess("readwrite") +if mibBuilder.loadTexts: dot12ControlMode.setDescription("This object is used to configure and report\n whether or not this interface is operating in\n main mode. In a Demand Priority network, end\n node interfaces typically operate in subordinate mode,\n while switch interfaces may control the Demand\n Priority protocol and operate in main mode.\n\n This object may be implemented as a read-only\n object by those agents and interfaces that do not\n implement software control of main mode. In\n particular, interfaces that cannot operate in\n main mode, and interfaces on which main mode\n is controlled by a pushbutton on the device,\n should implement this object read-only.\n\n Some interfaces do not require network management\n configuration of this feature and can autosense\n whether to use main mode or subordinate mode. The\n value 'learn' is used for that purpose. While\n autosense is taking place, the value 'learn' is\n returned.\n\n A network management operation which modifies the\n value of dot12ControlMode causes the interface\n to retrain.") dot12StatTable = MibTable((1, 3, 6, 1, 3, 63, 1, 2), ) if mibBuilder.loadTexts: dot12StatTable.setDescription('Statistics for a collection of 802.12 interfaces\n attached to a particular system.') dot12StatEntry = MibTableRow((1, 3, 6, 1, 3, 63, 1, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) diff --git a/pysnmp-mibs-0.1.6/pysnmp_mibs/DOT12-RPTR-MIB.py b/pysnmp-mibs-0.1.6/pysnmp_mibs/DOT12-RPTR-MIB.py index 879edfe..a23f558 100644 --- a/pysnmp-mibs-0.1.6/pysnmp_mibs/DOT12-RPTR-MIB.py +++ b/pysnmp-mibs-0.1.6/pysnmp_mibs/DOT12-RPTR-MIB.py @@ -66,7 +66,7 @@ vgRptrPortType = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4,))).clone(namedValues=NamedValues(("cascadeExternal", 1), ("cascadeInternal", 2), ("localExternal", 3), ("localInternal", 4),))).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortType.setDescription("Describes the type of port. One of the\n following:\n\n cascadeExternal - Port is an uplink with\n physical connections which\n are externally visible\n cascadeInternal - Port is an uplink with\n physical connections which\n are not externally visible,\n such as a connection to an\n internal backplane in a\n chassis\n localExternal - Port is a downlink or local\n port with externally\n visible connections\n localInternal - Port is a downlink or local\n port with connections which\n are not externally visible,\n such as a connection to an\n internal agent\n\n 'internal' is used to identify ports which place\n traffic into the repeater, but do not have any\n external connections. Note that both DTE and\n cascaded repeater downlinks are considered\n 'local' ports.") vgRptrPortAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2,))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2),))).setMaxAccess("readwrite") -if mibBuilder.loadTexts: vgRptrPortAdminStatus.setDescription('Port enable/disable function. Enabling a\n disabled port will cause training to be\n initiated by the training initiator (the slave\n mode device) on the link. Setting this object to\n disabled(2) disables the port.\n\n A disabled port neither transmits nor receives.\n Once disabled, a port must be explicitly enabled\n to restore operation. A port which is disabled\n when power is lost or when a reset is exerted\n shall remain disabled when normal operation\n resumes.\n\n The value of this object should be preserved\n across repeater resets and power failures.') +if mibBuilder.loadTexts: vgRptrPortAdminStatus.setDescription('Port enable/disable function. Enabling a\n disabled port will cause training to be\n initiated by the training initiator (the subordinate\n mode device) on the link. Setting this object to\n disabled(2) disables the port.\n\n A disabled port neither transmits nor receives.\n Once disabled, a port must be explicitly enabled\n to restore operation. A port which is disabled\n when power is lost or when a reset is exerted\n shall remain disabled when normal operation\n resumes.\n\n The value of this object should be preserved\n across repeater resets and power failures.') vgRptrPortOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3,))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2), ("training", 3),))).setMaxAccess("readonly") if mibBuilder.loadTexts: vgRptrPortOperStatus.setDescription("Current status for the port as specified by the\n PORT_META_STATE in the port process module of\n clause 12 [IEEE Std 802.12].\n\n During initialization or any link warning\n conditions, vgRptrPortStatus will be\n 'inactive(2)'.\n\n When Training_Up is received by the repeater on a\n local port (or when Training_Down is received on\n a cascade port), vgRptrPortStatus will change to\n 'training(3)' and vgRptrTrainingResult can be\n monitored to see the detailed status regarding\n training.\n\n When 24 consecutive good FCS packets are exchanged\n and the configuration bits are OK,\n vgRptrPortStatus will change to 'active(1)'.\n\n A disabled port shall have a port status of\n 'inactive(2)'.") vgRptrPortSupportedPromiscMode = MibTableColumn((1, 3, 6, 1, 2, 1, 53, 1, 1, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3,))).clone(namedValues=NamedValues(("singleModeOnly", 1), ("singleOrPromiscMode", 2), ("promiscModeOnly", 3),))).setMaxAccess("readonly") diff --git a/pysnmp-mibs-0.1.6/pysnmp_mibs/DSA-MIB.py b/pysnmp-mibs-0.1.6/pysnmp_mibs/DSA-MIB.py index 2049340..dac0614 100644 --- a/pysnmp-mibs-0.1.6/pysnmp_mibs/DSA-MIB.py +++ b/pysnmp-mibs-0.1.6/pysnmp_mibs/DSA-MIB.py @@ -65,16 +65,16 @@ if mibBuilder.loadTexts: dsaEntriesTable.setDescription(' The table holding information related to the\n\n entry statistics and cache performance of the DSAs.') dsaEntriesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 29, 2, 1), ).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex")) if mibBuilder.loadTexts: dsaEntriesEntry.setDescription(' Entry containing statistics pertaining to entries\n held by a DSA.') -dsaMasterEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 2, 1, 1), Gauge32()).setMaxAccess("readonly") -if mibBuilder.loadTexts: dsaMasterEntries.setDescription(' Number of entries mastered in the DSA.') +dsaMainEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 2, 1, 1), Gauge32()).setMaxAccess("readonly") +if mibBuilder.loadTexts: dsaMainEntries.setDescription(' Number of entries mained in the DSA.') dsaCopyEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 2, 1, 2), Gauge32()).setMaxAccess("readonly") -if mibBuilder.loadTexts: dsaCopyEntries.setDescription(' Number of entries for which systematic (slave)\n copies are maintained in the DSA.') +if mibBuilder.loadTexts: dsaCopyEntries.setDescription(' Number of entries for which systematic (subordinate)\n copies are maintained in the DSA.') dsaCacheEntries = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 2, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaCacheEntries.setDescription(' Number of entries cached (non-systematic copies) in\n the DSA. This will include the entries that are\n cached partially. The negative cache is not counted.') dsaCacheHits = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dsaCacheHits.setDescription(' Number of operations that were serviced from\n the locally held cache since application\n startup.') -dsaSlaveHits = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 2, 1, 5), Counter32()).setMaxAccess("readonly") -if mibBuilder.loadTexts: dsaSlaveHits.setDescription(' Number of operations that were serviced from\n the locally held object replications [ shadow\n entries] since application startup.') +dsaSubordinateHits = MibTableColumn((1, 3, 6, 1, 2, 1, 29, 2, 1, 5), Counter32()).setMaxAccess("readonly") +if mibBuilder.loadTexts: dsaSubordinateHits.setDescription(' Number of operations that were serviced from\n the locally held object replications [ shadow\n entries] since application startup.') dsaIntTable = MibTable((1, 3, 6, 1, 2, 1, 29, 3), ) if mibBuilder.loadTexts: dsaIntTable.setDescription(' Each row of this table contains some details\n related to the history of the interaction\n of the monitored DSAs with their respective\n peer DSAs.') dsaIntEntry = MibTableRow((1, 3, 6, 1, 2, 1, 29, 3, 1), ).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "DSA-MIB", "dsaIntIndex")) @@ -106,8 +106,8 @@ if mibBuilder.loadTexts: dsaIntCompliance.setDescription(' The compliance statement for SNMPv2 entities\n which implement the DSA-MIB for monitoring DSA\n operations and the interaction of the DSA with\n peer DSAs.') dsaOpsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 29, 4, 1, 1)).setObjects(*(("DSA-MIB", "dsaAnonymousBinds"), ("DSA-MIB", "dsaUnauthBinds"), ("DSA-MIB", "dsaSimpleAuthBinds"), ("DSA-MIB", "dsaStrongAuthBinds"), ("DSA-MIB", "dsaBindSecurityErrors"), ("DSA-MIB", "dsaInOps"), ("DSA-MIB", "dsaReadOps"), ("DSA-MIB", "dsaCompareOps"), ("DSA-MIB", "dsaAddEntryOps"), ("DSA-MIB", "dsaRemoveEntryOps"), ("DSA-MIB", "dsaModifyEntryOps"), ("DSA-MIB", "dsaModifyRDNOps"), ("DSA-MIB", "dsaListOps"), ("DSA-MIB", "dsaSearchOps"), ("DSA-MIB", "dsaOneLevelSearchOps"), ("DSA-MIB", "dsaWholeTreeSearchOps"), ("DSA-MIB", "dsaReferrals"), ("DSA-MIB", "dsaChainings"), ("DSA-MIB", "dsaSecurityErrors"), ("DSA-MIB", "dsaErrors"),)) if mibBuilder.loadTexts: dsaOpsGroup.setDescription(' A collection of objects for monitoring the DSA\n operations.') -dsaEntryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 29, 4, 1, 2)).setObjects(*(("DSA-MIB", "dsaMasterEntries"), ("DSA-MIB", "dsaCopyEntries"), ("DSA-MIB", "dsaCacheEntries"), ("DSA-MIB", "dsaCacheHits"), ("DSA-MIB", "dsaSlaveHits"),)) +dsaEntryGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 29, 4, 1, 2)).setObjects(*(("DSA-MIB", "dsaMainEntries"), ("DSA-MIB", "dsaCopyEntries"), ("DSA-MIB", "dsaCacheEntries"), ("DSA-MIB", "dsaCacheHits"), ("DSA-MIB", "dsaSubordinateHits"),)) if mibBuilder.loadTexts: dsaEntryGroup.setDescription(' A collection of objects for monitoring the DSA\n entry statistics and cache performance.') dsaIntGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 29, 4, 1, 3)).setObjects(*(("DSA-MIB", "dsaName"), ("DSA-MIB", "dsaTimeOfCreation"), ("DSA-MIB", "dsaTimeOfLastAttempt"), ("DSA-MIB", "dsaTimeOfLastSuccess"), ("DSA-MIB", "dsaFailuresSinceLastSuccess"), ("DSA-MIB", "dsaFailures"), ("DSA-MIB", "dsaSuccesses"),)) if mibBuilder.loadTexts: dsaIntGroup.setDescription(" A collection of objects for monitoring the DSA's\n interaction with peer DSAs.") -mibBuilder.exportSymbols("DSA-MIB", dsaErrors=dsaErrors, dsaOpsGroup=dsaOpsGroup, dsaTimeOfLastSuccess=dsaTimeOfLastSuccess, dsaGroups=dsaGroups, dsaWholeTreeSearchOps=dsaWholeTreeSearchOps, dsaConformance=dsaConformance, dsaOneLevelSearchOps=dsaOneLevelSearchOps, dsaBindSecurityErrors=dsaBindSecurityErrors, dsaOpsEntry=dsaOpsEntry, dsaSuccesses=dsaSuccesses, dsaOpsCompliance=dsaOpsCompliance, dsaSearchOps=dsaSearchOps, dsaMasterEntries=dsaMasterEntries, dsaTimeOfLastAttempt=dsaTimeOfLastAttempt, dsaUnauthBinds=dsaUnauthBinds, dsaEntryCompliance=dsaEntryCompliance, dsaFailuresSinceLastSuccess=dsaFailuresSinceLastSuccess, dsaMIB=dsaMIB, dsaSecurityErrors=dsaSecurityErrors, dsaModifyEntryOps=dsaModifyEntryOps, dsaIntCompliance=dsaIntCompliance, dsaName=dsaName, dsaOpsTable=dsaOpsTable, dsaIntIndex=dsaIntIndex, dsaTimeOfCreation=dsaTimeOfCreation, dsaChainings=dsaChainings, dsaInOps=dsaInOps, dsaCacheEntries=dsaCacheEntries, dsaEntryGroup=dsaEntryGroup, dsaEntriesEntry=dsaEntriesEntry, dsaStrongAuthBinds=dsaStrongAuthBinds, dsaIntEntry=dsaIntEntry, dsaSimpleAuthBinds=dsaSimpleAuthBinds, dsaReadOps=dsaReadOps, dsaRemoveEntryOps=dsaRemoveEntryOps, dsaModifyRDNOps=dsaModifyRDNOps, dsaFailures=dsaFailures, dsaListOps=dsaListOps, dsaCacheHits=dsaCacheHits, dsaIntTable=dsaIntTable, dsaEntriesTable=dsaEntriesTable, PYSNMP_MODULE_ID=dsaMIB, dsaCompliances=dsaCompliances, dsaCompareOps=dsaCompareOps, dsaCopyEntries=dsaCopyEntries, dsaSlaveHits=dsaSlaveHits, dsaAnonymousBinds=dsaAnonymousBinds, dsaIntGroup=dsaIntGroup, dsaReferrals=dsaReferrals, dsaAddEntryOps=dsaAddEntryOps) +mibBuilder.exportSymbols("DSA-MIB", dsaErrors=dsaErrors, dsaOpsGroup=dsaOpsGroup, dsaTimeOfLastSuccess=dsaTimeOfLastSuccess, dsaGroups=dsaGroups, dsaWholeTreeSearchOps=dsaWholeTreeSearchOps, dsaConformance=dsaConformance, dsaOneLevelSearchOps=dsaOneLevelSearchOps, dsaBindSecurityErrors=dsaBindSecurityErrors, dsaOpsEntry=dsaOpsEntry, dsaSuccesses=dsaSuccesses, dsaOpsCompliance=dsaOpsCompliance, dsaSearchOps=dsaSearchOps, dsaMainEntries=dsaMainEntries, dsaTimeOfLastAttempt=dsaTimeOfLastAttempt, dsaUnauthBinds=dsaUnauthBinds, dsaEntryCompliance=dsaEntryCompliance, dsaFailuresSinceLastSuccess=dsaFailuresSinceLastSuccess, dsaMIB=dsaMIB, dsaSecurityErrors=dsaSecurityErrors, dsaModifyEntryOps=dsaModifyEntryOps, dsaIntCompliance=dsaIntCompliance, dsaName=dsaName, dsaOpsTable=dsaOpsTable, dsaIntIndex=dsaIntIndex, dsaTimeOfCreation=dsaTimeOfCreation, dsaChainings=dsaChainings, dsaInOps=dsaInOps, dsaCacheEntries=dsaCacheEntries, dsaEntryGroup=dsaEntryGroup, dsaEntriesEntry=dsaEntriesEntry, dsaStrongAuthBinds=dsaStrongAuthBinds, dsaIntEntry=dsaIntEntry, dsaSimpleAuthBinds=dsaSimpleAuthBinds, dsaReadOps=dsaReadOps, dsaRemoveEntryOps=dsaRemoveEntryOps, dsaModifyRDNOps=dsaModifyRDNOps, dsaFailures=dsaFailures, dsaListOps=dsaListOps, dsaCacheHits=dsaCacheHits, dsaIntTable=dsaIntTable, dsaEntriesTable=dsaEntriesTable, PYSNMP_MODULE_ID=dsaMIB, dsaCompliances=dsaCompliances, dsaCompareOps=dsaCompareOps, dsaCopyEntries=dsaCopyEntries, dsaSubordinateHits=dsaSubordinateHits, dsaAnonymousBinds=dsaAnonymousBinds, dsaIntGroup=dsaIntGroup, dsaReferrals=dsaReferrals, dsaAddEntryOps=dsaAddEntryOps) diff --git a/pysnmp-mibs-0.1.6/pysnmp_mibs/IPS-AUTH-MIB.py b/pysnmp-mibs-0.1.6/pysnmp_mibs/IPS-AUTH-MIB.py index f44f493..de32b6c 100644 --- a/pysnmp-mibs-0.1.6/pysnmp_mibs/IPS-AUTH-MIB.py +++ b/pysnmp-mibs-0.1.6/pysnmp_mibs/IPS-AUTH-MIB.py @@ -43,7 +43,7 @@ class IpsAuthAddress(OctetString, TextualConvention): ipsAuthInstIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 2, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1,4294967295))) if mibBuilder.loadTexts: ipsAuthInstIndex.setDescription('An arbitrary integer used to uniquely identify a\n particular authorization instance. This index value\n must not be modified or reused by an agent unless\n a reboot has occurred. An agent should attempt to\n keep this value persistent across reboots.') ipsAuthInstDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 2, 2, 1, 2), SnmpAdminString()).setMaxAccess("readwrite") -if mibBuilder.loadTexts: ipsAuthInstDescr.setDescription('A character string, determined by the implementation to\n describe the authorization instance. When only a single\n instance is present, this object may be set to the\n zero-length string; with multiple authorization\n instances, it must be set to a unique value in an\n implementation-dependent manner to describe the purpose\n of the respective instance. If this is deployed in a\n master agent with more than one subagent implementing\n this MIB module, the master agent is responsible for\n ensuring that this object is unique across all\n subagents.') +if mibBuilder.loadTexts: ipsAuthInstDescr.setDescription('A character string, determined by the implementation to\n describe the authorization instance. When only a single\n instance is present, this object may be set to the\n zero-length string; with multiple authorization\n instances, it must be set to a unique value in an\n implementation-dependent manner to describe the purpose\n of the respective instance. If this is deployed in a\n main agent with more than one subagent implementing\n this MIB module, the main agent is responsible for\n ensuring that this object is unique across all\n subagents.') ipsAuthInstStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 141, 1, 2, 2, 1, 3), StorageType().clone('volatile')).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipsAuthInstStorageType.setDescription("The storage type for all read-write objects within this\n row. Rows in this table are always created via an\n external process, and may have a storage type of readOnly\n or permanent. Conceptual rows having the value 'permanent'\n need not allow write access to any columnar objects in\n the row.\n\n If this object has the value 'volatile', modifications\n to read-write objects in this row are not persistent\n across reboots. If this object has the value\n 'nonVolatile', modifications to objects in this row\n are persistent.\n\n An implementation may choose to allow this object\n to be set to either 'nonVolatile' or 'volatile',\n allowing the management application to choose this\n behavior.") ipsAuthIdentity = MibIdentifier((1, 3, 6, 1, 2, 1, 141, 1, 3)) diff --git a/pysnmp-mibs-0.1.6/pysnmp_mibs/MTA-MIB.py b/pysnmp-mibs-0.1.6/pysnmp_mibs/MTA-MIB.py index 2cc8fc5..251ac03 100644 --- a/pysnmp-mibs-0.1.6/pysnmp_mibs/MTA-MIB.py +++ b/pysnmp-mibs-0.1.6/pysnmp_mibs/MTA-MIB.py @@ -45,7 +45,7 @@ mtaFailedConvertedMessages = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaFailedConvertedMessages.setDescription('The number of messages for which an unsuccessful\n attempt was made to convert them from one form to\n another since MTA initialization.') mtaLoopsDetected = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 1, 1, 12), Counter32()).setMaxAccess("readonly") -if mibBuilder.loadTexts: mtaLoopsDetected.setDescription("A message loop is defined as a situation where the MTA\n decides that a given message will never be delivered to\n one or more recipients and instead will continue to\n loop endlessly through one or more MTAs. This variable\n counts the number of times the MTA has detected such a\n situation since MTA initialization. Note that the\n mechanism MTAs use to detect loops (e.g., trace field\n counting, count of references to this MTA in a trace\n field, examination of DNS or other directory information,\n etc.), the level at which loops are detected (e.g., per\n message, per recipient, per directory entry, etc.), and\n the handling of a loop once it is detected (e.g., looping\n messages are held, looping messages are bounced or sent\n to the postmaster, messages that the MTA knows will loop\n won't be accepted, etc.) vary widely from one MTA to the\n next and cannot be inferred from this variable.") +if mibBuilder.loadTexts: mtaLoopsDetected.setDescription("A message loop is defined as a situation where the MTA\n decides that a given message will never be delivered to\n one or more recipients and instead will continue to\n loop endlessly through one or more MTAs. This variable\n counts the number of times the MTA has detected such a\n situation since MTA initialization. Note that the\n mechanism MTAs use to detect loops (e.g., trace field\n counting, count of references to this MTA in a trace\n field, examination of DNS or other directory information,\n etc.), the level at which loops are detected (e.g., per\n message, per recipient, per directory entry, etc.), and\n the handling of a loop once it is detected (e.g., looping\n messages are held, looping messages are bounced or sent\n to the postmain, messages that the MTA knows will loop\n won't be accepted, etc.) vary widely from one MTA to the\n next and cannot be inferred from this variable.") mtaGroupTable = MibTable((1, 3, 6, 1, 2, 1, 28, 2), ) if mibBuilder.loadTexts: mtaGroupTable.setDescription('The table holding information specific to each MTA group.') mtaGroupEntry = MibTableRow((1, 3, 6, 1, 2, 1, 28, 2, 1), ).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "MTA-MIB", "mtaGroupIndex")) @@ -117,7 +117,7 @@ mtaGroupOldestMessageId = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 32), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mtaGroupOldestMessageId.setDescription("Message ID of the oldest message in the group's queue.\n Whenever possible this should be in the form of an\n RFC 822 msg-id; X.400 may convert X.400 message\n identifiers to this form by following the rules laid\n out in RFC2156.") mtaGroupLoopsDetected = MibTableColumn((1, 3, 6, 1, 2, 1, 28, 2, 1, 33), Counter32()).setMaxAccess("readonly") -if mibBuilder.loadTexts: mtaGroupLoopsDetected.setDescription("A message loop is defined as a situation where the MTA\n decides that a given message will never be delivered to\n one or more recipients and instead will continue to\n loop endlessly through one or more MTAs. This variable\n counts the number of times the MTA has detected such a\n situation in conjunction with something associated with\n this group since group creation. Note that the\n mechanism MTAs use to detect loops (e.g., trace field\n counting, count of references to this MTA in a trace\n field, examination of DNS or other directory information,\n etc.), the level at which loops are detected (e.g., per\n message, per recipient, per directory entry, etc.), and\n the handling of a loop once it is detected (e.g., looping\n messages are held, looping messages are bounced or sent\n to the postmaster, messages that the MTA knows will loop\n won't be accepted, etc.) vary widely from one MTA to the\n next and cannot be inferred from this variable.") +if mibBuilder.loadTexts: mtaGroupLoopsDetected.setDescription("A message loop is defined as a situation where the MTA\n decides that a given message will never be delivered to\n one or more recipients and instead will continue to\n loop endlessly through one or more MTAs. This variable\n counts the number of times the MTA has detected such a\n situation in conjunction with something associated with\n this group since group creation. Note that the\n mechanism MTAs use to detect loops (e.g., trace field\n counting, count of references to this MTA in a trace\n field, examination of DNS or other directory information,\n etc.), the level at which loops are detected (e.g., per\n message, per recipient, per directory entry, etc.), and\n the handling of a loop once it is detected (e.g., looping\n messages are held, looping messages are bounced or sent\n to the postmain, messages that the MTA knows will loop\n won't be accepted, etc.) vary widely from one MTA to the\n next and cannot be inferred from this variable.") mtaGroupAssociationTable = MibTable((1, 3, 6, 1, 2, 1, 28, 3), ) if mibBuilder.loadTexts: mtaGroupAssociationTable.setDescription('The table holding information regarding the associations\n for each MTA group.') mtaGroupAssociationEntry = MibTableRow((1, 3, 6, 1, 2, 1, 28, 3, 1), ).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "MTA-MIB", "mtaGroupIndex"), (0, "MTA-MIB", "mtaGroupAssociationIndex")) diff --git a/pysnmp-mibs-0.1.6/pysnmp_mibs/Printer-MIB.py b/pysnmp-mibs-0.1.6/pysnmp_mibs/Printer-MIB.py index 3387b51..ab445d1 100644 --- a/pysnmp-mibs-0.1.6/pysnmp_mibs/Printer-MIB.py +++ b/pysnmp-mibs-0.1.6/pysnmp_mibs/Printer-MIB.py @@ -166,7 +166,7 @@ class PrtAlertCodeTC(Integer32, TextualConvention): prtAuxiliarySheetStartupPage = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 14), PresentOnOff()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtAuxiliarySheetStartupPage.setDescription('Used to enable or disable printing a startup page. If\n enabled, a startup page will be printed shortly after\n power-up, when the device is ready. Typical startup\n pages include test patterns and/or printer configuration\n information.') prtAuxiliarySheetBannerPage = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 15), PresentOnOff()).setMaxAccess("readwrite") -if mibBuilder.loadTexts: prtAuxiliarySheetBannerPage.setDescription('Used to enable or disable printing banner pages at the\n beginning of jobs. This is a master switch which applies\n to all jobs, regardless of interpreter.') +if mibBuilder.loadTexts: prtAuxiliarySheetBannerPage.setDescription('Used to enable or disable printing banner pages at the\n beginning of jobs. This is a main switch which applies\n to all jobs, regardless of interpreter.') prtGeneralPrinterName = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 16), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0,127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: prtGeneralPrinterName.setDescription("An administrator-specified name for this printer.\n Depending upon implementation of this printer, the value\n of this object may or may not be same as the value for\n the MIB-II 'SysName' object.") prtGeneralSerialNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 5, 1, 1, 17), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0,255))).setMaxAccess("readwrite") diff --git a/pysnmp-mibs-0.1.6/pysnmp_mibs/RFC1285-MIB.py b/pysnmp-mibs-0.1.6/pysnmp_mibs/RFC1285-MIB.py index 7a4cd90..773f383 100644 --- a/pysnmp-mibs-0.1.6/pysnmp_mibs/RFC1285-MIB.py +++ b/pysnmp-mibs-0.1.6/pysnmp_mibs/RFC1285-MIB.py @@ -50,10 +50,10 @@ class FddiMACLongAddressType(OctetString): if mibBuilder.loadTexts: snmpFddiSMTLoVersionId.setDescription('The lowest version of SMT that this station\n supports (refer to ANSI 7.1.2.2).') snmpFddiSMTMACCt = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,255))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTMACCt.setDescription('The number of MACs in the station or\n concentrator.') -snmpFddiSMTNonMasterCt = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,2))).setMaxAccess("readonly") -if mibBuilder.loadTexts: snmpFddiSMTNonMasterCt.setDescription('The number of Non Master PORTs (A, B, or S PORTs)\n in the station or concentrator.') -snmpFddiSMTMasterCt = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,255))).setMaxAccess("readonly") -if mibBuilder.loadTexts: snmpFddiSMTMasterCt.setDescription('The number of Master PORTs in a node. If the\n node is not a concentrator, the value is zero.') +snmpFddiSMTNonMainCt = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,2))).setMaxAccess("readonly") +if mibBuilder.loadTexts: snmpFddiSMTNonMainCt.setDescription('The number of Non Main PORTs (A, B, or S PORTs)\n in the station or concentrator.') +snmpFddiSMTMainCt = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,255))).setMaxAccess("readonly") +if mibBuilder.loadTexts: snmpFddiSMTMainCt.setDescription('The number of Main PORTs in a node. If the\n node is not a concentrator, the value is zero.') snmpFddiSMTPathsAvailable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,7))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiSMTPathsAvailable.setDescription('A value that indicates the PATH types available\n in the station.\n\n The value is a sum. This value initially takes\n the value zero, then for each type of PATH that\n this node has available, 2 raised to a power is\n added to the sum. The powers are according to the\n following table:\n\n Path Power\n Primary 0\n Secondary 1\n Local 2\n\n For example, a station having Primary and Local\n PATHs available would have a value of 5 (2**0 +\n 2**2).') snmpFddiSMTConfigCapabilities = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 1, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,3))).setMaxAccess("readonly") @@ -151,7 +151,7 @@ class FddiMACLongAddressType(OctetString): snmpFddiPORTSMTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1,65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTSMTIndex.setDescription('The value of the SMT index associated with this\n PORT.') snmpFddiPORTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1,65535))).setMaxAccess("readonly") -if mibBuilder.loadTexts: snmpFddiPORTIndex.setDescription("A unique value for each PORT within a given SMT.\n Its value ranges between 1 and the sum of the\n values of snmpFddiSMTNonMasterCt\n { snmpFddiSMTEntry 6 } and snmpFddiSMTMasterCt\n { snmpFddiSMTEntry 7 } on the given SMT. The\n value for each PORT must remain constant at least\n from one re-initialization of the entity's network\n management system to the next re-initialization.") +if mibBuilder.loadTexts: snmpFddiPORTIndex.setDescription("A unique value for each PORT within a given SMT.\n Its value ranges between 1 and the sum of the\n values of snmpFddiSMTNonMainCt\n { snmpFddiSMTEntry 6 } and snmpFddiSMTMainCt\n { snmpFddiSMTEntry 7 } on the given SMT. The\n value for each PORT must remain constant at least\n from one re-initialization of the entity's network\n management system to the next re-initialization.") snmpFddiPORTPCType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4,))).clone(namedValues=NamedValues(("a", 1), ("b", 2), ("s", 3), ("m", 4),))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTPCType.setDescription('PC_Type (refer to ANSI SMT 9.2.2 and ANSI SMT\n 9.6.3.2).') snmpFddiPORTPCNeighbor = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5,))).clone(namedValues=NamedValues(("a", 1), ("b", 2), ("s", 3), ("m", 4), ("unknown", 5),))).setMaxAccess("readonly") @@ -163,7 +163,7 @@ class FddiMACLongAddressType(OctetString): snmpFddiPORTCEState = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5,))).clone(namedValues=NamedValues(("ce0", 1), ("ce1", 2), ("ce2", 3), ("ce3", 4), ("ce4", 5),))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTCEState.setDescription("Indicates the current state of PORT's\n Configuration Element (CE) (refer to ANSI 9.7.5).\n Note that this value represents the Current Path\n information for this PORT.") snmpFddiPORTPathsRequested = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,15))).setMaxAccess("readwrite") -if mibBuilder.loadTexts: snmpFddiPORTPathsRequested.setDescription("A value that indicates the desired association(s)\n of the port with a station PATH. The 'Primary'\n Path is the default. The value of 'Secondary' is\n only meaningful for S (slave) or M (master) PORT\n PC-Types. This value effects the setting of the\n CF_Insert_S, and CF_Insert_L flags (refer to ANSI\n Section 9.4.3). If the 'Primary' PATH is present,\n then the Primary PATH (the default PATH) is\n selected. If the 'Secondary' PATH is present and\n the 'Primary' PATH is not present, then the\n CF_Insert_S flag is set. If the 'Local' PATH is\n sent and neither the 'Primary' or 'Secondary'\n PATHs are sent, then the CF_Insert_L flag is set.\n\n The value is a sum. This value initially takes\n the value zero, then for each type of PATH\n desired, 2 raised to a power is added to the sum.\n The powers are according to the following table:\n\n Path Power\n Primary 0\n Secondary 1\n Local 2\n Isolated 3 ") +if mibBuilder.loadTexts: snmpFddiPORTPathsRequested.setDescription("A value that indicates the desired association(s)\n of the port with a station PATH. The 'Primary'\n Path is the default. The value of 'Secondary' is\n only meaningful for S (subordinate) or M (main) PORT\n PC-Types. This value effects the setting of the\n CF_Insert_S, and CF_Insert_L flags (refer to ANSI\n Section 9.4.3). If the 'Primary' PATH is present,\n then the Primary PATH (the default PATH) is\n selected. If the 'Secondary' PATH is present and\n the 'Primary' PATH is not present, then the\n CF_Insert_S flag is set. If the 'Local' PATH is\n sent and neither the 'Primary' or 'Secondary'\n PATHs are sent, then the CF_Insert_L flag is set.\n\n The value is a sum. This value initially takes\n the value zero, then for each type of PATH\n desired, 2 raised to a power is added to the sum.\n The powers are according to the following table:\n\n Path Power\n Primary 0\n Secondary 1\n Local 2\n Isolated 3 ") snmpFddiPORTMACPlacement = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 9), FddiResourceId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiPORTMACPlacement.setDescription('Indicates the upstream MAC, if any, that is\n associated with the PORT. The value shall be zero\n if there is no MAC associated with the PORT.\n Otherwise, the value shall be equal to the value\n of snmpFddiMACIndex associated with the MAC.') snmpFddiPORTAvailablePaths = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 4, 2, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,7))).setMaxAccess("readonly") @@ -207,7 +207,7 @@ class FddiMACLongAddressType(OctetString): snmpFddiATTACHMENTSMTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 5, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1,65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiATTACHMENTSMTIndex.setDescription('The value of the SMT index associated with this\n ATTACHMENT.') snmpFddiATTACHMENTIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 5, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1,65535))).setMaxAccess("readonly") -if mibBuilder.loadTexts: snmpFddiATTACHMENTIndex.setDescription("A unique value for each ATTACHMENT on a given\n SMT. Its value ranges between 1 and the sum of\n the values of snmpFddiSMTNonMasterCt {\n snmpFddiSMTEntry 6 } and snmpFddiSMTMasterCt {\n snmpFddiSMTEntry 7 } on the given SMT. The value\n for each ATTACHMENT must remain constant at least\n from one re-initialization of the entity's network\n management system to the next re-initialization.") +if mibBuilder.loadTexts: snmpFddiATTACHMENTIndex.setDescription("A unique value for each ATTACHMENT on a given\n SMT. Its value ranges between 1 and the sum of\n the values of snmpFddiSMTNonMainCt {\n snmpFddiSMTEntry 6 } and snmpFddiSMTMainCt {\n snmpFddiSMTEntry 7 } on the given SMT. The value\n for each ATTACHMENT must remain constant at least\n from one re-initialization of the entity's network\n management system to the next re-initialization.") snmpFddiATTACHMENTClass = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 5, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3,))).clone(namedValues=NamedValues(("single-attachment", 1), ("dual-attachment", 2), ("concentrator", 3),))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpFddiATTACHMENTClass.setDescription('The Attachment class. This represents a PORT or\n a pair of PORTs plus the associated optional\n optical bypass that are managed as a functional\n unit. The PORT associations are the following:\n\n single-attachment - S PORTs\n dual-attachment - A/B PORT Pairs\n concentrator - M PORTs ') snmpFddiATTACHMENTOpticalBypassPresent = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 15, 5, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2,))).clone(namedValues=NamedValues(("true", 1), ("false", 2),))).setMaxAccess("readonly") @@ -221,4 +221,4 @@ class FddiMACLongAddressType(OctetString): snmpFddiPHYChipSets = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 6, 1)) snmpFddiMACChipSets = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 6, 2)) snmpFddiPHYMACChipSets = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 15, 6, 3)) -mibBuilder.exportSymbols("RFC1285-MIB", snmpFddiMACRMTState=snmpFddiMACRMTState, snmpFddiPORTPathsRequested=snmpFddiPORTPathsRequested, snmpFddiSMTEntry=snmpFddiSMTEntry, snmpFddiPORTPCNeighbor=snmpFddiPORTPCNeighbor, snmpFddiPORTChipSet=snmpFddiPORTChipSet, snmpFddiMACTvxValue=snmpFddiMACTvxValue, snmpFddiMACCurrentFrameStatus=snmpFddiMACCurrentFrameStatus, snmpFddiSMTTable=snmpFddiSMTTable, snmpFddiMACTNeg=snmpFddiMACTNeg, snmpFddiSMTStationId=snmpFddiSMTStationId, snmpFddiPORTEntry=snmpFddiPORTEntry, snmpFddiMACErrorCts=snmpFddiMACErrorCts, snmpFddiPORTRemoteMACIndicated=snmpFddiPORTRemoteMACIndicated, snmpFddiPORTBSFlag=snmpFddiPORTBSFlag, snmpFddiMACDaFlag=snmpFddiMACDaFlag, snmpFddiMACFrameStatusCapabilities=snmpFddiMACFrameStatusCapabilities, snmpFddiPORTCEState=snmpFddiPORTCEState, snmpFddiSMTPathsAvailable=snmpFddiSMTPathsAvailable, snmpFddiPORTTBMax=snmpFddiPORTTBMax, snmpFddiPORTConnectionPolicies=snmpFddiPORTConnectionPolicies, snmpFddiATTACHMENTIMaxExpiration=snmpFddiATTACHMENTIMaxExpiration, snmpFddiSMTStationAction=snmpFddiSMTStationAction, snmpFddiMACPathsAvailable=snmpFddiMACPathsAvailable, snmpFddiPORTTable=snmpFddiPORTTable, snmpFddiPORTNumber=snmpFddiPORTNumber, snmpFddiPHYMACChipSets=snmpFddiPHYMACChipSets, snmpFddiMACDupAddrTest=snmpFddiMACDupAddrTest, snmpFddiPORTPCWithhold=snmpFddiPORTPCWithhold, snmpFddiMACFrameCondition=snmpFddiMACFrameCondition, FddiMACLongAddressType=FddiMACLongAddressType, snmpFddiMACTVXGreatestLowerBound=snmpFddiMACTVXGreatestLowerBound, snmpFddiPORTIndex=snmpFddiPORTIndex, snmpFddiPORTPCType=snmpFddiPORTPCType, snmpFddiMACIndex=snmpFddiMACIndex, snmpFddiPORTLemCts=snmpFddiPORTLemCts, snmpFddiSMTNumber=snmpFddiSMTNumber, snmpFddiSMTConnectionPolicy=snmpFddiSMTConnectionPolicy, snmpFddiSMTMasterCt=snmpFddiSMTMasterCt, snmpFddiMACOldUpstreamNbr=snmpFddiMACOldUpstreamNbr, snmpFddiMACTReq=snmpFddiMACTReq, snmpFddiATTACHMENTInsertPolicy=snmpFddiATTACHMENTInsertPolicy, snmpFddiPORTLerAlarm=snmpFddiPORTLerAlarm, snmpFddiATTACHMENTSMTIndex=snmpFddiATTACHMENTSMTIndex, snmpFddiMACUpstreamNbr=snmpFddiMACUpstreamNbr, snmpFddiSMTMACCt=snmpFddiSMTMACCt, snmpFddiMACSMTAddress=snmpFddiMACSMTAddress, snmpFddiSMTECMState=snmpFddiSMTECMState, snmpFddiMACLostCts=snmpFddiMACLostCts, snmpFddiMACTable=snmpFddiMACTable, snmpFddiATTACHMENTIndex=snmpFddiATTACHMENTIndex, snmpFddiMACChipSet=snmpFddiMACChipSet, snmpFddiPORTLerEstimate=snmpFddiPORTLerEstimate, snmpFddiSMTOpVersionId=snmpFddiSMTOpVersionId, snmpFddiATTACHMENTNumber=snmpFddiATTACHMENTNumber, snmpFddiMACTMax=snmpFddiMACTMax, snmpFddiSMTHoldState=snmpFddiSMTHoldState, fddi=fddi, snmpFddiATTACHMENTEntry=snmpFddiATTACHMENTEntry, snmpFddiPORTLCTFailCts=snmpFddiPORTLCTFailCts, FddiResourceId=FddiResourceId, snmpFddiPORTMACPlacement=snmpFddiPORTMACPlacement, snmpFddiSMTConfigPolicy=snmpFddiSMTConfigPolicy, FddiSMTStationIdType=FddiSMTStationIdType, snmpFddiSMTCFState=snmpFddiSMTCFState, snmpFddiMACDownstreamPORTType=snmpFddiMACDownstreamPORTType, snmpFddiSMTLoVersionId=snmpFddiSMTLoVersionId, snmpFddiChipSets=snmpFddiChipSets, snmpFddiMAC=snmpFddiMAC, snmpFddiPORTSMTIndex=snmpFddiPORTSMTIndex, snmpFddiMACFrameCts=snmpFddiMACFrameCts, snmpFddiPORT=snmpFddiPORT, snmpFddiATTACHMENT=snmpFddiATTACHMENT, snmpFddiATTACHMENTTable=snmpFddiATTACHMENTTable, snmpFddiSMTStatusReporting=snmpFddiSMTStatusReporting, FddiTime=FddiTime, snmpFddiPORTAvailablePaths=snmpFddiPORTAvailablePaths, snmpFddiPORTAction=snmpFddiPORTAction, snmpFddiMACSMTIndex=snmpFddiMACSMTIndex, snmpFddiSMT=snmpFddiSMT, snmpFddiMACNumber=snmpFddiMACNumber, snmpFddiATTACHMENTInsertedStatus=snmpFddiATTACHMENTInsertedStatus, snmpFddiATTACHMENTOpticalBypassPresent=snmpFddiATTACHMENTOpticalBypassPresent, snmpFddiPHYChipSets=snmpFddiPHYChipSets, snmpFddiPORTConnectState=snmpFddiPORTConnectState, snmpFddiPORTPCMState=snmpFddiPORTPCMState, snmpFddiATTACHMENTClass=snmpFddiATTACHMENTClass, snmpFddiMACTMin=snmpFddiMACTMin, snmpFddiSMTRemoteDisconnectFlag=snmpFddiSMTRemoteDisconnectFlag, snmpFddiPORTMACLoopTime=snmpFddiPORTMACLoopTime, snmpFddiMACPathsRequested=snmpFddiMACPathsRequested, snmpFddiMACFrameErrorThreshold=snmpFddiMACFrameErrorThreshold, snmpFddiSMTConfigCapabilities=snmpFddiSMTConfigCapabilities, snmpFddiPORTLerCutoff=snmpFddiPORTLerCutoff, snmpFddiSMTTNotify=snmpFddiSMTTNotify, snmpFddiMACUnaDaFlag=snmpFddiMACUnaDaFlag, snmpFddiMACEntry=snmpFddiMACEntry, snmpFddiMACTMaxGreatestLowerBound=snmpFddiMACTMaxGreatestLowerBound, snmpFddiSMTNonMasterCt=snmpFddiSMTNonMasterCt, snmpFddiMACChipSets=snmpFddiMACChipSets, snmpFddiSMTHiVersionId=snmpFddiSMTHiVersionId, snmpFddiMACAction=snmpFddiMACAction, snmpFddiSMTIndex=snmpFddiSMTIndex, snmpFddiPORTLerCondition=snmpFddiPORTLerCondition, snmpFddiPORTLemRejectCts=snmpFddiPORTLemRejectCts, snmpFddiPATH=snmpFddiPATH, snmpFddiMACFrameErrorRatio=snmpFddiMACFrameErrorRatio, snmpFddiMACCurrentPath=snmpFddiMACCurrentPath) +mibBuilder.exportSymbols("RFC1285-MIB", snmpFddiMACRMTState=snmpFddiMACRMTState, snmpFddiPORTPathsRequested=snmpFddiPORTPathsRequested, snmpFddiSMTEntry=snmpFddiSMTEntry, snmpFddiPORTPCNeighbor=snmpFddiPORTPCNeighbor, snmpFddiPORTChipSet=snmpFddiPORTChipSet, snmpFddiMACTvxValue=snmpFddiMACTvxValue, snmpFddiMACCurrentFrameStatus=snmpFddiMACCurrentFrameStatus, snmpFddiSMTTable=snmpFddiSMTTable, snmpFddiMACTNeg=snmpFddiMACTNeg, snmpFddiSMTStationId=snmpFddiSMTStationId, snmpFddiPORTEntry=snmpFddiPORTEntry, snmpFddiMACErrorCts=snmpFddiMACErrorCts, snmpFddiPORTRemoteMACIndicated=snmpFddiPORTRemoteMACIndicated, snmpFddiPORTBSFlag=snmpFddiPORTBSFlag, snmpFddiMACDaFlag=snmpFddiMACDaFlag, snmpFddiMACFrameStatusCapabilities=snmpFddiMACFrameStatusCapabilities, snmpFddiPORTCEState=snmpFddiPORTCEState, snmpFddiSMTPathsAvailable=snmpFddiSMTPathsAvailable, snmpFddiPORTTBMax=snmpFddiPORTTBMax, snmpFddiPORTConnectionPolicies=snmpFddiPORTConnectionPolicies, snmpFddiATTACHMENTIMaxExpiration=snmpFddiATTACHMENTIMaxExpiration, snmpFddiSMTStationAction=snmpFddiSMTStationAction, snmpFddiMACPathsAvailable=snmpFddiMACPathsAvailable, snmpFddiPORTTable=snmpFddiPORTTable, snmpFddiPORTNumber=snmpFddiPORTNumber, snmpFddiPHYMACChipSets=snmpFddiPHYMACChipSets, snmpFddiMACDupAddrTest=snmpFddiMACDupAddrTest, snmpFddiPORTPCWithhold=snmpFddiPORTPCWithhold, snmpFddiMACFrameCondition=snmpFddiMACFrameCondition, FddiMACLongAddressType=FddiMACLongAddressType, snmpFddiMACTVXGreatestLowerBound=snmpFddiMACTVXGreatestLowerBound, snmpFddiPORTIndex=snmpFddiPORTIndex, snmpFddiPORTPCType=snmpFddiPORTPCType, snmpFddiMACIndex=snmpFddiMACIndex, snmpFddiPORTLemCts=snmpFddiPORTLemCts, snmpFddiSMTNumber=snmpFddiSMTNumber, snmpFddiSMTConnectionPolicy=snmpFddiSMTConnectionPolicy, snmpFddiSMTMainCt=snmpFddiSMTMainCt, snmpFddiMACOldUpstreamNbr=snmpFddiMACOldUpstreamNbr, snmpFddiMACTReq=snmpFddiMACTReq, snmpFddiATTACHMENTInsertPolicy=snmpFddiATTACHMENTInsertPolicy, snmpFddiPORTLerAlarm=snmpFddiPORTLerAlarm, snmpFddiATTACHMENTSMTIndex=snmpFddiATTACHMENTSMTIndex, snmpFddiMACUpstreamNbr=snmpFddiMACUpstreamNbr, snmpFddiSMTMACCt=snmpFddiSMTMACCt, snmpFddiMACSMTAddress=snmpFddiMACSMTAddress, snmpFddiSMTECMState=snmpFddiSMTECMState, snmpFddiMACLostCts=snmpFddiMACLostCts, snmpFddiMACTable=snmpFddiMACTable, snmpFddiATTACHMENTIndex=snmpFddiATTACHMENTIndex, snmpFddiMACChipSet=snmpFddiMACChipSet, snmpFddiPORTLerEstimate=snmpFddiPORTLerEstimate, snmpFddiSMTOpVersionId=snmpFddiSMTOpVersionId, snmpFddiATTACHMENTNumber=snmpFddiATTACHMENTNumber, snmpFddiMACTMax=snmpFddiMACTMax, snmpFddiSMTHoldState=snmpFddiSMTHoldState, fddi=fddi, snmpFddiATTACHMENTEntry=snmpFddiATTACHMENTEntry, snmpFddiPORTLCTFailCts=snmpFddiPORTLCTFailCts, FddiResourceId=FddiResourceId, snmpFddiPORTMACPlacement=snmpFddiPORTMACPlacement, snmpFddiSMTConfigPolicy=snmpFddiSMTConfigPolicy, FddiSMTStationIdType=FddiSMTStationIdType, snmpFddiSMTCFState=snmpFddiSMTCFState, snmpFddiMACDownstreamPORTType=snmpFddiMACDownstreamPORTType, snmpFddiSMTLoVersionId=snmpFddiSMTLoVersionId, snmpFddiChipSets=snmpFddiChipSets, snmpFddiMAC=snmpFddiMAC, snmpFddiPORTSMTIndex=snmpFddiPORTSMTIndex, snmpFddiMACFrameCts=snmpFddiMACFrameCts, snmpFddiPORT=snmpFddiPORT, snmpFddiATTACHMENT=snmpFddiATTACHMENT, snmpFddiATTACHMENTTable=snmpFddiATTACHMENTTable, snmpFddiSMTStatusReporting=snmpFddiSMTStatusReporting, FddiTime=FddiTime, snmpFddiPORTAvailablePaths=snmpFddiPORTAvailablePaths, snmpFddiPORTAction=snmpFddiPORTAction, snmpFddiMACSMTIndex=snmpFddiMACSMTIndex, snmpFddiSMT=snmpFddiSMT, snmpFddiMACNumber=snmpFddiMACNumber, snmpFddiATTACHMENTInsertedStatus=snmpFddiATTACHMENTInsertedStatus, snmpFddiATTACHMENTOpticalBypassPresent=snmpFddiATTACHMENTOpticalBypassPresent, snmpFddiPHYChipSets=snmpFddiPHYChipSets, snmpFddiPORTConnectState=snmpFddiPORTConnectState, snmpFddiPORTPCMState=snmpFddiPORTPCMState, snmpFddiATTACHMENTClass=snmpFddiATTACHMENTClass, snmpFddiMACTMin=snmpFddiMACTMin, snmpFddiSMTRemoteDisconnectFlag=snmpFddiSMTRemoteDisconnectFlag, snmpFddiPORTMACLoopTime=snmpFddiPORTMACLoopTime, snmpFddiMACPathsRequested=snmpFddiMACPathsRequested, snmpFddiMACFrameErrorThreshold=snmpFddiMACFrameErrorThreshold, snmpFddiSMTConfigCapabilities=snmpFddiSMTConfigCapabilities, snmpFddiPORTLerCutoff=snmpFddiPORTLerCutoff, snmpFddiSMTTNotify=snmpFddiSMTTNotify, snmpFddiMACUnaDaFlag=snmpFddiMACUnaDaFlag, snmpFddiMACEntry=snmpFddiMACEntry, snmpFddiMACTMaxGreatestLowerBound=snmpFddiMACTMaxGreatestLowerBound, snmpFddiSMTNonMainCt=snmpFddiSMTNonMainCt, snmpFddiMACChipSets=snmpFddiMACChipSets, snmpFddiSMTHiVersionId=snmpFddiSMTHiVersionId, snmpFddiMACAction=snmpFddiMACAction, snmpFddiSMTIndex=snmpFddiSMTIndex, snmpFddiPORTLerCondition=snmpFddiPORTLerCondition, snmpFddiPORTLemRejectCts=snmpFddiPORTLemRejectCts, snmpFddiPATH=snmpFddiPATH, snmpFddiMACFrameErrorRatio=snmpFddiMACFrameErrorRatio, snmpFddiMACCurrentPath=snmpFddiMACCurrentPath) diff --git a/pysnmp-mibs-0.1.6/pysnmp_mibs/VRRP-MIB.py b/pysnmp-mibs-0.1.6/pysnmp_mibs/VRRP-MIB.py index ed63a6f..e047698 100644 --- a/pysnmp-mibs-0.1.6/pysnmp_mibs/VRRP-MIB.py +++ b/pysnmp-mibs-0.1.6/pysnmp_mibs/VRRP-MIB.py @@ -34,27 +34,27 @@ class VrId(Integer32, TextualConvention): vrrpOperationsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 68, 1, 7, 1), ).setIndexNames((0, "VRRP-MIB", "vrrpOperationsInetAddrType"), (0, "VRRP-MIB", "vrrpOperationsVrId"), (0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: vrrpOperationsEntry.setDescription("An entry in the vrrpOperationsTable containing the \n operational characteristics of a virtual router. On a \n VRRP router, a given virtual router is identified by a \n combination of the IP version, VRID and ifIndex. \n ifIndex represents a physical interface of the router. \n \n Note that rows in this table can be distinguished on a \n multi-stacked device running VRRP over IPv4 and \n IPv6 on the same physical interface. \n \n Rows in the table cannot be modified unless the value \n of 'vrrpOperationsState' has transitioned to \n 'initialize'") vrrpOperationsInetAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 7, 1, 1), InetAddressType()) -if mibBuilder.loadTexts: vrrpOperationsInetAddrType.setDescription('The IP address type of VrrpOperationsEntry. This value \n applies to both vrrpOperationsMasterIpAddr and \n vrrpOperationsPrimaryIpAddr.') +if mibBuilder.loadTexts: vrrpOperationsInetAddrType.setDescription('The IP address type of VrrpOperationsEntry. This value \n applies to both vrrpOperationsMainIpAddr and \n vrrpOperationsPrimaryIpAddr.') vrrpOperationsVrId = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 7, 1, 2), VrId()) if mibBuilder.loadTexts: vrrpOperationsVrId.setDescription('This object contains the Virtual Router Identifier \n (VRID).') vrrpOperationsVirtualMacAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 7, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpOperationsVirtualMacAddr.setDescription("The virtual MAC address of the virtual router. \n Although this object can be derived from the \n 'vrrpOperationsVrId' object, it is defined so that it \n is easily obtainable by a management application and \n can be included in VRRP-related SNMP notifications.") -vrrpOperationsState = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 7, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3,))).clone(namedValues=NamedValues(("initialize", 1), ("backup", 2), ("master", 3),))).setMaxAccess("readonly") -if mibBuilder.loadTexts: vrrpOperationsState.setDescription("The current state of the virtual router. This object \n has three defined values: \n \n - `initialize', which indicates that the \n virtual router is waiting for a startup event. \n \n - `backup', which indicates the virtual router is \n monitoring the availability of the master router. \n \n - `master', which indicates that the virtual router \n is forwarding packets for IP addresses that are \n associated with this router.") +vrrpOperationsState = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 7, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3,))).clone(namedValues=NamedValues(("initialize", 1), ("backup", 2), ("main", 3),))).setMaxAccess("readonly") +if mibBuilder.loadTexts: vrrpOperationsState.setDescription("The current state of the virtual router. This object \n has three defined values: \n \n - `initialize', which indicates that the \n virtual router is waiting for a startup event. \n \n - `backup', which indicates the virtual router is \n monitoring the availability of the main router. \n \n - `main', which indicates that the virtual router \n is forwarding packets for IP addresses that are \n associated with this router.") vrrpOperationsPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 7, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0,255)).clone(100)).setMaxAccess("readcreate") -if mibBuilder.loadTexts: vrrpOperationsPriority.setDescription("This object specifies the priority to be used for the \n virtual router master election process. Higher values \n imply higher priority. \n \n A priority of '0', although not settable, is sent by \n the master router to indicate that this router has \n ceased to participate in VRRP and a backup virtual \n router should transition to become a new master. \n \n A priority of 255 is used for the router that owns the \n associated IP address(es) for VRRP over IPv4 and hence \n not settable. \n \n A 'badValue(3)' should be returned when a user tries to \n set 0 or 255 for this object. ") +if mibBuilder.loadTexts: vrrpOperationsPriority.setDescription("This object specifies the priority to be used for the \n virtual router main election process. Higher values \n imply higher priority. \n \n A priority of '0', although not settable, is sent by \n the main router to indicate that this router has \n ceased to participate in VRRP and a backup virtual \n router should transition to become a new main. \n \n A priority of 255 is used for the router that owns the \n associated IP address(es) for VRRP over IPv4 and hence \n not settable. \n \n A 'badValue(3)' should be returned when a user tries to \n set 0 or 255 for this object. ") vrrpOperationsAddrCount = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 7, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,255))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpOperationsAddrCount.setDescription('The number of IP addresses that are associated with \n this virtual router. This number is equal to the \n number of rows in the vrrpAssociatedAddrTable that \n correspond to a given IP version/VRID/ifIndex.') -vrrpOperationsMasterIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 7, 1, 7), InetAddress()).setMaxAccess("readonly") -if mibBuilder.loadTexts: vrrpOperationsMasterIpAddr.setDescription("The master router's real IP address. Master router \n would set this address to vrrpOperationsPrimaryIpAddr \n while transitioning to master state. For backup \n routers, this is the IP address listed as the source in \n VRRP advertisement last received by this virtual \n router.") +vrrpOperationsMainIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 7, 1, 7), InetAddress()).setMaxAccess("readonly") +if mibBuilder.loadTexts: vrrpOperationsMainIpAddr.setDescription("The main router's real IP address. Main router \n would set this address to vrrpOperationsPrimaryIpAddr \n while transitioning to main state. For backup \n routers, this is the IP address listed as the source in \n VRRP advertisement last received by this virtual \n router.") vrrpOperationsPrimaryIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 7, 1, 8), InetAddress()).setMaxAccess("readcreate") -if mibBuilder.loadTexts: vrrpOperationsPrimaryIpAddr.setDescription("In the case where there are more than one IP \n Address (associated IP addresses) for a given \n `ifIndex', this object is used to specify the IP \n address that will become the \n vrrpOperationsMasterIpAddr', should the virtual router \n transition from backup state to master.") +if mibBuilder.loadTexts: vrrpOperationsPrimaryIpAddr.setDescription("In the case where there are more than one IP \n Address (associated IP addresses) for a given \n `ifIndex', this object is used to specify the IP \n address that will become the \n vrrpOperationsMainIpAddr', should the virtual router \n transition from backup state to main.") vrrpOperationsAdvInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 7, 1, 9), TimeInterval().subtype(subtypeSpec=ValueRangeConstraint(1,4096)).clone(100)).setUnits('centiseconds').setMaxAccess("readcreate") -if mibBuilder.loadTexts: vrrpOperationsAdvInterval.setDescription('The time interval, in centiseconds, between sending \n advertisement messages. Only the master router sends \n VRRP advertisements.') +if mibBuilder.loadTexts: vrrpOperationsAdvInterval.setDescription('The time interval, in centiseconds, between sending \n advertisement messages. Only the main router sends \n VRRP advertisements.') vrrpOperationsPreemptMode = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 7, 1, 10), TruthValue().clone('true')).setMaxAccess("readcreate") -if mibBuilder.loadTexts: vrrpOperationsPreemptMode.setDescription('Controls whether a higher priority virtual router will \n preempt a lower priority master.') +if mibBuilder.loadTexts: vrrpOperationsPreemptMode.setDescription('Controls whether a higher priority virtual router will \n preempt a lower priority main.') vrrpOperationsAcceptMode = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 7, 1, 11), TruthValue().clone('false')).setMaxAccess("readcreate") -if mibBuilder.loadTexts: vrrpOperationsAcceptMode.setDescription("Controls whether a virtual router in Master state \n will accept packets addressed to the address owner's \n IPv6 address as its own if it is not the IPv6 address \n owner. Default is False. \n This object is not relevant for rows representing VRRP \n over IPv4 and should be set to false.") +if mibBuilder.loadTexts: vrrpOperationsAcceptMode.setDescription("Controls whether a virtual router in Main state \n will accept packets addressed to the address owner's \n IPv6 address as its own if it is not the IPv6 address \n owner. Default is False. \n This object is not relevant for rows representing VRRP \n over IPv4 and should be set to false.") vrrpOperationsUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 7, 1, 12), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpOperationsUpTime.setDescription("This is the value of the `sysUpTime' object when this \n virtual router (i.e., the `vrrpOperationsState') \n transitioned out of `initialized'.") vrrpOperationsStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 7, 1, 13), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") @@ -83,8 +83,8 @@ class VrId(Integer32, TextualConvention): vrrpOperationsEntry.registerAugmentions(("VRRP-MIB", "vrrpRouterStatisticsEntry")) vrrpRouterStatisticsEntry.setIndexNames(*vrrpOperationsEntry.getIndexNames()) if mibBuilder.loadTexts: vrrpRouterStatisticsEntry.setDescription('An entry in the table, containing statistics \n information about a given virtual router.') -vrrpStatisticsMasterTransitions = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 5, 1, 1), Counter32()).setMaxAccess("readonly") -if mibBuilder.loadTexts: vrrpStatisticsMasterTransitions.setDescription("The total number of times that this virtual router's \n state has transitioned to MASTER. \n \n Discontinuities in the value of this counter can occur \n at re-initialization of the management system, and at \n other times as indicated by the value of \n vrrpStatisticsDiscontinuityTime.") +vrrpStatisticsMainTransitions = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 5, 1, 1), Counter32()).setMaxAccess("readonly") +if mibBuilder.loadTexts: vrrpStatisticsMainTransitions.setDescription("The total number of times that this virtual router's \n state has transitioned to MASTER. \n \n Discontinuities in the value of this counter can occur \n at re-initialization of the management system, and at \n other times as indicated by the value of \n vrrpStatisticsDiscontinuityTime.") vrrpStatisticsRcvdAdvertisements = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 5, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpStatisticsRcvdAdvertisements.setDescription('The total number of VRRP advertisements received by \n this virtual router. \n \n Discontinuities in the value of this counter can occur \n at re-initialization of the management system, and at \n other times as indicated by the value of \n vrrpStatisticsDiscontinuityTime.') vrrpStatisticsAdvIntervalErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 5, 1, 3), Counter32()).setMaxAccess("readonly") @@ -108,12 +108,12 @@ class VrId(Integer32, TextualConvention): vrrpStatisticsRefreshRate = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 5, 1, 12), Unsigned32()).setUnits('milli-seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpStatisticsRefreshRate.setDescription('The minimum reasonable polling interval for this entry. \n This object provides an indication of the minimum \n Amount of time required to update the counters in this \n entry.') vrrpNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 68, 0)) -vrrpNewMasterReason = MibScalar((1, 3, 6, 1, 2, 1, 68, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3,))).clone(namedValues=NamedValues(("notmaster", 0), ("priority", 1), ("preempted", 2), ("masterNoResponse", 3),))).setMaxAccess("readonly") -if mibBuilder.loadTexts: vrrpNewMasterReason.setDescription('This indicates the reason for vrrpNewMaster trap. \n Used by vrrpTrapNewMaster trap. The object can be \n polled if the vrrpNewMaster trap is lost to identify \n the reason for transmission. Backup router should \n return notmaster(0) when pooled. ') +vrrpNewMainReason = MibScalar((1, 3, 6, 1, 2, 1, 68, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3,))).clone(namedValues=NamedValues(("notmain", 0), ("priority", 1), ("preempted", 2), ("mainNoResponse", 3),))).setMaxAccess("readonly") +if mibBuilder.loadTexts: vrrpNewMainReason.setDescription('This indicates the reason for vrrpNewMain trap. \n Used by vrrpTrapNewMain trap. The object can be \n polled if the vrrpNewMain trap is lost to identify \n the reason for transmission. Backup router should \n return notmain(0) when pooled. ') vrrpTrapProtoErrReason = MibScalar((1, 3, 6, 1, 2, 1, 68, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3,))).clone(namedValues=NamedValues(("hopLimitError", 0), ("versionError", 1), ("checksumError", 2), ("vridError", 3),))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: vrrpTrapProtoErrReason.setDescription('This indicates the reason for protocol error trap. \n Used by vrrpTrapProtoError trap.') -vrrpTrapNewMaster = NotificationType((1, 3, 6, 1, 2, 1, 68, 0, 1)).setObjects(*(("VRRP-MIB", "vrrpOperationsMasterIpAddr"), ("VRRP-MIB", "vrrpNewMasterReason"),)) -if mibBuilder.loadTexts: vrrpTrapNewMaster.setDescription("The newMaster trap indicates that the sending agent \n has transitioned to 'Master' state.") +vrrpTrapNewMain = NotificationType((1, 3, 6, 1, 2, 1, 68, 0, 1)).setObjects(*(("VRRP-MIB", "vrrpOperationsMainIpAddr"), ("VRRP-MIB", "vrrpNewMainReason"),)) +if mibBuilder.loadTexts: vrrpTrapNewMain.setDescription("The newMain trap indicates that the sending agent \n has transitioned to 'Main' state.") vrrpTrapProtoError = NotificationType((1, 3, 6, 1, 2, 1, 68, 0, 3)).setObjects(*(("VRRP-MIB", "vrrpTrapProtoErrReason"),)) if mibBuilder.loadTexts: vrrpTrapProtoError.setDescription('The error trap indicates that the sending agent has \n encountered the protocol error indicated by \n vrrpTrapProtoErrorReason.') vrrpOperTable = MibTable((1, 3, 6, 1, 2, 1, 68, 1, 3), ) @@ -124,26 +124,26 @@ class VrId(Integer32, TextualConvention): if mibBuilder.loadTexts: vrrpOperVrId.setDescription('This object contains the Virtual Router Identifier \n (VRID). \n This object is deprecated in favor of the IP Version \n independent object, vrrpOperationsVrId ') vrrpOperVirtualMacAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpOperVirtualMacAddr.setDescription("The virtual MAC address of the virtual router. Although \n this object can be derived from the 'vrrpOperVrId' object, \n it is defined so that it is easily obtainable by a \n management application and can be included in VRRP-related \n SNMP traps. \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsVirtualMacAddr.") -vrrpOperState = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3,))).clone(namedValues=NamedValues(("initialize", 1), ("backup", 2), ("master", 3),))).setMaxAccess("readonly") -if mibBuilder.loadTexts: vrrpOperState.setDescription("The current state of the virtual router. This object has \n three defined values: \n \n - `initialize', which indicates that all the \n virtual router is waiting for a startup event. \n \n - `backup', which indicates the virtual router is \n monitoring the availability of the master router. \n \n - `master', which indicates that the virtual router \n is forwarding packets for IP addresses that are \n associated with this router. \n \n Setting the `vrrpOperAdminState' object (below) initiates \n transitions in the value of this object. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsState.") +vrrpOperState = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3,))).clone(namedValues=NamedValues(("initialize", 1), ("backup", 2), ("main", 3),))).setMaxAccess("readonly") +if mibBuilder.loadTexts: vrrpOperState.setDescription("The current state of the virtual router. This object has \n three defined values: \n \n - `initialize', which indicates that all the \n virtual router is waiting for a startup event. \n \n - `backup', which indicates the virtual router is \n monitoring the availability of the main router. \n \n - `main', which indicates that the virtual router \n is forwarding packets for IP addresses that are \n associated with this router. \n \n Setting the `vrrpOperAdminState' object (below) initiates \n transitions in the value of this object. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsState.") vrrpOperAdminState = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2,))).clone(namedValues=NamedValues(("up", 1), ("down", 2),)).clone('down')).setMaxAccess("readcreate") -if mibBuilder.loadTexts: vrrpOperAdminState.setDescription("This object will enable/disable the virtual router \n function. \n \n Setting the value to `up', will transition the state of \n the virtual router from `initialize' to `backup' or \n `master', depending on the value of `vrrpOperPriority'. \n \n Setting the value to `down', will transition the router \n from `master' or `backup' to `initialize'. State \n transitions may not be immediate; they sometimes depend on \n other factors, such as the interface (IF) state. \n \n The `vrrpOperAdminState' object must be set to `down' prior \n to modifying the other read-create objects in the \n conceptual row. The value of the `vrrpOperRowStatus' \n object (below) must be `active', signifying that the \n conceptual row is valid (i.e., the objects are correctly \n set), in order for this object to be set to `up'. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsState.") +if mibBuilder.loadTexts: vrrpOperAdminState.setDescription("This object will enable/disable the virtual router \n function. \n \n Setting the value to `up', will transition the state of \n the virtual router from `initialize' to `backup' or \n `main', depending on the value of `vrrpOperPriority'. \n \n Setting the value to `down', will transition the router \n from `main' or `backup' to `initialize'. State \n transitions may not be immediate; they sometimes depend on \n other factors, such as the interface (IF) state. \n \n The `vrrpOperAdminState' object must be set to `down' prior \n to modifying the other read-create objects in the \n conceptual row. The value of the `vrrpOperRowStatus' \n object (below) must be `active', signifying that the \n conceptual row is valid (i.e., the objects are correctly \n set), in order for this object to be set to `up'. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsState.") vrrpOperPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,255)).clone(100)).setMaxAccess("readcreate") -if mibBuilder.loadTexts: vrrpOperPriority.setDescription("This object specifies the priority to be used for the \n virtual router master election process. Higher values \n imply higher priority. \n \n A priority of '0', although not settable, is sent by \n the master router to indicate that this router has ceased \n to participate in VRRP and a backup virtual router should \n transition to become a new master. \n \n A priority of 255 is used for the router that owns the \n associated IP address(es). \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsPriority.") +if mibBuilder.loadTexts: vrrpOperPriority.setDescription("This object specifies the priority to be used for the \n virtual router main election process. Higher values \n imply higher priority. \n \n A priority of '0', although not settable, is sent by \n the main router to indicate that this router has ceased \n to participate in VRRP and a backup virtual router should \n transition to become a new main. \n \n A priority of 255 is used for the router that owns the \n associated IP address(es). \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsPriority.") vrrpOperIpAddrCount = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0,255))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpOperIpAddrCount.setDescription('The number of IP addresses that are associated with this \n virtual router. This number is equal to the number of \n rows in the vrrpAssoIpAddrTable that correspond to a \n given IF index/VRID pair. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsAddrCount.') -vrrpOperMasterIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 7), IpAddress()).setMaxAccess("readonly") -if mibBuilder.loadTexts: vrrpOperMasterIpAddr.setDescription("The master router's real (primary) IP address. This is \n the IP address listed as the source in VRRP advertisement \n last received by this virtual router. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsMasterIpAddr.") +vrrpOperMainIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 7), IpAddress()).setMaxAccess("readonly") +if mibBuilder.loadTexts: vrrpOperMainIpAddr.setDescription("The main router's real (primary) IP address. This is \n the IP address listed as the source in VRRP advertisement \n last received by this virtual router. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsMainIpAddr.") vrrpOperPrimaryIpAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 8), IpAddress().clone(hexValue="00000000")).setMaxAccess("readcreate") -if mibBuilder.loadTexts: vrrpOperPrimaryIpAddr.setDescription("In the case where there is more than one IP address for \n a given `ifIndex', this object is used to specify the IP \n address that will become the `vrrpOperMasterIpAddr', \n should the virtual router transition from backup to \n master. If this object is set to 0.0.0.0, the IP address \n which is numerically lowest (of all the associated IP \n address for the interface) will be selected. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsPrimaryIpAddr.") +if mibBuilder.loadTexts: vrrpOperPrimaryIpAddr.setDescription("In the case where there is more than one IP address for \n a given `ifIndex', this object is used to specify the IP \n address that will become the `vrrpOperMainIpAddr', \n should the virtual router transition from backup to \n main. If this object is set to 0.0.0.0, the IP address \n which is numerically lowest (of all the associated IP \n address for the interface) will be selected. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsPrimaryIpAddr.") vrrpOperAuthType = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3,))).clone(namedValues=NamedValues(("noAuthentication", 1), ("simpleTextPassword", 2), ("ipAuthenticationHeader", 3),)).clone('noAuthentication')).setMaxAccess("readcreate") if mibBuilder.loadTexts: vrrpOperAuthType.setDescription('Authentication type used for VRRP protocol exchanges \n between virtual routers. This value of this object is the \n same for a given ifIndex. \n \n New enumerations to this list can only be added via a new \n RFC on the standards track. \n \n This object is deprecated in the IP Version MIB.') vrrpOperAuthKey = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0,16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: vrrpOperAuthKey.setDescription("The Authentication Key. This object is set according to \n the value of the 'vrrpOperAuthType' object \n ('simpleTextPassword' or 'ipAuthenticationHeader'). If \n the length of the value is less than 16 octets, the agent \n will left adjust and zero fill to 16 octets. The value of \n this object is the same for a given ifIndex. \n \n When read, vrrpOperAuthKey always returns an Octet String \n of length zero. \n \n This object is deprecated in the IP Version MIB.") vrrpOperAdvertisementInterval = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1,255)).clone(1)).setUnits('seconds').setMaxAccess("readcreate") -if mibBuilder.loadTexts: vrrpOperAdvertisementInterval.setDescription('The time interval, in seconds, between sending \n advertisement messages. Only the master router sends \n VRRP advertisements. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsAdvInterval. ') +if mibBuilder.loadTexts: vrrpOperAdvertisementInterval.setDescription('The time interval, in seconds, between sending \n advertisement messages. Only the main router sends \n VRRP advertisements. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsAdvInterval. ') vrrpOperPreemptMode = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 12), TruthValue().clone('true')).setMaxAccess("readcreate") -if mibBuilder.loadTexts: vrrpOperPreemptMode.setDescription('Controls whether a higher priority virtual router will \n preempt a lower priority master. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsPreemptMode. ') +if mibBuilder.loadTexts: vrrpOperPreemptMode.setDescription('Controls whether a higher priority virtual router will \n preempt a lower priority main. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsPreemptMode. ') vrrpOperVirtualRouterUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 13), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpOperVirtualRouterUpTime.setDescription("This is the value of the `sysUpTime' object when this \n virtual router (i.e., the `vrrpOperState') transitioned \n out of `initialized'. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpOperationsUpTime.") vrrpOperProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 1, 3, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4,))).clone(namedValues=NamedValues(("ip", 1), ("bridge", 2), ("decnet", 3), ("other", 4),)).clone('ip')).setMaxAccess("readcreate") @@ -164,8 +164,8 @@ class VrId(Integer32, TextualConvention): vrrpOperEntry.registerAugmentions(("VRRP-MIB", "vrrpRouterStatsEntry")) vrrpRouterStatsEntry.setIndexNames(*vrrpOperEntry.getIndexNames()) if mibBuilder.loadTexts: vrrpRouterStatsEntry.setDescription('An entry in the table, containing statistics information \n about a given virtual router. \n This object is deprecated in favor of the IP Version \n Independent object, vrrpRouterStatisticsEntry.') -vrrpStatsBecomeMaster = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 1), Counter32()).setMaxAccess("readonly") -if mibBuilder.loadTexts: vrrpStatsBecomeMaster.setDescription("The total number of times that this virtual router's \n state has transitioned to MASTER. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpStatisticsMasterTransitions.") +vrrpStatsBecomeMain = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 1), Counter32()).setMaxAccess("readonly") +if mibBuilder.loadTexts: vrrpStatsBecomeMain.setDescription("The total number of times that this virtual router's \n state has transitioned to MASTER. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpStatisticsMainTransitions.") vrrpStatsAdvertiseRcvd = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrrpStatsAdvertiseRcvd.setDescription('The total number of VRRP advertisements received by this \n virtual router. \n \n This object is deprecated in favor of the IP Version \n Independent object, vrrpStatisticsRcvdAdvertisements.') vrrpStatsAdvertiseIntervalErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 68, 2, 4, 1, 3), Counter32()).setMaxAccess("readonly") @@ -202,20 +202,20 @@ class VrId(Integer32, TextualConvention): if mibBuilder.loadTexts: vrrpModuleFullCompliance.setDescription('The compliance statement for both VRRP for IPv4 and \n VRRP for IPv6 implementations.') vrrpModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 68, 3, 1, 3)).setObjects(*(("VRRP-MIB", "vrrpOperationsGroup"), ("VRRP-MIB", "vrrpStatisticsGroup"), ("VRRP-MIB", "vrrpTrapInfoGroup"), ("VRRP-MIB", "vrrpNotificationsGroup"),)) if mibBuilder.loadTexts: vrrpModuleReadOnlyCompliance.setDescription('When this MIB is implemented without support for read- \n create (i.e. in read-only mode), then such an \n implementation can claim read-only compliance. Such a \n device can then be monitored but can not be configured \n with this MIB.') -vrrpOperGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 1)).setObjects(*(("VRRP-MIB", "vrrpNodeVersion"), ("VRRP-MIB", "vrrpNotificationCntl"), ("VRRP-MIB", "vrrpOperVirtualMacAddr"), ("VRRP-MIB", "vrrpOperState"), ("VRRP-MIB", "vrrpOperAdminState"), ("VRRP-MIB", "vrrpOperPriority"), ("VRRP-MIB", "vrrpOperIpAddrCount"), ("VRRP-MIB", "vrrpOperMasterIpAddr"), ("VRRP-MIB", "vrrpOperPrimaryIpAddr"), ("VRRP-MIB", "vrrpOperAuthType"), ("VRRP-MIB", "vrrpOperAuthKey"), ("VRRP-MIB", "vrrpOperAdvertisementInterval"), ("VRRP-MIB", "vrrpOperPreemptMode"), ("VRRP-MIB", "vrrpOperVirtualRouterUpTime"), ("VRRP-MIB", "vrrpOperProtocol"), ("VRRP-MIB", "vrrpOperRowStatus"), ("VRRP-MIB", "vrrpAssoIpAddrRowStatus"),)) +vrrpOperGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 1)).setObjects(*(("VRRP-MIB", "vrrpNodeVersion"), ("VRRP-MIB", "vrrpNotificationCntl"), ("VRRP-MIB", "vrrpOperVirtualMacAddr"), ("VRRP-MIB", "vrrpOperState"), ("VRRP-MIB", "vrrpOperAdminState"), ("VRRP-MIB", "vrrpOperPriority"), ("VRRP-MIB", "vrrpOperIpAddrCount"), ("VRRP-MIB", "vrrpOperMainIpAddr"), ("VRRP-MIB", "vrrpOperPrimaryIpAddr"), ("VRRP-MIB", "vrrpOperAuthType"), ("VRRP-MIB", "vrrpOperAuthKey"), ("VRRP-MIB", "vrrpOperAdvertisementInterval"), ("VRRP-MIB", "vrrpOperPreemptMode"), ("VRRP-MIB", "vrrpOperVirtualRouterUpTime"), ("VRRP-MIB", "vrrpOperProtocol"), ("VRRP-MIB", "vrrpOperRowStatus"), ("VRRP-MIB", "vrrpAssoIpAddrRowStatus"),)) if mibBuilder.loadTexts: vrrpOperGroup.setDescription('Conformance group for VRRP operations.') -vrrpStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 2)).setObjects(*(("VRRP-MIB", "vrrpRouterChecksumErrors"), ("VRRP-MIB", "vrrpRouterVersionErrors"), ("VRRP-MIB", "vrrpRouterVrIdErrors"), ("VRRP-MIB", "vrrpStatsBecomeMaster"), ("VRRP-MIB", "vrrpStatsAdvertiseRcvd"), ("VRRP-MIB", "vrrpStatsAdvertiseIntervalErrors"), ("VRRP-MIB", "vrrpStatsAuthFailures"), ("VRRP-MIB", "vrrpStatsIpTtlErrors"), ("VRRP-MIB", "vrrpStatsPriorityZeroPktsRcvd"), ("VRRP-MIB", "vrrpStatsPriorityZeroPktsSent"), ("VRRP-MIB", "vrrpStatsInvalidTypePktsRcvd"), ("VRRP-MIB", "vrrpStatsAddressListErrors"), ("VRRP-MIB", "vrrpStatsInvalidAuthType"), ("VRRP-MIB", "vrrpStatsAuthTypeMismatch"), ("VRRP-MIB", "vrrpStatsPacketLengthErrors"),)) +vrrpStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 2)).setObjects(*(("VRRP-MIB", "vrrpRouterChecksumErrors"), ("VRRP-MIB", "vrrpRouterVersionErrors"), ("VRRP-MIB", "vrrpRouterVrIdErrors"), ("VRRP-MIB", "vrrpStatsBecomeMain"), ("VRRP-MIB", "vrrpStatsAdvertiseRcvd"), ("VRRP-MIB", "vrrpStatsAdvertiseIntervalErrors"), ("VRRP-MIB", "vrrpStatsAuthFailures"), ("VRRP-MIB", "vrrpStatsIpTtlErrors"), ("VRRP-MIB", "vrrpStatsPriorityZeroPktsRcvd"), ("VRRP-MIB", "vrrpStatsPriorityZeroPktsSent"), ("VRRP-MIB", "vrrpStatsInvalidTypePktsRcvd"), ("VRRP-MIB", "vrrpStatsAddressListErrors"), ("VRRP-MIB", "vrrpStatsInvalidAuthType"), ("VRRP-MIB", "vrrpStatsAuthTypeMismatch"), ("VRRP-MIB", "vrrpStatsPacketLengthErrors"),)) if mibBuilder.loadTexts: vrrpStatsGroup.setDescription('Conformance group for VRRP statistics.') vrrpTrapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 3)).setObjects(*(("VRRP-MIB", "vrrpTrapPacketSrc"), ("VRRP-MIB", "vrrpTrapAuthErrorType"),)) if mibBuilder.loadTexts: vrrpTrapGroup.setDescription('Conformance group for objects contained in VRRP \n notifications.') -vrrpNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 4)).setObjects(*(("VRRP-MIB", "vrrpTrapNewMaster"), ("VRRP-MIB", "vrrpTrapAuthFailure"),)) +vrrpNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 4)).setObjects(*(("VRRP-MIB", "vrrpTrapNewMain"), ("VRRP-MIB", "vrrpTrapAuthFailure"),)) if mibBuilder.loadTexts: vrrpNotificationGroup.setDescription('The VRRP MIB Notification Group.') -vrrpOperationsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 5)).setObjects(*(("VRRP-MIB", "vrrpNotificationCntl"), ("VRRP-MIB", "vrrpOperationsVirtualMacAddr"), ("VRRP-MIB", "vrrpOperationsState"), ("VRRP-MIB", "vrrpOperationsPriority"), ("VRRP-MIB", "vrrpOperationsMasterIpAddr"), ("VRRP-MIB", "vrrpOperationsAdvInterval"), ("VRRP-MIB", "vrrpOperationsPreemptMode"), ("VRRP-MIB", "vrrpOperationsAcceptMode"), ("VRRP-MIB", "vrrpOperationsUpTime"), ("VRRP-MIB", "vrrpOperationsStorageType"), ("VRRP-MIB", "vrrpOperationsRowStatus"), ("VRRP-MIB", "vrrpOperationsAddrCount"), ("VRRP-MIB", "vrrpOperationsPrimaryIpAddr"), ("VRRP-MIB", "vrrpAssociatedStorageType"), ("VRRP-MIB", "vrrpAssociatedIpAddrRowStatus"),)) +vrrpOperationsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 5)).setObjects(*(("VRRP-MIB", "vrrpNotificationCntl"), ("VRRP-MIB", "vrrpOperationsVirtualMacAddr"), ("VRRP-MIB", "vrrpOperationsState"), ("VRRP-MIB", "vrrpOperationsPriority"), ("VRRP-MIB", "vrrpOperationsMainIpAddr"), ("VRRP-MIB", "vrrpOperationsAdvInterval"), ("VRRP-MIB", "vrrpOperationsPreemptMode"), ("VRRP-MIB", "vrrpOperationsAcceptMode"), ("VRRP-MIB", "vrrpOperationsUpTime"), ("VRRP-MIB", "vrrpOperationsStorageType"), ("VRRP-MIB", "vrrpOperationsRowStatus"), ("VRRP-MIB", "vrrpOperationsAddrCount"), ("VRRP-MIB", "vrrpOperationsPrimaryIpAddr"), ("VRRP-MIB", "vrrpAssociatedStorageType"), ("VRRP-MIB", "vrrpAssociatedIpAddrRowStatus"),)) if mibBuilder.loadTexts: vrrpOperationsGroup.setDescription('Conformance group for VRRP over IPv4 and IPv6 \n operations.') -vrrpStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 6)).setObjects(*(("VRRP-MIB", "vrrpRouterChecksumErrors"), ("VRRP-MIB", "vrrpRouterVersionErrors"), ("VRRP-MIB", "vrrpRouterVrIdErrors"), ("VRRP-MIB", "vrrpStatisticsMasterTransitions"), ("VRRP-MIB", "vrrpStatisticsRcvdAdvertisements"), ("VRRP-MIB", "vrrpStatisticsAdvIntervalErrors"), ("VRRP-MIB", "vrrpStatisticsRcvdPriZeroPackets"), ("VRRP-MIB", "vrrpStatisticsSentPriZeroPackets"), ("VRRP-MIB", "vrrpStatisticsRcvdInvalidTypePkts"), ("VRRP-MIB", "vrrpStatisticsIpTtlErrors"), ("VRRP-MIB", "vrrpStatisticsAddressListErrors"), ("VRRP-MIB", "vrrpStatisticsPacketLengthErrors"), ("VRRP-MIB", "vrrpStatisticsRcvdInvalidAuthentications"), ("VRRP-MIB", "vrrpStatisticsDiscontinuityTime"), ("VRRP-MIB", "vrrpStatisticsRefreshRate"),)) +vrrpStatisticsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 6)).setObjects(*(("VRRP-MIB", "vrrpRouterChecksumErrors"), ("VRRP-MIB", "vrrpRouterVersionErrors"), ("VRRP-MIB", "vrrpRouterVrIdErrors"), ("VRRP-MIB", "vrrpStatisticsMainTransitions"), ("VRRP-MIB", "vrrpStatisticsRcvdAdvertisements"), ("VRRP-MIB", "vrrpStatisticsAdvIntervalErrors"), ("VRRP-MIB", "vrrpStatisticsRcvdPriZeroPackets"), ("VRRP-MIB", "vrrpStatisticsSentPriZeroPackets"), ("VRRP-MIB", "vrrpStatisticsRcvdInvalidTypePkts"), ("VRRP-MIB", "vrrpStatisticsIpTtlErrors"), ("VRRP-MIB", "vrrpStatisticsAddressListErrors"), ("VRRP-MIB", "vrrpStatisticsPacketLengthErrors"), ("VRRP-MIB", "vrrpStatisticsRcvdInvalidAuthentications"), ("VRRP-MIB", "vrrpStatisticsDiscontinuityTime"), ("VRRP-MIB", "vrrpStatisticsRefreshRate"),)) if mibBuilder.loadTexts: vrrpStatisticsGroup.setDescription('Conformance group for VRRP over IPv4 and IPv6 \n statistics.') -vrrpTrapInfoGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 7)).setObjects(*(("VRRP-MIB", "vrrpNewMasterReason"), ("VRRP-MIB", "vrrpTrapProtoErrReason"),)) +vrrpTrapInfoGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 7)).setObjects(*(("VRRP-MIB", "vrrpNewMainReason"), ("VRRP-MIB", "vrrpTrapProtoErrReason"),)) if mibBuilder.loadTexts: vrrpTrapInfoGroup.setDescription('Conformance group for objects contained in VRRP \n notifications.') -vrrpNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 8)).setObjects(*(("VRRP-MIB", "vrrpTrapNewMaster"), ("VRRP-MIB", "vrrpTrapProtoError"),)) +vrrpNotificationsGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 68, 3, 2, 8)).setObjects(*(("VRRP-MIB", "vrrpTrapNewMain"), ("VRRP-MIB", "vrrpTrapProtoError"),)) if mibBuilder.loadTexts: vrrpNotificationsGroup.setDescription('The VRRP MIB Notification Group.') -mibBuilder.exportSymbols("VRRP-MIB", vrrpOperAuthType=vrrpOperAuthType, vrrpOperationsMasterIpAddr=vrrpOperationsMasterIpAddr, vrrpOperationsAcceptMode=vrrpOperationsAcceptMode, vrrpOperationsEntry=vrrpOperationsEntry, VrId=VrId, vrrpStatistics=vrrpStatistics, vrrpOperAdvertisementInterval=vrrpOperAdvertisementInterval, vrrpOperMasterIpAddr=vrrpOperMasterIpAddr, vrrpNotificationGroup=vrrpNotificationGroup, vrrpRouterStatisticsTable=vrrpRouterStatisticsTable, vrrpStatisticsGroup=vrrpStatisticsGroup, vrrpMIB=vrrpMIB, vrrpOperationsStorageType=vrrpOperationsStorageType, vrrpRouterVersionErrors=vrrpRouterVersionErrors, vrrpOperProtocol=vrrpOperProtocol, vrrpRouterStatsEntry=vrrpRouterStatsEntry, vrrpOperationsTable=vrrpOperationsTable, vrrpStatisticsRefreshRate=vrrpStatisticsRefreshRate, vrrpStatisticsSentPriZeroPackets=vrrpStatisticsSentPriZeroPackets, vrrpStatsInvalidAuthType=vrrpStatsInvalidAuthType, vrrpOperPreemptMode=vrrpOperPreemptMode, vrrpStatsAuthTypeMismatch=vrrpStatsAuthTypeMismatch, vrrpStatsPacketLengthErrors=vrrpStatsPacketLengthErrors, vrrpOperAdminState=vrrpOperAdminState, vrrpRouterStatsTable=vrrpRouterStatsTable, vrrpStatsBecomeMaster=vrrpStatsBecomeMaster, vrrpOperIpAddrCount=vrrpOperIpAddrCount, vrrpMIBCompliances=vrrpMIBCompliances, vrrpOperations=vrrpOperations, vrrpNotificationCntl=vrrpNotificationCntl, vrrpTrapGroup=vrrpTrapGroup, vrrpStatsAddressListErrors=vrrpStatsAddressListErrors, vrrpStatisticsIpTtlErrors=vrrpStatisticsIpTtlErrors, vrrpOperEntry=vrrpOperEntry, vrrpOperAuthKey=vrrpOperAuthKey, vrrpModuleReadOnlyCompliance=vrrpModuleReadOnlyCompliance, vrrpTrapProtoError=vrrpTrapProtoError, vrrpOperRowStatus=vrrpOperRowStatus, vrrpTrapAuthErrorType=vrrpTrapAuthErrorType, vrrpStatisticsRcvdAdvertisements=vrrpStatisticsRcvdAdvertisements, vrrpOperationsVirtualMacAddr=vrrpOperationsVirtualMacAddr, vrrpNodeVersion=vrrpNodeVersion, vrrpAssoIpAddrRowStatus=vrrpAssoIpAddrRowStatus, vrrpStatisticsRcvdInvalidAuthentications=vrrpStatisticsRcvdInvalidAuthentications, vrrpStatisticsPacketLengthErrors=vrrpStatisticsPacketLengthErrors, vrrpStatsPriorityZeroPktsSent=vrrpStatsPriorityZeroPktsSent, vrrpStatsAdvertiseRcvd=vrrpStatsAdvertiseRcvd, vrrpStatisticsAddressListErrors=vrrpStatisticsAddressListErrors, vrrpTrapProtoErrReason=vrrpTrapProtoErrReason, vrrpStatisticsDiscontinuityTime=vrrpStatisticsDiscontinuityTime, vrrpOperTable=vrrpOperTable, vrrpMIBCompliance=vrrpMIBCompliance, vrrpTrapNewMaster=vrrpTrapNewMaster, vrrpConformance=vrrpConformance, vrrpNotifications=vrrpNotifications, vrrpOperVirtualRouterUpTime=vrrpOperVirtualRouterUpTime, vrrpAssoIpAddr=vrrpAssoIpAddr, vrrpOperationsInetAddrType=vrrpOperationsInetAddrType, vrrpOperationsPrimaryIpAddr=vrrpOperationsPrimaryIpAddr, vrrpOperPrimaryIpAddr=vrrpOperPrimaryIpAddr, vrrpAssociatedStorageType=vrrpAssociatedStorageType, vrrpOperationsRowStatus=vrrpOperationsRowStatus, vrrpOperationsPreemptMode=vrrpOperationsPreemptMode, vrrpOperationsAddrCount=vrrpOperationsAddrCount, vrrpOperVirtualMacAddr=vrrpOperVirtualMacAddr, vrrpStatsInvalidTypePktsRcvd=vrrpStatsInvalidTypePktsRcvd, vrrpNewMasterReason=vrrpNewMasterReason, vrrpRouterVrIdErrors=vrrpRouterVrIdErrors, vrrpStatsAuthFailures=vrrpStatsAuthFailures, vrrpRouterStatisticsEntry=vrrpRouterStatisticsEntry, vrrpOperationsGroup=vrrpOperationsGroup, vrrpTrapInfoGroup=vrrpTrapInfoGroup, vrrpStatsAdvertiseIntervalErrors=vrrpStatsAdvertiseIntervalErrors, vrrpStatsPriorityZeroPktsRcvd=vrrpStatsPriorityZeroPktsRcvd, vrrpOperationsState=vrrpOperationsState, vrrpOperGroup=vrrpOperGroup, vrrpOperVrId=vrrpOperVrId, vrrpStatisticsRcvdInvalidTypePkts=vrrpStatisticsRcvdInvalidTypePkts, vrrpRouterChecksumErrors=vrrpRouterChecksumErrors, vrrpOperationsPriority=vrrpOperationsPriority, vrrpAssoIpAddrEntry=vrrpAssoIpAddrEntry, vrrpAssoIpAddrTable=vrrpAssoIpAddrTable, vrrpNotificationsGroup=vrrpNotificationsGroup, vrrpOperPriority=vrrpOperPriority, vrrpAssociatedIpAddrEntry=vrrpAssociatedIpAddrEntry, vrrpStatisticsRcvdPriZeroPackets=vrrpStatisticsRcvdPriZeroPackets, vrrpModuleFullCompliance=vrrpModuleFullCompliance, vrrpOperState=vrrpOperState, vrrpOperationsAdvInterval=vrrpOperationsAdvInterval, vrrpOperationsVrId=vrrpOperationsVrId, vrrpTrapPacketSrc=vrrpTrapPacketSrc, vrrpAssociatedIpAddrTable=vrrpAssociatedIpAddrTable, vrrpAssociatedIpAddr=vrrpAssociatedIpAddr, vrrpStatsGroup=vrrpStatsGroup, vrrpMIBGroups=vrrpMIBGroups, vrrpStatisticsAdvIntervalErrors=vrrpStatisticsAdvIntervalErrors, vrrpStatsIpTtlErrors=vrrpStatsIpTtlErrors, vrrpOperationsUpTime=vrrpOperationsUpTime, vrrpStatisticsMasterTransitions=vrrpStatisticsMasterTransitions, PYSNMP_MODULE_ID=vrrpMIB, vrrpAssociatedIpAddrRowStatus=vrrpAssociatedIpAddrRowStatus, vrrpTrapAuthFailure=vrrpTrapAuthFailure) +mibBuilder.exportSymbols("VRRP-MIB", vrrpOperAuthType=vrrpOperAuthType, vrrpOperationsMainIpAddr=vrrpOperationsMainIpAddr, vrrpOperationsAcceptMode=vrrpOperationsAcceptMode, vrrpOperationsEntry=vrrpOperationsEntry, VrId=VrId, vrrpStatistics=vrrpStatistics, vrrpOperAdvertisementInterval=vrrpOperAdvertisementInterval, vrrpOperMainIpAddr=vrrpOperMainIpAddr, vrrpNotificationGroup=vrrpNotificationGroup, vrrpRouterStatisticsTable=vrrpRouterStatisticsTable, vrrpStatisticsGroup=vrrpStatisticsGroup, vrrpMIB=vrrpMIB, vrrpOperationsStorageType=vrrpOperationsStorageType, vrrpRouterVersionErrors=vrrpRouterVersionErrors, vrrpOperProtocol=vrrpOperProtocol, vrrpRouterStatsEntry=vrrpRouterStatsEntry, vrrpOperationsTable=vrrpOperationsTable, vrrpStatisticsRefreshRate=vrrpStatisticsRefreshRate, vrrpStatisticsSentPriZeroPackets=vrrpStatisticsSentPriZeroPackets, vrrpStatsInvalidAuthType=vrrpStatsInvalidAuthType, vrrpOperPreemptMode=vrrpOperPreemptMode, vrrpStatsAuthTypeMismatch=vrrpStatsAuthTypeMismatch, vrrpStatsPacketLengthErrors=vrrpStatsPacketLengthErrors, vrrpOperAdminState=vrrpOperAdminState, vrrpRouterStatsTable=vrrpRouterStatsTable, vrrpStatsBecomeMain=vrrpStatsBecomeMain, vrrpOperIpAddrCount=vrrpOperIpAddrCount, vrrpMIBCompliances=vrrpMIBCompliances, vrrpOperations=vrrpOperations, vrrpNotificationCntl=vrrpNotificationCntl, vrrpTrapGroup=vrrpTrapGroup, vrrpStatsAddressListErrors=vrrpStatsAddressListErrors, vrrpStatisticsIpTtlErrors=vrrpStatisticsIpTtlErrors, vrrpOperEntry=vrrpOperEntry, vrrpOperAuthKey=vrrpOperAuthKey, vrrpModuleReadOnlyCompliance=vrrpModuleReadOnlyCompliance, vrrpTrapProtoError=vrrpTrapProtoError, vrrpOperRowStatus=vrrpOperRowStatus, vrrpTrapAuthErrorType=vrrpTrapAuthErrorType, vrrpStatisticsRcvdAdvertisements=vrrpStatisticsRcvdAdvertisements, vrrpOperationsVirtualMacAddr=vrrpOperationsVirtualMacAddr, vrrpNodeVersion=vrrpNodeVersion, vrrpAssoIpAddrRowStatus=vrrpAssoIpAddrRowStatus, vrrpStatisticsRcvdInvalidAuthentications=vrrpStatisticsRcvdInvalidAuthentications, vrrpStatisticsPacketLengthErrors=vrrpStatisticsPacketLengthErrors, vrrpStatsPriorityZeroPktsSent=vrrpStatsPriorityZeroPktsSent, vrrpStatsAdvertiseRcvd=vrrpStatsAdvertiseRcvd, vrrpStatisticsAddressListErrors=vrrpStatisticsAddressListErrors, vrrpTrapProtoErrReason=vrrpTrapProtoErrReason, vrrpStatisticsDiscontinuityTime=vrrpStatisticsDiscontinuityTime, vrrpOperTable=vrrpOperTable, vrrpMIBCompliance=vrrpMIBCompliance, vrrpTrapNewMain=vrrpTrapNewMain, vrrpConformance=vrrpConformance, vrrpNotifications=vrrpNotifications, vrrpOperVirtualRouterUpTime=vrrpOperVirtualRouterUpTime, vrrpAssoIpAddr=vrrpAssoIpAddr, vrrpOperationsInetAddrType=vrrpOperationsInetAddrType, vrrpOperationsPrimaryIpAddr=vrrpOperationsPrimaryIpAddr, vrrpOperPrimaryIpAddr=vrrpOperPrimaryIpAddr, vrrpAssociatedStorageType=vrrpAssociatedStorageType, vrrpOperationsRowStatus=vrrpOperationsRowStatus, vrrpOperationsPreemptMode=vrrpOperationsPreemptMode, vrrpOperationsAddrCount=vrrpOperationsAddrCount, vrrpOperVirtualMacAddr=vrrpOperVirtualMacAddr, vrrpStatsInvalidTypePktsRcvd=vrrpStatsInvalidTypePktsRcvd, vrrpNewMainReason=vrrpNewMainReason, vrrpRouterVrIdErrors=vrrpRouterVrIdErrors, vrrpStatsAuthFailures=vrrpStatsAuthFailures, vrrpRouterStatisticsEntry=vrrpRouterStatisticsEntry, vrrpOperationsGroup=vrrpOperationsGroup, vrrpTrapInfoGroup=vrrpTrapInfoGroup, vrrpStatsAdvertiseIntervalErrors=vrrpStatsAdvertiseIntervalErrors, vrrpStatsPriorityZeroPktsRcvd=vrrpStatsPriorityZeroPktsRcvd, vrrpOperationsState=vrrpOperationsState, vrrpOperGroup=vrrpOperGroup, vrrpOperVrId=vrrpOperVrId, vrrpStatisticsRcvdInvalidTypePkts=vrrpStatisticsRcvdInvalidTypePkts, vrrpRouterChecksumErrors=vrrpRouterChecksumErrors, vrrpOperationsPriority=vrrpOperationsPriority, vrrpAssoIpAddrEntry=vrrpAssoIpAddrEntry, vrrpAssoIpAddrTable=vrrpAssoIpAddrTable, vrrpNotificationsGroup=vrrpNotificationsGroup, vrrpOperPriority=vrrpOperPriority, vrrpAssociatedIpAddrEntry=vrrpAssociatedIpAddrEntry, vrrpStatisticsRcvdPriZeroPackets=vrrpStatisticsRcvdPriZeroPackets, vrrpModuleFullCompliance=vrrpModuleFullCompliance, vrrpOperState=vrrpOperState, vrrpOperationsAdvInterval=vrrpOperationsAdvInterval, vrrpOperationsVrId=vrrpOperationsVrId, vrrpTrapPacketSrc=vrrpTrapPacketSrc, vrrpAssociatedIpAddrTable=vrrpAssociatedIpAddrTable, vrrpAssociatedIpAddr=vrrpAssociatedIpAddr, vrrpStatsGroup=vrrpStatsGroup, vrrpMIBGroups=vrrpMIBGroups, vrrpStatisticsAdvIntervalErrors=vrrpStatisticsAdvIntervalErrors, vrrpStatsIpTtlErrors=vrrpStatsIpTtlErrors, vrrpOperationsUpTime=vrrpOperationsUpTime, vrrpStatisticsMainTransitions=vrrpStatisticsMainTransitions, PYSNMP_MODULE_ID=vrrpMIB, vrrpAssociatedIpAddrRowStatus=vrrpAssociatedIpAddrRowStatus, vrrpTrapAuthFailure=vrrpTrapAuthFailure) diff --git a/pysnmp-mibs-0.1.6/pysnmp_mibs/WWW-MIB.py b/pysnmp-mibs-0.1.6/pysnmp_mibs/WWW-MIB.py index 5d9ea28..5604907 100644 --- a/pysnmp-mibs-0.1.6/pysnmp_mibs/WWW-MIB.py +++ b/pysnmp-mibs-0.1.6/pysnmp_mibs/WWW-MIB.py @@ -43,7 +43,7 @@ class WwwDocName(OctetString, TextualConvention): wwwServiceDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 1, 1, 1, 2), Utf8String()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwServiceDescription.setDescription('Textual description of the WWW service. This shall include\n at least the vendor and version number of the application\n realizing the WWW service. In a minimal case, this might\n be the Product Token (see RFC 2068) for the application.') wwwServiceContact = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 1, 1, 1, 3), Utf8String()).setMaxAccess("readonly") -if mibBuilder.loadTexts: wwwServiceContact.setDescription("The textual identification of the contact person for this\n service, together with information on how to contact this\n person. For instance, this might be a string containing an\n email address, e.g. ''.") +if mibBuilder.loadTexts: wwwServiceContact.setDescription("The textual identification of the contact person for this\n service, together with information on how to contact this\n person. For instance, this might be a string containing an\n email address, e.g. ''.") wwwServiceProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 1, 1, 1, 4), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwwServiceProtocol.setDescription("An identification of the primary protocol in use by this\n service. For Internet applications, the IANA maintains\n a registry of the OIDs which correspond to well-known\n application protocols. If the application protocol is not\n listed in the registry, an OID value of the form\n {applTCPProtoID port} or {applUDPProtoID port} are used for\n TCP-based and UDP-based protocols, respectively. In either\n case 'port' corresponds to the primary port number being\n used by the protocol.") wwwServiceName = MibTableColumn((1, 3, 6, 1, 2, 1, 65, 1, 1, 1, 1, 5), DisplayString()).setMaxAccess("readonly") diff --git a/setuptools-28.2.0/docs/conf.py b/setuptools-28.2.0/docs/conf.py index dc0d8fa..e6a364e 100644 --- a/setuptools-28.2.0/docs/conf.py +++ b/setuptools-28.2.0/docs/conf.py @@ -37,8 +37,8 @@ # The suffix of source filenames. source_suffix = '.txt' -# The master toctree document. -master_doc = 'index' +# The main toctree document. +main_doc = 'index' # General information about the project. project = 'Setuptools' diff --git a/setuptools-28.2.0/pkg_resources/__init__.py b/setuptools-28.2.0/pkg_resources/__init__.py index 37bf148..fd46ebd 100644 --- a/setuptools-28.2.0/pkg_resources/__init__.py +++ b/setuptools-28.2.0/pkg_resources/__init__.py @@ -646,9 +646,9 @@ def __init__(self, entries=None): self.add_entry(entry) @classmethod - def _build_master(cls): + def _build_main(cls): """ - Prepare the master working set. + Prepare the main working set. """ ws = cls() try: @@ -2989,9 +2989,9 @@ def _initialize(g=globals()): @_call_aside -def _initialize_master_working_set(): +def _initialize_main_working_set(): """ - Prepare the master working set and make the ``require()`` + Prepare the main working set and make the ``require()`` API available. This function has explicit effects on the global state @@ -3001,7 +3001,7 @@ def _initialize_master_working_set(): Invocation by other packages is unsupported and done at their own risk. """ - working_set = WorkingSet._build_master() + working_set = WorkingSet._build_main() _declare_state('object', working_set=working_set) require = working_set.require diff --git a/setuptools-28.2.0/setuptools/command/easy_install.py b/setuptools-28.2.0/setuptools/command/easy_install.py index a3792ce..dcdd171 100755 --- a/setuptools-28.2.0/setuptools/command/easy_install.py +++ b/setuptools-28.2.0/setuptools/command/easy_install.py @@ -1729,7 +1729,7 @@ def update_dist_caches(dist_path, fix_zipimporter_caches): # There are several other known sources of stale zipimport.zipimporter # instances that we do not clear here, but might if ever given a reason to # do so: - # * Global setuptools pkg_resources.working_set (a.k.a. 'master working + # * Global setuptools pkg_resources.working_set (a.k.a. 'main working # set') may contain distributions which may in turn contain their # zipimport.zipimporter loaders. # * Several zipimport.zipimporter loaders held by local variables further diff --git a/six-1.10.0/documentation/conf.py b/six-1.10.0/documentation/conf.py index 0215bdd..a7cd039 100644 --- a/six-1.10.0/documentation/conf.py +++ b/six-1.10.0/documentation/conf.py @@ -28,8 +28,8 @@ # The encoding of source files. #source_encoding = "utf-8-sig" -# The master toctree document. -master_doc = "index" +# The main toctree document. +main_doc = "index" # General information about the project. project = u"six" diff --git a/urllib3-1.16/docs/conf.py b/urllib3-1.16/docs/conf.py index 7ac8393..0b9b581 100644 --- a/urllib3-1.16/docs/conf.py +++ b/urllib3-1.16/docs/conf.py @@ -50,8 +50,8 @@ # The encoding of source files. #source_encoding = 'utf-8-sig' -# The master toctree document. -master_doc = 'index' +# The main toctree document. +main_doc = 'index' # General information about the project. project = u'urllib3'