cft_smartcloud 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +0 -1
- data/VERSION +1 -1
- data/bin/cft_smartcloud +11 -1
- data/bin/smartcloud +11 -1
- data/cft_smartcloud.gemspec +91 -2
- data/lib/cli_tools/README.txt +50 -0
- data/lib/cli_tools/ic-add-keypair.cmd +29 -0
- data/lib/cli_tools/ic-add-keypair.sh +15 -0
- data/lib/cli_tools/ic-allocate-address.cmd +29 -0
- data/lib/cli_tools/ic-allocate-address.sh +14 -0
- data/lib/cli_tools/ic-attach-volume.cmd +27 -0
- data/lib/cli_tools/ic-attach-volume.sh +27 -0
- data/lib/cli_tools/ic-clone-image.cmd +27 -0
- data/lib/cli_tools/ic-clone-image.sh +14 -0
- data/lib/cli_tools/ic-clone-volume.cmd +27 -0
- data/lib/cli_tools/ic-clone-volume.sh +60 -0
- data/lib/cli_tools/ic-cmd.cmd +41 -0
- data/lib/cli_tools/ic-cmd.sh +38 -0
- data/lib/cli_tools/ic-create-instance.cmd +27 -0
- data/lib/cli_tools/ic-create-instance.sh +14 -0
- data/lib/cli_tools/ic-create-password.cmd +27 -0
- data/lib/cli_tools/ic-create-password.sh +14 -0
- data/lib/cli_tools/ic-create-volume.cmd +27 -0
- data/lib/cli_tools/ic-create-volume.sh +14 -0
- data/lib/cli_tools/ic-delete-image.cmd +27 -0
- data/lib/cli_tools/ic-delete-image.sh +14 -0
- data/lib/cli_tools/ic-delete-instance.cmd +27 -0
- data/lib/cli_tools/ic-delete-instance.sh +14 -0
- data/lib/cli_tools/ic-delete-volume.cmd +27 -0
- data/lib/cli_tools/ic-delete-volume.sh +14 -0
- data/lib/cli_tools/ic-describe-address-offerings.cmd +27 -0
- data/lib/cli_tools/ic-describe-address-offerings.sh +14 -0
- data/lib/cli_tools/ic-describe-addresses.cmd +27 -0
- data/lib/cli_tools/ic-describe-addresses.sh +14 -0
- data/lib/cli_tools/ic-describe-image-agreement.cmd +27 -0
- data/lib/cli_tools/ic-describe-image-agreement.sh +14 -0
- data/lib/cli_tools/ic-describe-image.cmd +27 -0
- data/lib/cli_tools/ic-describe-image.sh +14 -0
- data/lib/cli_tools/ic-describe-images.cmd +27 -0
- data/lib/cli_tools/ic-describe-images.sh +14 -0
- data/lib/cli_tools/ic-describe-instance.cmd +27 -0
- data/lib/cli_tools/ic-describe-instance.sh +14 -0
- data/lib/cli_tools/ic-describe-instances.cmd +27 -0
- data/lib/cli_tools/ic-describe-instances.sh +14 -0
- data/lib/cli_tools/ic-describe-keypair.cmd +27 -0
- data/lib/cli_tools/ic-describe-keypair.sh +14 -0
- data/lib/cli_tools/ic-describe-keypairs.cmd +27 -0
- data/lib/cli_tools/ic-describe-keypairs.sh +14 -0
- data/lib/cli_tools/ic-describe-location.cmd +14 -0
- data/lib/cli_tools/ic-describe-location.sh +14 -0
- data/lib/cli_tools/ic-describe-locations.cmd +14 -0
- data/lib/cli_tools/ic-describe-locations.sh +14 -0
- data/lib/cli_tools/ic-describe-request.cmd +27 -0
- data/lib/cli_tools/ic-describe-request.sh +14 -0
- data/lib/cli_tools/ic-describe-vlans.cmd +27 -0
- data/lib/cli_tools/ic-describe-vlans.sh +14 -0
- data/lib/cli_tools/ic-describe-volume-offerings.cmd +27 -0
- data/lib/cli_tools/ic-describe-volume-offerings.sh +14 -0
- data/lib/cli_tools/ic-describe-volume.cmd +27 -0
- data/lib/cli_tools/ic-describe-volume.sh +14 -0
- data/lib/cli_tools/ic-describe-volumes.cmd +27 -0
- data/lib/cli_tools/ic-describe-volumes.sh +14 -0
- data/lib/cli_tools/ic-detach-volume.cmd +27 -0
- data/lib/cli_tools/ic-detach-volume.sh +27 -0
- data/lib/cli_tools/ic-extend-reservation.cmd +27 -0
- data/lib/cli_tools/ic-extend-reservation.sh +14 -0
- data/lib/cli_tools/ic-generate-keypair.cmd +27 -0
- data/lib/cli_tools/ic-generate-keypair.sh +14 -0
- data/lib/cli_tools/ic-release-address.cmd +27 -0
- data/lib/cli_tools/ic-release-address.sh +14 -0
- data/lib/cli_tools/ic-remove-keypair.cmd +27 -0
- data/lib/cli_tools/ic-remove-keypair.sh +14 -0
- data/lib/cli_tools/ic-restart-instance.cmd +27 -0
- data/lib/cli_tools/ic-restart-instance.sh +14 -0
- data/lib/cli_tools/ic-save-instance.cmd +27 -0
- data/lib/cli_tools/ic-save-instance.sh +14 -0
- data/lib/cli_tools/ic-set-default-key.cmd +27 -0
- data/lib/cli_tools/ic-set-default-key.sh +14 -0
- data/lib/cli_tools/ic-update-instance.cmd +27 -0
- data/lib/cli_tools/ic-update-instance.sh +14 -0
- data/lib/cli_tools/ic-update-keypair.cmd +27 -0
- data/lib/cli_tools/ic-update-keypair.sh +14 -0
- 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 +7 -0
- data/lib/cli_tools/manifest.rmd +26 -0
- data/lib/mock_smartcloud.rb +12 -4
- data/lib/smartcloud.rb +101 -15
- metadata +92 -3
@@ -0,0 +1,27 @@
|
|
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 DescribeAddresses %*
|
@@ -0,0 +1,14 @@
|
|
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 DescribeAddresses $*
|
@@ -0,0 +1,27 @@
|
|
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 DescribeImageAgreement %*
|
@@ -0,0 +1,14 @@
|
|
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 DescribeImageAgreement $*
|
@@ -0,0 +1,27 @@
|
|
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 DescribeImage %*
|
@@ -0,0 +1,14 @@
|
|
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 DescribeImage $*
|
@@ -0,0 +1,27 @@
|
|
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 DescribeImages %*
|
@@ -0,0 +1,14 @@
|
|
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 DescribeImages $*
|
@@ -0,0 +1,27 @@
|
|
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 DescribeInstance %*
|
@@ -0,0 +1,14 @@
|
|
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 DescribeInstance $*
|
@@ -0,0 +1,27 @@
|
|
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 DescribeInstances %*
|
@@ -0,0 +1,14 @@
|
|
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 DescribeInstances $*
|
@@ -0,0 +1,27 @@
|
|
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 DescribeKeyPair %*
|
@@ -0,0 +1,14 @@
|
|
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 DescribeKeyPair $*
|
@@ -0,0 +1,27 @@
|
|
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 DescribeKeyPairs %*
|
@@ -0,0 +1,14 @@
|
|
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 DescribeKeyPairs $*
|
@@ -0,0 +1,14 @@
|
|
1
|
+
@echo off
|
2
|
+
REM ###########################################################################
|
3
|
+
REM #
|
4
|
+
REM # Licensed Materials - Property of IBM
|
5
|
+
REM #
|
6
|
+
REM # (C) COPYRIGHT International Business Machines Corp. 2009
|
7
|
+
REM #
|
8
|
+
REM # All Rights Reserved.
|
9
|
+
REM #
|
10
|
+
REM # US Government Users Restricted Rights - Use, duplication or
|
11
|
+
REM # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
12
|
+
REM #
|
13
|
+
REM #############################################################################
|
14
|
+
ic-cmd.cmd -action DescribeLocation %*
|
@@ -0,0 +1,14 @@
|
|
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 DescribeLocation $*
|
@@ -0,0 +1,14 @@
|
|
1
|
+
@echo off
|
2
|
+
REM ###########################################################################
|
3
|
+
REM #
|
4
|
+
REM # Licensed Materials - Property of IBM
|
5
|
+
REM #
|
6
|
+
REM # (C) COPYRIGHT International Business Machines Corp. 2009
|
7
|
+
REM #
|
8
|
+
REM # All Rights Reserved.
|
9
|
+
REM #
|
10
|
+
REM # US Government Users Restricted Rights - Use, duplication or
|
11
|
+
REM # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
12
|
+
REM #
|
13
|
+
REM #############################################################################
|
14
|
+
ic-cmd.cmd -action DescribeLocations %*
|
@@ -0,0 +1,14 @@
|
|
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 DescribeLocations $*
|
@@ -0,0 +1,27 @@
|
|
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 DescribeRequest %*
|