summaryrefslogtreecommitdiffstats
path: root/fuel/deploy/install_fuel_master.py
diff options
context:
space:
mode:
authorSzilard Cserey <szilard.cserey@ericsson.com>2015-09-29 14:08:26 +0200
committerSzilard Cserey <szilard.cserey@ericsson.com>2015-09-29 15:14:35 +0200
commit44c725b93a6f8e88f5892b2376f341fd24bd027c (patch)
tree6f77a36b695f33d55bb4a2a54329a88872811b40 /fuel/deploy/install_fuel_master.py
parentc2b7eda785ab1b3e6b728c8dba1ae87dc252802f (diff)
Opendaylight installation and IP address adjusments
Installing Opendaylight plugin from /opt/opnfv Swapping 192.168.0.0/24 with 192.168.1.0/24 in dea.yaml Change-Id: Ic80ebfde4e4c7e438e6fbd4de11e1be8959529cd Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
Diffstat (limited to 'fuel/deploy/install_fuel_master.py')
-rw-r--r--fuel/deploy/install_fuel_master.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/fuel/deploy/install_fuel_master.py b/fuel/deploy/install_fuel_master.py
index acacf37..0e3c1c0 100644
--- a/fuel/deploy/install_fuel_master.py
+++ b/fuel/deploy/install_fuel_master.py
@@ -24,6 +24,7 @@ TRANSPLANT_FUEL_SETTINGS = 'transplant_fuel_settings.py'
BOOTSTRAP_ADMIN = '/usr/local/sbin/bootstrap_admin_node'
FUEL_CLIENT_CONFIG = '/etc/fuel/client/config.yaml'
PLUGINS_DIR = '~/plugins'
+LOCAL_PLUGIN_FOLDER = '/opt/opnfv'
class InstallFuelMaster(object):
@@ -91,7 +92,7 @@ class InstallFuelMaster(object):
self.delete_deprecated_fuel_client_config_from_fuel_6_1()
- self.upload_plugin_files()
+ self.collect_plugin_files()
self.install_plugins()
@@ -99,12 +100,15 @@ class InstallFuelMaster(object):
log('Fuel Master installed successfully !')
- def upload_plugin_files(self):
+ def collect_plugin_files(self):
with self.ssh as s:
s.exec_cmd('mkdir %s' % PLUGINS_DIR)
if self.fuel_plugins_dir:
for f in glob.glob('%s/*.rpm' % self.fuel_plugins_dir):
s.scp_put(f, PLUGINS_DIR)
+ else:
+ s.exec_cmd('cp %s/*.rpm %s' % (LOCAL_PLUGIN_FOLDER,
+ PLUGINS_DIR))
def install_plugins(self):
log('Installing Fuel Plugins')