2009-01-02 17:58:51 +03:00
#!/bin/bash
2009-01-19 21:05:46 +03:00
# -------------------------------------------------------------------------- #
2015-09-23 16:03:22 +03:00
# Copyright 2002-2015, OpenNebula Project, OpenNebula Systems #
2009-01-19 21:05:46 +03:00
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
# not use this file except in compliance with the License. You may obtain #
# a copy of the License at #
# #
# http://www.apache.org/licenses/LICENSE-2.0 #
# #
# Unless required by applicable law or agreed to in writing, software #
# distributed under the License is distributed on an "AS IS" BASIS, #
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
# See the License for the specific language governing permissions and #
# limitations under the License. #
#--------------------------------------------------------------------------- #
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Install program for OpenNebula. It will install it relative to
2010-07-11 22:39:10 +04:00
# $ONE_LOCATION if defined with the -d option, otherwise it'll be installed
2009-01-02 17:58:51 +03:00
# under /. In this case you may specified the oneadmin user/group, so you do
2011-10-07 17:02:31 +04:00
# not need run the OpenNebula daemon with root privileges
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# COMMAND LINE PARSING
#-------------------------------------------------------------------------------
usage( ) {
2012-09-24 18:18:17 +04:00
echo
echo "Usage: install.sh [-u install_user] [-g install_group] [-k keep conf]"
2014-07-15 00:37:11 +04:00
echo " [-d ONE_LOCATION] [-c cli|ec2] [-r] [-h]"
2012-09-24 18:18:17 +04:00
echo
echo "-u: user that will run opennebula, defaults to user executing install.sh"
echo "-g: group of the user that will run opennebula, defaults to user"
echo " executing install.sh"
echo "-k: keep configuration files of existing OpenNebula installation, useful"
echo " when upgrading. This flag should not be set when installing"
echo " OpenNebula for the first time"
echo "-d: target installation directory, if not defined it'd be root. Must be"
echo " an absolute path."
2014-07-15 00:37:11 +04:00
echo "-c: install client utilities: OpenNebula cli and ec2 client files"
2012-09-24 18:18:17 +04:00
echo "-s: install OpenNebula Sunstone"
2015-07-17 16:48:30 +03:00
echo "-p: do not install OpenNebula Sunstone non-minified files"
2013-06-27 13:36:08 +04:00
echo "-G: install OpenNebula Gate"
2013-07-10 15:29:53 +04:00
echo "-f: install OpenNebula Flow"
2012-09-24 18:18:17 +04:00
echo "-r: remove Opennebula, only useful if -d was not specified, otherwise"
echo " rm -rf \$ONE_LOCATION would do the job"
echo "-l: creates symlinks instead of copying files, useful for development"
echo "-h: prints this help"
2008-06-17 20:27:32 +04:00
}
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
2008-06-17 20:27:32 +04:00
2015-07-17 16:48:30 +03:00
PARAMETERS = "hkrlcspou:g:d:"
2013-02-26 00:15:26 +04:00
if [ $( getopt --version | tr -d " " ) = "--" ] ; then
TEMP_OPT = ` getopt $PARAMETERS " $@ " `
else
TEMP_OPT = ` getopt -o $PARAMETERS -n 'install.sh' -- " $@ " `
fi
2008-06-17 20:27:32 +04:00
2010-07-11 22:39:10 +04:00
if [ $? != 0 ] ; then
2012-09-24 18:18:17 +04:00
usage
exit 1
2008-06-17 20:27:32 +04:00
fi
2009-01-02 17:58:51 +03:00
eval set -- " $TEMP_OPT "
2008-07-17 23:42:17 +04:00
2009-01-02 17:58:51 +03:00
INSTALL_ETC = "yes"
UNINSTALL = "no"
2009-08-27 21:25:39 +04:00
LINK = "no"
2009-09-25 22:18:50 +04:00
CLIENT = "no"
2013-06-27 13:36:08 +04:00
ONEGATE = "no"
2011-02-23 19:27:17 +03:00
SUNSTONE = "no"
2015-07-17 16:48:30 +03:00
SUNSTONE_DEV = "yes"
2013-07-10 15:29:53 +04:00
ONEFLOW = "no"
2009-01-02 17:58:51 +03:00
ONEADMIN_USER = ` id -u`
ONEADMIN_GROUP = ` id -g`
SRC_DIR = $PWD
2008-11-13 19:21:17 +03:00
2009-01-02 17:58:51 +03:00
while true ; do
2012-09-24 18:18:17 +04:00
case " $1 " in
-h) usage; exit 0; ;
-k) INSTALL_ETC = "no" ; shift ; ;
-r) UNINSTALL = "yes" ; shift ; ;
-l) LINK = "yes" ; shift ; ;
-c) CLIENT = "yes" ; INSTALL_ETC = "no" ; shift ; ;
2013-06-27 13:36:08 +04:00
-G) ONEGATE = "yes" ; shift ; ;
2012-09-24 18:18:17 +04:00
-s) SUNSTONE = "yes" ; shift ; ;
2015-07-17 16:48:30 +03:00
-p) SUNSTONE_DEV = "no" ; shift ; ;
2013-07-10 15:29:53 +04:00
-f) ONEFLOW = "yes" ; shift ; ;
2012-09-24 18:18:17 +04:00
-u) ONEADMIN_USER = " $2 " ; shift 2; ;
-g) ONEADMIN_GROUP = " $2 " ; shift 2; ;
-d) ROOT = " $2 " ; shift 2 ; ;
--) shift ; break ; ;
*) usage; exit 1 ; ;
esac
2009-01-02 17:58:51 +03:00
done
2008-11-13 19:21:17 +03:00
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Definition of locations
#-------------------------------------------------------------------------------
2011-06-13 18:08:07 +04:00
CONF_LOCATION = " $HOME /.one "
2009-01-19 19:40:46 +03:00
if [ -z " $ROOT " ] ; then
2012-09-24 18:18:17 +04:00
BIN_LOCATION = "/usr/bin"
LIB_LOCATION = "/usr/lib/one"
ETC_LOCATION = "/etc/one"
LOG_LOCATION = "/var/log/one"
VAR_LOCATION = "/var/lib/one"
2013-06-27 13:36:08 +04:00
ONEGATE_LOCATION = " $LIB_LOCATION /onegate "
2012-09-24 18:18:17 +04:00
SUNSTONE_LOCATION = " $LIB_LOCATION /sunstone "
2013-07-10 15:29:53 +04:00
ONEFLOW_LOCATION = " $LIB_LOCATION /oneflow "
2012-09-24 18:18:17 +04:00
SYSTEM_DS_LOCATION = " $VAR_LOCATION /datastores/0 "
DEFAULT_DS_LOCATION = " $VAR_LOCATION /datastores/1 "
RUN_LOCATION = "/var/run/one"
LOCK_LOCATION = "/var/lock/one"
INCLUDE_LOCATION = "/usr/include"
SHARE_LOCATION = "/usr/share/one"
MAN_LOCATION = "/usr/share/man/man1"
2012-10-29 20:36:50 +04:00
VM_LOCATION = "/var/lib/one/vms"
2015-02-24 17:41:14 +03:00
DOCS_LOCATION = "/usr/share/docs/one"
2012-09-24 18:18:17 +04:00
if [ " $CLIENT " = "yes" ] ; then
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $ETC_LOCATION "
DELETE_DIRS = ""
CHOWN_DIRS = ""
elif [ " $SUNSTONE " = "yes" ] ; then
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $VAR_LOCATION \
$SUNSTONE_LOCATION $ETC_LOCATION "
DELETE_DIRS = " $MAKE_DIRS "
2013-06-27 13:36:08 +04:00
CHOWN_DIRS = ""
elif [ " $ONEGATE " = "yes" ] ; then
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $VAR_LOCATION \
$ONEGATE_LOCATION $ETC_LOCATION "
DELETE_DIRS = " $MAKE_DIRS "
2013-07-10 15:29:53 +04:00
CHOWN_DIRS = ""
elif [ " $ONEFLOW " = "yes" ] ; then
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $VAR_LOCATION $ONEFLOW_LOCATION \
$ETC_LOCATION "
DELETE_DIRS = " $MAKE_DIRS "
2012-09-24 18:18:17 +04:00
CHOWN_DIRS = ""
else
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $ETC_LOCATION $VAR_LOCATION \
2015-02-24 17:41:14 +03:00
$INCLUDE_LOCATION $SHARE_LOCATION $DOCS_LOCATION \
2012-09-24 18:18:17 +04:00
$LOG_LOCATION $RUN_LOCATION $LOCK_LOCATION \
2012-10-29 20:36:50 +04:00
$SYSTEM_DS_LOCATION $DEFAULT_DS_LOCATION $MAN_LOCATION \
2013-07-10 15:29:53 +04:00
$VM_LOCATION $ONEGATE_LOCATION $ONEFLOW_LOCATION "
2012-09-24 18:18:17 +04:00
DELETE_DIRS = " $LIB_LOCATION $ETC_LOCATION $LOG_LOCATION $VAR_LOCATION \
$RUN_LOCATION $SHARE_DIRS "
CHOWN_DIRS = " $LOG_LOCATION $VAR_LOCATION $RUN_LOCATION $LOCK_LOCATION "
fi
2009-05-07 19:23:13 +04:00
2009-01-02 17:58:51 +03:00
else
2012-09-24 18:18:17 +04:00
BIN_LOCATION = " $ROOT /bin "
LIB_LOCATION = " $ROOT /lib "
ETC_LOCATION = " $ROOT /etc "
VAR_LOCATION = " $ROOT /var "
2013-06-27 13:36:08 +04:00
ONEGATE_LOCATION = " $LIB_LOCATION /onegate "
2012-09-24 18:18:17 +04:00
SUNSTONE_LOCATION = " $LIB_LOCATION /sunstone "
2013-07-10 15:29:53 +04:00
ONEFLOW_LOCATION = " $LIB_LOCATION /oneflow "
2012-09-24 18:18:17 +04:00
SYSTEM_DS_LOCATION = " $VAR_LOCATION /datastores/0 "
DEFAULT_DS_LOCATION = " $VAR_LOCATION /datastores/1 "
INCLUDE_LOCATION = " $ROOT /include "
SHARE_LOCATION = " $ROOT /share "
MAN_LOCATION = " $ROOT /share/man/man1 "
2012-10-29 20:36:50 +04:00
VM_LOCATION = " $VAR_LOCATION /vms "
2015-02-24 17:41:14 +03:00
DOCS_LOCATION = " $ROOT /share/docs "
2012-09-24 18:18:17 +04:00
if [ " $CLIENT " = "yes" ] ; then
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $ETC_LOCATION "
2013-06-27 13:36:08 +04:00
DELETE_DIRS = " $MAKE_DIRS "
elif [ " $ONEGATE " = "yes" ] ; then
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $VAR_LOCATION \
$ONEGATE_LOCATION $ETC_LOCATION "
2012-09-24 18:18:17 +04:00
DELETE_DIRS = " $MAKE_DIRS "
elif [ " $SUNSTONE " = "yes" ] ; then
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $VAR_LOCATION \
$SUNSTONE_LOCATION $ETC_LOCATION "
2013-07-10 15:29:53 +04:00
DELETE_DIRS = " $MAKE_DIRS "
elif [ " $ONEFLOW " = "yes" ] ; then
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $VAR_LOCATION $ONEFLOW_LOCATION \
$ETC_LOCATION "
2012-09-24 18:18:17 +04:00
DELETE_DIRS = " $MAKE_DIRS "
else
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $ETC_LOCATION $VAR_LOCATION \
$INCLUDE_LOCATION $SHARE_LOCATION $SYSTEM_DS_LOCATION \
2015-02-24 17:41:14 +03:00
$DEFAULT_DS_LOCATION $MAN_LOCATION $DOCS_LOCATION \
2013-07-10 15:29:53 +04:00
$VM_LOCATION $ONEGATE_LOCATION $ONEFLOW_LOCATION "
2012-09-24 18:18:17 +04:00
DELETE_DIRS = " $MAKE_DIRS "
CHOWN_DIRS = " $ROOT "
fi
CHOWN_DIRS = " $ROOT "
2009-01-02 17:58:51 +03:00
fi
2008-11-13 19:21:17 +03:00
2012-12-11 17:45:02 +04:00
SHARE_DIRS = " $SHARE_LOCATION /examples \
2013-04-26 14:29:06 +04:00
$SHARE_LOCATION /websockify"
2009-01-02 17:58:51 +03:00
2013-09-03 20:40:41 +04:00
ETC_DIRS = " $ETC_LOCATION /vmm_exec \
2012-09-24 18:18:17 +04:00
$ETC_LOCATION /hm \
$ETC_LOCATION /auth \
$ETC_LOCATION /auth/certificates \
$ETC_LOCATION /ec2query_templates \
2013-04-10 22:37:01 +04:00
$ETC_LOCATION /sunstone-views \
2012-09-24 18:18:17 +04:00
$ETC_LOCATION /cli"
2009-01-02 17:58:51 +03:00
2010-11-16 14:29:14 +03:00
LIB_DIRS = " $LIB_LOCATION /ruby \
2012-12-18 19:14:47 +04:00
$LIB_LOCATION /ruby/opennebula \
2012-09-24 18:18:17 +04:00
$LIB_LOCATION /ruby/cloud/ \
$LIB_LOCATION /ruby/cloud/econe \
$LIB_LOCATION /ruby/cloud/econe/views \
$LIB_LOCATION /ruby/cloud/CloudAuth \
$LIB_LOCATION /ruby/onedb \
2014-03-03 22:11:17 +04:00
$LIB_LOCATION /ruby/onedb/shared \
$LIB_LOCATION /ruby/onedb/local \
2015-07-08 16:51:18 +03:00
$LIB_LOCATION /ruby/onedb/patches \
2013-05-20 19:08:45 +04:00
$LIB_LOCATION /ruby/vendors \
$LIB_LOCATION /ruby/vendors/rbvmomi \
2013-05-20 19:52:16 +04:00
$LIB_LOCATION /ruby/vendors/rbvmomi/lib \
2013-07-04 04:05:12 +04:00
$LIB_LOCATION /ruby/vendors/rbvmomi/lib/rbvmomi \
2013-05-20 19:52:16 +04:00
$LIB_LOCATION /ruby/vendors/rbvmomi/lib/rbvmomi/utils \
$LIB_LOCATION /ruby/vendors/rbvmomi/lib/rbvmomi/vim \
2012-09-24 18:18:17 +04:00
$LIB_LOCATION /mads \
$LIB_LOCATION /sh \
$LIB_LOCATION /ruby/cli \
$LIB_LOCATION /ruby/cli/one_helper"
2009-01-02 17:58:51 +03:00
2010-11-16 14:29:14 +03:00
VAR_DIRS = " $VAR_LOCATION /remotes \
2012-09-24 18:18:17 +04:00
$VAR_LOCATION /remotes/im \
$VAR_LOCATION /remotes/im/kvm.d \
2013-07-08 15:24:03 +04:00
$VAR_LOCATION /remotes/im/xen3.d \
$VAR_LOCATION /remotes/im/xen4.d \
2013-10-13 23:48:10 +04:00
$VAR_LOCATION /remotes/im/kvm-probes.d \
$VAR_LOCATION /remotes/im/xen3-probes.d \
$VAR_LOCATION /remotes/im/xen4-probes.d \
2012-09-24 18:18:17 +04:00
$VAR_LOCATION /remotes/im/vmware.d \
2014-09-19 15:14:57 +04:00
$VAR_LOCATION /remotes/im/vcenter.d \
2013-09-03 20:40:41 +04:00
$VAR_LOCATION /remotes/im/ec2.d \
2014-06-05 17:19:54 +04:00
$VAR_LOCATION /remotes/im/sl.d \
2014-06-19 19:03:18 +04:00
$VAR_LOCATION /remotes/im/az.d \
2012-09-24 18:18:17 +04:00
$VAR_LOCATION /remotes/vmm \
$VAR_LOCATION /remotes/vmm/kvm \
2013-02-08 18:12:10 +04:00
$VAR_LOCATION /remotes/vmm/xen3 \
$VAR_LOCATION /remotes/vmm/xen4 \
2012-09-24 18:18:17 +04:00
$VAR_LOCATION /remotes/vmm/vmware \
2014-09-19 15:14:57 +04:00
$VAR_LOCATION /remotes/vmm/vcenter \
2013-09-03 20:40:41 +04:00
$VAR_LOCATION /remotes/vmm/ec2 \
2014-06-05 17:19:54 +04:00
$VAR_LOCATION /remotes/vmm/sl \
2014-06-19 19:03:18 +04:00
$VAR_LOCATION /remotes/vmm/az \
2012-09-24 18:18:17 +04:00
$VAR_LOCATION /remotes/vnm \
$VAR_LOCATION /remotes/vnm/802.1Q \
2015-01-05 04:31:03 +03:00
$VAR_LOCATION /remotes/vnm/vxlan \
2012-09-24 18:18:17 +04:00
$VAR_LOCATION /remotes/vnm/dummy \
$VAR_LOCATION /remotes/vnm/ebtables \
$VAR_LOCATION /remotes/vnm/fw \
$VAR_LOCATION /remotes/vnm/ovswitch \
2013-01-23 15:34:26 +04:00
$VAR_LOCATION /remotes/vnm/ovswitch_brcompat \
2012-09-24 18:18:17 +04:00
$VAR_LOCATION /remotes/vnm/vmware \
$VAR_LOCATION /remotes/tm/ \
$VAR_LOCATION /remotes/tm/dummy \
$VAR_LOCATION /remotes/tm/shared \
2013-11-11 20:43:57 +04:00
$VAR_LOCATION /remotes/tm/fs_lvm \
2012-09-24 18:18:17 +04:00
$VAR_LOCATION /remotes/tm/qcow2 \
$VAR_LOCATION /remotes/tm/ssh \
$VAR_LOCATION /remotes/tm/vmfs \
$VAR_LOCATION /remotes/tm/lvm \
2013-02-14 21:55:37 +04:00
$VAR_LOCATION /remotes/tm/ceph \
2014-06-17 21:31:53 +04:00
$VAR_LOCATION /remotes/tm/dev \
2015-12-22 12:03:58 +03:00
$VAR_LOCATION /remotes/tm/iscsi \
2012-09-24 18:18:17 +04:00
$VAR_LOCATION /remotes/hooks \
$VAR_LOCATION /remotes/hooks/ft \
$VAR_LOCATION /remotes/datastore \
$VAR_LOCATION /remotes/datastore/dummy \
$VAR_LOCATION /remotes/datastore/fs \
$VAR_LOCATION /remotes/datastore/vmfs \
$VAR_LOCATION /remotes/datastore/lvm \
2013-02-14 21:55:37 +04:00
$VAR_LOCATION /remotes/datastore/ceph \
2014-06-17 21:31:53 +04:00
$VAR_LOCATION /remotes/datastore/dev \
2015-12-17 14:39:27 +03:00
$VAR_LOCATION /remotes/market \
$VAR_LOCATION /remotes/market/http \
2015-12-24 20:49:21 +03:00
$VAR_LOCATION /remotes/market/one \
2016-02-03 19:30:27 +03:00
$VAR_LOCATION /remotes/market/s3 \
2015-12-22 12:03:58 +03:00
$VAR_LOCATION /remotes/datastore/iscsi \
2012-09-24 18:18:17 +04:00
$VAR_LOCATION /remotes/auth \
$VAR_LOCATION /remotes/auth/plain \
$VAR_LOCATION /remotes/auth/ssh \
$VAR_LOCATION /remotes/auth/x509 \
$VAR_LOCATION /remotes/auth/ldap \
$VAR_LOCATION /remotes/auth/server_x509 \
$VAR_LOCATION /remotes/auth/server_cipher \
$VAR_LOCATION /remotes/auth/dummy"
2010-11-16 14:29:14 +03:00
2012-08-01 19:21:31 +04:00
SUNSTONE_DIRS = " $SUNSTONE_LOCATION /routes \
2012-09-24 18:18:17 +04:00
$SUNSTONE_LOCATION /models \
$SUNSTONE_LOCATION /models/OpenNebulaJSON \
2015-07-20 17:50:38 +03:00
$SUNSTONE_LOCATION /views"
SUNSTONE_MINIFIED_DIRS = " SUNSTONE_LOCATION/public \
2015-06-23 19:04:44 +03:00
$SUNSTONE_LOCATION /public/dist \
2015-06-26 18:44:50 +03:00
$SUNSTONE_LOCATION /public/dist/console \
2012-09-24 18:18:17 +04:00
$SUNSTONE_LOCATION /public/css \
2015-08-27 18:38:19 +03:00
$SUNSTONE_LOCATION /public/css/opensans \
2015-06-23 19:04:44 +03:00
$SUNSTONE_LOCATION /public/bower_components/fontawesome/fonts \
2015-06-23 19:20:22 +03:00
$SUNSTONE_LOCATION /public/locale/languages \
2012-09-24 18:18:17 +04:00
$SUNSTONE_LOCATION /public/images \
2015-07-20 17:50:38 +03:00
$SUNSTONE_LOCATION /public/images/logos"
2011-12-02 20:37:49 +04:00
2013-07-10 15:29:53 +04:00
ONEFLOW_DIRS = " $ONEFLOW_LOCATION /lib \
2013-07-10 20:32:05 +04:00
$ONEFLOW_LOCATION /lib/strategy \
$ONEFLOW_LOCATION /lib/models"
2013-07-10 15:29:53 +04:00
2009-10-22 15:20:27 +04:00
LIB_ECO_CLIENT_DIRS = " $LIB_LOCATION /ruby \
2012-12-18 19:14:47 +04:00
$LIB_LOCATION /ruby/opennebula \
2012-09-24 18:18:17 +04:00
$LIB_LOCATION /ruby/cloud/ \
$LIB_LOCATION /ruby/cloud/econe"
2009-10-22 15:20:27 +04:00
2011-02-23 19:27:17 +03:00
LIB_OCA_CLIENT_DIRS = " $LIB_LOCATION /ruby \
2012-12-18 18:52:11 +04:00
$LIB_LOCATION /ruby/opennebula"
2011-02-23 19:27:17 +03:00
2011-06-13 18:08:07 +04:00
LIB_CLI_CLIENT_DIRS = " $LIB_LOCATION /ruby/cli \
2012-09-24 18:18:17 +04:00
$LIB_LOCATION /ruby/cli/one_helper"
2011-06-13 18:08:07 +04:00
2011-09-07 14:27:34 +04:00
CONF_CLI_DIRS = " $ETC_LOCATION /cli "
2011-02-10 17:57:11 +03:00
2011-02-23 19:27:17 +03:00
if [ " $CLIENT " = "yes" ] ; then
2015-12-17 14:39:27 +03:00
MAKE_DIRS = " $MAKE_DIRS $LIB_ECO_CLIENT_DIRS \
2012-09-24 18:18:17 +04:00
$LIB_OCA_CLIENT_DIRS $LIB_CLI_CLIENT_DIRS $CONF_CLI_DIRS \
2014-01-29 18:53:19 +04:00
$ETC_LOCATION "
2013-06-27 13:36:08 +04:00
elif [ " $ONEGATE " = "yes" ] ; then
MAKE_DIRS = " $MAKE_DIRS $LIB_OCA_CLIENT_DIRS "
2011-02-23 19:27:17 +03:00
elif [ " $SUNSTONE " = "yes" ] ; then
2015-07-20 17:50:38 +03:00
if [ " $SUNSTONE_DEV " = "no" ] ; then
MAKE_DIRS = " $MAKE_DIRS $SUNSTONE_DIRS $SUNSTONE_MINIFIED_DIRS $LIB_OCA_CLIENT_DIRS "
else
2012-09-24 18:18:17 +04:00
MAKE_DIRS = " $MAKE_DIRS $SUNSTONE_DIRS $LIB_OCA_CLIENT_DIRS "
2015-07-20 17:50:38 +03:00
fi
2013-07-10 15:29:53 +04:00
elif [ " $ONEFLOW " = "yes" ] ; then
MAKE_DIRS = " $MAKE_DIRS $ONEFLOW_DIRS $LIB_OCA_CLIENT_DIRS "
2015-07-20 17:50:38 +03:00
elif [ " $SUNSTONE_DEV " = "no" ] ; then
MAKE_DIRS = " $MAKE_DIRS $SHARE_DIRS $ETC_DIRS $LIB_DIRS $VAR_DIRS \
$SUNSTONE_DIRS $SUNSTONE_MINIFIED_DIRS $ONEFLOW_DIRS "
2011-02-23 19:27:17 +03:00
else
2012-09-24 18:18:17 +04:00
MAKE_DIRS = " $MAKE_DIRS $SHARE_DIRS $ETC_DIRS $LIB_DIRS $VAR_DIRS \
2014-01-29 18:53:19 +04:00
$SUNSTONE_DIRS $ONEFLOW_DIRS "
2009-09-25 22:18:50 +04:00
fi
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# FILE DEFINITION, WHAT IS GOING TO BE INSTALLED AND WHERE
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
2011-02-10 20:16:18 +03:00
INSTALL_FILES = (
2012-09-24 18:18:17 +04:00
BIN_FILES:$BIN_LOCATION
INCLUDE_FILES:$INCLUDE_LOCATION
LIB_FILES:$LIB_LOCATION
RUBY_LIB_FILES:$LIB_LOCATION /ruby
2012-12-20 14:47:39 +04:00
RUBY_AUTH_LIB_FILES:$LIB_LOCATION /ruby/opennebula
2012-12-18 18:52:11 +04:00
RUBY_OPENNEBULA_LIB_FILES:$LIB_LOCATION /ruby/opennebula
2012-09-24 18:18:17 +04:00
MAD_RUBY_LIB_FILES:$LIB_LOCATION /ruby
MAD_RUBY_LIB_FILES:$VAR_LOCATION /remotes
MAD_SH_LIB_FILES:$LIB_LOCATION /sh
MAD_SH_LIB_FILES:$VAR_LOCATION /remotes
2014-03-03 22:11:17 +04:00
ONEDB_FILES:$LIB_LOCATION /ruby/onedb
ONEDB_SHARED_MIGRATOR_FILES:$LIB_LOCATION /ruby/onedb/shared
ONEDB_LOCAL_MIGRATOR_FILES:$LIB_LOCATION /ruby/onedb/local
2015-07-08 16:51:18 +03:00
ONEDB_PATCH_FILES:$LIB_LOCATION /ruby/onedb/patches
2012-09-24 18:18:17 +04:00
MADS_LIB_FILES:$LIB_LOCATION /mads
IM_PROBES_FILES:$VAR_LOCATION /remotes/im
IM_PROBES_KVM_FILES:$VAR_LOCATION /remotes/im/kvm.d
2013-10-13 23:48:10 +04:00
IM_PROBES_KVM_PROBES_FILES:$VAR_LOCATION /remotes/im/kvm-probes.d
2013-07-08 15:24:03 +04:00
IM_PROBES_XEN3_FILES:$VAR_LOCATION /remotes/im/xen3.d
2013-10-13 23:48:10 +04:00
IM_PROBES_XEN3_PROBES_FILES:$VAR_LOCATION /remotes/im/xen3-probes.d
2013-07-08 15:24:03 +04:00
IM_PROBES_XEN4_FILES:$VAR_LOCATION /remotes/im/xen4.d
2013-10-13 23:48:10 +04:00
IM_PROBES_XEN4_PROBES_FILES:$VAR_LOCATION /remotes/im/xen4-probes.d
2012-09-24 18:18:17 +04:00
IM_PROBES_VMWARE_FILES:$VAR_LOCATION /remotes/im/vmware.d
2014-09-19 15:14:57 +04:00
IM_PROBES_VCENTER_FILES:$VAR_LOCATION /remotes/im/vcenter.d
2013-09-03 20:40:41 +04:00
IM_PROBES_EC2_FILES:$VAR_LOCATION /remotes/im/ec2.d
2014-06-05 17:19:54 +04:00
IM_PROBES_SL_FILES:$VAR_LOCATION /remotes/im/sl.d
2014-06-19 19:03:18 +04:00
IM_PROBES_AZ_FILES:$VAR_LOCATION /remotes/im/az.d
2013-11-25 22:21:47 +04:00
IM_PROBES_VERSION:$VAR_LOCATION /remotes
2012-09-24 18:18:17 +04:00
AUTH_SSH_FILES:$VAR_LOCATION /remotes/auth/ssh
AUTH_X509_FILES:$VAR_LOCATION /remotes/auth/x509
AUTH_LDAP_FILES:$VAR_LOCATION /remotes/auth/ldap
AUTH_SERVER_X509_FILES:$VAR_LOCATION /remotes/auth/server_x509
AUTH_SERVER_CIPHER_FILES:$VAR_LOCATION /remotes/auth/server_cipher
AUTH_DUMMY_FILES:$VAR_LOCATION /remotes/auth/dummy
AUTH_PLAIN_FILES:$VAR_LOCATION /remotes/auth/plain
VMM_EXEC_KVM_SCRIPTS:$VAR_LOCATION /remotes/vmm/kvm
2013-02-08 18:12:10 +04:00
VMM_EXEC_XEN3_SCRIPTS:$VAR_LOCATION /remotes/vmm/xen3
VMM_EXEC_XEN4_SCRIPTS:$VAR_LOCATION /remotes/vmm/xen4
2012-09-24 18:18:17 +04:00
VMM_EXEC_VMWARE_SCRIPTS:$VAR_LOCATION /remotes/vmm/vmware
2014-09-19 15:14:57 +04:00
VMM_EXEC_VCENTER_SCRIPTS:$VAR_LOCATION /remotes/vmm/vcenter
2013-09-03 20:40:41 +04:00
VMM_EXEC_EC2_SCRIPTS:$VAR_LOCATION /remotes/vmm/ec2
2014-06-05 17:19:54 +04:00
VMM_EXEC_SL_SCRIPTS:$VAR_LOCATION /remotes/vmm/sl
2014-06-19 19:03:18 +04:00
VMM_EXEC_AZ_SCRIPTS:$VAR_LOCATION /remotes/vmm/az
2012-09-24 18:18:17 +04:00
TM_FILES:$VAR_LOCATION /remotes/tm
TM_SHARED_FILES:$VAR_LOCATION /remotes/tm/shared
2013-11-11 20:43:57 +04:00
TM_FS_LVM_FILES:$VAR_LOCATION /remotes/tm/fs_lvm
2012-09-24 18:18:17 +04:00
TM_QCOW2_FILES:$VAR_LOCATION /remotes/tm/qcow2
TM_SSH_FILES:$VAR_LOCATION /remotes/tm/ssh
TM_VMFS_FILES:$VAR_LOCATION /remotes/tm/vmfs
TM_LVM_FILES:$VAR_LOCATION /remotes/tm/lvm
2013-02-14 21:55:37 +04:00
TM_CEPH_FILES:$VAR_LOCATION /remotes/tm/ceph
2014-06-17 21:31:53 +04:00
TM_DEV_FILES:$VAR_LOCATION /remotes/tm/dev
2015-12-22 12:03:58 +03:00
TM_ISCSI_FILES:$VAR_LOCATION /remotes/tm/iscsi
2012-09-24 18:18:17 +04:00
TM_DUMMY_FILES:$VAR_LOCATION /remotes/tm/dummy
DATASTORE_DRIVER_COMMON_SCRIPTS:$VAR_LOCATION /remotes/datastore/
DATASTORE_DRIVER_DUMMY_SCRIPTS:$VAR_LOCATION /remotes/datastore/dummy
DATASTORE_DRIVER_FS_SCRIPTS:$VAR_LOCATION /remotes/datastore/fs
2012-09-27 19:36:01 +04:00
DATASTORE_DRIVER_VMFS_SCRIPTS:$VAR_LOCATION /remotes/datastore/vmfs
2012-09-24 18:18:17 +04:00
DATASTORE_DRIVER_LVM_SCRIPTS:$VAR_LOCATION /remotes/datastore/lvm
2013-02-14 21:55:37 +04:00
DATASTORE_DRIVER_CEPH_SCRIPTS:$VAR_LOCATION /remotes/datastore/ceph
2014-06-17 21:31:53 +04:00
DATASTORE_DRIVER_DEV_SCRIPTS:$VAR_LOCATION /remotes/datastore/dev
2015-12-22 12:03:58 +03:00
DATASTORE_DRIVER_ISCSI_SCRIPTS:$VAR_LOCATION /remotes/datastore/iscsi
2015-12-17 14:39:27 +03:00
MARKETPLACE_DRIVER_HTTP_SCRIPTS:$VAR_LOCATION /remotes/market/http
2015-12-24 20:49:21 +03:00
MARKETPLACE_DRIVER_ONE_SCRIPTS:$VAR_LOCATION /remotes/market/one
2016-01-25 18:42:59 +03:00
MARKETPLACE_DRIVER_S3_SCRIPTS:$VAR_LOCATION /remotes/market/s3
2012-09-24 18:18:17 +04:00
NETWORK_FILES:$VAR_LOCATION /remotes/vnm
NETWORK_8021Q_FILES:$VAR_LOCATION /remotes/vnm/802.1Q
2015-01-05 04:31:03 +03:00
NETWORK_VXLAN_FILES:$VAR_LOCATION /remotes/vnm/vxlan
2012-09-24 18:18:17 +04:00
NETWORK_DUMMY_FILES:$VAR_LOCATION /remotes/vnm/dummy
NETWORK_EBTABLES_FILES:$VAR_LOCATION /remotes/vnm/ebtables
NETWORK_FW_FILES:$VAR_LOCATION /remotes/vnm/fw
NETWORK_OVSWITCH_FILES:$VAR_LOCATION /remotes/vnm/ovswitch
2013-01-23 15:34:26 +04:00
NETWORK_OVSWITCH_BRCOMPAT_FILES:$VAR_LOCATION /remotes/vnm/ovswitch_brcompat
2012-09-24 18:18:17 +04:00
NETWORK_VMWARE_FILES:$VAR_LOCATION /remotes/vnm/vmware
EXAMPLE_SHARE_FILES:$SHARE_LOCATION /examples
2013-04-26 14:29:06 +04:00
WEBSOCKIFY_SHARE_FILES:$SHARE_LOCATION /websockify
2012-09-24 18:18:17 +04:00
INSTALL_GEMS_SHARE_FILE:$SHARE_LOCATION
HOOK_FT_FILES:$VAR_LOCATION /remotes/hooks/ft
COMMON_CLOUD_LIB_FILES:$LIB_LOCATION /ruby/cloud
CLOUD_AUTH_LIB_FILES:$LIB_LOCATION /ruby/cloud/CloudAuth
ECO_LIB_FILES:$LIB_LOCATION /ruby/cloud/econe
ECO_LIB_VIEW_FILES:$LIB_LOCATION /ruby/cloud/econe/views
ECO_BIN_FILES:$BIN_LOCATION
MAN_FILES:$MAN_LOCATION
2015-02-24 17:41:14 +03:00
DOCS_FILES:$DOCS_LOCATION
2012-09-24 18:18:17 +04:00
CLI_LIB_FILES:$LIB_LOCATION /ruby/cli
ONE_CLI_LIB_FILES:$LIB_LOCATION /ruby/cli/one_helper
2013-05-20 19:08:45 +04:00
RBVMOMI_VENDOR_RUBY_FILES:$LIB_LOCATION /ruby/vendors/rbvmomi
2013-05-20 19:52:16 +04:00
RBVMOMI_VENDOR_RUBY_LIB_FILES:$LIB_LOCATION /ruby/vendors/rbvmomi/lib
RBVMOMI_VENDOR_RUBY_LIB_RBVMOMI_FILES:$LIB_LOCATION /ruby/vendors/rbvmomi/lib/rbvmomi
RBVMOMI_VENDOR_RUBY_LIB_RBVMOMI_VIM_FILES:$LIB_LOCATION /ruby/vendors/rbvmomi/lib/rbvmomi/vim
RBVMOMI_VENDOR_RUBY_LIB_RBVMOMI_UTILS_FILES:$LIB_LOCATION /ruby/vendors/rbvmomi/lib/rbvmomi/utils
2011-02-10 20:16:18 +03:00
)
INSTALL_CLIENT_FILES = (
2012-09-24 18:18:17 +04:00
COMMON_CLOUD_CLIENT_LIB_FILES:$LIB_LOCATION /ruby/cloud
ECO_LIB_CLIENT_FILES:$LIB_LOCATION /ruby/cloud/econe
ECO_BIN_CLIENT_FILES:$BIN_LOCATION
COMMON_CLOUD_CLIENT_LIB_FILES:$LIB_LOCATION /ruby/cloud
CLI_BIN_FILES:$BIN_LOCATION
CLI_LIB_FILES:$LIB_LOCATION /ruby/cli
ONE_CLI_LIB_FILES:$LIB_LOCATION /ruby/cli/one_helper
CLI_CONF_FILES:$ETC_LOCATION /cli
OCA_LIB_FILES:$LIB_LOCATION /ruby
2012-12-18 19:14:47 +04:00
RUBY_OPENNEBULA_LIB_FILES:$LIB_LOCATION /ruby/opennebula
2013-04-16 14:14:55 +04:00
RUBY_AUTH_LIB_FILES:$LIB_LOCATION /ruby/opennebula
2011-02-10 20:16:18 +03:00
)
2011-02-24 14:28:57 +03:00
INSTALL_SUNSTONE_RUBY_FILES = (
2012-12-18 19:14:47 +04:00
RUBY_OPENNEBULA_LIB_FILES:$LIB_LOCATION /ruby/opennebula
2012-09-24 18:18:17 +04:00
OCA_LIB_FILES:$LIB_LOCATION /ruby
2011-02-24 14:28:57 +03:00
)
2011-02-23 19:27:17 +03:00
INSTALL_SUNSTONE_FILES = (
2012-09-24 18:18:17 +04:00
SUNSTONE_FILES:$SUNSTONE_LOCATION
SUNSTONE_BIN_FILES:$BIN_LOCATION
SUNSTONE_MODELS_FILES:$SUNSTONE_LOCATION /models
SUNSTONE_MODELS_JSON_FILES:$SUNSTONE_LOCATION /models/OpenNebulaJSON
SUNSTONE_VIEWS_FILES:$SUNSTONE_LOCATION /views
2013-07-11 18:01:01 +04:00
SUNSTONE_ROUTES_FILES:$SUNSTONE_LOCATION /routes
2015-07-17 16:48:30 +03:00
)
INSTALL_SUNSTONE_PUBLIC_MINIFIED_FILES = (
SUNSTONE_PUBLIC_JS_FILES:$SUNSTONE_LOCATION /public/dist
SUNSTONE_PUBLIC_JS_CONSOLE_FILES:$SUNSTONE_LOCATION /public/dist/console
SUNSTONE_PUBLIC_FONT_AWSOME:$SUNSTONE_LOCATION /public/bower_components/fontawesome/fonts
SUNSTONE_PUBLIC_CSS_FILES:$SUNSTONE_LOCATION /public/css
SUNSTONE_PUBLIC_IMAGES_FILES:$SUNSTONE_LOCATION /public/images
SUNSTONE_PUBLIC_LOGOS_FILES:$SUNSTONE_LOCATION /public/images/logos
SUNSTONE_PUBLIC_LOCALE_CA:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_CS_CZ:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_DE:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_DA:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_EL_GR:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_EN_US:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_ES_ES:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_FA_IR:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_FR_FR:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_IT_IT:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_JA:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_LT_LT:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_NL_NL:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_PL:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_PT_PT:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_PT_BR:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_RU_RU:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_SK_SK:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_ZH_CN:$SUNSTONE_LOCATION /public/locale/languages
SUNSTONE_PUBLIC_LOCALE_ZH_TW:$SUNSTONE_LOCATION /public/locale/languages
)
INSTALL_SUNSTONE_PUBLIC_DEV_DIR = (
SUNSTONE_PUBLIC_DEV_DIR:$SUNSTONE_LOCATION
2011-02-23 19:27:17 +03:00
)
2011-06-21 19:15:55 +04:00
INSTALL_SUNSTONE_ETC_FILES = (
2012-09-24 18:18:17 +04:00
SUNSTONE_ETC_FILES:$ETC_LOCATION
2013-04-10 22:37:01 +04:00
SUNSTONE_ETC_VIEW_FILES:$ETC_LOCATION /sunstone-views
2011-06-21 19:15:55 +04:00
)
2013-06-27 13:36:08 +04:00
INSTALL_ONEGATE_FILES = (
ONEGATE_FILES:$ONEGATE_LOCATION
ONEGATE_BIN_FILES:$BIN_LOCATION
)
INSTALL_ONEGATE_ETC_FILES = (
ONEGATE_ETC_FILES:$ETC_LOCATION
)
2013-07-10 15:29:53 +04:00
INSTALL_ONEFLOW_FILES = (
ONEFLOW_FILES:$ONEFLOW_LOCATION
ONEFLOW_BIN_FILES:$BIN_LOCATION
ONEFLOW_LIB_FILES:$ONEFLOW_LOCATION /lib
2013-07-10 20:32:05 +04:00
ONEFLOW_LIB_STRATEGY_FILES:$ONEFLOW_LOCATION /lib/strategy
ONEFLOW_LIB_MODELS_FILES:$ONEFLOW_LOCATION /lib/models
2013-07-10 15:29:53 +04:00
)
INSTALL_ONEFLOW_ETC_FILES = (
ONEFLOW_ETC_FILES:$ETC_LOCATION
)
2012-01-02 21:54:40 +04:00
2011-02-10 20:16:18 +03:00
INSTALL_ETC_FILES = (
2012-09-24 18:18:17 +04:00
ETC_FILES:$ETC_LOCATION
VMWARE_ETC_FILES:$ETC_LOCATION
2013-09-03 20:40:41 +04:00
EC2_ETC_FILES:$ETC_LOCATION
2014-06-05 17:19:54 +04:00
SL_ETC_FILES:$ETC_LOCATION
2014-06-19 19:03:18 +04:00
AZ_ETC_FILES:$ETC_LOCATION
2012-09-24 18:18:17 +04:00
VMM_EXEC_ETC_FILES:$ETC_LOCATION /vmm_exec
HM_ETC_FILES:$ETC_LOCATION /hm
AUTH_ETC_FILES:$ETC_LOCATION /auth
ECO_ETC_FILES:$ETC_LOCATION
ECO_ETC_TEMPLATE_FILES:$ETC_LOCATION /ec2query_templates
CLI_CONF_FILES:$ETC_LOCATION /cli
2011-02-10 20:16:18 +03:00
)
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Binary files, to be installed under $BIN_LOCATION
#-------------------------------------------------------------------------------
BIN_FILES = " src/nebula/oned \
2012-09-24 18:18:17 +04:00
src/scheduler/src/sched/mm_sched \
src/cli/onevm \
src/cli/oneacct \
2014-11-07 14:27:54 +03:00
src/cli/oneshowback \
2012-09-24 18:18:17 +04:00
src/cli/onehost \
src/cli/onevnet \
src/cli/oneuser \
src/cli/oneimage \
src/cli/onegroup \
src/cli/onetemplate \
src/cli/oneacl \
src/cli/onedatastore \
src/cli/onecluster \
2013-12-12 22:10:12 +04:00
src/cli/onezone \
2013-07-10 15:29:53 +04:00
src/cli/oneflow \
src/cli/oneflow-template \
2014-09-08 13:59:13 +04:00
src/cli/onesecgroup \
2014-12-19 19:30:00 +03:00
src/cli/onevdc \
2015-11-30 18:55:22 +03:00
src/cli/onevrouter \
2015-12-06 01:52:28 +03:00
src/cli/onemarket \
2015-12-11 17:53:19 +03:00
src/cli/onemarketapp \
2014-09-22 14:37:35 +04:00
src/cli/onevcenter \
2012-09-24 18:18:17 +04:00
src/onedb/onedb \
src/mad/utils/tty_expect \
share/scripts/one"
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# C/C++ OpenNebula API Library & Development files
# Include files, to be installed under $INCLUDE_LOCATION
# Library files, to be installed under $LIB_LOCATION
#-------------------------------------------------------------------------------
2010-05-17 17:54:46 +04:00
INCLUDE_FILES = ""
LIB_FILES = ""
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Ruby library files, to be installed under $LIB_LOCATION/ruby
#-------------------------------------------------------------------------------
2010-09-01 01:28:05 +04:00
RUBY_LIB_FILES = " src/mad/ruby/ActionManager.rb \
2012-09-24 18:18:17 +04:00
src/mad/ruby/CommandManager.rb \
src/mad/ruby/OpenNebulaDriver.rb \
src/mad/ruby/VirtualMachineDriver.rb \
src/mad/ruby/DriverExecHelper.rb \
src/mad/ruby/ssh_stream.rb \
src/vnm_mad/one_vnm.rb \
2013-02-01 19:06:58 +04:00
src/oca/ruby/deprecated/OpenNebula.rb \
2013-03-05 19:19:09 +04:00
src/oca/ruby/opennebula.rb \
2014-11-17 17:19:07 +03:00
src/sunstone/OpenNebulaVNC.rb \
2015-07-17 12:10:21 +03:00
src/vmm_mad/remotes/vcenter/vcenter_driver.rb \
src/vmm_mad/remotes/az/az_driver.rb \
src/vmm_mad/remotes/ec2/ec2_driver.rb \
src/vmm_mad/remotes/sl/sl_driver.rb"
2012-12-20 14:47:39 +04:00
#-------------------------------------------------------------------------------
# Ruby auth library files, to be installed under $LIB_LOCATION/ruby/opennebula
#-------------------------------------------------------------------------------
RUBY_AUTH_LIB_FILES = " src/authm_mad/remotes/ssh/ssh_auth.rb \
2012-09-24 18:18:17 +04:00
src/authm_mad/remotes/server_x509/server_x509_auth.rb \
src/authm_mad/remotes/server_cipher/server_cipher_auth.rb \
src/authm_mad/remotes/ldap/ldap_auth.rb \
src/authm_mad/remotes/x509/x509_auth.rb"
2009-01-02 17:58:51 +03:00
2011-04-13 02:15:12 +04:00
#-----------------------------------------------------------------------------
2011-05-10 18:08:05 +04:00
# MAD Script library files, to be installed under $LIB_LOCATION/<script lang>
2011-04-13 02:15:12 +04:00
# and remotes directory
#-----------------------------------------------------------------------------
MAD_SH_LIB_FILES = "src/mad/sh/scripts_common.sh"
2011-05-10 18:08:05 +04:00
MAD_RUBY_LIB_FILES = "src/mad/ruby/scripts_common.rb"
2011-04-13 02:15:12 +04:00
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Driver executable files, to be installed under $LIB_LOCATION/mads
#-------------------------------------------------------------------------------
2009-09-25 20:03:03 +04:00
MADS_LIB_FILES = " src/mad/sh/madcommon.sh \
2012-09-24 18:18:17 +04:00
src/vmm_mad/exec/one_vmm_exec.rb \
src/vmm_mad/exec/one_vmm_exec \
src/vmm_mad/exec/one_vmm_sh \
src/vmm_mad/exec/one_vmm_ssh \
src/vmm_mad/dummy/one_vmm_dummy.rb \
src/vmm_mad/dummy/one_vmm_dummy \
src/im_mad/im_exec/one_im_exec.rb \
src/im_mad/im_exec/one_im_exec \
src/im_mad/im_exec/one_im_ssh \
src/im_mad/im_exec/one_im_sh \
src/im_mad/dummy/one_im_dummy.rb \
src/im_mad/dummy/one_im_dummy \
2013-09-30 01:08:08 +04:00
src/im_mad/collectd/collectd \
2012-09-24 18:18:17 +04:00
src/tm_mad/one_tm \
src/tm_mad/one_tm.rb \
src/hm_mad/one_hm.rb \
src/hm_mad/one_hm \
src/authm_mad/one_auth_mad.rb \
src/authm_mad/one_auth_mad \
src/datastore_mad/one_datastore.rb \
2015-12-17 14:39:27 +03:00
src/datastore_mad/one_datastore \
src/market_mad/one_market.rb \
src/market_mad/one_market"
2010-07-12 19:07:56 +04:00
2010-08-24 18:44:42 +04:00
#-------------------------------------------------------------------------------
# VMM SH Driver KVM scripts, to be installed under $REMOTES_LOCATION/vmm/kvm
#-------------------------------------------------------------------------------
2011-06-01 20:57:47 +04:00
VMM_EXEC_KVM_SCRIPTS = " src/vmm_mad/remotes/kvm/cancel \
2012-09-24 18:18:17 +04:00
src/vmm_mad/remotes/kvm/deploy \
src/vmm_mad/remotes/kvm/kvmrc \
src/vmm_mad/remotes/kvm/migrate \
src/vmm_mad/remotes/kvm/migrate_local \
src/vmm_mad/remotes/kvm/restore \
2015-10-29 18:24:39 +03:00
src/vmm_mad/remotes/kvm/restore.ceph \
2012-09-24 18:18:17 +04:00
src/vmm_mad/remotes/kvm/reboot \
src/vmm_mad/remotes/kvm/reset \
src/vmm_mad/remotes/kvm/save \
2015-10-29 18:24:39 +03:00
src/vmm_mad/remotes/kvm/save.ceph \
2012-09-24 18:18:17 +04:00
src/vmm_mad/remotes/kvm/poll \
src/vmm_mad/remotes/kvm/attach_disk \
src/vmm_mad/remotes/kvm/detach_disk \
2013-03-07 04:24:32 +04:00
src/vmm_mad/remotes/kvm/attach_nic \
src/vmm_mad/remotes/kvm/detach_nic \
2013-02-20 18:05:58 +04:00
src/vmm_mad/remotes/kvm/snapshot_create \
2013-02-20 19:53:56 +04:00
src/vmm_mad/remotes/kvm/snapshot_revert \
2013-02-21 18:03:14 +04:00
src/vmm_mad/remotes/kvm/snapshot_delete \
2016-01-29 17:51:07 +03:00
src/vmm_mad/remotes/kvm/shutdown \
2016-01-29 18:28:31 +03:00
src/vmm_mad/remotes/kvm/reconfigure \
src/vmm_mad/remotes/kvm/prereconfigure"
2010-08-24 18:44:42 +04:00
#-------------------------------------------------------------------------------
# VMM SH Driver Xen scripts, to be installed under $REMOTES_LOCATION/vmm/xen
#-------------------------------------------------------------------------------
2013-02-08 18:12:10 +04:00
VMM_EXEC_XEN3_SCRIPTS = " src/vmm_mad/remotes/xen/cancel \
2012-09-24 18:18:17 +04:00
src/vmm_mad/remotes/xen/deploy \
2013-02-08 18:12:10 +04:00
src/vmm_mad/remotes/xen/xen3/xenrc \
2013-11-19 15:55:30 +04:00
src/vmm_mad/remotes/xen/xen3/migrate \
2012-09-24 18:18:17 +04:00
src/vmm_mad/remotes/xen/restore \
src/vmm_mad/remotes/xen/reboot \
2014-10-21 19:26:26 +04:00
src/vmm_mad/remotes/xen/xen3/reset \
2012-09-24 18:18:17 +04:00
src/vmm_mad/remotes/xen/save \
src/vmm_mad/remotes/xen/poll \
src/vmm_mad/remotes/xen/attach_disk \
src/vmm_mad/remotes/xen/detach_disk \
2013-03-07 04:40:42 +04:00
src/vmm_mad/remotes/xen/attach_nic \
src/vmm_mad/remotes/xen/detach_nic \
2013-02-20 18:10:03 +04:00
src/vmm_mad/remotes/xen/snapshot_create \
2013-02-20 19:53:56 +04:00
src/vmm_mad/remotes/xen/snapshot_revert \
2013-02-21 18:03:14 +04:00
src/vmm_mad/remotes/xen/snapshot_delete \
2012-09-24 18:18:17 +04:00
src/vmm_mad/remotes/xen/shutdown"
2010-08-24 18:44:42 +04:00
2013-02-08 18:12:10 +04:00
VMM_EXEC_XEN4_SCRIPTS = " src/vmm_mad/remotes/xen/cancel \
src/vmm_mad/remotes/xen/deploy \
src/vmm_mad/remotes/xen/xen4/xenrc \
2013-11-19 15:55:30 +04:00
src/vmm_mad/remotes/xen/xen4/migrate \
2013-02-08 18:12:10 +04:00
src/vmm_mad/remotes/xen/restore \
src/vmm_mad/remotes/xen/reboot \
2014-10-21 19:26:26 +04:00
src/vmm_mad/remotes/xen/xen4/reset \
2013-02-08 18:12:10 +04:00
src/vmm_mad/remotes/xen/save \
src/vmm_mad/remotes/xen/poll \
src/vmm_mad/remotes/xen/attach_disk \
src/vmm_mad/remotes/xen/detach_disk \
2013-03-07 04:40:42 +04:00
src/vmm_mad/remotes/xen/attach_nic \
src/vmm_mad/remotes/xen/detach_nic \
2013-02-20 18:10:03 +04:00
src/vmm_mad/remotes/xen/snapshot_create \
2013-02-20 19:53:56 +04:00
src/vmm_mad/remotes/xen/snapshot_revert \
2013-02-21 18:03:14 +04:00
src/vmm_mad/remotes/xen/snapshot_delete \
2013-02-08 18:12:10 +04:00
src/vmm_mad/remotes/xen/shutdown"
2011-11-29 19:37:01 +04:00
#-------------------------------------------------------------------------------
# VMM Driver VMWARE scripts, to be installed under $REMOTES_LOCATION/vmm/vmware
#-------------------------------------------------------------------------------
VMM_EXEC_VMWARE_SCRIPTS = " src/vmm_mad/remotes/vmware/cancel \
2012-09-24 18:18:17 +04:00
src/vmm_mad/remotes/vmware/attach_disk \
src/vmm_mad/remotes/vmware/detach_disk \
2013-03-07 04:27:33 +04:00
src/vmm_mad/remotes/vmware/attach_nic \
src/vmm_mad/remotes/vmware/detach_nic \
2013-02-20 18:10:03 +04:00
src/vmm_mad/remotes/vmware/snapshot_create \
2013-02-20 19:53:56 +04:00
src/vmm_mad/remotes/vmware/snapshot_revert \
2013-02-21 18:03:14 +04:00
src/vmm_mad/remotes/vmware/snapshot_delete \
2012-09-24 18:18:17 +04:00
src/vmm_mad/remotes/vmware/scripts_common_sh.sh \
src/vmm_mad/remotes/vmware/deploy \
src/vmm_mad/remotes/vmware/migrate \
src/vmm_mad/remotes/vmware/restore \
src/vmm_mad/remotes/vmware/reboot \
src/vmm_mad/remotes/vmware/reset \
src/vmm_mad/remotes/vmware/save \
src/vmm_mad/remotes/vmware/poll \
src/vmm_mad/remotes/vmware/checkpoint \
src/vmm_mad/remotes/vmware/shutdown \
2013-05-17 20:58:07 +04:00
src/vmm_mad/remotes/vmware/vmware_driver.rb \
src/vmm_mad/remotes/vmware/vi_driver.rb"
2011-11-29 19:37:01 +04:00
2014-09-19 15:14:57 +04:00
#-------------------------------------------------------------------------------
# VMM Driver vCenter scripts, installed under $REMOTES_LOCATION/vmm/vcenter
#-------------------------------------------------------------------------------
2014-09-19 21:26:02 +04:00
VMM_EXEC_VCENTER_SCRIPTS = " src/vmm_mad/remotes/vcenter/cancel \
2014-09-19 15:14:57 +04:00
src/vmm_mad/remotes/vcenter/attach_disk \
src/vmm_mad/remotes/vcenter/detach_disk \
src/vmm_mad/remotes/vcenter/attach_nic \
src/vmm_mad/remotes/vcenter/detach_nic \
src/vmm_mad/remotes/vcenter/snapshot_create \
src/vmm_mad/remotes/vcenter/snapshot_revert \
src/vmm_mad/remotes/vcenter/snapshot_delete \
src/vmm_mad/remotes/vcenter/deploy \
src/vmm_mad/remotes/vcenter/migrate \
src/vmm_mad/remotes/vcenter/restore \
src/vmm_mad/remotes/vcenter/reboot \
src/vmm_mad/remotes/vcenter/reset \
src/vmm_mad/remotes/vcenter/save \
src/vmm_mad/remotes/vcenter/poll \
2014-11-17 17:19:07 +03:00
src/vmm_mad/remotes/vcenter/shutdown"
2014-09-19 15:14:57 +04:00
2013-09-03 20:40:41 +04:00
#------------------------------------------------------------------------------
# VMM Driver EC2 scripts, to be installed under $REMOTES_LOCATION/vmm/ec2
#------------------------------------------------------------------------------
VMM_EXEC_EC2_SCRIPTS = " src/vmm_mad/remotes/ec2/cancel \
src/vmm_mad/remotes/ec2/attach_disk \
src/vmm_mad/remotes/ec2/detach_disk \
src/vmm_mad/remotes/ec2/attach_nic \
src/vmm_mad/remotes/ec2/detach_nic \
src/vmm_mad/remotes/ec2/snapshot_create \
src/vmm_mad/remotes/ec2/snapshot_revert \
src/vmm_mad/remotes/ec2/snapshot_delete \
src/vmm_mad/remotes/ec2/deploy \
src/vmm_mad/remotes/ec2/migrate \
src/vmm_mad/remotes/ec2/restore \
src/vmm_mad/remotes/ec2/reboot \
src/vmm_mad/remotes/ec2/reset \
src/vmm_mad/remotes/ec2/save \
src/vmm_mad/remotes/ec2/poll \
2015-07-17 12:10:21 +03:00
src/vmm_mad/remotes/ec2/shutdown"
2013-09-03 20:40:41 +04:00
2014-06-05 17:19:54 +04:00
#------------------------------------------------------------------------------
# VMM Driver SoftLayer scripts, to be installed under $REMOTES_LOCATION/vmm/sl
#------------------------------------------------------------------------------
VMM_EXEC_SL_SCRIPTS = " src/vmm_mad/remotes/sl/cancel \
src/vmm_mad/remotes/sl/attach_disk \
src/vmm_mad/remotes/sl/detach_disk \
src/vmm_mad/remotes/sl/attach_nic \
src/vmm_mad/remotes/sl/detach_nic \
src/vmm_mad/remotes/sl/snapshot_create \
src/vmm_mad/remotes/sl/snapshot_revert \
src/vmm_mad/remotes/sl/snapshot_delete \
src/vmm_mad/remotes/sl/deploy \
src/vmm_mad/remotes/sl/migrate \
src/vmm_mad/remotes/sl/restore \
src/vmm_mad/remotes/sl/reboot \
src/vmm_mad/remotes/sl/reset \
src/vmm_mad/remotes/sl/save \
src/vmm_mad/remotes/sl/poll \
2015-07-17 12:10:21 +03:00
src/vmm_mad/remotes/sl/shutdown"
2014-06-05 17:19:54 +04:00
2014-06-19 19:03:18 +04:00
#------------------------------------------------------------------------------
# VMM Driver Azure scripts, to be installed under $REMOTES_LOCATION/vmm/az
#------------------------------------------------------------------------------
VMM_EXEC_AZ_SCRIPTS = " src/vmm_mad/remotes/az/cancel \
src/vmm_mad/remotes/az/attach_disk \
src/vmm_mad/remotes/az/detach_disk \
src/vmm_mad/remotes/az/attach_nic \
src/vmm_mad/remotes/az/detach_nic \
src/vmm_mad/remotes/az/snapshot_create \
src/vmm_mad/remotes/az/snapshot_revert \
src/vmm_mad/remotes/az/snapshot_delete \
src/vmm_mad/remotes/az/deploy \
src/vmm_mad/remotes/az/migrate \
src/vmm_mad/remotes/az/restore \
src/vmm_mad/remotes/az/reboot \
src/vmm_mad/remotes/az/reset \
src/vmm_mad/remotes/az/save \
src/vmm_mad/remotes/az/poll \
2015-07-17 12:10:21 +03:00
src/vmm_mad/remotes/az/shutdown"
2014-06-19 19:03:18 +04:00
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
2011-07-28 05:43:50 +04:00
# Information Manager Probes, to be installed under $REMOTES_LOCATION/im
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
2013-10-24 18:33:51 +04:00
IM_PROBES_FILES = " src/im_mad/remotes/run_probes \
src/im_mad/remotes/stop_probes"
2010-08-19 20:58:00 +04:00
2013-10-13 23:48:10 +04:00
IM_PROBES_KVM_FILES = " src/im_mad/remotes/kvm.d/collectd-client_control.sh \
src/im_mad/remotes/kvm.d/collectd-client.rb"
IM_PROBES_KVM_PROBES_FILES = " src/im_mad/remotes/kvm-probes.d/kvm.rb \
src/im_mad/remotes/kvm-probes.d/architecture.sh \
src/im_mad/remotes/kvm-probes.d/cpu.sh \
src/im_mad/remotes/kvm-probes.d/poll.sh \
2013-10-17 18:37:15 +04:00
src/im_mad/remotes/kvm-probes.d/name.sh \
2015-08-20 19:20:10 +03:00
src/im_mad/remotes/kvm-probes.d/pci.rb \
2013-11-26 13:49:20 +04:00
src/im_mad/remotes/common.d/monitor_ds.sh \
2014-02-21 22:03:21 +04:00
src/im_mad/remotes/common.d/version.sh \
src/im_mad/remotes/common.d/collectd-client-shepherd.sh"
2013-10-13 23:48:10 +04:00
IM_PROBES_XEN3_FILES = " src/im_mad/remotes/xen.d/collectd-client_control.sh \
src/im_mad/remotes/xen.d/collectd-client.rb"
IM_PROBES_XEN3_PROBES_FILES = " src/im_mad/remotes/xen-probes.d/xen.rb \
src/im_mad/remotes/xen-probes.d/architecture.sh \
src/im_mad/remotes/xen-probes.d/cpu.sh \
src/im_mad/remotes/xen-probes.d/poll3.sh \
2013-10-17 18:37:15 +04:00
src/im_mad/remotes/xen-probes.d/name.sh
2013-11-26 13:49:20 +04:00
src/im_mad/remotes/common.d/monitor_ds.sh \
2014-02-21 22:03:21 +04:00
src/im_mad/remotes/common.d/version.sh \
src/im_mad/remotes/common.d/collectd-client-shepherd.sh"
2013-10-13 23:48:10 +04:00
IM_PROBES_XEN4_FILES = " src/im_mad/remotes/xen.d/collectd-client_control.sh \
2013-10-17 18:37:15 +04:00
src/im_mad/remotes/xen.d/collectd-client.rb"
2013-10-13 23:48:10 +04:00
IM_PROBES_XEN4_PROBES_FILES = " src/im_mad/remotes/xen-probes.d/xen.rb \
src/im_mad/remotes/xen-probes.d/architecture.sh \
src/im_mad/remotes/xen-probes.d/cpu.sh \
src/im_mad/remotes/xen-probes.d/poll4.sh \
2013-10-17 18:37:15 +04:00
src/im_mad/remotes/xen-probes.d/name.sh \
2013-11-26 13:49:20 +04:00
src/im_mad/remotes/common.d/monitor_ds.sh \
2014-02-21 22:03:21 +04:00
src/im_mad/remotes/common.d/version.sh \
src/im_mad/remotes/common.d/collectd-client-shepherd.sh"
2010-08-19 20:58:00 +04:00
2011-11-29 19:37:01 +04:00
IM_PROBES_VMWARE_FILES = "src/im_mad/remotes/vmware.d/vmware.rb"
2010-08-19 20:58:00 +04:00
2014-09-19 15:14:57 +04:00
IM_PROBES_VCENTER_FILES = "src/im_mad/remotes/vcenter.d/vcenter.rb"
2013-10-15 15:36:37 +04:00
IM_PROBES_EC2_FILES = "src/im_mad/remotes/ec2.d/poll"
2013-09-03 20:40:41 +04:00
2014-06-05 17:19:54 +04:00
IM_PROBES_SL_FILES = "src/im_mad/remotes/sl.d/poll"
2014-06-19 19:03:18 +04:00
IM_PROBES_AZ_FILES = "src/im_mad/remotes/az.d/poll"
2014-06-05 17:19:54 +04:00
2013-11-25 22:21:47 +04:00
IM_PROBES_VERSION = "src/im_mad/remotes/VERSION"
2011-07-28 05:43:50 +04:00
#-------------------------------------------------------------------------------
# Auth Manager drivers to be installed under $REMOTES_LOCATION/auth
#-------------------------------------------------------------------------------
2011-07-28 21:49:30 +04:00
2011-10-21 04:27:47 +04:00
AUTH_SERVER_CIPHER_FILES = "src/authm_mad/remotes/server_cipher/authenticate"
2011-10-24 19:24:42 +04:00
AUTH_SERVER_X509_FILES = "src/authm_mad/remotes/server_x509/authenticate"
2011-08-25 19:52:22 +04:00
2011-08-19 05:13:50 +04:00
AUTH_X509_FILES = "src/authm_mad/remotes/x509/authenticate"
2011-11-29 20:02:43 +04:00
AUTH_LDAP_FILES = "src/authm_mad/remotes/ldap/authenticate"
2011-07-28 05:43:50 +04:00
AUTH_SSH_FILES = "src/authm_mad/remotes/ssh/authenticate"
2009-01-02 17:58:51 +03:00
2011-07-28 21:49:30 +04:00
AUTH_DUMMY_FILES = "src/authm_mad/remotes/dummy/authenticate"
2011-07-28 14:39:40 +04:00
AUTH_PLAIN_FILES = "src/authm_mad/remotes/plain/authenticate"
2011-11-15 15:44:50 +04:00
#-------------------------------------------------------------------------------
# Virtual Network Manager drivers to be installed under $REMOTES_LOCATION/vnm
#-------------------------------------------------------------------------------
2014-12-24 02:39:41 +03:00
NETWORK_FILES = " src/vnm_mad/remotes/lib/vnm_driver.rb \
2014-12-22 21:50:44 +03:00
src/vnm_mad/remotes/lib/vnmmad.rb \
2014-07-14 14:23:02 +04:00
src/vnm_mad/remotes/OpenNebulaNetwork.conf \
2014-12-24 02:39:41 +03:00
src/vnm_mad/remotes/lib/fw_driver.rb \
src/vnm_mad/remotes/lib/sg_driver.rb \
2014-12-22 21:10:30 +03:00
src/vnm_mad/remotes/lib/address.rb \
src/vnm_mad/remotes/lib/command.rb \
2014-12-22 21:50:44 +03:00
src/vnm_mad/remotes/lib/vm.rb \
2015-01-05 04:31:03 +03:00
src/vnm_mad/remotes/lib/vlan.rb \
2014-12-22 21:10:30 +03:00
src/vnm_mad/remotes/lib/security_groups.rb \
src/vnm_mad/remotes/lib/security_groups_iptables.rb \
src/vnm_mad/remotes/lib/nic.rb"
2011-11-15 15:44:50 +04:00
NETWORK_8021Q_FILES = " src/vnm_mad/remotes/802.1Q/clean \
2012-09-24 18:18:17 +04:00
src/vnm_mad/remotes/802.1Q/post \
src/vnm_mad/remotes/802.1Q/pre \
2015-01-05 04:31:03 +03:00
src/vnm_mad/remotes/802.1Q/vlan_tag_driver.rb"
NETWORK_VXLAN_FILES = " src/vnm_mad/remotes/vxlan/clean \
src/vnm_mad/remotes/vxlan/post \
src/vnm_mad/remotes/vxlan/pre \
src/vnm_mad/remotes/vxlan/vxlan_driver.rb"
2011-11-15 15:44:50 +04:00
NETWORK_DUMMY_FILES = " src/vnm_mad/remotes/dummy/clean \
2012-09-24 18:18:17 +04:00
src/vnm_mad/remotes/dummy/post \
src/vnm_mad/remotes/dummy/pre"
2011-11-15 15:44:50 +04:00
NETWORK_EBTABLES_FILES = " src/vnm_mad/remotes/ebtables/clean \
2012-09-24 18:18:17 +04:00
src/vnm_mad/remotes/ebtables/post \
src/vnm_mad/remotes/ebtables/pre \
src/vnm_mad/remotes/ebtables/Ebtables.rb"
2011-11-15 15:44:50 +04:00
2011-12-02 20:37:49 +04:00
NETWORK_FW_FILES = " src/vnm_mad/remotes/fw/post \
2012-09-24 18:18:17 +04:00
src/vnm_mad/remotes/fw/pre \
src/vnm_mad/remotes/fw/clean"
2011-11-15 15:44:50 +04:00
NETWORK_OVSWITCH_FILES = " src/vnm_mad/remotes/ovswitch/clean \
2012-09-24 18:18:17 +04:00
src/vnm_mad/remotes/ovswitch/post \
src/vnm_mad/remotes/ovswitch/pre \
src/vnm_mad/remotes/ovswitch/OpenvSwitch.rb"
2011-11-15 15:44:50 +04:00
2013-01-23 15:34:26 +04:00
NETWORK_OVSWITCH_BRCOMPAT_FILES = " src/vnm_mad/remotes/ovswitch_brcompat/clean \
src/vnm_mad/remotes/ovswitch_brcompat/post \
src/vnm_mad/remotes/ovswitch_brcompat/pre \
src/vnm_mad/remotes/ovswitch_brcompat/OpenvSwitch.rb"
2012-01-05 15:44:00 +04:00
NETWORK_VMWARE_FILES = " src/vnm_mad/remotes/vmware/clean \
2012-09-24 18:18:17 +04:00
src/vnm_mad/remotes/vmware/post \
src/vnm_mad/remotes/vmware/pre \
src/vnm_mad/remotes/vmware/VMware.rb"
2012-01-05 15:44:00 +04:00
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Transfer Manager commands, to be installed under $LIB_LOCATION/tm_commands
2012-02-29 01:52:48 +04:00
# - SHARED TM, $VAR_LOCATION/tm/shared
2013-11-11 20:43:57 +04:00
# - FS_LVM TM, $VAR_LOCATION/tm/fs_lvm
2012-03-23 23:26:53 +04:00
# - QCOW2 TM, $VAR_LOCATION/tm/qcow2
2012-02-29 01:52:48 +04:00
# - SSH TM, $VAR_LOCATION/tm/ssh
2012-04-04 13:13:39 +04:00
# - DUMMY TM, $VAR_LOCATION/tm/dummy
# - VMWARE TM, $VAR_LOCATION/tm/vmware
2012-04-24 18:34:48 +04:00
# - LVM TM, $VAR_LOCATION/tm/lvm
2013-02-14 21:55:37 +04:00
# - CEPH TM, $VAR_LOCATION/tm/ceph
2014-06-17 21:31:53 +04:00
# - DEV TM, $VAR_LOCATION/tm/dev
2015-12-22 12:03:58 +03:00
# - ISCSI TM, $VAR_LOCATION/tm/iscsi
2012-02-29 01:52:48 +04:00
#-------------------------------------------------------------------------------
TM_FILES = "src/tm_mad/tm_common.sh"
TM_SHARED_FILES = " src/tm_mad/shared/clone \
2012-09-24 18:18:17 +04:00
src/tm_mad/shared/delete \
src/tm_mad/shared/ln \
src/tm_mad/shared/mkswap \
src/tm_mad/shared/mkimage \
src/tm_mad/shared/mv \
src/tm_mad/shared/context \
src/tm_mad/shared/premigrate \
src/tm_mad/shared/postmigrate \
2015-06-04 22:43:32 +03:00
src/tm_mad/shared/failmigrate \
2013-03-07 19:48:23 +04:00
src/tm_mad/shared/mvds \
2015-06-08 16:00:32 +03:00
src/tm_mad/shared/snap_create \
2015-08-12 13:31:58 +03:00
src/tm_mad/shared/snap_create_live \
2015-06-08 16:00:32 +03:00
src/tm_mad/shared/snap_delete \
src/tm_mad/shared/snap_revert \
2015-11-04 19:31:56 +03:00
src/tm_mad/shared/monitor \
2013-03-07 19:48:23 +04:00
src/tm_mad/shared/cpds"
2012-02-29 01:52:48 +04:00
2013-11-11 20:43:57 +04:00
TM_FS_LVM_FILES = " src/tm_mad/fs_lvm/clone \
src/tm_mad/fs_lvm/ln \
src/tm_mad/fs_lvm/mv \
src/tm_mad/fs_lvm/mvds \
src/tm_mad/fs_lvm/cpds \
src/tm_mad/fs_lvm/premigrate \
src/tm_mad/fs_lvm/postmigrate \
2015-06-08 16:00:32 +03:00
src/tm_mad/fs_lvm/snap_create \
2015-08-12 13:31:58 +03:00
src/tm_mad/fs_lvm/snap_create_live \
2015-06-08 16:00:32 +03:00
src/tm_mad/fs_lvm/snap_delete \
src/tm_mad/fs_lvm/snap_revert \
2015-06-04 22:43:32 +03:00
src/tm_mad/fs_lvm/failmigrate \
2013-11-11 20:43:57 +04:00
src/tm_mad/fs_lvm/delete"
2013-09-16 18:22:36 +04:00
2012-03-23 23:26:53 +04:00
TM_QCOW2_FILES = " src/tm_mad/qcow2/clone \
2012-09-24 18:18:17 +04:00
src/tm_mad/qcow2/delete \
src/tm_mad/qcow2/ln \
src/tm_mad/qcow2/mkswap \
src/tm_mad/qcow2/mkimage \
src/tm_mad/qcow2/mv \
src/tm_mad/qcow2/context \
src/tm_mad/qcow2/premigrate \
src/tm_mad/qcow2/postmigrate \
2015-06-04 22:43:32 +03:00
src/tm_mad/qcow2/failmigrate \
2013-03-07 19:48:23 +04:00
src/tm_mad/qcow2/mvds \
2015-06-08 16:00:32 +03:00
src/tm_mad/qcow2/snap_create \
2015-08-12 13:31:58 +03:00
src/tm_mad/qcow2/snap_create_live \
2015-06-08 16:00:32 +03:00
src/tm_mad/qcow2/snap_delete \
src/tm_mad/qcow2/snap_revert \
2013-03-07 19:48:23 +04:00
src/tm_mad/qcow2/cpds"
2012-03-23 23:26:53 +04:00
2012-02-29 01:52:48 +04:00
TM_SSH_FILES = " src/tm_mad/ssh/clone \
2012-09-24 18:18:17 +04:00
src/tm_mad/ssh/delete \
src/tm_mad/ssh/ln \
src/tm_mad/ssh/mkswap \
src/tm_mad/ssh/mkimage \
src/tm_mad/ssh/mv \
src/tm_mad/ssh/context \
src/tm_mad/ssh/premigrate \
src/tm_mad/ssh/postmigrate \
2015-06-04 22:43:32 +03:00
src/tm_mad/ssh/failmigrate \
2013-03-07 19:48:23 +04:00
src/tm_mad/ssh/mvds \
2015-06-08 16:00:32 +03:00
src/tm_mad/ssh/snap_create \
2015-08-12 13:31:58 +03:00
src/tm_mad/ssh/snap_create_live \
2015-06-08 16:00:32 +03:00
src/tm_mad/ssh/snap_delete \
src/tm_mad/ssh/snap_revert \
2015-11-04 19:31:56 +03:00
src/tm_mad/ssh/monitor \
2013-03-07 19:48:23 +04:00
src/tm_mad/ssh/cpds"
2012-02-29 01:52:48 +04:00
TM_DUMMY_FILES = " src/tm_mad/dummy/clone \
2012-09-24 18:18:17 +04:00
src/tm_mad/dummy/delete \
src/tm_mad/dummy/ln \
src/tm_mad/dummy/mkswap \
src/tm_mad/dummy/mkimage \
src/tm_mad/dummy/mv \
src/tm_mad/dummy/context \
src/tm_mad/dummy/premigrate \
src/tm_mad/dummy/postmigrate \
2015-06-04 22:43:32 +03:00
src/tm_mad/dummy/failmigrate \
2013-03-07 19:48:23 +04:00
src/tm_mad/dummy/mvds \
2015-06-08 16:00:32 +03:00
src/tm_mad/dummy/snap_create \
2015-08-12 13:31:58 +03:00
src/tm_mad/dummy/snap_create_live \
2015-06-08 16:00:32 +03:00
src/tm_mad/dummy/snap_delete \
src/tm_mad/dummy/snap_revert \
2013-03-07 19:48:23 +04:00
src/tm_mad/dummy/cpds"
2012-02-29 01:52:48 +04:00
2012-09-18 19:00:00 +04:00
TM_VMFS_FILES = " src/tm_mad/vmfs/clone \
src/tm_mad/vmfs/delete
src/tm_mad/vmfs/ln \
src/tm_mad/vmfs/mkswap \
src/tm_mad/vmfs/mkimage \
src/tm_mad/vmfs/mv \
src/tm_mad/vmfs/context \
src/tm_mad/vmfs/mvds \
2013-03-07 19:48:23 +04:00
src/tm_mad/vmfs/cpds \
2012-09-21 19:47:20 +04:00
src/tm_mad/vmfs/postmigrate \
2015-06-08 16:00:32 +03:00
src/tm_mad/vmfs/snap_create \
2015-08-12 13:31:58 +03:00
src/tm_mad/vmfs/snap_create_live \
2015-06-08 16:00:32 +03:00
src/tm_mad/vmfs/snap_delete \
src/tm_mad/vmfs/snap_revert \
2015-06-04 22:43:32 +03:00
src/tm_mad/vmfs/failmigrate \
2012-09-27 19:36:01 +04:00
src/tm_mad/vmfs/premigrate"
2011-11-29 19:37:01 +04:00
2012-04-24 18:34:48 +04:00
TM_LVM_FILES = " src/tm_mad/lvm/clone \
src/tm_mad/lvm/ln \
src/tm_mad/lvm/mv \
src/tm_mad/lvm/mvds \
2013-03-07 19:48:23 +04:00
src/tm_mad/lvm/cpds \
2012-09-08 01:58:45 +04:00
src/tm_mad/lvm/premigrate \
src/tm_mad/lvm/postmigrate \
2015-06-08 16:00:32 +03:00
src/tm_mad/lvm/snap_create \
2015-08-12 13:31:58 +03:00
src/tm_mad/lvm/snap_create_live \
2015-06-08 16:00:32 +03:00
src/tm_mad/lvm/snap_delete \
src/tm_mad/lvm/snap_revert \
2015-06-04 22:43:32 +03:00
src/tm_mad/lvm/failmigrate \
2012-04-24 18:34:48 +04:00
src/tm_mad/lvm/delete"
2013-02-14 21:55:37 +04:00
TM_CEPH_FILES = " src/tm_mad/ceph/clone \
src/tm_mad/ceph/ln \
src/tm_mad/ceph/mv \
src/tm_mad/ceph/mvds \
2013-03-07 19:48:23 +04:00
src/tm_mad/ceph/cpds \
2013-02-14 21:55:37 +04:00
src/tm_mad/ceph/premigrate \
src/tm_mad/ceph/postmigrate \
2015-05-28 18:19:48 +03:00
src/tm_mad/ceph/snap_create \
2015-08-12 13:31:58 +03:00
src/tm_mad/ceph/snap_create_live \
2015-05-28 18:19:48 +03:00
src/tm_mad/ceph/snap_delete \
src/tm_mad/ceph/snap_revert \
2015-06-04 22:43:32 +03:00
src/tm_mad/ceph/failmigrate \
2015-10-29 18:34:38 +03:00
src/tm_mad/ceph/delete \
src/tm_mad/ceph/context \
src/tm_mad/ceph/mkimage \
2015-11-04 19:31:56 +03:00
src/tm_mad/ceph/monitor \
2015-10-29 18:34:38 +03:00
src/tm_mad/ceph/mkswap"
2013-02-14 21:55:37 +04:00
2014-06-17 21:31:53 +04:00
TM_DEV_FILES = " src/tm_mad/dev/clone \
src/tm_mad/dev/ln \
src/tm_mad/dev/mv \
src/tm_mad/dev/mvds \
src/tm_mad/dev/cpds \
src/tm_mad/dev/premigrate \
src/tm_mad/dev/postmigrate \
2015-06-08 16:00:32 +03:00
src/tm_mad/dev/snap_create \
2015-08-12 13:31:58 +03:00
src/tm_mad/dev/snap_create_live \
2015-06-08 16:00:32 +03:00
src/tm_mad/dev/snap_delete \
src/tm_mad/dev/snap_revert \
2015-06-04 22:43:32 +03:00
src/tm_mad/dev/failmigrate \
2014-06-17 21:31:53 +04:00
src/tm_mad/dev/delete"
2015-12-22 12:03:58 +03:00
TM_ISCSI_FILES = " src/tm_mad/iscsi/clone \
src/tm_mad/iscsi/ln \
src/tm_mad/iscsi/mv \
src/tm_mad/iscsi/mvds \
src/tm_mad/iscsi/cpds \
src/tm_mad/iscsi/premigrate \
src/tm_mad/iscsi/postmigrate \
src/tm_mad/iscsi/snap_create \
src/tm_mad/iscsi/snap_create_live \
src/tm_mad/iscsi/snap_delete \
src/tm_mad/iscsi/snap_revert \
src/tm_mad/iscsi/failmigrate \
src/tm_mad/iscsi/delete"
2011-03-22 20:21:09 +03:00
#-------------------------------------------------------------------------------
2012-02-19 05:08:03 +04:00
# Datastore drivers, to be installed under $REMOTES_LOCATION/datastore
2012-04-24 18:34:48 +04:00
# - Dummy Image Repository, $REMOTES_LOCATION/datastore/dummy
2012-02-19 05:08:03 +04:00
# - FS based Image Repository, $REMOTES_LOCATION/datastore/fs
2012-09-18 19:03:29 +04:00
# - VMFS based Image Repository, $REMOTES_LOCATION/datastore/vmfs
2012-04-24 18:34:48 +04:00
# - LVM based Image Repository, $REMOTES_LOCATION/datastore/lvm
2011-03-22 20:21:09 +03:00
#-------------------------------------------------------------------------------
2011-12-19 15:48:37 +04:00
2012-02-19 05:08:03 +04:00
DATASTORE_DRIVER_COMMON_SCRIPTS = " src/datastore_mad/remotes/xpath.rb \
2012-06-21 02:46:57 +04:00
src/datastore_mad/remotes/downloader.sh \
2016-02-02 17:27:58 +03:00
src/datastore_mad/remotes/url.rb \
2012-02-19 05:08:03 +04:00
src/datastore_mad/remotes/libfs.sh"
2011-03-22 20:21:09 +03:00
2012-03-14 15:20:06 +04:00
DATASTORE_DRIVER_DUMMY_SCRIPTS = " src/datastore_mad/remotes/dummy/cp \
src/datastore_mad/remotes/dummy/mkfs \
2012-06-01 15:55:01 +04:00
src/datastore_mad/remotes/dummy/stat \
2012-06-13 02:56:27 +04:00
src/datastore_mad/remotes/dummy/clone \
2013-07-10 20:32:41 +04:00
src/datastore_mad/remotes/dummy/monitor \
2015-06-08 13:45:16 +03:00
src/datastore_mad/remotes/dummy/snap_delete \
src/datastore_mad/remotes/dummy/snap_revert \
src/datastore_mad/remotes/dummy/snap_flatten \
2015-12-17 14:39:27 +03:00
src/datastore_mad/remotes/dummy/rm \
src/datastore_mad/remotes/dummy/export"
2012-03-14 15:20:06 +04:00
2012-02-19 05:08:03 +04:00
DATASTORE_DRIVER_FS_SCRIPTS = " src/datastore_mad/remotes/fs/cp \
src/datastore_mad/remotes/fs/mkfs \
2012-06-01 15:55:01 +04:00
src/datastore_mad/remotes/fs/stat \
2012-06-13 02:56:27 +04:00
src/datastore_mad/remotes/fs/clone \
2013-06-27 04:30:49 +04:00
src/datastore_mad/remotes/fs/monitor \
2015-06-08 13:45:16 +03:00
src/datastore_mad/remotes/fs/snap_delete \
src/datastore_mad/remotes/fs/snap_revert \
src/datastore_mad/remotes/fs/snap_flatten \
2015-12-17 14:39:27 +03:00
src/datastore_mad/remotes/fs/rm \
src/datastore_mad/remotes/fs/export"
2011-06-07 21:03:32 +04:00
2012-09-11 18:18:24 +04:00
DATASTORE_DRIVER_VMFS_SCRIPTS = " src/datastore_mad/remotes/vmfs/cp \
src/datastore_mad/remotes/vmfs/mkfs \
src/datastore_mad/remotes/vmfs/stat \
src/datastore_mad/remotes/vmfs/clone \
2013-07-07 03:47:39 +04:00
src/datastore_mad/remotes/vmfs/monitor \
2012-09-11 18:18:24 +04:00
src/datastore_mad/remotes/vmfs/rm \
2015-06-08 13:45:16 +03:00
src/datastore_mad/remotes/vmfs/snap_delete \
src/datastore_mad/remotes/vmfs/snap_revert \
src/datastore_mad/remotes/vmfs/snap_flatten \
2012-09-25 14:58:55 +04:00
src/datastore_mad/remotes/vmfs/vmfs.conf"
2012-09-11 18:18:24 +04:00
2012-04-24 18:34:48 +04:00
DATASTORE_DRIVER_LVM_SCRIPTS = " src/datastore_mad/remotes/lvm/cp \
src/datastore_mad/remotes/lvm/mkfs \
2012-06-01 15:55:01 +04:00
src/datastore_mad/remotes/lvm/stat \
2012-04-24 18:34:48 +04:00
src/datastore_mad/remotes/lvm/rm \
2013-07-07 04:10:48 +04:00
src/datastore_mad/remotes/lvm/monitor \
2012-06-14 20:18:04 +04:00
src/datastore_mad/remotes/lvm/clone \
2015-06-08 13:45:16 +03:00
src/datastore_mad/remotes/lvm/snap_delete \
src/datastore_mad/remotes/lvm/snap_revert \
src/datastore_mad/remotes/lvm/snap_flatten \
2012-04-24 18:34:48 +04:00
src/datastore_mad/remotes/lvm/lvm.conf"
2013-02-14 21:55:37 +04:00
DATASTORE_DRIVER_CEPH_SCRIPTS = " src/datastore_mad/remotes/ceph/cp \
src/datastore_mad/remotes/ceph/mkfs \
src/datastore_mad/remotes/ceph/stat \
src/datastore_mad/remotes/ceph/rm \
2013-07-09 21:09:08 +04:00
src/datastore_mad/remotes/ceph/monitor \
2013-02-14 21:55:37 +04:00
src/datastore_mad/remotes/ceph/clone \
2015-06-08 13:45:16 +03:00
src/datastore_mad/remotes/ceph/snap_delete \
src/datastore_mad/remotes/ceph/snap_revert \
src/datastore_mad/remotes/ceph/snap_flatten \
2015-09-14 12:31:28 +03:00
src/datastore_mad/remotes/ceph/ceph.conf \
src/datastore_mad/remotes/ceph/ceph_utils.sh"
2013-02-14 21:55:37 +04:00
2014-06-17 21:31:53 +04:00
DATASTORE_DRIVER_DEV_SCRIPTS = " src/datastore_mad/remotes/dev/cp \
src/datastore_mad/remotes/dev/mkfs \
src/datastore_mad/remotes/dev/stat \
src/datastore_mad/remotes/dev/rm \
src/datastore_mad/remotes/dev/monitor \
2015-06-08 13:45:16 +03:00
src/datastore_mad/remotes/dev/snap_delete \
src/datastore_mad/remotes/dev/snap_revert \
src/datastore_mad/remotes/dev/snap_flatten \
2014-06-17 21:31:53 +04:00
src/datastore_mad/remotes/dev/clone"
2015-12-22 12:03:58 +03:00
DATASTORE_DRIVER_ISCSI_SCRIPTS = " src/datastore_mad/remotes/iscsi/cp \
src/datastore_mad/remotes/iscsi/mkfs \
src/datastore_mad/remotes/iscsi/stat \
src/datastore_mad/remotes/iscsi/rm \
src/datastore_mad/remotes/iscsi/monitor \
src/datastore_mad/remotes/iscsi/snap_delete \
src/datastore_mad/remotes/iscsi/snap_revert \
src/datastore_mad/remotes/iscsi/snap_flatten \
src/datastore_mad/remotes/iscsi/clone"
2015-12-17 14:39:27 +03:00
#-------------------------------------------------------------------------------
# Marketplace drivers, to be installed under $REMOTES_LOCATION/market
# - HTTP based marketplace, $REMOTES_LOCATION/market/http
2015-12-24 20:49:21 +03:00
# - OpenNebula public marketplace, $REMOTES_LOCATION/market/one
2015-12-20 00:35:09 +03:00
# - S3-obeject based marketplace, $REMOTES_LOCATION/market/s3
2015-12-17 14:39:27 +03:00
#-------------------------------------------------------------------------------
MARKETPLACE_DRIVER_HTTP_SCRIPTS = " src/market_mad/remotes/http/import \
src/market_mad/remotes/http/delete \
src/market_mad/remotes/http/monitor"
2015-12-24 20:49:21 +03:00
MARKETPLACE_DRIVER_ONE_SCRIPTS = " src/market_mad/remotes/one/import \
src/market_mad/remotes/one/delete \
src/market_mad/remotes/one/monitor"
2016-01-25 18:42:59 +03:00
MARKETPLACE_DRIVER_S3_SCRIPTS = " src/market_mad/remotes/s3/import \
src/market_mad/remotes/s3/delete \
src/market_mad/remotes/s3/monitor \
src/market_mad/remotes/s3/S3.rb"
2011-04-29 20:59:39 +04:00
#-------------------------------------------------------------------------------
# Migration scripts for onedb command, to be installed under $LIB_LOCATION
#-------------------------------------------------------------------------------
2014-03-03 22:11:17 +04:00
ONEDB_FILES = " src/onedb/fsck.rb \
src/onedb/import_slave.rb \
src/onedb/onedb.rb \
2016-01-21 20:38:05 +03:00
src/onedb/onedb_backend.rb \
src/onedb/sqlite2mysql.rb"
2014-03-03 22:11:17 +04:00
ONEDB_SHARED_MIGRATOR_FILES = " src/onedb/shared/2.0_to_2.9.80.rb \
src/onedb/shared/2.9.80_to_2.9.85.rb \
src/onedb/shared/2.9.85_to_2.9.90.rb \
src/onedb/shared/2.9.90_to_3.0.0.rb \
src/onedb/shared/3.0.0_to_3.1.0.rb \
src/onedb/shared/3.1.0_to_3.1.80.rb \
src/onedb/shared/3.1.80_to_3.2.0.rb \
src/onedb/shared/3.2.0_to_3.2.1.rb \
src/onedb/shared/3.2.1_to_3.3.0.rb \
src/onedb/shared/3.3.0_to_3.3.80.rb \
src/onedb/shared/3.3.80_to_3.4.0.rb \
src/onedb/shared/3.4.0_to_3.4.1.rb \
src/onedb/shared/3.4.1_to_3.5.80.rb \
src/onedb/shared/3.5.80_to_3.6.0.rb \
src/onedb/shared/3.6.0_to_3.7.80.rb \
src/onedb/shared/3.7.80_to_3.8.0.rb \
src/onedb/shared/3.8.0_to_3.8.1.rb \
src/onedb/shared/3.8.1_to_3.8.2.rb \
src/onedb/shared/3.8.2_to_3.8.3.rb \
src/onedb/shared/3.8.3_to_3.8.4.rb \
src/onedb/shared/3.8.4_to_3.8.5.rb \
src/onedb/shared/3.8.5_to_3.9.80.rb \
src/onedb/shared/3.9.80_to_3.9.90.rb \
src/onedb/shared/3.9.90_to_4.0.0.rb \
src/onedb/shared/4.0.0_to_4.0.1.rb \
src/onedb/shared/4.0.1_to_4.1.80.rb \
src/onedb/shared/4.1.80_to_4.2.0.rb \
src/onedb/shared/4.2.0_to_4.3.80.rb \
src/onedb/shared/4.3.80_to_4.3.85.rb \
src/onedb/shared/4.3.85_to_4.3.90.rb \
src/onedb/shared/4.3.90_to_4.4.0.rb \
src/onedb/shared/4.4.0_to_4.4.1.rb \
2014-04-24 17:52:05 +04:00
src/onedb/shared/4.4.1_to_4.5.80.rb\
2015-01-14 18:53:39 +03:00
src/onedb/shared/4.5.80_to_4.6.0.rb \
src/onedb/shared/4.6.0_to_4.11.80.rb"
2014-03-03 22:11:17 +04:00
2014-09-29 14:25:08 +04:00
ONEDB_LOCAL_MIGRATOR_FILES = " src/onedb/local/4.5.80_to_4.7.80.rb \
2014-10-17 17:28:15 +04:00
src/onedb/local/4.7.80_to_4.9.80.rb \
2015-02-13 13:58:47 +03:00
src/onedb/local/4.9.80_to_4.10.3.rb \
2015-05-07 19:18:49 +03:00
src/onedb/local/4.10.3_to_4.11.80.rb \
2015-07-28 18:52:55 +03:00
src/onedb/local/4.11.80_to_4.13.80.rb \
2016-01-22 19:10:12 +03:00
src/onedb/local/4.13.80_to_4.13.85.rb \
src/onedb/local/4.13.85_to_4.90.0.rb"
2011-04-29 20:59:39 +04:00
2015-10-08 17:14:27 +03:00
ONEDB_PATCH_FILES = " src/onedb/patches/4.14_monitoring.rb \
src/onedb/patches/history_times.rb"
2015-07-08 16:51:18 +03:00
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Configuration files for OpenNebula, to be installed under $ETC_LOCATION
#-------------------------------------------------------------------------------
ETC_FILES = " share/etc/oned.conf \
2011-07-12 16:00:02 +04:00
share/etc/defaultrc \
2013-12-20 15:14:44 +04:00
src/scheduler/etc/sched.conf"
2009-01-02 17:58:51 +03:00
2011-11-29 19:37:01 +04:00
VMWARE_ETC_FILES = "src/vmm_mad/remotes/vmware/vmwarerc"
2013-10-16 19:38:03 +04:00
EC2_ETC_FILES = " src/vmm_mad/remotes/ec2/ec2_driver.conf \
src/vmm_mad/remotes/ec2/ec2_driver.default"
2011-11-29 19:37:01 +04:00
2014-06-05 17:19:54 +04:00
SL_ETC_FILES = " src/vmm_mad/remotes/sl/sl_driver.conf \
src/vmm_mad/remotes/sl/sl_driver.default"
2014-06-19 19:03:18 +04:00
AZ_ETC_FILES = " src/vmm_mad/remotes/az/az_driver.conf \
src/vmm_mad/remotes/az/az_driver.default"
2014-07-11 17:23:31 +04:00
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Virtualization drivers config. files, to be installed under $ETC_LOCATION
2011-06-01 20:57:47 +04:00
# - ssh, $ETC_LOCATION/vmm_exec
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
2011-06-01 20:57:47 +04:00
VMM_EXEC_ETC_FILES = " src/vmm_mad/exec/vmm_execrc \
src/vmm_mad/exec/vmm_exec_kvm.conf \
2013-02-08 18:12:10 +04:00
src/vmm_mad/exec/vmm_exec_xen3.conf \
src/vmm_mad/exec/vmm_exec_xen4.conf \
2014-11-25 21:23:39 +03:00
src/vmm_mad/exec/vmm_exec_vmware.conf \
src/vmm_mad/exec/vmm_exec_vcenter.conf"
2010-08-24 18:44:42 +04:00
2009-04-04 03:34:33 +04:00
#-------------------------------------------------------------------------------
# Hook Manager driver config. files, to be installed under $ETC_LOCATION/hm
#-------------------------------------------------------------------------------
HM_ETC_FILES = "src/hm_mad/hmrc"
2010-07-09 20:59:42 +04:00
#-------------------------------------------------------------------------------
2011-08-26 18:51:13 +04:00
# Auth Manager drivers config. files, to be installed under $ETC_LOCATION/auth
2010-07-09 20:59:42 +04:00
#-------------------------------------------------------------------------------
2011-10-24 19:24:42 +04:00
AUTH_ETC_FILES = " src/authm_mad/remotes/server_x509/server_x509_auth.conf \
2011-11-29 20:02:43 +04:00
src/authm_mad/remotes/ldap/ldap_auth.conf \
2011-08-30 20:04:53 +04:00
src/authm_mad/remotes/x509/x509_auth.conf"
2010-07-09 20:59:42 +04:00
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Sample files, to be installed under $SHARE_LOCATION/examples
#-------------------------------------------------------------------------------
EXAMPLE_SHARE_FILES = " share/examples/vm.template \
share/examples/private.net \
share/examples/public.net"
2013-04-26 14:29:06 +04:00
#-------------------------------------------------------------------------------
# Files required to interact with the websockify server
#-------------------------------------------------------------------------------
WEBSOCKIFY_SHARE_FILES = " share/websockify/websocketproxy.py \
share/websockify/websocket.py \
share/websockify/websockify"
2009-07-21 14:45:54 +04:00
#-------------------------------------------------------------------------------
2011-06-07 21:03:32 +04:00
# HOOK scripts, to be installed under $VAR_LOCATION/remotes/hooks
#-------------------------------------------------------------------------------
2011-09-01 18:57:02 +04:00
HOOK_FT_FILES = "share/hooks/host_error.rb"
2011-06-07 21:03:32 +04:00
#-------------------------------------------------------------------------------
2011-11-15 15:44:50 +04:00
# Installation scripts, to be installed under $SHARE_LOCATION
2009-07-21 14:45:54 +04:00
#-------------------------------------------------------------------------------
2011-07-15 13:53:48 +04:00
INSTALL_GEMS_SHARE_FILE = "share/install_gems/install_gems"
2011-05-13 20:22:14 +04:00
2011-06-13 18:08:07 +04:00
#-------------------------------------------------------------------------------
# OCA Files
#-------------------------------------------------------------------------------
2012-12-18 18:52:11 +04:00
OCA_LIB_FILES = "src/oca/ruby/opennebula.rb"
2013-07-10 15:29:53 +04:00
RUBY_OPENNEBULA_LIB_FILES = " src/oca/ruby/opennebula/acl_pool.rb \
src/oca/ruby/opennebula/acl.rb \
src/oca/ruby/opennebula/client.rb \
src/oca/ruby/opennebula/cluster_pool.rb \
src/oca/ruby/opennebula/cluster.rb \
src/oca/ruby/opennebula/datastore_pool.rb \
src/oca/ruby/opennebula/datastore.rb \
src/oca/ruby/opennebula/document_json.rb \
src/oca/ruby/opennebula/document_pool_json.rb \
src/oca/ruby/opennebula/document_pool.rb \
src/oca/ruby/opennebula/document.rb \
src/oca/ruby/opennebula/error.rb \
src/oca/ruby/opennebula/group_pool.rb \
src/oca/ruby/opennebula/group.rb \
src/oca/ruby/opennebula/host_pool.rb \
src/oca/ruby/opennebula/host.rb \
src/oca/ruby/opennebula/image_pool.rb \
src/oca/ruby/opennebula/image.rb \
2014-12-19 19:30:00 +03:00
src/oca/ruby/opennebula/oneflow_client.rb \
2013-07-10 15:29:53 +04:00
src/oca/ruby/opennebula/pool_element.rb \
src/oca/ruby/opennebula/pool.rb \
2014-09-08 13:59:13 +04:00
src/oca/ruby/opennebula/security_group_pool.rb \
src/oca/ruby/opennebula/security_group.rb \
2013-07-10 15:29:53 +04:00
src/oca/ruby/opennebula/system.rb \
src/oca/ruby/opennebula/template_pool.rb \
src/oca/ruby/opennebula/template.rb \
src/oca/ruby/opennebula/user_pool.rb \
src/oca/ruby/opennebula/user.rb \
2014-12-19 19:30:00 +03:00
src/oca/ruby/opennebula/vdc_pool.rb \
src/oca/ruby/opennebula/vdc.rb \
2013-07-10 15:29:53 +04:00
src/oca/ruby/opennebula/virtual_machine_pool.rb \
src/oca/ruby/opennebula/virtual_machine.rb \
src/oca/ruby/opennebula/virtual_network_pool.rb \
src/oca/ruby/opennebula/virtual_network.rb \
src/oca/ruby/opennebula/xml_element.rb \
src/oca/ruby/opennebula/xml_pool.rb \
2013-07-11 18:01:01 +04:00
src/oca/ruby/opennebula/xml_utils.rb \
2014-12-19 19:30:00 +03:00
src/oca/ruby/opennebula/zone_pool.rb \
2015-11-30 18:55:22 +03:00
src/oca/ruby/opennebula/zone.rb \
src/oca/ruby/opennebula/virtual_router_pool.rb \
2015-12-06 01:52:28 +03:00
src/oca/ruby/opennebula/virtual_router.rb \
src/oca/ruby/opennebula/marketplace_pool.rb \
2015-12-11 17:53:19 +03:00
src/oca/ruby/opennebula/marketplace.rb \
src/oca/ruby/opennebula/marketplaceapp_pool.rb \
src/oca/ruby/opennebula/marketplaceapp.rb"
2011-06-13 18:08:07 +04:00
2009-07-21 18:56:35 +04:00
#-------------------------------------------------------------------------------
2009-10-12 03:06:46 +04:00
# Common Cloud Files
2009-07-21 18:56:35 +04:00
#-------------------------------------------------------------------------------
2009-10-12 03:06:46 +04:00
COMMON_CLOUD_LIB_FILES = " src/cloud/common/CloudServer.rb \
2009-10-21 21:00:59 +04:00
src/cloud/common/CloudClient.rb \
2011-09-24 22:34:38 +04:00
src/cloud/common/CloudAuth.rb"
2009-07-23 16:01:47 +04:00
2009-10-22 15:20:27 +04:00
COMMON_CLOUD_CLIENT_LIB_FILES = "src/cloud/common/CloudClient.rb"
2014-07-15 00:37:11 +04:00
CLOUD_AUTH_LIB_FILES = " src/cloud/common/CloudAuth/SunstoneCloudAuth.rb \
2011-09-21 20:59:13 +04:00
src/cloud/common/CloudAuth/EC2CloudAuth.rb \
2012-03-21 19:28:58 +04:00
src/cloud/common/CloudAuth/X509CloudAuth.rb \
2013-06-27 13:36:08 +04:00
src/cloud/common/CloudAuth/OneGateCloudAuth.rb \
2012-03-21 19:28:58 +04:00
src/cloud/common/CloudAuth/OpenNebulaCloudAuth.rb"
2011-09-21 20:59:13 +04:00
2009-10-12 03:06:46 +04:00
#-------------------------------------------------------------------------------
2010-07-11 22:39:10 +04:00
# EC2 Query for OpenNebula
2009-10-12 03:06:46 +04:00
#-------------------------------------------------------------------------------
ECO_LIB_FILES = " src/cloud/ec2/lib/EC2QueryClient.rb \
src/cloud/ec2/lib/EC2QueryServer.rb \
2010-07-16 21:12:25 +04:00
src/cloud/ec2/lib/ImageEC2.rb \
2012-03-28 18:45:13 +04:00
src/cloud/ec2/lib/elastic_ip.rb \
2012-07-16 20:16:39 +04:00
src/cloud/ec2/lib/ebs.rb \
2013-08-16 11:38:20 +04:00
src/cloud/ec2/lib/tags.rb \
2012-08-13 20:27:54 +04:00
src/cloud/ec2/lib/instance.rb \
2012-09-25 22:03:15 +04:00
src/cloud/ec2/lib/keypair.rb \
2012-10-05 01:31:42 +04:00
src/cloud/ec2/lib/net_ssh_replacement.rb \
2013-03-22 06:37:40 +04:00
src/cloud/ec2/lib/econe_application.rb \
2009-10-12 03:06:46 +04:00
src/cloud/ec2/lib/econe-server.rb"
2009-10-22 15:20:27 +04:00
ECO_LIB_CLIENT_FILES = "src/cloud/ec2/lib/EC2QueryClient.rb"
2009-10-12 03:06:46 +04:00
ECO_LIB_VIEW_FILES = " src/cloud/ec2/lib/views/describe_images.erb \
src/cloud/ec2/lib/views/describe_instances.erb \
2012-08-13 20:27:54 +04:00
src/cloud/ec2/lib/views/describe_regions.erb \
src/cloud/ec2/lib/views/describe_availability_zones.erb \
2013-08-15 20:45:21 +04:00
src/cloud/ec2/lib/views/create_tags.erb \
2013-08-15 21:06:37 +04:00
src/cloud/ec2/lib/views/delete_tags.erb \
2013-08-16 11:37:24 +04:00
src/cloud/ec2/lib/views/describe_tags.erb \
2012-07-16 20:16:39 +04:00
src/cloud/ec2/lib/views/create_volume.erb \
2013-08-13 20:04:40 +04:00
src/cloud/ec2/lib/views/create_snapshot.erb \
2013-08-14 15:59:13 +04:00
src/cloud/ec2/lib/views/delete_snapshot.erb \
2013-08-14 20:52:07 +04:00
src/cloud/ec2/lib/views/describe_snapshots.erb \
2013-08-13 15:00:25 +04:00
src/cloud/ec2/lib/views/create_image.erb \
2012-07-16 20:16:39 +04:00
src/cloud/ec2/lib/views/describe_volumes.erb \
src/cloud/ec2/lib/views/attach_volume.erb \
src/cloud/ec2/lib/views/detach_volume.erb \
src/cloud/ec2/lib/views/delete_volume.erb \
2009-10-12 03:06:46 +04:00
src/cloud/ec2/lib/views/register_image.erb \
src/cloud/ec2/lib/views/run_instances.erb \
2012-03-28 18:45:13 +04:00
src/cloud/ec2/lib/views/allocate_address.erb \
src/cloud/ec2/lib/views/associate_address.erb \
src/cloud/ec2/lib/views/disassociate_address.erb \
src/cloud/ec2/lib/views/describe_addresses.erb \
src/cloud/ec2/lib/views/release_address.erb \
2012-09-25 22:03:15 +04:00
src/cloud/ec2/lib/views/create_keypair.erb \
src/cloud/ec2/lib/views/delete_keypair.erb \
src/cloud/ec2/lib/views/describe_keypairs.erb \
2012-08-13 20:27:54 +04:00
src/cloud/ec2/lib/views/terminate_instances.erb \
src/cloud/ec2/lib/views/stop_instances.erb \
src/cloud/ec2/lib/views/reboot_instances.erb \
src/cloud/ec2/lib/views/start_instances.erb"
2009-07-21 18:56:35 +04:00
2009-10-12 03:06:46 +04:00
ECO_BIN_FILES = " src/cloud/ec2/bin/econe-server \
src/cloud/ec2/bin/econe-describe-images \
2012-07-17 18:34:27 +04:00
src/cloud/ec2/bin/econe-describe-volumes \
2009-10-12 03:06:46 +04:00
src/cloud/ec2/bin/econe-describe-instances \
2012-09-27 02:28:37 +04:00
src/cloud/ec2/bin/econe-describe-keypairs \
2009-10-12 03:06:46 +04:00
src/cloud/ec2/bin/econe-register \
2012-07-17 18:34:27 +04:00
src/cloud/ec2/bin/econe-attach-volume \
src/cloud/ec2/bin/econe-detach-volume \
src/cloud/ec2/bin/econe-delete-volume \
2012-09-27 02:28:37 +04:00
src/cloud/ec2/bin/econe-delete-keypair \
2012-07-17 18:34:27 +04:00
src/cloud/ec2/bin/econe-create-volume \
2012-09-27 02:28:37 +04:00
src/cloud/ec2/bin/econe-create-keypair \
2009-10-12 03:06:46 +04:00
src/cloud/ec2/bin/econe-run-instances \
src/cloud/ec2/bin/econe-terminate-instances \
2012-08-13 20:27:54 +04:00
src/cloud/ec2/bin/econe-start-instances \
src/cloud/ec2/bin/econe-stop-instances \
src/cloud/ec2/bin/econe-reboot-instances \
2012-03-29 20:58:56 +04:00
src/cloud/ec2/bin/econe-describe-addresses \
src/cloud/ec2/bin/econe-allocate-address \
src/cloud/ec2/bin/econe-release-address \
src/cloud/ec2/bin/econe-associate-address \
src/cloud/ec2/bin/econe-disassociate-address \
2009-10-12 03:06:46 +04:00
src/cloud/ec2/bin/econe-upload"
2009-07-21 18:56:35 +04:00
2009-10-22 15:20:27 +04:00
ECO_BIN_CLIENT_FILES = " src/cloud/ec2/bin/econe-describe-images \
src/cloud/ec2/bin/econe-describe-instances \
2012-07-17 18:34:27 +04:00
src/cloud/ec2/bin/econe-describe-volumes \
2009-10-22 15:20:27 +04:00
src/cloud/ec2/bin/econe-register \
2012-07-17 18:34:27 +04:00
src/cloud/ec2/bin/econe-attach-volume \
src/cloud/ec2/bin/econe-detach-volume \
src/cloud/ec2/bin/econe-delete-volume \
src/cloud/ec2/bin/econe-create-volume \
2009-10-22 15:20:27 +04:00
src/cloud/ec2/bin/econe-run-instances \
src/cloud/ec2/bin/econe-terminate-instances \
2012-08-13 20:27:54 +04:00
src/cloud/ec2/bin/econe-start-instances \
src/cloud/ec2/bin/econe-stop-instances \
src/cloud/ec2/bin/econe-reboot-instances \
2012-03-29 20:58:56 +04:00
src/cloud/ec2/bin/econe-describe-addresses \
src/cloud/ec2/bin/econe-allocate-address \
src/cloud/ec2/bin/econe-release-address \
src/cloud/ec2/bin/econe-associate-address \
src/cloud/ec2/bin/econe-disassociate-address \
2009-10-22 15:20:27 +04:00
src/cloud/ec2/bin/econe-upload"
2009-10-12 03:06:46 +04:00
ECO_ETC_FILES = "src/cloud/ec2/etc/econe.conf"
ECO_ETC_TEMPLATE_FILES = "src/cloud/ec2/etc/templates/m1.small.erb"
2009-07-21 18:56:35 +04:00
2011-02-10 17:57:11 +03:00
#-----------------------------------------------------------------------------
# CLI files
#-----------------------------------------------------------------------------
2011-06-13 18:08:07 +04:00
CLI_LIB_FILES = " src/cli/cli_helper.rb \
src/cli/command_parser.rb \
src/cli/one_helper.rb"
ONE_CLI_LIB_FILES = " src/cli/one_helper/onegroup_helper.rb \
src/cli/one_helper/onehost_helper.rb \
src/cli/one_helper/oneimage_helper.rb \
src/cli/one_helper/onetemplate_helper.rb \
2012-06-11 19:26:01 +04:00
src/cli/one_helper/onequota_helper.rb \
2011-06-13 18:08:07 +04:00
src/cli/one_helper/oneuser_helper.rb \
src/cli/one_helper/onevm_helper.rb \
2011-06-30 13:17:22 +04:00
src/cli/one_helper/onevnet_helper.rb \
2012-02-09 21:55:18 +04:00
src/cli/one_helper/oneacl_helper.rb \
2012-02-24 18:53:53 +04:00
src/cli/one_helper/onedatastore_helper.rb \
2012-08-23 16:24:48 +04:00
src/cli/one_helper/onecluster_helper.rb \
2013-12-12 22:10:12 +04:00
src/cli/one_helper/onezone_helper.rb \
2014-12-19 19:30:00 +03:00
src/cli/one_helper/onevdc_helper.rb \
2014-09-08 13:59:13 +04:00
src/cli/one_helper/oneacct_helper.rb \
2015-11-30 18:55:22 +03:00
src/cli/one_helper/onesecgroup_helper.rb \
2015-12-06 01:52:28 +03:00
src/cli/one_helper/onevrouter_helper.rb \
2015-12-11 17:53:19 +03:00
src/cli/one_helper/onemarketapp_helper.rb \
2015-12-06 01:52:28 +03:00
src/cli/one_helper/onemarket_helper.rb"
2011-02-10 17:57:11 +03:00
CLI_BIN_FILES = " src/cli/onevm \
src/cli/onehost \
src/cli/onevnet \
src/cli/oneuser \
src/cli/oneimage \
2011-05-10 20:45:15 +04:00
src/cli/onetemplate \
2011-06-22 21:22:52 +04:00
src/cli/onegroup \
2012-02-09 21:55:18 +04:00
src/cli/oneacl \
2012-02-24 18:53:53 +04:00
src/cli/onedatastore \
2012-08-23 16:24:48 +04:00
src/cli/onecluster \
2013-12-12 22:10:12 +04:00
src/cli/onezone \
2013-07-10 15:29:53 +04:00
src/cli/oneflow \
src/cli/oneflow-template \
2014-09-08 13:59:13 +04:00
src/cli/oneacct \
2014-12-10 19:28:52 +03:00
src/cli/onesecgroup \
2014-12-19 19:30:00 +03:00
src/cli/oneshowback \
2015-11-30 18:55:22 +03:00
src/cli/onevdc \
2015-12-06 01:52:28 +03:00
src/cli/onevrouter \
2015-12-11 17:53:19 +03:00
src/cli/onemarketapp \
2015-12-06 01:52:28 +03:00
src/cli/onemarket"
2011-02-10 17:57:11 +03:00
2011-06-13 18:08:07 +04:00
CLI_CONF_FILES = " src/cli/etc/onegroup.yaml \
src/cli/etc/onehost.yaml \
src/cli/etc/oneimage.yaml \
src/cli/etc/onetemplate.yaml \
src/cli/etc/oneuser.yaml \
src/cli/etc/onevm.yaml \
2011-06-30 13:17:22 +04:00
src/cli/etc/onevnet.yaml \
2012-02-09 21:55:18 +04:00
src/cli/etc/oneacl.yaml \
2012-02-24 18:53:53 +04:00
src/cli/etc/onedatastore.yaml \
2012-06-01 18:30:27 +04:00
src/cli/etc/onecluster.yaml \
2013-12-12 22:10:12 +04:00
src/cli/etc/onezone.yaml \
2014-09-08 13:59:13 +04:00
src/cli/etc/oneacct.yaml \
2014-12-10 19:28:52 +03:00
src/cli/etc/onesecgroup.yaml \
2014-12-19 19:30:00 +03:00
src/cli/etc/oneshowback.yaml \
2015-11-30 18:55:22 +03:00
src/cli/etc/onevdc.yaml \
2015-12-06 01:52:28 +03:00
src/cli/etc/onevrouter.yaml \
2015-12-11 17:53:19 +03:00
src/cli/etc/onemarketapp.yaml \
2015-12-06 01:52:28 +03:00
src/cli/etc/onemarket.yaml"
2011-06-13 18:08:07 +04:00
2011-02-23 19:27:17 +03:00
#-----------------------------------------------------------------------------
# Sunstone files
#-----------------------------------------------------------------------------
2012-03-07 16:10:14 +04:00
SUNSTONE_FILES = " src/sunstone/sunstone-server.rb \
2013-03-05 19:19:09 +04:00
src/sunstone/config.ru"
2011-02-23 19:27:17 +03:00
2013-03-05 19:19:09 +04:00
SUNSTONE_BIN_FILES = " src/sunstone/bin/sunstone-server \
src/sunstone/bin/novnc-server"
2011-02-23 19:27:17 +03:00
2011-06-17 13:43:53 +04:00
SUNSTONE_ETC_FILES = " src/sunstone/etc/sunstone-server.conf \
2015-11-25 20:06:16 +03:00
src/sunstone/etc/sunstone-views.yaml \
src/sunstone/etc/sunstone-logos.yaml"
2013-04-10 22:37:01 +04:00
2013-04-11 20:42:45 +04:00
SUNSTONE_ETC_VIEW_FILES = " src/sunstone/etc/sunstone-views/admin.yaml \
2013-07-11 22:07:53 +04:00
src/sunstone/etc/sunstone-views/user.yaml \
2013-07-23 19:55:35 +04:00
src/sunstone/etc/sunstone-views/cloud.yaml \
2014-12-20 03:42:53 +03:00
src/sunstone/etc/sunstone-views/cloud_vcenter.yaml \
2015-01-26 17:38:09 +03:00
src/sunstone/etc/sunstone-views/groupadmin.yaml \
2015-02-06 13:31:15 +03:00
src/sunstone/etc/sunstone-views/groupadmin_vcenter.yaml \
2015-02-24 18:25:40 +03:00
src/sunstone/etc/sunstone-views/admin_vcenter.yaml"
2011-05-13 20:01:40 +04:00
2011-02-23 19:27:17 +03:00
SUNSTONE_MODELS_FILES = " src/sunstone/models/OpenNebulaJSON.rb \
2011-06-17 13:43:53 +04:00
src/sunstone/models/SunstoneServer.rb \
2012-06-08 18:20:54 +04:00
src/sunstone/models/SunstoneMarketplace.rb \
2013-04-15 21:16:19 +04:00
src/sunstone/models/SunstoneViews.rb"
2011-02-23 19:27:17 +03:00
2011-06-14 01:43:40 +04:00
SUNSTONE_MODELS_JSON_FILES = " src/sunstone/models/OpenNebulaJSON/HostJSON.rb \
2011-02-23 19:27:17 +03:00
src/sunstone/models/OpenNebulaJSON/ImageJSON.rb \
2011-06-14 02:01:27 +04:00
src/sunstone/models/OpenNebulaJSON/GroupJSON.rb \
2011-02-23 19:27:17 +03:00
src/sunstone/models/OpenNebulaJSON/JSONUtils.rb \
src/sunstone/models/OpenNebulaJSON/PoolJSON.rb \
src/sunstone/models/OpenNebulaJSON/UserJSON.rb \
src/sunstone/models/OpenNebulaJSON/VirtualMachineJSON.rb \
2011-05-12 14:01:12 +04:00
src/sunstone/models/OpenNebulaJSON/TemplateJSON.rb \
2011-07-22 18:28:07 +04:00
src/sunstone/models/OpenNebulaJSON/AclJSON.rb \
2012-03-09 00:33:07 +04:00
src/sunstone/models/OpenNebulaJSON/ClusterJSON.rb \
2012-03-10 20:47:15 +04:00
src/sunstone/models/OpenNebulaJSON/DatastoreJSON.rb \
2013-12-13 22:19:41 +04:00
src/sunstone/models/OpenNebulaJSON/VirtualNetworkJSON.rb \
2014-09-11 19:38:29 +04:00
src/sunstone/models/OpenNebulaJSON/ZoneJSON.rb \
2015-01-09 18:03:18 +03:00
src/sunstone/models/OpenNebulaJSON/SecurityGroupJSON.rb \
2015-11-30 18:55:22 +03:00
src/sunstone/models/OpenNebulaJSON/VdcJSON.rb \
2016-02-03 18:53:01 +03:00
src/sunstone/models/OpenNebulaJSON/VirtualRouterJSON.rb \
src/sunstone/models/OpenNebulaJSON/MarketPlaceJSON.rb \
src/sunstone/models/OpenNebulaJSON/MarketPlaceAppJSON.rb"
2011-02-23 19:27:17 +03:00
2013-04-16 22:05:32 +04:00
SUNSTONE_VIEWS_FILES = " src/sunstone/views/index.erb \
2012-08-28 20:26:05 +04:00
src/sunstone/views/login.erb \
2013-07-08 21:03:44 +04:00
src/sunstone/views/vnc.erb \
2014-12-05 20:41:19 +03:00
src/sunstone/views/spice.erb \
2012-08-28 20:26:05 +04:00
src/sunstone/views/_login_standard.erb \
src/sunstone/views/_login_x509.erb"
2011-02-23 19:27:17 +03:00
2015-06-23 19:04:44 +03:00
SUNSTONE_PUBLIC_JS_FILES = " src/sunstone/public/dist/login.js \
src/sunstone/public/dist/login.js.map \
src/sunstone/public/dist/main.js \
src/sunstone/public/dist/main.js.map"
2015-06-26 18:44:50 +03:00
SUNSTONE_PUBLIC_JS_CONSOLE_FILES = " src/sunstone/public/dist/console/vnc.js \
src/sunstone/public/dist/console/vnc.js.map \
src/sunstone/public/dist/console/spice.js \
src/sunstone/public/dist/console/spice.js.map"
2015-07-17 16:48:30 +03:00
SUNSTONE_PUBLIC_DEV_DIR = "src/sunstone/public"
2013-07-11 18:01:01 +04:00
2014-09-25 21:36:40 +04:00
SUNSTONE_ROUTES_FILES = " src/sunstone/routes/oneflow.rb \
2014-10-10 16:44:05 +04:00
src/sunstone/routes/vcenter.rb \
src/sunstone/routes/support.rb"
2011-04-11 21:37:01 +04:00
2015-06-23 19:04:44 +03:00
SUNSTONE_PUBLIC_CSS_FILES = " src/sunstone/public/css/app.min.css \
2015-08-27 18:38:19 +03:00
src/sunstone/public/css/opensans/opensans.woff \
2015-06-25 18:09:47 +03:00
src/sunstone/public/css/novnc-custom.css \
src/sunstone/public/css/spice-custom.css \
2013-02-19 03:13:00 +04:00
src/sunstone/public/css/login.css"
2011-02-23 19:27:17 +03:00
2015-06-23 19:04:44 +03:00
SUNSTONE_PUBLIC_FONT_AWSOME = " src/sunstone/public/bower_components/fontawesome/fonts/fontawesome-webfont.eot \
src/sunstone/public/bower_components/fontawesome/fonts/fontawesome-webfont.woff2 \
src/sunstone/public/bower_components/fontawesome/fonts/fontawesome-webfont.woff \
src/sunstone/public/bower_components/fontawesome/fonts/fontawesome-webfont.ttf \
src/sunstone/public/bower_components/fontawesome/fonts/fontawesome-webfont.svg"
2011-06-16 19:51:21 +04:00
2012-01-02 21:54:40 +04:00
SUNSTONE_PUBLIC_VENDOR_CRYPTOJS = " \
src/sunstone/public/vendor/crypto-js/NOTICE \
2012-07-18 15:03:27 +04:00
src/sunstone/public/vendor/crypto-js/sha1-min.js \
src/sunstone/public/vendor/crypto-js/core-min.js \
src/sunstone/public/vendor/crypto-js/enc-base64-min.js \
2012-01-02 21:54:40 +04:00
src/sunstone/public/vendor/crypto-js/NEW-BSD-LICENSE.txt"
2011-02-23 19:27:17 +03:00
SUNSTONE_PUBLIC_IMAGES_FILES = " src/sunstone/public/images/ajax-loader.gif \
2012-09-14 14:47:06 +04:00
src/sunstone/public/images/favicon.ico \
2011-02-23 19:27:17 +03:00
src/sunstone/public/images/login_over.png \
src/sunstone/public/images/login.png \
2015-03-13 19:24:14 +03:00
src/sunstone/public/images/advanced_layout.png \
src/sunstone/public/images/cloud_layout.png \
2015-03-17 12:56:01 +03:00
src/sunstone/public/images/vcenter_layout.png \
2011-02-23 19:27:17 +03:00
src/sunstone/public/images/opennebula-sunstone-big.png \
src/sunstone/public/images/opennebula-sunstone-small.png \
2013-03-01 22:05:13 +04:00
src/sunstone/public/images/opennebula-sunstone-v4.0.png \
2015-11-12 13:11:42 +03:00
src/sunstone/public/images/opennebula-sunstone-v4.14-small.png \
2014-03-25 22:42:17 +04:00
src/sunstone/public/images/one_small_logo.png \
2011-02-23 19:27:17 +03:00
src/sunstone/public/images/panel.png \
2011-09-23 17:20:19 +04:00
src/sunstone/public/images/panel_short.png \
2011-02-23 19:27:17 +03:00
src/sunstone/public/images/pbar.gif \
2011-05-14 04:23:05 +04:00
src/sunstone/public/images/Refresh-icon.png \
2011-12-07 13:08:27 +04:00
src/sunstone/public/images/red_bullet.png \
src/sunstone/public/images/yellow_bullet.png \
src/sunstone/public/images/green_bullet.png \
2011-05-14 04:23:05 +04:00
src/sunstone/public/images/vnc_off.png \
2012-04-20 16:47:06 +04:00
src/sunstone/public/images/vnc_on.png \
src/sunstone/public/images/network_icon.png \
src/sunstone/public/images/system_icon.png \
2013-04-15 19:59:31 +04:00
src/sunstone/public/images/server_icon.png \
src/sunstone/public/images/sort_asc.png \
src/sunstone/public/images/sort_asc_disabled.png \
src/sunstone/public/images/sort_both.png \
src/sunstone/public/images/sort_desc.png \
src/sunstone/public/images/sort_desc_disabled.png\
2012-04-20 16:47:06 +04:00
"
2012-01-05 15:44:00 +04:00
2014-05-20 17:13:22 +04:00
SUNSTONE_PUBLIC_LOGOS_FILES = " src/sunstone/public/images/logos/arch.png \
src/sunstone/public/images/logos/centos.png \
src/sunstone/public/images/logos/debian.png \
src/sunstone/public/images/logos/fedora.png \
src/sunstone/public/images/logos/linux.png \
src/sunstone/public/images/logos/redhat.png \
src/sunstone/public/images/logos/ubuntu.png \
src/sunstone/public/images/logos/windowsxp.png \
src/sunstone/public/images/logos/windows8.png \
"
2012-09-29 17:21:00 +04:00
SUNSTONE_PUBLIC_LOCALE_CA = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/ca.js \
src/sunstone/public/locale/languages/ca_datatable.txt"
2012-09-29 17:21:00 +04:00
SUNSTONE_PUBLIC_LOCALE_CS_CZ = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/cs_CZ.js \
src/sunstone/public/locale/languages/cs_datatable.txt"
2012-09-29 17:21:00 +04:00
SUNSTONE_PUBLIC_LOCALE_DE = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/de.js \
src/sunstone/public/locale/languages/de_datatable.txt"
2012-09-29 17:21:00 +04:00
2013-07-16 18:55:26 +04:00
SUNSTONE_PUBLIC_LOCALE_DA = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/da.js \
src/sunstone/public/locale/languages/da_datatable.txt"
2013-07-16 18:55:26 +04:00
2012-09-29 17:21:00 +04:00
SUNSTONE_PUBLIC_LOCALE_EL_GR = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/el_GR.js \
src/sunstone/public/locale/languages/el_datatable.txt"
2012-09-29 17:21:00 +04:00
2011-12-02 20:55:26 +04:00
SUNSTONE_PUBLIC_LOCALE_EN_US = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/en_US.js \
src/sunstone/public/locale/languages/en_datatable.txt"
2011-12-01 22:25:17 +04:00
2012-09-29 17:21:00 +04:00
SUNSTONE_PUBLIC_LOCALE_ES_ES = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/es_ES.js \
src/sunstone/public/locale/languages/es_datatable.txt"
2012-09-29 17:21:00 +04:00
2012-07-06 14:21:40 +04:00
SUNSTONE_PUBLIC_LOCALE_FA_IR = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/fa_IR.js \
src/sunstone/public/locale/languages/fa_datatable.txt"
2012-07-06 14:21:40 +04:00
2012-07-04 15:41:33 +04:00
SUNSTONE_PUBLIC_LOCALE_FR_FR = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/fr_FR.js \
src/sunstone/public/locale/languages/fr_datatable.txt"
2011-12-01 22:25:17 +04:00
2012-07-04 15:41:33 +04:00
SUNSTONE_PUBLIC_LOCALE_IT_IT = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/it_IT.js \
src/sunstone/public/locale/languages/it_datatable.txt"
2012-03-29 14:24:03 +04:00
2015-03-09 14:50:02 +03:00
SUNSTONE_PUBLIC_LOCALE_JA = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/ja.js \
src/sunstone/public/locale/languages/ja_datatable.txt"
2015-03-09 14:50:02 +03:00
SUNSTONE_PUBLIC_LOCALE_LT_LT = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/lt_LT.js \
src/sunstone/public/locale/languages/lt_datatable.txt"
2015-03-09 14:50:02 +03:00
2013-05-06 19:17:27 +04:00
SUNSTONE_PUBLIC_LOCALE_NL_NL = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/nl_NL.js \
src/sunstone/public/locale/languages/nl_datatable.txt"
2013-05-06 19:17:27 +04:00
SUNSTONE_PUBLIC_LOCALE_PL = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/pl.js \
src/sunstone/public/locale/languages/pl_datatable.txt"
2013-05-06 19:17:27 +04:00
2012-07-04 15:41:33 +04:00
SUNSTONE_PUBLIC_LOCALE_PT_PT = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/pt_PT.js \
src/sunstone/public/locale/languages/pt_datatable.txt"
2012-04-13 14:38:13 +04:00
2012-10-19 14:30:18 +04:00
SUNSTONE_PUBLIC_LOCALE_PT_BR = " \
2015-06-25 18:09:47 +03:00
src/sunstone/public/locale/languages/pt_BR.js"
2012-10-19 14:30:18 +04:00
2012-09-18 15:28:06 +04:00
SUNSTONE_PUBLIC_LOCALE_RU_RU = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/ru_RU.js \
src/sunstone/public/locale/languages/ru_datatable.txt"
2012-07-04 15:41:33 +04:00
SUNSTONE_PUBLIC_LOCALE_SK_SK = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/sk_SK.js \
src/sunstone/public/locale/languages/sk_datatable.txt"
2012-07-04 15:41:33 +04:00
2013-05-06 19:17:27 +04:00
SUNSTONE_PUBLIC_LOCALE_ZH_CN = " \
2015-06-23 19:20:22 +03:00
src/sunstone/public/locale/languages/zh_CN.js \
src/sunstone/public/locale/languages/zh_datatable.txt"
2013-05-06 19:17:27 +04:00
2012-07-04 15:41:33 +04:00
SUNSTONE_PUBLIC_LOCALE_ZH_TW = " \
2015-06-25 18:09:47 +03:00
src/sunstone/public/locale/languages/zh_TW.js"
2012-07-04 15:41:33 +04:00
2013-06-27 13:36:08 +04:00
#-----------------------------------------------------------------------------
# OneGate files
#-----------------------------------------------------------------------------
ONEGATE_FILES = " src/onegate/onegate-server.rb \
src/onegate/config.ru"
ONEGATE_BIN_FILES = "src/onegate/bin/onegate-server"
ONEGATE_ETC_FILES = "src/onegate/etc/onegate-server.conf"
2011-12-02 20:37:49 +04:00
2013-07-10 15:29:53 +04:00
#-----------------------------------------------------------------------------
# OneFlow files
#-----------------------------------------------------------------------------
ONEFLOW_FILES = " src/flow/oneflow-server.rb \
src/flow/config.ru"
ONEFLOW_BIN_FILES = "src/flow/bin/oneflow-server"
ONEFLOW_ETC_FILES = "src/flow/etc/oneflow-server.conf"
ONEFLOW_LIB_FILES = " src/flow/lib/grammar.rb \
src/flow/lib/grammar.treetop \
src/flow/lib/LifeCycleManager.rb \
src/flow/lib/log.rb \
2013-07-10 20:32:05 +04:00
src/flow/lib/models.rb \
2013-07-10 15:29:53 +04:00
src/flow/lib/strategy.rb \
src/flow/lib/validator.rb"
2013-07-10 20:32:05 +04:00
ONEFLOW_LIB_STRATEGY_FILES = "src/flow/lib/strategy/straight.rb"
ONEFLOW_LIB_MODELS_FILES = " src/flow/lib/models/role.rb \
src/flow/lib/models/service_pool.rb \
src/flow/lib/models/service.rb \
src/flow/lib/models/service_template_pool.rb \
src/flow/lib/models/service_template.rb"
2010-10-14 19:24:01 +04:00
#-----------------------------------------------------------------------------
# MAN files
#-----------------------------------------------------------------------------
2014-04-10 14:23:20 +04:00
MAN_FILES = " share/man/oneacct.1.gz \
2014-11-07 14:27:54 +03:00
share/man/oneshowback.1.gz \
2011-07-15 18:53:34 +04:00
share/man/oneacl.1.gz \
2011-05-17 14:26:52 +04:00
share/man/onehost.1.gz \
share/man/oneimage.1.gz \
share/man/oneuser.1.gz \
share/man/onevm.1.gz \
share/man/onevnet.1.gz \
share/man/onetemplate.1.gz \
2011-07-19 15:09:45 +04:00
share/man/onegroup.1.gz \
2011-05-17 14:26:52 +04:00
share/man/onedb.1.gz \
2012-02-09 21:55:18 +04:00
share/man/onedatastore.1.gz \
2012-02-24 18:53:53 +04:00
share/man/onecluster.1.gz \
2013-12-12 22:10:12 +04:00
share/man/onezone.1.gz \
2014-11-25 18:54:00 +03:00
share/man/onevcenter.1.gz \
2013-07-10 15:29:53 +04:00
share/man/oneflow.1.gz \
share/man/oneflow-template.1.gz \
2014-09-08 13:59:13 +04:00
share/man/onesecgroup.1.gz \
2014-12-19 19:30:00 +03:00
share/man/onevdc.1.gz \
2015-11-30 18:55:22 +03:00
share/man/onevrouter.1.gz \
2015-12-06 01:52:28 +03:00
share/man/onemarket.1.gz \
2015-12-11 17:53:19 +03:00
share/man/onemarketapp.1.gz \
2012-10-23 17:04:36 +04:00
share/man/econe-allocate-address.1.gz \
share/man/econe-associate-address.1.gz \
share/man/econe-attach-volume.1.gz \
share/man/econe-create-keypair.1.gz \
share/man/econe-create-volume.1.gz \
share/man/econe-delete-keypair.1.gz \
share/man/econe-delete-volume.1.gz \
share/man/econe-describe-addresses.1.gz \
2011-05-17 14:26:52 +04:00
share/man/econe-describe-images.1.gz \
share/man/econe-describe-instances.1.gz \
2012-10-23 17:04:36 +04:00
share/man/econe-describe-keypairs.1.gz \
share/man/econe-describe-volumes.1.gz \
share/man/econe-detach-volume.1.gz \
share/man/econe-disassociate-address.1.gz \
share/man/econe-reboot-instances.1.gz \
2011-05-17 14:26:52 +04:00
share/man/econe-register.1.gz \
2012-10-23 17:04:36 +04:00
share/man/econe-release-address.1.gz \
2011-05-17 14:26:52 +04:00
share/man/econe-run-instances.1.gz \
2012-10-23 17:04:36 +04:00
share/man/econe-start-instances.1.gz \
share/man/econe-stop-instances.1.gz \
2011-05-17 14:26:52 +04:00
share/man/econe-terminate-instances.1.gz \
2014-07-15 00:37:11 +04:00
share/man/econe-upload.1.gz"
2010-10-14 19:24:01 +04:00
2015-02-24 17:41:14 +03:00
#-----------------------------------------------------------------------------
# Docs Files
#-----------------------------------------------------------------------------
DOCS_FILES = "LICENSE NOTICE README.md"
2013-05-20 19:08:45 +04:00
#-----------------------------------------------------------------------------
# Ruby VENDOR files
#-----------------------------------------------------------------------------
RBVMOMI_VENDOR_RUBY_FILES = " share/vendor/ruby/gems/rbvmomi/LICENSE \
share/vendor/ruby/gems/rbvmomi/README.rdoc \
share/vendor/ruby/gems/rbvmomi/VERSION \
2013-05-20 19:52:16 +04:00
share/vendor/ruby/gems/rbvmomi/vmodl.db"
RBVMOMI_VENDOR_RUBY_LIB_FILES = "share/vendor/ruby/gems/rbvmomi/lib/rbvmomi.rb"
2013-07-04 04:05:12 +04:00
RBVMOMI_VENDOR_RUBY_LIB_RBVMOMI_FILES = " share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/basic_types.rb \
2013-05-20 19:52:16 +04:00
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/connection.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/deserialization.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/fault.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/pbm.rb \
2013-07-04 04:05:12 +04:00
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/trivial_soap.rb
2013-05-20 19:52:16 +04:00
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/trollop.rb \
2013-05-20 20:05:22 +04:00
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/type_loader.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim.rb"
2013-05-20 19:52:16 +04:00
2013-07-04 04:05:12 +04:00
RBVMOMI_VENDOR_RUBY_LIB_RBVMOMI_UTILS_FILES = " share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/utils/admission_control.rb \
2013-05-20 19:52:16 +04:00
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/utils/deploy.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/utils/leases.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/utils/perfdump.rb"
2013-07-04 04:05:12 +04:00
RBVMOMI_VENDOR_RUBY_LIB_RBVMOMI_VIM_FILES = " share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ComputeResource.rb \
2013-05-20 19:52:16 +04:00
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/Datacenter.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/Datastore.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/DynamicTypeMgrAllTypeInfo.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/DynamicTypeMgrDataTypeInfo.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/DynamicTypeMgrManagedTypeInfo.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/Folder.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/HostSystem.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ManagedEntity.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ManagedObject.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ObjectContent.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ObjectUpdate.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/OvfManager.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/PerfCounterInfo.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/PerformanceManager.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/PropertyCollector.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ReflectManagedMethodExecuter.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ResourcePool.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/ServiceInstance.rb \
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/Task.rb \
2013-05-20 20:05:22 +04:00
share/vendor/ruby/gems/rbvmomi/lib/rbvmomi/vim/VirtualMachine.rb"
2013-05-20 19:08:45 +04:00
2009-10-19 21:35:50 +04:00
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
2009-01-02 17:58:51 +03:00
# INSTALL.SH SCRIPT
2009-10-19 21:35:50 +04:00
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
2009-01-02 17:58:51 +03:00
# --- Create OpenNebula directories ---
2010-07-11 22:39:10 +04:00
if [ " $UNINSTALL " = "no" ] ; then
2009-01-02 17:58:51 +03:00
for d in $MAKE_DIRS ; do
2009-01-19 19:40:46 +03:00
mkdir -p $DESTDIR $d
2009-01-02 17:58:51 +03:00
done
fi
2008-11-13 19:21:17 +03:00
2009-01-02 17:58:51 +03:00
# --- Install/Uninstall files ---
2008-12-02 18:52:03 +03:00
2009-01-02 17:58:51 +03:00
do_file( ) {
if [ " $UNINSTALL " = "yes" ] ; then
2012-10-05 17:00:48 +04:00
rm $DESTDIR $2 /` basename $1 `
2009-01-02 17:58:51 +03:00
else
2009-08-27 21:25:39 +04:00
if [ " $LINK " = "yes" ] ; then
ln -s $SRC_DIR /$1 $DESTDIR $2
else
2015-07-21 19:21:18 +03:00
cp -RL $SRC_DIR /$1 $DESTDIR $2
2009-08-27 21:25:39 +04:00
fi
2009-01-02 17:58:51 +03:00
fi
}
2008-12-02 18:52:03 +03:00
2009-09-25 22:18:50 +04:00
2011-02-23 19:27:17 +03:00
if [ " $CLIENT " = "yes" ] ; then
2011-02-10 17:57:11 +03:00
INSTALL_SET = ${ INSTALL_CLIENT_FILES [@] }
2013-06-27 13:36:08 +04:00
elif [ " $ONEGATE " = "yes" ] ; then
INSTALL_SET = " ${ INSTALL_ONEGATE_FILES [@] } "
2011-02-23 19:27:17 +03:00
elif [ " $SUNSTONE " = "yes" ] ; then
2015-07-17 17:44:32 +03:00
if [ " $SUNSTONE_DEV " = "no" ] ; then
INSTALL_SET = " ${ INSTALL_SUNSTONE_RUBY_FILES [@] } \
${ INSTALL_SUNSTONE_PUBLIC_MINIFIED_FILES [@] }
${ INSTALL_SUNSTONE_FILES [@] } "
else
INSTALL_SET = " ${ INSTALL_SUNSTONE_RUBY_FILES [@] } \
${ INSTALL_SUNSTONE_PUBLIC_DEV_DIR [@] }
${ INSTALL_SUNSTONE_FILES [@] } "
fi
2013-07-10 15:29:53 +04:00
elif [ " $ONEFLOW " = "yes" ] ; then
INSTALL_SET = " ${ INSTALL_ONEFLOW_FILES [@] } "
2015-07-17 16:48:30 +03:00
elif [ " $SUNSTONE_DEV " = "no" ] ; then
INSTALL_SET = " ${ INSTALL_FILES [@] } \
${ INSTALL_SUNSTONE_FILES [@] } ${ INSTALL_SUNSTONE_PUBLIC_MINIFIED_FILES [@] } \
${ INSTALL_ONEGATE_FILES [@] } \
${ INSTALL_ONEFLOW_FILES [@] } "
2011-02-23 19:27:17 +03:00
else
2014-01-29 18:53:19 +04:00
INSTALL_SET = " ${ INSTALL_FILES [@] } \
2015-07-17 16:48:30 +03:00
${ INSTALL_SUNSTONE_FILES [@] } ${ INSTALL_SUNSTONE_PUBLIC_DEV_DIR [@] } \
${ INSTALL_ONEGATE_FILES [@] } \
2013-07-10 15:29:53 +04:00
${ INSTALL_ONEFLOW_FILES [@] } "
2009-09-25 22:18:50 +04:00
fi
for i in ${ INSTALL_SET [@] } ; do
2009-01-02 17:58:51 +03:00
SRC = $` echo $i | cut -d: -f1`
DST = ` echo $i | cut -d: -f2`
2010-07-11 22:39:10 +04:00
eval SRC_FILES = $SRC
for f in $SRC_FILES ; do
2009-01-02 17:58:51 +03:00
do_file $f $DST
done
done
2008-11-13 19:21:17 +03:00
2011-02-23 19:27:17 +03:00
if [ " $INSTALL_ETC " = "yes" ] ; then
2011-06-21 19:15:55 +04:00
if [ " $SUNSTONE " = "yes" ] ; then
INSTALL_ETC_SET = " ${ INSTALL_SUNSTONE_ETC_FILES [@] } "
2013-06-27 13:36:08 +04:00
elif [ " $ONEGATE " = "yes" ] ; then
INSTALL_ETC_SET = " ${ INSTALL_ONEGATE_ETC_FILES [@] } "
2013-07-10 15:29:53 +04:00
elif [ " $ONEFLOW " = "yes" ] ; then
INSTALL_ETC_SET = " ${ INSTALL_ONEFLOW_ETC_FILES [@] } "
2011-06-21 19:15:55 +04:00
else
INSTALL_ETC_SET = " ${ INSTALL_ETC_FILES [@] } \
2011-09-07 14:27:34 +04:00
${ INSTALL_SUNSTONE_ETC_FILES [@] } \
2013-07-10 15:29:53 +04:00
${ INSTALL_ONEGATE_ETC_FILES [@] } \
${ INSTALL_ONEFLOW_ETC_FILES [@] } "
2011-06-21 19:15:55 +04:00
fi
for i in ${ INSTALL_ETC_SET [@] } ; do
2009-01-02 17:58:51 +03:00
SRC = $` echo $i | cut -d: -f1`
DST = ` echo $i | cut -d: -f2`
2010-07-11 22:39:10 +04:00
2009-08-27 21:25:39 +04:00
eval SRC_FILES = $SRC
2010-07-11 22:39:10 +04:00
2009-08-27 21:25:39 +04:00
OLD_LINK = $LINK
2014-04-24 17:43:16 +04:00
LINK = "no"
2010-07-11 22:39:10 +04:00
for f in $SRC_FILES ; do
2009-01-02 17:58:51 +03:00
do_file $f $DST
done
2010-07-11 22:39:10 +04:00
2009-08-27 21:25:39 +04:00
LINK = $OLD_LINK
2009-01-02 17:58:51 +03:00
done
fi
2008-06-17 20:27:32 +04:00
2009-01-02 17:58:51 +03:00
# --- Set ownership or remove OpenNebula directories ---
2008-12-02 19:16:20 +03:00
2010-07-11 22:39:10 +04:00
if [ " $UNINSTALL " = "no" ] ; then
2009-01-19 19:40:46 +03:00
for d in $CHOWN_DIRS ; do
2009-10-21 19:48:46 +04:00
chown -R $ONEADMIN_USER :$ONEADMIN_GROUP $DESTDIR $d
2009-01-19 19:40:46 +03:00
done
2009-01-02 17:58:51 +03:00
else
2009-05-07 19:23:13 +04:00
for d in ` echo $DELETE_DIRS | awk '{for (i=NF;i>=1;i--) printf $i" "}' ` ; do
2009-01-02 17:58:51 +03:00
rmdir $d
done
fi