Skip to content

Dev 0#41

Open
jeffsilverm wants to merge 34 commits into
developmentfrom
dev_0
Open

Dev 0#41
jeffsilverm wants to merge 34 commits into
developmentfrom
dev_0

Conversation

@jeffsilverm
Copy link
Copy Markdown
Owner

No description provided.

jeffsilverm and others added 30 commits August 23, 2018 20:33
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.
…(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
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants