1 # This is an example of usage of this Tool
2 # Author: Jose Lausuch (jose.lausuch@ericsson.com)
4 import opnfv.installer_adapters.InstallerHandler as ins_handler
6 apex_handler = ins_handler.InstallerHandler(installer='apex',
7 installer_ip='192.168.122.135',
8 installer_user='stack',
9 private_key_file='/root/.ssh/id_rsa')
10 apex_handler.get_file_from_installer(
11 '/home/stack/overcloudrc', './overcloudrc')
13 print("\n%s\n" % apex_handler.get_deployment_info())
15 apex_handler.get_file_from_controller(
16 '/etc/resolv.conf', './resolv.conf')