cft_smartcloud 0.1.5 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +9 -0
- data/VERSION +1 -1
- data/cft_smartcloud.gemspec +2 -91
- data/lib/smartcloud.rb +30 -47
- metadata +3 -92
- data/lib/cli_tools/README.txt +0 -50
- data/lib/cli_tools/ic-add-keypair.cmd +0 -29
- data/lib/cli_tools/ic-add-keypair.sh +0 -15
- data/lib/cli_tools/ic-allocate-address.cmd +0 -29
- data/lib/cli_tools/ic-allocate-address.sh +0 -14
- data/lib/cli_tools/ic-attach-volume.cmd +0 -27
- data/lib/cli_tools/ic-attach-volume.sh +0 -27
- data/lib/cli_tools/ic-clone-image.cmd +0 -27
- data/lib/cli_tools/ic-clone-image.sh +0 -14
- data/lib/cli_tools/ic-clone-volume.cmd +0 -27
- data/lib/cli_tools/ic-clone-volume.sh +0 -60
- data/lib/cli_tools/ic-cmd.cmd +0 -41
- data/lib/cli_tools/ic-cmd.sh +0 -38
- data/lib/cli_tools/ic-create-instance.cmd +0 -27
- data/lib/cli_tools/ic-create-instance.sh +0 -14
- data/lib/cli_tools/ic-create-password.cmd +0 -27
- data/lib/cli_tools/ic-create-password.sh +0 -14
- data/lib/cli_tools/ic-create-volume.cmd +0 -27
- data/lib/cli_tools/ic-create-volume.sh +0 -14
- data/lib/cli_tools/ic-delete-image.cmd +0 -27
- data/lib/cli_tools/ic-delete-image.sh +0 -14
- data/lib/cli_tools/ic-delete-instance.cmd +0 -27
- data/lib/cli_tools/ic-delete-instance.sh +0 -14
- data/lib/cli_tools/ic-delete-volume.cmd +0 -27
- data/lib/cli_tools/ic-delete-volume.sh +0 -14
- data/lib/cli_tools/ic-describe-address-offerings.cmd +0 -27
- data/lib/cli_tools/ic-describe-address-offerings.sh +0 -14
- data/lib/cli_tools/ic-describe-addresses.cmd +0 -27
- data/lib/cli_tools/ic-describe-addresses.sh +0 -14
- data/lib/cli_tools/ic-describe-image-agreement.cmd +0 -27
- data/lib/cli_tools/ic-describe-image-agreement.sh +0 -14
- data/lib/cli_tools/ic-describe-image.cmd +0 -27
- data/lib/cli_tools/ic-describe-image.sh +0 -14
- data/lib/cli_tools/ic-describe-images.cmd +0 -27
- data/lib/cli_tools/ic-describe-images.sh +0 -14
- data/lib/cli_tools/ic-describe-instance.cmd +0 -27
- data/lib/cli_tools/ic-describe-instance.sh +0 -14
- data/lib/cli_tools/ic-describe-instances.cmd +0 -27
- data/lib/cli_tools/ic-describe-instances.sh +0 -14
- data/lib/cli_tools/ic-describe-keypair.cmd +0 -27
- data/lib/cli_tools/ic-describe-keypair.sh +0 -14
- data/lib/cli_tools/ic-describe-keypairs.cmd +0 -27
- data/lib/cli_tools/ic-describe-keypairs.sh +0 -14
- data/lib/cli_tools/ic-describe-location.cmd +0 -14
- data/lib/cli_tools/ic-describe-location.sh +0 -14
- data/lib/cli_tools/ic-describe-locations.cmd +0 -14
- data/lib/cli_tools/ic-describe-locations.sh +0 -14
- data/lib/cli_tools/ic-describe-request.cmd +0 -27
- data/lib/cli_tools/ic-describe-request.sh +0 -14
- data/lib/cli_tools/ic-describe-vlans.cmd +0 -27
- data/lib/cli_tools/ic-describe-vlans.sh +0 -14
- data/lib/cli_tools/ic-describe-volume-offerings.cmd +0 -27
- data/lib/cli_tools/ic-describe-volume-offerings.sh +0 -14
- data/lib/cli_tools/ic-describe-volume.cmd +0 -27
- data/lib/cli_tools/ic-describe-volume.sh +0 -14
- data/lib/cli_tools/ic-describe-volumes.cmd +0 -27
- data/lib/cli_tools/ic-describe-volumes.sh +0 -14
- data/lib/cli_tools/ic-detach-volume.cmd +0 -27
- data/lib/cli_tools/ic-detach-volume.sh +0 -27
- data/lib/cli_tools/ic-extend-reservation.cmd +0 -27
- data/lib/cli_tools/ic-extend-reservation.sh +0 -14
- data/lib/cli_tools/ic-generate-keypair.cmd +0 -27
- data/lib/cli_tools/ic-generate-keypair.sh +0 -14
- data/lib/cli_tools/ic-release-address.cmd +0 -27
- data/lib/cli_tools/ic-release-address.sh +0 -14
- data/lib/cli_tools/ic-remove-keypair.cmd +0 -27
- data/lib/cli_tools/ic-remove-keypair.sh +0 -14
- data/lib/cli_tools/ic-restart-instance.cmd +0 -27
- data/lib/cli_tools/ic-restart-instance.sh +0 -14
- data/lib/cli_tools/ic-save-instance.cmd +0 -27
- data/lib/cli_tools/ic-save-instance.sh +0 -14
- data/lib/cli_tools/ic-set-default-key.cmd +0 -27
- data/lib/cli_tools/ic-set-default-key.sh +0 -14
- data/lib/cli_tools/ic-update-instance.cmd +0 -27
- data/lib/cli_tools/ic-update-instance.sh +0 -14
- data/lib/cli_tools/ic-update-keypair.cmd +0 -27
- data/lib/cli_tools/ic-update-keypair.sh +0 -14
- data/lib/cli_tools/lib/DeveloperCloud_API_Client_JAR.jar +0 -0
- data/lib/cli_tools/lib/DeveloperCloud_CMD_Tool.jar +0 -0
- data/lib/cli_tools/lib/commons-beanutils-1.6.1.jar +0 -0
- data/lib/cli_tools/lib/commons-cli-1.2.jar +0 -0
- data/lib/cli_tools/lib/commons-codec-1.3.jar +0 -0
- data/lib/cli_tools/lib/commons-collections-3.2.1.jar +0 -0
- data/lib/cli_tools/lib/commons-digester-1.8.jar +0 -0
- data/lib/cli_tools/lib/commons-httpclient-3.1.jar +0 -0
- data/lib/cli_tools/lib/commons-lang-2.3.jar +0 -0
- data/lib/cli_tools/lib/commons-logging-1.1.1.jar +0 -0
- data/lib/cli_tools/logging.properties +0 -7
- data/lib/cli_tools/manifest.rmd +0 -26
@@ -1,15 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
############################################################################
|
3
|
-
#
|
4
|
-
# Licensed Materials - Property of IBM
|
5
|
-
#
|
6
|
-
# (C) COPYRIGHT International Business Machines Corp. 2009
|
7
|
-
#
|
8
|
-
# All Rights Reserved.
|
9
|
-
#
|
10
|
-
# US Government Users Restricted Rights - Use, duplication or
|
11
|
-
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
12
|
-
#
|
13
|
-
#############################################################################
|
14
|
-
|
15
|
-
./ic-cmd.sh -action AddKeyPair $*
|
@@ -1,29 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
REM ###########################################################################
|
4
|
-
|
5
|
-
REM #
|
6
|
-
|
7
|
-
REM # Licensed Materials - Property of IBM
|
8
|
-
|
9
|
-
REM #
|
10
|
-
|
11
|
-
REM # (C) COPYRIGHT International Business Machines Corp. 2009
|
12
|
-
|
13
|
-
REM #
|
14
|
-
|
15
|
-
REM # All Rights Reserved.
|
16
|
-
|
17
|
-
REM #
|
18
|
-
|
19
|
-
REM # US Government Users Restricted Rights - Use, duplication or
|
20
|
-
|
21
|
-
REM # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
22
|
-
|
23
|
-
REM #
|
24
|
-
|
25
|
-
REM #############################################################################
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
ic-cmd.cmd -action AllocateAddress %*
|
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
############################################################################
|
3
|
-
#
|
4
|
-
# Licensed Materials - Property of IBM
|
5
|
-
#
|
6
|
-
# (C) COPYRIGHT International Business Machines Corp. 2009
|
7
|
-
#
|
8
|
-
# All Rights Reserved.
|
9
|
-
#
|
10
|
-
# US Government Users Restricted Rights - Use, duplication or
|
11
|
-
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
12
|
-
#
|
13
|
-
#############################################################################
|
14
|
-
./ic-cmd.sh -action AllocateAddress $*
|
@@ -1,27 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
REM ###########################################################################
|
4
|
-
|
5
|
-
REM #
|
6
|
-
|
7
|
-
REM # Licensed Materials - Property of IBM
|
8
|
-
|
9
|
-
REM #
|
10
|
-
|
11
|
-
REM # (C) COPYRIGHT International Business Machines Corp. 2009
|
12
|
-
|
13
|
-
REM #
|
14
|
-
|
15
|
-
REM # All Rights Reserved.
|
16
|
-
|
17
|
-
REM #
|
18
|
-
|
19
|
-
REM # US Government Users Restricted Rights - Use, duplication or
|
20
|
-
|
21
|
-
REM # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
22
|
-
|
23
|
-
REM #
|
24
|
-
|
25
|
-
REM #############################################################################
|
26
|
-
|
27
|
-
ic-cmd.cmd -action AttachVolume %*
|
@@ -1,27 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
|
3
|
-
############################################################################
|
4
|
-
|
5
|
-
#
|
6
|
-
|
7
|
-
# Licensed Materials - Property of IBM
|
8
|
-
|
9
|
-
#
|
10
|
-
|
11
|
-
# (C) COPYRIGHT International Business Machines Corp. 2009
|
12
|
-
|
13
|
-
#
|
14
|
-
|
15
|
-
# All Rights Reserved.
|
16
|
-
|
17
|
-
#
|
18
|
-
|
19
|
-
# US Government Users Restricted Rights - Use, duplication or
|
20
|
-
|
21
|
-
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
22
|
-
|
23
|
-
#
|
24
|
-
|
25
|
-
#############################################################################
|
26
|
-
|
27
|
-
./ic-cmd.sh -action AttachVolume $*
|
@@ -1,27 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
REM ###########################################################################
|
4
|
-
|
5
|
-
REM #
|
6
|
-
|
7
|
-
REM # Licensed Materials - Property of IBM
|
8
|
-
|
9
|
-
REM #
|
10
|
-
|
11
|
-
REM # (C) COPYRIGHT International Business Machines Corp. 2009
|
12
|
-
|
13
|
-
REM #
|
14
|
-
|
15
|
-
REM # All Rights Reserved.
|
16
|
-
|
17
|
-
REM #
|
18
|
-
|
19
|
-
REM # US Government Users Restricted Rights - Use, duplication or
|
20
|
-
|
21
|
-
REM # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
22
|
-
|
23
|
-
REM #
|
24
|
-
|
25
|
-
REM #############################################################################
|
26
|
-
|
27
|
-
ic-cmd.cmd -action CloneImage %*
|
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
############################################################################
|
3
|
-
#
|
4
|
-
# Licensed Materials - Property of IBM
|
5
|
-
#
|
6
|
-
# (C) COPYRIGHT International Business Machines Corp. 2009
|
7
|
-
#
|
8
|
-
# All Rights Reserved.
|
9
|
-
#
|
10
|
-
# US Government Users Restricted Rights - Use, duplication or
|
11
|
-
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
12
|
-
#
|
13
|
-
#############################################################################
|
14
|
-
./ic-cmd.sh -action CloneImage $*
|
@@ -1,27 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
REM ###########################################################################
|
4
|
-
|
5
|
-
REM #
|
6
|
-
|
7
|
-
REM # Licensed Materials - Property of IBM
|
8
|
-
|
9
|
-
REM #
|
10
|
-
|
11
|
-
REM # (C) COPYRIGHT International Business Machines Corp. 2009
|
12
|
-
|
13
|
-
REM #
|
14
|
-
|
15
|
-
REM # All Rights Reserved.
|
16
|
-
|
17
|
-
REM #
|
18
|
-
|
19
|
-
REM # US Government Users Restricted Rights - Use, duplication or
|
20
|
-
|
21
|
-
REM # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
22
|
-
|
23
|
-
REM #
|
24
|
-
|
25
|
-
REM #############################################################################
|
26
|
-
|
27
|
-
ic-cmd.cmd -action CloneVolume %*
|
@@ -1,60 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
############################################################################
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
#
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
# Licensed Materials - Property of IBM
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
#
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
# (C) COPYRIGHT International Business Machines Corp. 2009
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
#
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
# All Rights Reserved.
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
#
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
# US Government Users Restricted Rights - Use, duplication or
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
#
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
#############################################################################
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
./ic-cmd.sh -action CloneVolume $*
|
58
|
-
|
59
|
-
|
60
|
-
|
data/lib/cli_tools/ic-cmd.cmd
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
REM ###########################################################################
|
2
|
-
|
3
|
-
REM #
|
4
|
-
|
5
|
-
REM # Licensed Materials - Property of IBM
|
6
|
-
|
7
|
-
REM #
|
8
|
-
|
9
|
-
REM # (C) COPYRIGHT International Business Machines Corp. 2009
|
10
|
-
|
11
|
-
REM #
|
12
|
-
|
13
|
-
REM # All Rights Reserved.
|
14
|
-
|
15
|
-
REM #
|
16
|
-
|
17
|
-
REM # US Government Users Restricted Rights - Use, duplication or
|
18
|
-
|
19
|
-
REM # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
20
|
-
|
21
|
-
REM #
|
22
|
-
|
23
|
-
REM #############################################################################
|
24
|
-
|
25
|
-
if not exist "%JAVA_HOME%\bin\java.exe" goto showhelp
|
26
|
-
|
27
|
-
SET CL_CLASSPATH=.;%cd%\lib\commons-cli-1.2.jar;%cd%\lib\DeveloperCloud_CMD_Tool.jar;%cd%\lib\commons-logging-1.1.1.jar;%cd%\lib\commons-codec-1.3.jar;%cd%\lib\commons-httpclient-3.1.jar;%cd%\lib\DeveloperCloud_API_Client_JAR.jar;%cd%\lib\commons-beanutils-1.6.1.jar;%cd%\lib\commons-digester-1.8.jar;%cd%\lib\commons-lang-2.3.jar;%cd%\lib\commons-collections-3.2.1.jar
|
28
|
-
|
29
|
-
call "%JAVA_HOME%\bin\java" -Djava.util.logging.config.file=logging.properties -cp %CL_CLASSPATH% com.ibm.cloud.cmd.tool.Command %*
|
30
|
-
|
31
|
-
goto end
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
:showhelp
|
36
|
-
|
37
|
-
echo You don't have JAVA installed or the environment variable JAVA_HOME is not set correctly. Please install Java version version 1.5.x and set the JAVA_HOME environment variable if it's already installed.
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
:end
|
data/lib/cli_tools/ic-cmd.sh
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
############################################################################
|
3
|
-
#
|
4
|
-
# Licensed Materials - Property of IBM
|
5
|
-
#
|
6
|
-
# (C) COPYRIGHT International Business Machines Corp. 2009
|
7
|
-
#
|
8
|
-
# All Rights Reserved.
|
9
|
-
#
|
10
|
-
# US Government Users Restricted Rights - Use, duplication or
|
11
|
-
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
12
|
-
#
|
13
|
-
#############################################################################
|
14
|
-
if [ -f ${JAVA_HOME}/bin/java ]; then
|
15
|
-
|
16
|
-
LANG=en_US
|
17
|
-
declare workpath=`pwd`
|
18
|
-
declare -a libs=`ls ./lib/`
|
19
|
-
|
20
|
-
CL_CLASSPATH=""
|
21
|
-
for i in ${libs[@]}
|
22
|
-
do
|
23
|
-
if [ ${i##.*}=".jar" ] ; then
|
24
|
-
if [ -z "${CL_CLASSPATH}" ] ; then
|
25
|
-
CL_CLASSPATH=${workpath}/lib/${i}
|
26
|
-
else
|
27
|
-
CL_CLASSPATH=${workpath}/lib/${i}:$CL_CLASSPATH
|
28
|
-
fi
|
29
|
-
fi
|
30
|
-
done
|
31
|
-
|
32
|
-
export CL_CLASSPATH
|
33
|
-
|
34
|
-
${JAVA_HOME}/bin/java -Djava.util.logging.config.file=logging.properties -cp ${CL_CLASSPATH} com.ibm.cloud.cmd.tool.Command $*
|
35
|
-
|
36
|
-
else
|
37
|
-
echo You don't have JAVA installed or the environment variable JAVA_HOME is not set correctly. Please install Java version version 1.5.x and set the JAVA_HOME environment variable if it's already installed.
|
38
|
-
fi
|
@@ -1,27 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
REM ###########################################################################
|
4
|
-
|
5
|
-
REM #
|
6
|
-
|
7
|
-
REM # Licensed Materials - Property of IBM
|
8
|
-
|
9
|
-
REM #
|
10
|
-
|
11
|
-
REM # (C) COPYRIGHT International Business Machines Corp. 2009
|
12
|
-
|
13
|
-
REM #
|
14
|
-
|
15
|
-
REM # All Rights Reserved.
|
16
|
-
|
17
|
-
REM #
|
18
|
-
|
19
|
-
REM # US Government Users Restricted Rights - Use, duplication or
|
20
|
-
|
21
|
-
REM # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
22
|
-
|
23
|
-
REM #
|
24
|
-
|
25
|
-
REM #############################################################################
|
26
|
-
|
27
|
-
ic-cmd.cmd -action CreateInstance %*
|
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
############################################################################
|
3
|
-
#
|
4
|
-
# Licensed Materials - Property of IBM
|
5
|
-
#
|
6
|
-
# (C) COPYRIGHT International Business Machines Corp. 2009
|
7
|
-
#
|
8
|
-
# All Rights Reserved.
|
9
|
-
#
|
10
|
-
# US Government Users Restricted Rights - Use, duplication or
|
11
|
-
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
12
|
-
#
|
13
|
-
#############################################################################
|
14
|
-
./ic-cmd.sh -action CreateInstance $*
|
@@ -1,27 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
REM ###########################################################################
|
4
|
-
|
5
|
-
REM #
|
6
|
-
|
7
|
-
REM # Licensed Materials - Property of IBM
|
8
|
-
|
9
|
-
REM #
|
10
|
-
|
11
|
-
REM # (C) COPYRIGHT International Business Machines Corp. 2009
|
12
|
-
|
13
|
-
REM #
|
14
|
-
|
15
|
-
REM # All Rights Reserved.
|
16
|
-
|
17
|
-
REM #
|
18
|
-
|
19
|
-
REM # US Government Users Restricted Rights - Use, duplication or
|
20
|
-
|
21
|
-
REM # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
22
|
-
|
23
|
-
REM #
|
24
|
-
|
25
|
-
REM #############################################################################
|
26
|
-
|
27
|
-
ic-cmd.cmd -action CreatePassword %*
|
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
############################################################################
|
3
|
-
#
|
4
|
-
# Licensed Materials - Property of IBM
|
5
|
-
#
|
6
|
-
# (C) COPYRIGHT International Business Machines Corp. 2009
|
7
|
-
#
|
8
|
-
# All Rights Reserved.
|
9
|
-
#
|
10
|
-
# US Government Users Restricted Rights - Use, duplication or
|
11
|
-
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
12
|
-
#
|
13
|
-
#############################################################################
|
14
|
-
./ic-cmd.sh -action CreatePassword $*
|
@@ -1,27 +0,0 @@
|
|
1
|
-
@echo off
|
2
|
-
|
3
|
-
REM ###########################################################################
|
4
|
-
|
5
|
-
REM #
|
6
|
-
|
7
|
-
REM # Licensed Materials - Property of IBM
|
8
|
-
|
9
|
-
REM #
|
10
|
-
|
11
|
-
REM # (C) COPYRIGHT International Business Machines Corp. 2009
|
12
|
-
|
13
|
-
REM #
|
14
|
-
|
15
|
-
REM # All Rights Reserved.
|
16
|
-
|
17
|
-
REM #
|
18
|
-
|
19
|
-
REM # US Government Users Restricted Rights - Use, duplication or
|
20
|
-
|
21
|
-
REM # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
22
|
-
|
23
|
-
REM #
|
24
|
-
|
25
|
-
REM #############################################################################
|
26
|
-
|
27
|
-
ic-cmd.cmd -action CreateVolume %*
|