import os from utils import utils """ @author: CarolinaFernandez Installs OCF modules and external libraries/dependencies. """ # Show choice screen for OCF modules available for install ocf_modules_install = utils.invoke_splash_screen("install", utils.get_modules()) if ocf_modules_install: # Perform installation of common files utils.install_dependencies(utils.common_path, ocf_modules_install) # Perform installation of external libraries+dependencies utils.install_dependencies(utils.dependencies_path, ocf_modules_install) # Perform installation of available modules utils.install_modules(ocf_modules_install)
import os from utils import utils """ @author: CarolinaFernandez Installs OCF modules and external libraries/dependencies. """ # Show choice screen for OCF modules available for install ocf_modules_install = utils.invoke_splash_screen("install", utils.get_modules()) if ocf_modules_install: # Perform installation of common files utils.install_dependencies(utils.common_path, ocf_modules_install) # Perform installation of external libraries+dependencies utils.install_dependencies(utils.dependencies_path, ocf_modules_install) # Perform installation of available modules utils.install_modules(ocf_modules_install) # Show ending screen utils.invoke_ending_screen("Installation")
import os from utils import utils """ @author: CarolinaFernandez Migrate OCF components to another physical location within the host. """ # Show input screen to set new path for OCF components new_location = utils.invoke_splash_screen("migrate", utils.get_modules()) if new_location: # Perform migration to new location utils.migrate_framework(new_location[0]) # Show ending screen. Cannot run when files are migrated #utils.invoke_ending_screen("Migration")