diff options
author | Szilard Cserey <szilard.cserey@ericsson.com> | 2015-09-29 14:08:26 +0200 |
---|---|---|
committer | Szilard Cserey <szilard.cserey@ericsson.com> | 2015-09-29 15:16:14 +0200 |
commit | cbd8a929db2f1184ec844e981489431749e45e01 (patch) | |
tree | 6f77a36b695f33d55bb4a2a54329a88872811b40 /fuel/deploy/install_fuel_master.py | |
parent | 7b40582415fa970f03a8c5d5dab5a38ae5977f71 (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.py | 8 |
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') |