Написать программу, позволяющую автоматизировать процесс заказа VPS в [login to view URL] по заданным параметрам (конфигурационный файл):
Страна
Тарифный план(номер ТП)
Доменное имя(может отсутствовать)
Операционная система(краткое название: Ubuntu,Centos,Debian и др.)
Идентификатор доступа(логин, пароль, id-пользователя)
Email, логин, пароль для получения информации из почтовика при создании VPS
Программа должна иметь следующий независимый функционал:
Получение списка всех стран(реализовать интерфейс, позволяющий при необходимости изменить формат сохранения стран; по умолчанию список стран должен сохраняться в файл)
Заказ VPS в соотвествии с заданными параметрами
Результатом работы программы должен быть файл, содержащий IP-адрес, логин, пароль для доступа к VPS (реализовать с использованием интерефейса аналогичного получению списка стран)
Считается, что на счете пользователя уже есть деньги для заказа VPS.
Юзер должен иметь возможность передавать номер ТП (при необходимости) через параметр запуска программы (в случае отсутствия номера ТП у провайдера должно, выводиться уведомление, и программа завершается). Параметры, отсутствующие в конфигурационном файле, выбираются по умолчанию.
По названию страны и ОС программа должна осуществлять выборку из имеющихся и заказывать VPS
Дополнительно:
ОС, в которой будет запускаться программа – *nix-подобная
Желателен инерпретируемый язык разработки программы
Реализовать программу с использованием классов , интерфейсов либо абстрактных классов
Расписать временную и денежную оценку каждого модуля программы
Write a program to automate the process in order VPS [login to view URL] the specified parameters (configuration file):
A country
Tariff (number TP)
The domain name (can be omitted)
Operating system (short name: Ubuntu, Centos, Debian, etc.)
ID access (login, password, user-id)
Email, login, password to retrieve information from mailer when creating VPS
The program shall have the following independent features:
Getting a list of all countries (to implement an interface that allows, if necessary, change the format of saving countries; the default list of countries should be saved to a file)
VPS Order In accordance with the specified parameters
The work program should be a file containing the IP-address, login name, password to access the VPS (implemented using the same interefeysa obtain a list of countries)
It is believed that on the user account already has the money for the VPS order.
The user should be able to transmit the number of TP (if necessary) through the Startup program (if there is no number TP in provider the programm must notify and the program nust stop). Parameters that are not in the configuration file are selected by default.
By the name of the country and operating system the program should carry out a sample of the available and ordered VPS
Additionally:
OS, in which the program will be run - * nix-like
Preferred inerpretiruemy program development language
Implement a program using the classes, interfaces or abstract classes
Painted the temporal and monetary value of each module of the program