Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Given the IP addresses XXXXXXXXXX85, write a suite of Python programs that will if the entire network is up. For each service, start with DNS then work your way up to HTTP. Note you should give an...

1 answer below »
Given the IP addresses XXXXXXXXXX85, write a suite of Python programs that will if the entire network is up. For each service, start with DNS then work your way up to HTTP. Note you should give an overall score 0%-100% that reflect the number of services operational in the network.
  • Test Plan (in Word document)
  • Code (in Appendix in Word document)


Answered Same Day Dec 06, 2021

Solution

Ximi answered on Dec 07 2021
130 Votes
Assignment-6
Final Project - System Wide Test
Given the IP addresses 10.0.95.80-10.0.95.85, write a suite of Python programs that will if the entire network is up. For each service, start with DNS then work your way up to HTTP. Note you should give an overall score 0%-100% that reflect the number of services operational in the network.
You will be graded on the test plan (description of what and how you are testing it), and the code that does the test.
Turn in:
Test Plan (in Word document)
Code (in Appendix in Word document)
Plan text:
The program first calculates all the possible IP addresses which can be present between the range specified by the user. The range is hard coded inside the program.
After calculating the list of IP addresses that it needs to check upon on, the program fires up the check dns and http functions to see if any service is running and returns a response and a success code.
This success code is then used to calculate the overall score of how many services are actually up and running.
Appendix:
#!/us
in/python3
import platform
import subprocess
import urllib.request
import requests
import pymysql
import socket
import hashli
import dns.resolve
import dns.reversename
from sys import argv
from socket import *
import sys
from urllib.request import Request, urlopen
from urllib.e
or import URLE
or,...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here