John-Mark Gurney
c87cec6203
add some additional data that the tests depend upon to entr..
4 years ago
John-Mark Gurney
8b704d757d
update to Python 3..
4 years ago
John-Mark Gurney
5788b1c14e
confirmed this behavior on this switch as well..
5 years ago
John-Mark Gurney
2db546c42f
ignore some files that shouldn't be added to the repo..
5 years ago
John-Mark Gurney
67c1f39666
make it a proper installable package...
Also, fixup and clean up the tests so that the pass... minor edits
to support my custom config, and drop a couple tests as those are
tested in another test...
5 years ago
John-Mark Gurney
26fd8aa134
start of a README.md to explain how to use the project.
5 years ago
John-Mark Gurney
a453159bf9
parameterize auth data better to support SNMPv3 better..
5 years ago
John-Mark Gurney
6518252ea9
add a few more comments..
5 years ago
John-Mark Gurney
deaa55c453
handle multiple switches in a single module properly...
5 years ago
John-Mark Gurney
b66c9789ef
add some notes about other switches..
5 years ago
John-Mark Gurney
916a869da8
add a couple examples..
5 years ago
John-Mark Gurney
74cda5ac0d
add and update docs, wrap lines at 80 cols..
5 years ago
John-Mark Gurney
55d9a7cda8
add docs.. refactor to use a helper function instead of rolling
it's own.. also make sure getegress fully works.. more tests need
to be written..
5 years ago
John-Mark Gurney
11d0ed3509
improve formating a tad..
5 years ago
John-Mark Gurney
2cda272a04
add test case for when the server returns tooBig.. make sure we
subdivide the query into smaller chunks.. perfect example of how
the pysnmp hlapi isn't that high level...
5 years ago
John-Mark Gurney
edeb98568b
add some basic tests for SNMPSwitch that don't depend upon hardware...
5 years ago
John-Mark Gurney
9e673d1b79
add more notes about what is supported..
5 years ago
John-Mark Gurney
d8683f62b0
add ignore ports to test case... if a _getmany request is too big and
we can split it, do so.. This happened w/ a switch when using SNMPv3..
need to write a test case for this...
5 years ago
John-Mark Gurney
c3178726f1
add setting, return the switch when check changes so that we can
apply them..
5 years ago
John-Mark Gurney
436a647de2
add a few more test cases for cmpbits.. fix a bug from the new
test cases..
5 years ago
John-Mark Gurney
e42054d223
allow config to ignore some ports.. trim trailing zeros when comparing
so that we don't have to make the bits the same length as the switch..
5 years ago
John-Mark Gurney
50f12edfcf
add notes about implementation that I have found.
5 years ago
John-Mark Gurney
15cfc9d5dd
the import in a module gets a different class that the script does,
so we need to import and use that one...
catch more cases for only tagged ports..
5 years ago
John-Mark Gurney
fea82bea15
refactor _get to call _getmany...
5 years ago
John-Mark Gurney
09e73400cb
make check changes work completely...
5 years ago
John-Mark Gurney
f547b1a14f
convert the data to proper egress and untagged arrays..
5 years ago
John-Mark Gurney
e8947d250e
add support for figuring out what pvid's need to change to..
5 years ago
John-Mark Gurney
1833266506
advance the check changes a bit, and add a function to fetch pvids
5 years ago
John-Mark Gurney
74fe8f5efb
add the starting work on checking for changes..
5 years ago
John-Mark Gurney
d38c0f52ba
add function to get all ports for a switch, this will be used to
compare the switch's port list against the definition to make sure
that there is a complete definition...
Add the ability to skip the switch tests that can take a while to
complete...
5 years ago
John-Mark Gurney
7479d41931
first cut at a vlan manager utility.
5 years ago