summaryrefslogtreecommitdiff
path: root/pysnmp/proto/acmod
diff options
context:
space:
mode:
authorelie <elie>2015-11-20 20:57:28 +0000
committerelie <elie>2015-11-20 20:57:28 +0000
commit87a7a35d1e9f762210c7520315158ceb5f5487d9 (patch)
tree6237737a13112a151e5c04917e8f64cb5158cc8b /pysnmp/proto/acmod
parent0d55f58dcef1d8b3b9a044ec805575fb3b06d343 (diff)
downloadpysnmp-git-87a7a35d1e9f762210c7520315158ceb5f5487d9.tar.gz
copyright notice added to source code
Diffstat (limited to 'pysnmp/proto/acmod')
-rw-r--r--pysnmp/proto/acmod/rfc3415.py8
-rw-r--r--pysnmp/proto/acmod/void.py8
2 files changed, 14 insertions, 2 deletions
diff --git a/pysnmp/proto/acmod/rfc3415.py b/pysnmp/proto/acmod/rfc3415.py
index 5538800e..498c015c 100644
--- a/pysnmp/proto/acmod/rfc3415.py
+++ b/pysnmp/proto/acmod/rfc3415.py
@@ -1,4 +1,9 @@
-# View-based Access Control Model
+#
+# This file is part of pysnmp software.
+#
+# Copyright (c) 2005-2015, Ilya Etingof <ilya@glas.net>
+# License: http://pysnmp.sf.net/license.html
+#
from pysnmp.smi.error import NoSuchInstanceError
from pysnmp.proto import errind, error
from pysnmp import debug
@@ -7,6 +12,7 @@ __powOfTwoSeq = [128, 64, 32, 16, 8, 4, 2, 1]
# 3.2
class Vacm:
+ """View-based Access Control Model"""
accessModelID = 3
def isAccessAllowed(self,
snmpEngine,
diff --git a/pysnmp/proto/acmod/void.py b/pysnmp/proto/acmod/void.py
index 6e0652ee..2a665d70 100644
--- a/pysnmp/proto/acmod/void.py
+++ b/pysnmp/proto/acmod/void.py
@@ -1,9 +1,15 @@
-# Void Access Control Model
+#
+# This file is part of pysnmp software.
+#
+# Copyright (c) 2005-2015, Ilya Etingof <ilya@glas.net>
+# License: http://pysnmp.sf.net/license.html
+#
from pysnmp.proto import errind, error
from pysnmp import debug
# rfc3415 3.2
class Vacm:
+ """Void Access Control Model"""
accessModelID = 0
def isAccessAllowed(self,
snmpEngine,