diff --git a/Server.py b/Server.py deleted file mode 100644 index cb8697c..0000000 --- a/Server.py +++ /dev/null @@ -1,10 +0,0 @@ -class Server: - """ Server class for representing and manipulating servers. """ - - def __init__(self, server_ip): - # TODO - - self.server_ip = server_ip - - def ping(self): - # TODO - Use os module to ping the server - return \ No newline at end of file diff --git a/main.py b/main.py index 2fb474f..bd8f41f 100644 --- a/main.py +++ b/main.py @@ -1,13 +1,15 @@ # This is the template code for the CNA337 Final Project # Zachary Rubin, zrubin@rtc.edu # CNA 337 Fall 2020 - +import Server def print_program_info(): # TODO - Change your name - print("Server Automator v0.1 by Your Name") + print("Fiseha Tessema") # This is the entry point to our program if __name__ == '__main__': print_program_info() # TODO - Create a Server object - # TODO - Call Ping method and print the results \ No newline at end of file + # TODO - Call Ping method and print the results + #The IP address is passed as a string to the Server class in the server.py module + ec2Server = Server.Server("52.41.99.1")