2009-01-02 17:58:51 +03:00
#!/bin/bash
2009-01-19 21:05:46 +03:00
# -------------------------------------------------------------------------- #
2014-01-09 14:51:20 +04:00
# Copyright 2002-2014, OpenNebula Project (OpenNebula.org), C12G Labs #
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"
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
2013-02-26 00:15:26 +04:00
PARAMETERS = "hkrlcsou:g:d:"
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"
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 ; ;
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"
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 \
$INCLUDE_LOCATION $SHARE_LOCATION \
$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 "
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 \
2014-01-29 18:53:19 +04:00
$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 = " $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/marketplace \
$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 \
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 \
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 \
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 \
$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 \
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 \
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 \
$SUNSTONE_LOCATION /public \
$SUNSTONE_LOCATION /public/js \
$SUNSTONE_LOCATION /public/js/plugins \
$SUNSTONE_LOCATION /public/js/user-plugins \
$SUNSTONE_LOCATION /public/css \
$SUNSTONE_LOCATION /public/locale \
2012-09-29 17:21:00 +04:00
$SUNSTONE_LOCATION /public/locale/ca \
$SUNSTONE_LOCATION /public/locale/cs_CZ \
2013-07-16 18:55:26 +04:00
$SUNSTONE_LOCATION /public/locale/da \
2012-09-29 17:21:00 +04:00
$SUNSTONE_LOCATION /public/locale/de \
$SUNSTONE_LOCATION /public/locale/el_GR \
2012-09-24 18:18:17 +04:00
$SUNSTONE_LOCATION /public/locale/en_US \
2012-09-29 17:21:00 +04:00
$SUNSTONE_LOCATION /public/locale/es_ES \
2013-07-16 18:55:26 +04:00
$SUNSTONE_LOCATION /public/locale/da \
2012-09-24 18:18:17 +04:00
$SUNSTONE_LOCATION /public/locale/fa_IR \
$SUNSTONE_LOCATION /public/locale/fr_FR \
$SUNSTONE_LOCATION /public/locale/it_IT \
2013-05-06 19:17:27 +04:00
$SUNSTONE_LOCATION /public/locale/nl_NL \
$SUNSTONE_LOCATION /public/locale/pl \
$SUNSTONE_LOCATION /public/locale/pt_BR \
2012-09-24 18:18:17 +04:00
$SUNSTONE_LOCATION /public/locale/pt_PT \
$SUNSTONE_LOCATION /public/locale/ru_RU \
$SUNSTONE_LOCATION /public/locale/sk_SK \
$SUNSTONE_LOCATION /public/locale/zh_TW \
2013-05-06 19:17:27 +04:00
$SUNSTONE_LOCATION /public/locale/zh_CN \
2012-09-24 18:18:17 +04:00
$SUNSTONE_LOCATION /public/vendor \
$SUNSTONE_LOCATION /public/vendor/crypto-js \
$SUNSTONE_LOCATION /public/vendor/fileuploader \
2013-04-26 14:29:06 +04:00
$SUNSTONE_LOCATION /public/vendor/noVNC \
$SUNSTONE_LOCATION /public/vendor/noVNC/web-socket-js \
2013-02-19 03:13:00 +04:00
$SUNSTONE_LOCATION /public/vendor/4.0 \
2014-08-13 20:58:26 +04:00
$SUNSTONE_LOCATION /public/vendor/4.0/flot \
2013-02-19 03:13:00 +04:00
$SUNSTONE_LOCATION /public/vendor/4.0/datatables \
$SUNSTONE_LOCATION /public/vendor/4.0/foundation_datatables \
$SUNSTONE_LOCATION /public/vendor/4.0/jquery_layout \
$SUNSTONE_LOCATION /public/vendor/4.0/fontawesome \
$SUNSTONE_LOCATION /public/vendor/4.0/fontawesome/css \
2014-02-11 18:49:45 +04:00
$SUNSTONE_LOCATION /public/vendor/4.0/fontawesome/fonts \
2013-02-19 03:13:00 +04:00
$SUNSTONE_LOCATION /public/vendor/4.0/jgrowl \
$SUNSTONE_LOCATION /public/vendor/4.0/foundation \
2014-08-13 20:58:26 +04:00
$SUNSTONE_LOCATION /public/vendor/4.0/modernizr \
2013-02-22 21:52:50 +04:00
$SUNSTONE_LOCATION /public/vendor/4.0/nouislider \
2012-09-24 18:18:17 +04:00
$SUNSTONE_LOCATION /public/images \
2014-05-20 17:13:22 +04:00
$SUNSTONE_LOCATION /public/images/logos \
2012-09-24 18:18:17 +04:00
$SUNSTONE_LOCATION /views"
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
2012-06-08 18:20:54 +04:00
LIB_MARKET_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/marketplace"
2012-06-08 18:20:54 +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
2014-07-15 00:37:11 +04:00
MAKE_DIRS = " $MAKE_DIRS $LIB_ECO_CLIENT_DIRS $LIB_MARKET_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
2012-09-24 18:18:17 +04:00
MAKE_DIRS = " $MAKE_DIRS $SUNSTONE_DIRS $LIB_OCA_CLIENT_DIRS "
2013-07-10 15:29:53 +04:00
elif [ " $ONEFLOW " = "yes" ] ; then
MAKE_DIRS = " $MAKE_DIRS $ONEFLOW_DIRS $LIB_OCA_CLIENT_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
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
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
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
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
2012-09-24 18:18:17 +04:00
NETWORK_FILES:$VAR_LOCATION /remotes/vnm
NETWORK_8021Q_FILES:$VAR_LOCATION /remotes/vnm/802.1Q
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
MARKET_LIB_FILES:$LIB_LOCATION /ruby/cloud/marketplace
MARKET_BIN_FILES:$BIN_LOCATION
MAN_FILES:$MAN_LOCATION
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
MARKET_LIB_CLIENT_FILES:$LIB_LOCATION /ruby/cloud/marketplace
MARKET_BIN_CLIENT_FILES:$BIN_LOCATION
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
SUNSTONE_PUBLIC_JS_FILES:$SUNSTONE_LOCATION /public/js
SUNSTONE_PUBLIC_JS_PLUGINS_FILES:$SUNSTONE_LOCATION /public/js/plugins
2013-07-11 18:01:01 +04:00
SUNSTONE_ROUTES_FILES:$SUNSTONE_LOCATION /routes
2012-09-24 18:18:17 +04:00
SUNSTONE_PUBLIC_CSS_FILES:$SUNSTONE_LOCATION /public/css
SUNSTONE_PUBLIC_VENDOR_CRYPTOJS:$SUNSTONE_LOCATION /public/vendor/crypto-js
SUNSTONE_PUBLIC_VENDOR_FILEUPLOADER:$SUNSTONE_LOCATION /public/vendor/fileuploader
2013-04-26 14:29:06 +04:00
SUNSTONE_PUBLIC_VENDOR_NOVNC:$SUNSTONE_LOCATION /public/vendor/noVNC
SUNSTONE_PUBLIC_VENDOR_NOVNC_WEBSOCKET:$SUNSTONE_LOCATION /public/vendor/noVNC/web-socket-js
2014-08-13 20:58:26 +04:00
SUNSTONE_PUBLIC_NEW_VENDOR_FLOT:$SUNSTONE_LOCATION /public/vendor/4.0/flot
2013-02-19 03:13:00 +04:00
SUNSTONE_PUBLIC_NEW_VENDOR_DATATABLES:$SUNSTONE_LOCATION /public/vendor/4.0/datatables
SUNSTONE_PUBLIC_NEW_VENDOR_FOUNDATION_DATATABLES:$SUNSTONE_LOCATION /public/vendor/4.0/foundation_datatables
SUNSTONE_PUBLIC_NEW_VENDOR_JGROWL:$SUNSTONE_LOCATION /public/vendor/4.0/jgrowl
SUNSTONE_PUBLIC_NEW_VENDOR_JQUERY:$SUNSTONE_LOCATION /public/vendor/4.0/
SUNSTONE_PUBLIC_NEW_VENDOR_FOUNDATION:$SUNSTONE_LOCATION /public/vendor/4.0/foundation
2014-08-13 20:58:26 +04:00
SUNSTONE_PUBLIC_NEW_VENDOR_MODERNIZR:$SUNSTONE_LOCATION /public/vendor/4.0/modernizr
2013-02-19 03:13:00 +04:00
SUNSTONE_PUBLIC_NEW_VENDOR_FONTAWESOME:$SUNSTONE_LOCATION /public/vendor/4.0/fontawesome
2014-02-11 18:49:45 +04:00
SUNSTONE_PUBLIC_NEW_VENDOR_FONTAWESOME_FONT:$SUNSTONE_LOCATION /public/vendor/4.0/fontawesome/fonts
2013-02-19 03:13:00 +04:00
SUNSTONE_PUBLIC_NEW_VENDOR_FONTAWESOME_CSS:$SUNSTONE_LOCATION /public/vendor/4.0/fontawesome/css
2013-02-22 21:52:50 +04:00
SUNSTONE_PUBLIC_NEW_VENDOR_NOUISLIDER:$SUNSTONE_LOCATION /public/vendor/4.0/nouislider
2014-03-07 19:30:26 +04:00
SUNSTONE_PUBLIC_IMAGES_FILES:$SUNSTONE_LOCATION /public/images
2014-05-20 17:13:22 +04:00
SUNSTONE_PUBLIC_LOGOS_FILES:$SUNSTONE_LOCATION /public/images/logos
2012-09-29 17:21:00 +04:00
SUNSTONE_PUBLIC_LOCALE_CA:$SUNSTONE_LOCATION /public/locale/ca
SUNSTONE_PUBLIC_LOCALE_CS_CZ:$SUNSTONE_LOCATION /public/locale/cs_CZ
SUNSTONE_PUBLIC_LOCALE_DE:$SUNSTONE_LOCATION /public/locale/de
2013-07-16 18:55:26 +04:00
SUNSTONE_PUBLIC_LOCALE_DA:$SUNSTONE_LOCATION /public/locale/da
2012-09-29 17:21:00 +04:00
SUNSTONE_PUBLIC_LOCALE_EL_GR:$SUNSTONE_LOCATION /public/locale/el_GR
2012-09-24 18:18:17 +04:00
SUNSTONE_PUBLIC_LOCALE_EN_US:$SUNSTONE_LOCATION /public/locale/en_US
2012-09-29 17:21:00 +04:00
SUNSTONE_PUBLIC_LOCALE_ES_ES:$SUNSTONE_LOCATION /public/locale/es_ES
2012-09-24 18:18:17 +04:00
SUNSTONE_PUBLIC_LOCALE_FA_IR:$SUNSTONE_LOCATION /public/locale/fa_IR
SUNSTONE_PUBLIC_LOCALE_FR_FR:$SUNSTONE_LOCATION /public/locale/fr_FR
SUNSTONE_PUBLIC_LOCALE_IT_IT:$SUNSTONE_LOCATION /public/locale/it_IT
2013-05-06 19:17:27 +04:00
SUNSTONE_PUBLIC_LOCALE_NL_NL:$SUNSTONE_LOCATION /public/locale/nl_NL
SUNSTONE_PUBLIC_LOCALE_PL:$SUNSTONE_LOCATION /public/locale/pl
2012-09-24 18:18:17 +04:00
SUNSTONE_PUBLIC_LOCALE_PT_PT:$SUNSTONE_LOCATION /public/locale/pt_PT
2013-05-06 19:17:27 +04:00
SUNSTONE_PUBLIC_LOCALE_PT_BR:$SUNSTONE_LOCATION /public/locale/pt_BR
2012-09-24 18:18:17 +04:00
SUNSTONE_PUBLIC_LOCALE_RU_RU:$SUNSTONE_LOCATION /public/locale/ru_RU
SUNSTONE_PUBLIC_LOCALE_SK_SK:$SUNSTONE_LOCATION /public/locale/sk_SK
2013-05-06 19:17:27 +04:00
SUNSTONE_PUBLIC_LOCALE_ZH_CN:$SUNSTONE_LOCATION /public/locale/zh_CN
2012-09-24 18:18:17 +04:00
SUNSTONE_PUBLIC_LOCALE_ZH_TW:$SUNSTONE_LOCATION /public/locale/zh_TW
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 \
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 \
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 \
src/sunstone/OpenNebulaVNC.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 \
src/datastore_mad/one_datastore"
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 \
src/vmm_mad/remotes/kvm/reboot \
src/vmm_mad/remotes/kvm/reset \
src/vmm_mad/remotes/kvm/save \
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 \
2012-09-24 18:18:17 +04:00
src/vmm_mad/remotes/kvm/shutdown"
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 \
src/vmm_mad/remotes/xen/reset \
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 \
src/vmm_mad/remotes/xen/reset \
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
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 \
src/vmm_mad/remotes/ec2/shutdown \
src/vmm_mad/remotes/ec2/ec2_driver.rb"
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 \
src/vmm_mad/remotes/sl/shutdown \
src/vmm_mad/remotes/sl/sl_driver.rb"
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 \
src/vmm_mad/remotes/az/shutdown \
src/vmm_mad/remotes/az/az_driver.rb"
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 \
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
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
#-------------------------------------------------------------------------------
NETWORK_FILES = " src/vnm_mad/remotes/OpenNebulaNetwork.rb \
2014-07-14 14:23:02 +04:00
src/vnm_mad/remotes/OpenNebulaNetwork.conf \
2012-09-24 18:18:17 +04:00
src/vnm_mad/remotes/Firewall.rb \
src/vnm_mad/remotes/OpenNebulaNic.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 \
src/vnm_mad/remotes/802.1Q/HostManaged.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
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 \
2013-03-07 19:48:23 +04:00
src/tm_mad/shared/mvds \
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 \
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 \
2013-03-07 19:48:23 +04:00
src/tm_mad/qcow2/mvds \
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 \
2013-03-07 19:48:23 +04:00
src/tm_mad/ssh/mvds \
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 \
2013-03-07 19:48:23 +04:00
src/tm_mad/dummy/mvds \
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 \
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 \
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 \
src/tm_mad/ceph/delete"
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 \
src/tm_mad/dev/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 \
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 \
2012-03-14 15:20:06 +04:00
src/datastore_mad/remotes/dummy/rm"
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 \
2012-02-19 05:08:03 +04:00
src/datastore_mad/remotes/fs/rm"
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 \
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 \
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 \
src/datastore_mad/remotes/ceph/ceph.conf"
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 \
src/datastore_mad/remotes/dev/clone"
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 \
src/onedb/onedb_backend.rb"
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\
src/onedb/shared/4.5.80_to_4.6.0.rb"
2014-03-03 22:11:17 +04:00
2014-07-04 14:04:29 +04:00
ONEDB_LOCAL_MIGRATOR_FILES = "src/onedb/local/4.5.80_to_4.7.80.rb"
2011-04-29 20:59:39 +04: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 \
2011-11-29 19:37:01 +04:00
src/vmm_mad/exec/vmm_exec_vmware.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 \
src/oca/ruby/opennebula/pool_element.rb \
src/oca/ruby/opennebula/pool.rb \
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 \
2013-12-12 22:10:12 +04:00
src/oca/ruby/opennebula/zone_pool.rb \
src/oca/ruby/opennebula/zone.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 \
src/oca/ruby/opennebula/oneflow_client.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
2012-06-08 18:20:54 +04:00
#-------------------------------------------------------------------------------
# Marketplace Client
#-------------------------------------------------------------------------------
MARKET_LIB_FILES = "src/cloud/marketplace/lib/marketplace_client.rb"
MARKET_LIB_CLIENT_FILES = "src/cloud/marketplace/lib/marketplace_client.rb"
2012-06-13 17:22:06 +04:00
MARKET_BIN_FILES = "src/cloud/marketplace/bin/onemarket"
2012-06-08 18:20:54 +04:00
2012-06-13 17:22:06 +04:00
MARKET_BIN_CLIENT_FILES = "src/cloud/marketplace/bin/onemarket"
2012-06-08 18:20:54 +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 \
2012-08-23 16:24:48 +04:00
src/cli/one_helper/oneacct_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 \
2012-08-23 16:24:48 +04:00
src/cli/oneacct"
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 \
2012-06-01 18:30:27 +04:00
src/cli/etc/oneacct.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 \
2013-07-15 21:35:16 +04:00
src/sunstone/etc/sunstone-views.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-07-30 16:51:37 +04:00
src/sunstone/etc/sunstone-views/vdcadmin.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 \
src/sunstone/models/OpenNebulaJSON/ZoneJSON.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 \
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
2014-03-03 15:36:10 +04:00
SUNSTONE_PUBLIC_JS_FILES = " src/sunstone/public/js/login.js \
2011-04-11 21:37:01 +04:00
src/sunstone/public/js/sunstone.js \
2011-12-01 22:25:17 +04:00
src/sunstone/public/js/opennebula.js \
src/sunstone/public/js/locale.js"
2011-02-23 19:27:17 +03:00
2011-04-11 21:37:01 +04:00
SUNSTONE_PUBLIC_JS_PLUGINS_FILES = " \
2011-07-07 21:13:05 +04:00
src/sunstone/public/js/plugins/dashboard-tab.js \
src/sunstone/public/js/plugins/hosts-tab.js \
2012-03-09 00:33:07 +04:00
src/sunstone/public/js/plugins/clusters-tab.js \
2012-03-10 20:47:15 +04:00
src/sunstone/public/js/plugins/datastores-tab.js \
2012-03-14 19:15:05 +04:00
src/sunstone/public/js/plugins/system-tab.js \
src/sunstone/public/js/plugins/vresources-tab.js \
2012-03-17 02:16:23 +04:00
src/sunstone/public/js/plugins/infra-tab.js \
2011-07-07 21:13:05 +04:00
src/sunstone/public/js/plugins/groups-tab.js \
src/sunstone/public/js/plugins/images-tab.js \
2013-03-26 19:59:09 +04:00
src/sunstone/public/js/plugins/files-tab.js \
2011-07-07 21:13:05 +04:00
src/sunstone/public/js/plugins/templates-tab.js \
src/sunstone/public/js/plugins/users-tab.js \
src/sunstone/public/js/plugins/vms-tab.js \
2011-07-22 18:28:07 +04:00
src/sunstone/public/js/plugins/acls-tab.js \
2011-12-30 22:21:13 +04:00
src/sunstone/public/js/plugins/vnets-tab.js \
2012-06-08 18:20:54 +04:00
src/sunstone/public/js/plugins/marketplace-tab.js \
2014-03-25 22:42:17 +04:00
src/sunstone/public/js/plugins/provision-tab.js \
2013-07-11 18:01:01 +04:00
src/sunstone/public/js/plugins/config-tab.js \
src/sunstone/public/js/plugins/oneflow-dashboard.js \
src/sunstone/public/js/plugins/oneflow-services.js \
2013-12-13 22:19:41 +04:00
src/sunstone/public/js/plugins/oneflow-templates.js \
2014-07-30 13:49:40 +04:00
src/sunstone/public/js/plugins/support-tab.js \
src/sunstone/public/js/plugins/zones-tab.js"
2013-07-11 18:01:01 +04:00
SUNSTONE_ROUTES_FILES = "src/sunstone/routes/oneflow.rb"
2011-04-11 21:37:01 +04:00
2014-08-13 20:58:26 +04:00
# begin bower
SUNSTONE_PUBLIC_NEW_VENDOR_JQUERY = " \
src/sunstone/public/bower_components/jquery/dist/jquery.min.js \
src/sunstone/public/bower_components/jquery-migrate/jquery-migrate.min.js"
SUNSTONE_PUBLIC_NEW_VENDOR_DATATABLES = " \
src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.min.js"
SUNSTONE_PUBLIC_NEW_VENDOR_MODERNIZR = " \
src/sunstone/public/bower_components/modernizr/modernizr.js"
SUNSTONE_PUBLIC_NEW_VENDOR_FOUNDATION = " \
src/sunstone/public/bower_components/foundation/js/foundation.min.js"
SUNSTONE_PUBLIC_NEW_VENDOR_JGROWL = " \
src/sunstone/public/bower_components/jgrowl/jquery.jgrowl.min.js \
src/sunstone/public/bower_components/jgrowl/jquery.jgrowl.min.css"
SUNSTONE_PUBLIC_NEW_VENDOR_FOUNDATION_DATATABLES = " \
src/sunstone/public/bower_components/foundation-datatables/integration/foundation/dataTables.foundation.js"
SUNSTONE_PUBLIC_NEW_VENDOR_FLOT = " \
src/sunstone/public/bower_components/flot/jquery.flot.js \
src/sunstone/public/bower_components/flot/excanvas.min.js \
src/sunstone/public/bower_components/flot/jquery.flot.time.js \
src/sunstone/public/bower_components/flot/jquery.flot.resize.js \
src/sunstone/public/bower_components/flot.tooltip/js/jquery.flot.tooltip.min.js \
src/sunstone/public/bower_components/flot/jquery.flot.stack.js"
SUNSTONE_PUBLIC_NEW_VENDOR_FONTAWESOME_CSS = " \
src/sunstone/public/bower_components/fontawesome/css/font-awesome.min.css"
SUNSTONE_PUBLIC_NEW_VENDOR_FONTAWESOME_FONT = " \
src/sunstone/public/bower_components/fontawesome/fonts/fontawesome-webfont.eot \
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 \
src/sunstone/public/bower_components/fontawesome/fonts/FontAwesome.otf"
SUNSTONE_PUBLIC_VENDOR_NOVNC = " \
src/sunstone/public/bower_components/no-vnc/include/base.css \
src/sunstone/public/bower_components/no-vnc/include/base64.js \
src/sunstone/public/bower_components/no-vnc/include/black.css \
src/sunstone/public/bower_components/no-vnc/include/blue.css \
src/sunstone/public/bower_components/no-vnc/include/des.js \
src/sunstone/public/bower_components/no-vnc/include/display.js \
src/sunstone/public/bower_components/no-vnc/include/input.js \
src/sunstone/public/bower_components/no-vnc/include/jsunzip.js \
src/sunstone/public/bower_components/no-vnc/include/keyboard.js \
src/sunstone/public/bower_components/no-vnc/include/keysymdef.js \
src/sunstone/public/bower_components/no-vnc/include/logo.js \
src/sunstone/public/bower_components/no-vnc/include/Orbitron700.ttf \
src/sunstone/public/bower_components/no-vnc/include/Orbitron700.woff \
src/sunstone/public/bower_components/no-vnc/include/playback.js \
src/sunstone/public/bower_components/no-vnc/include/rfb.js \
src/sunstone/public/bower_components/no-vnc/include/ui.js \
src/sunstone/public/bower_components/no-vnc/include/util.js \
src/sunstone/public/bower_components/no-vnc/include/websock.js \
src/sunstone/public/bower_components/no-vnc/include/webutil.js"
SUNSTONE_PUBLIC_VENDOR_NOVNC_WEBSOCKET = " \
src/sunstone/public/bower_components/no-vnc/include/web-socket-js/web_socket.js \
src/sunstone/public/bower_components/no-vnc/include/web-socket-js/swfobject.js \
src/sunstone/public/bower_components/no-vnc/include/web-socket-js/WebSocketMain.swf"
# end bower
2013-02-19 03:13:00 +04:00
SUNSTONE_PUBLIC_CSS_FILES = " src/sunstone/public/css/app.css \
2013-07-23 14:15:19 +04:00
src/sunstone/public/css/opensans.woff \
2013-02-19 03:13:00 +04:00
src/sunstone/public/css/login.css"
2011-02-23 19:27:17 +03:00
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"
2012-07-18 16:22:01 +04:00
2012-01-02 21:54:40 +04:00
SUNSTONE_PUBLIC_VENDOR_FILEUPLOADER = " \
src/sunstone/public/vendor/fileuploader/NOTICE \
src/sunstone/public/vendor/fileuploader/fileuploader.js"
2013-04-26 14:29:06 +04:00
2012-01-02 21:54:40 +04:00
SUNSTONE_PUBLIC_VENDOR_XML2JSON = " \
src/sunstone/public/vendor/xml2json/NOTICE \
src/sunstone/public/vendor/xml2json/jquery.xml2json.pack.js"
2013-02-22 21:52:50 +04:00
SUNSTONE_PUBLIC_NEW_VENDOR_NOUISLIDER = " \
src/sunstone/public/vendor/4.0/nouislider/jquery.nouislider.min.js \
src/sunstone/public/vendor/4.0/nouislider/nouislider.css"
2013-02-19 03:13:00 +04:00
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 \
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 \
2013-04-02 19:04:32 +04:00
src/sunstone/public/images/opennebula-sunstone-v4.0-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 = " \
src/sunstone/locale/languages/ca.js \
src/sunstone/locale/languages/ca_datatable.txt"
SUNSTONE_PUBLIC_LOCALE_CS_CZ = " \
src/sunstone/locale/languages/cs_CZ.js \
src/sunstone/locale/languages/cs_datatable.txt"
SUNSTONE_PUBLIC_LOCALE_DE = " \
src/sunstone/locale/languages/de.js \
src/sunstone/locale/languages/de_datatable.txt"
2013-07-16 18:55:26 +04:00
SUNSTONE_PUBLIC_LOCALE_DA = " \
src/sunstone/locale/languages/da.js \
src/sunstone/locale/languages/da_datatable.txt"
2012-09-29 17:21:00 +04:00
SUNSTONE_PUBLIC_LOCALE_EL_GR = " \
src/sunstone/locale/languages/el_GR.js \
src/sunstone/locale/languages/el_datatable.txt"
2011-12-02 20:55:26 +04:00
SUNSTONE_PUBLIC_LOCALE_EN_US = " \
2012-05-24 16:43:43 +04:00
src/sunstone/locale/languages/en_US.js \
2012-07-04 15:41:33 +04:00
src/sunstone/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 = " \
src/sunstone/locale/languages/es_ES.js \
src/sunstone/locale/languages/es_datatable.txt"
2012-07-06 14:21:40 +04:00
SUNSTONE_PUBLIC_LOCALE_FA_IR = " \
src/sunstone/locale/languages/fa_IR.js \
src/sunstone/locale/languages/fa_datatable.txt"
2012-07-04 15:41:33 +04:00
SUNSTONE_PUBLIC_LOCALE_FR_FR = " \
src/sunstone/locale/languages/fr_FR.js \
src/sunstone/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 = " \
2012-05-24 16:43:43 +04:00
src/sunstone/locale/languages/it_IT.js \
src/sunstone/locale/languages/it_datatable.txt"
2012-03-29 14:24:03 +04:00
2013-05-06 19:17:27 +04:00
SUNSTONE_PUBLIC_LOCALE_NL_NL = " \
src/sunstone/locale/languages/nl_NL.js \
src/sunstone/locale/languages/nl_datatable.txt"
SUNSTONE_PUBLIC_LOCALE_PL = " \
src/sunstone/locale/languages/pl.js \
src/sunstone/locale/languages/pl_datatable.txt"
2012-07-04 15:41:33 +04:00
SUNSTONE_PUBLIC_LOCALE_PT_PT = " \
2012-05-24 16:43:43 +04:00
src/sunstone/locale/languages/pt_PT.js \
src/sunstone/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 = " \
src/sunstone/locale/languages/pt_BR.js \
src/sunstone/locale/languages/pt_datatable.txt"
2012-09-18 15:28:06 +04:00
SUNSTONE_PUBLIC_LOCALE_RU_RU = " \
src/sunstone/locale/languages/ru_RU.js \
2012-07-04 15:41:33 +04:00
src/sunstone/locale/languages/ru_datatable.txt"
SUNSTONE_PUBLIC_LOCALE_SK_SK = " \
src/sunstone/locale/languages/sk_SK.js \
src/sunstone/locale/languages/sk_datatable.txt"
2013-05-06 19:17:27 +04:00
SUNSTONE_PUBLIC_LOCALE_ZH_CN = " \
src/sunstone/locale/languages/zh_CN.js \
src/sunstone/locale/languages/zh_datatable.txt"
2012-07-04 15:41:33 +04:00
SUNSTONE_PUBLIC_LOCALE_ZH_TW = " \
src/sunstone/locale/languages/zh_TW.js \
src/sunstone/locale/languages/zh_datatable.txt"
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 \
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 \
2013-07-10 15:29:53 +04:00
share/man/oneflow.1.gz \
share/man/oneflow-template.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
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
cp $SRC_DIR /$1 $DESTDIR $2
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
2011-02-24 14:28:57 +03:00
INSTALL_SET = " ${ INSTALL_SUNSTONE_RUBY_FILES [@] } ${ INSTALL_SUNSTONE_FILES [@] } "
2013-07-10 15:29:53 +04:00
elif [ " $ONEFLOW " = "yes" ] ; then
INSTALL_SET = " ${ INSTALL_ONEFLOW_FILES [@] } "
2011-02-23 19:27:17 +03:00
else
2014-01-29 18:53:19 +04:00
INSTALL_SET = " ${ INSTALL_FILES [@] } \
2013-07-10 15:29:53 +04:00
${ INSTALL_SUNSTONE_FILES [@] } ${ INSTALL_ONEGATE_FILES [@] } \
${ 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