Dev 0#41
Open
jeffsilverm wants to merge 34 commits into
Open
Conversation
DNS is a layer 7 function in the OSI model, but if I put DNS stuff in application.py, then I create a circular dependency.
The software that tests the software the does the DNS queries fails: it thinks that the queries are failing when in fact they work quite nicely.
termcolor will not accept 'black' as a color. It will accept 'grey'. ALso, there is an ErrorLevels.UNKNOWN that needed some colors
This is missing some subroutines. Eventually, this program will test layer 3 (IP) and layer 4 (transport), and DNS.
Added more information to docstrings.
…(which aren't many), I was able to reduce the length of network.py from 771 lines to 266 lines. Not too shabby for 6 hours of work.
In the main program, pycharm complained that server_list isn't referenced, so I fixed that. Fixed up a docstring
# Conflicts: # nbmdt_simple.py # network.py
� Conflicts: � nbmdt_simple.py
I am looping for two AF_family constants, socket.AF_INET and socket.AF_INET6. So the Network class has to include constants for the AF family, "-4" or "-6" as switches to the commands that make a distinction, and "IPv4" and "IPv6" for status messages to the operator.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.