cft_smartcloud 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +2 -0
- data/CHANGELOG +8 -0
- data/LICENSE +178 -0
- data/README.rdoc +71 -0
- data/Rakefile +53 -0
- data/VERSION +1 -0
- data/bin/smartcloud +37 -0
- data/cft_smartcloud.gemspec +176 -0
- 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/config/config.yml +50 -0
- data/lib/hash_fix.rb +37 -0
- data/lib/mime-types-1.16/History.txt +107 -0
- data/lib/mime-types-1.16/Install.txt +17 -0
- data/lib/mime-types-1.16/Licence.txt +15 -0
- data/lib/mime-types-1.16/Manifest.txt +12 -0
- data/lib/mime-types-1.16/README.txt +28 -0
- data/lib/mime-types-1.16/Rakefile +316 -0
- data/lib/mime-types-1.16/lib/mime/types.rb +751 -0
- data/lib/mime-types-1.16/lib/mime/types.rb.data +1324 -0
- data/lib/mime-types-1.16/mime-types.gemspec +43 -0
- data/lib/mime-types-1.16/setup.rb +1585 -0
- data/lib/mime-types-1.16/test/test_mime_type.rb +356 -0
- data/lib/mime-types-1.16/test/test_mime_types.rb +122 -0
- data/lib/mock_smartcloud.rb +53 -0
- data/lib/rest-client-1.6.3/README.rdoc +276 -0
- data/lib/rest-client-1.6.3/Rakefile +66 -0
- data/lib/rest-client-1.6.3/VERSION +1 -0
- data/lib/rest-client-1.6.3/bin/restclient +92 -0
- data/lib/rest-client-1.6.3/history.md +112 -0
- data/lib/rest-client-1.6.3/lib/rest-client.rb +2 -0
- data/lib/rest-client-1.6.3/lib/rest_client.rb +2 -0
- data/lib/rest-client-1.6.3/lib/restclient/abstract_response.rb +106 -0
- data/lib/rest-client-1.6.3/lib/restclient/exceptions.rb +193 -0
- data/lib/rest-client-1.6.3/lib/restclient/net_http_ext.rb +21 -0
- data/lib/rest-client-1.6.3/lib/restclient/payload.rb +220 -0
- data/lib/rest-client-1.6.3/lib/restclient/raw_response.rb +34 -0
- data/lib/rest-client-1.6.3/lib/restclient/request.rb +314 -0
- data/lib/rest-client-1.6.3/lib/restclient/resource.rb +169 -0
- data/lib/rest-client-1.6.3/lib/restclient/response.rb +24 -0
- data/lib/rest-client-1.6.3/lib/restclient.rb +174 -0
- data/lib/restclient_fix.rb +41 -0
- data/lib/smartcloud.rb +616 -0
- data/lib/smartcloud_logger.rb +20 -0
- data/lib/xml-simple-1.0.12/lib/xmlsimple.rb +1028 -0
- data/script/console +3 -0
- data/test/helper.rb +22 -0
- metadata +196 -0
|
@@ -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 GenerateKeyPair %*
|
|
@@ -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 GenerateKeyPair $*
|
|
@@ -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 ReleaseAddress %*
|
|
@@ -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 ReleaseAddress $*
|
|
@@ -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 RemoveKeyPair %*
|
|
@@ -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 RemoveKeyPair $*
|
|
@@ -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 RestartInstance %*
|
|
@@ -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 RestartInstance $*
|
|
@@ -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 SaveInstance %*
|
|
@@ -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 SaveInstance $*
|
|
@@ -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 SetDefaultKey %*
|
|
@@ -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 SetDefaultKey $*
|
|
@@ -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 UpdateInstance %*
|
|
@@ -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 UpdateInstance $*
|
|
@@ -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 UpdateKeyPair %*
|
|
@@ -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 UpdateKeyPair $*
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
handlers = java.util.logging.FileHandler
|
|
2
|
+
java.util.logging.FileHandler.level = INFO
|
|
3
|
+
java.util.logging.FileHandler.pattern = ./logs/log%u.log
|
|
4
|
+
java.util.logging.FileHandler.limit = 50000
|
|
5
|
+
java.util.logging.FileHandler.count = 1
|
|
6
|
+
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
|
|
7
|
+
java.util.logging.FileHandler.append = true
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<defaultprofile:Asset xmi:version="2.0"
|
|
3
|
+
xmlns:xmi="http://www.omg.org/XMI" xmlns:defaultprofile="http:///defaultprofile22.ecore" name="Command Line Tool Reference and Binaries"
|
|
4
|
+
id="{F1466F46-A4AB-3879-D883-1A26A43BF046}" date="2011-05-13" state="Approved" version="1.4" shortDescription="Cloud API Reference of Command Line Tool">
|
|
5
|
+
<classification>
|
|
6
|
+
<descriptorGroup name="AssetType">
|
|
7
|
+
<nodeDescriptor href="https://www-147.ibm.com/cloud/enterprise/ram/classif/assetTypesSchema.xmi#documentation"/>
|
|
8
|
+
</descriptorGroup>
|
|
9
|
+
<descriptorGroup name="StandardInfo">
|
|
10
|
+
<freeFormValue value="31" freeFormDescriptor="//@classification/@descriptorGroup.1/@freeFormDescriptor.0"/>
|
|
11
|
+
<freeFormDescriptor name="revisionCount"/>
|
|
12
|
+
</descriptorGroup>
|
|
13
|
+
</classification>
|
|
14
|
+
<solution>
|
|
15
|
+
<artifact name="GA_CommandLine.pdf" type="application/pdf">
|
|
16
|
+
<reference value="GA_CommandLine.pdf"/>
|
|
17
|
+
</artifact>
|
|
18
|
+
<artifact name="README.txt" type="text/plain">
|
|
19
|
+
<reference value="README.txt"/>
|
|
20
|
+
</artifact>
|
|
21
|
+
<artifact name="DeveloperCloud_CMD_Tool.zip" type="multipart/x-zip">
|
|
22
|
+
<reference value="DeveloperCloud_CMD_Tool.zip"/>
|
|
23
|
+
</artifact>
|
|
24
|
+
</solution>
|
|
25
|
+
<description value="<p style="margin: 0px;">You can retrieve the command line tool and its documentation by clicking the "Content" tab above. </p>"/>
|
|
26
|
+
</defaultprofile:Asset>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
api_url: https://www-147.ibm.com/computecloud/enterprise/api/rest/20100331/
|
|
2
|
+
states:
|
|
3
|
+
instance:
|
|
4
|
+
0: NEW
|
|
5
|
+
1: PROVISIONING
|
|
6
|
+
2: FAILED
|
|
7
|
+
3: REMOVED
|
|
8
|
+
4: REJECTED
|
|
9
|
+
5: ACTIVE
|
|
10
|
+
6: UNKNOWN
|
|
11
|
+
7: DEPROVISIONING
|
|
12
|
+
8: RESTARTING
|
|
13
|
+
9: STARTING
|
|
14
|
+
10: STOPPING
|
|
15
|
+
11: STOPPED
|
|
16
|
+
12: DEPROVISION_PENDING
|
|
17
|
+
13: RESTART_PENDING
|
|
18
|
+
14: ATTACHING
|
|
19
|
+
15: DETACHING
|
|
20
|
+
image:
|
|
21
|
+
0: NEW
|
|
22
|
+
1: AVAILABLE
|
|
23
|
+
2: UNAVAILABLE
|
|
24
|
+
3: DELETED
|
|
25
|
+
4: CAPTURING
|
|
26
|
+
ip:
|
|
27
|
+
0: NEW
|
|
28
|
+
1: ALLOCATING
|
|
29
|
+
2: FREE
|
|
30
|
+
3: ATTACHED
|
|
31
|
+
4: RELEASING
|
|
32
|
+
5: RELEASED
|
|
33
|
+
6: FAILED
|
|
34
|
+
7: RELEASE_PENDING
|
|
35
|
+
storage:
|
|
36
|
+
0: NEW
|
|
37
|
+
1: CREATING
|
|
38
|
+
2: DELETING
|
|
39
|
+
3: DELETED
|
|
40
|
+
4: UNMOUNTED
|
|
41
|
+
5: MOUNTED
|
|
42
|
+
6: FAILED
|
|
43
|
+
7: DELETE_PENDING
|
|
44
|
+
8: BEING_CLONED
|
|
45
|
+
9: CLONING
|
|
46
|
+
10: ATTACHING
|
|
47
|
+
11: DETACHING
|
|
48
|
+
location:
|
|
49
|
+
-1: OFFLINE
|
|
50
|
+
1: ONLINE
|
data/lib/hash_fix.rb
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
#####################################################################################
|
|
3
|
+
# Copyright (c) 2011, Cohesive Flexible Technologies, Inc.
|
|
4
|
+
# This copyrighted material is the property of Cohesive Flexible Technologies and
|
|
5
|
+
# is subject to the license terms of the product it is contained within, whether
|
|
6
|
+
# in text or compiled form. It is licensed under the terms expressed in the
|
|
7
|
+
# accompanying README and LICENSE files.
|
|
8
|
+
#
|
|
9
|
+
# This program is AS IS and WITHOUT ANY WARRANTY; without even the implied warranty
|
|
10
|
+
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
11
|
+
#####################################################################################
|
|
12
|
+
|
|
13
|
+
#####################################################################################
|
|
14
|
+
# Copyright (c) 2010, Cohesive Flexible Technologies, Inc.
|
|
15
|
+
# This copyrighted material is the property of Cohesive Flexible Technologies and
|
|
16
|
+
# is subject to the license terms of the product it is contained within, whether
|
|
17
|
+
# in text or compiled form. It is licensed under the terms expressed in the
|
|
18
|
+
# accompanying README and LICENSE files.
|
|
19
|
+
#
|
|
20
|
+
# This program is AS IS and WITHOUT ANY WARRANTY; without even the implied warranty
|
|
21
|
+
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
22
|
+
#####################################################################################
|
|
23
|
+
|
|
24
|
+
class Hash
|
|
25
|
+
def method_missing(meth, *args, &block)
|
|
26
|
+
if args.size == 0
|
|
27
|
+
dashed = meth.to_s.gsub(/_/, '-')
|
|
28
|
+
self[meth] || self[dashed] || self[dashed.to_sym] || super(meth, *args, &block) rescue nil
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
module Enumerable
|
|
34
|
+
def dups
|
|
35
|
+
inject({}) {|h,v| h[v]=h[v].to_i+1; h}.reject{|k,v| v==1}.keys
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
== MIME::Types 1.16
|
|
2
|
+
* Made compatible with Ruby 1.8.6, 1.8.7, and 1.9.1.
|
|
3
|
+
* Switched to the 'hoe' gem system and added a lot of build-time tools.
|
|
4
|
+
* Updated the MIME types to the list based on the values in the Perl library
|
|
5
|
+
version 1.27. Also updated based on external source information and bug
|
|
6
|
+
reports.
|
|
7
|
+
* This is the last planned version of MIME::Types 1.x. Work will be
|
|
8
|
+
starting soon on MIME::Types 2.x with richer data querying mechanisms
|
|
9
|
+
and support for external data sources.
|
|
10
|
+
|
|
11
|
+
== MIME::Types 1.15
|
|
12
|
+
* Removed lib/mime/type.rb to form a single MIME::Types database source. It
|
|
13
|
+
is unlikely that one will ever need MIME::Type without MIME::Types.
|
|
14
|
+
* Re-synchronized the MIME type list with the sources, focusing primarily on
|
|
15
|
+
the IANA list.
|
|
16
|
+
* Added more detailed source information for MIME::Type objects.
|
|
17
|
+
* Changed MIME::Types from a module to a class with a default instance. There
|
|
18
|
+
should be no difference in usage.
|
|
19
|
+
* Removed MIME::Types::DATA_VERSION; it is now an attribute on the
|
|
20
|
+
MIME::Types instance.
|
|
21
|
+
* NOTE: Synchronization with the Perl version of MIME::Types is no longer a
|
|
22
|
+
priority as of this release. The data format and information has changed.
|
|
23
|
+
* Removed MIME::Types.by_suffix and MIME::Types.by_mediatype.
|
|
24
|
+
|
|
25
|
+
== MIME::Types 1.13.1
|
|
26
|
+
* Fixed a problem with the installer running tests. This now works.
|
|
27
|
+
* Improved the implementation of MIME::Type.signature?
|
|
28
|
+
* Moved code around to use the class << self idiom instead of always
|
|
29
|
+
prepending the module/class name.
|
|
30
|
+
* Added two new best-guess implementations of functions found in Perl's
|
|
31
|
+
MIME::Types implementation (1.13). Do not rely on these until the purpose
|
|
32
|
+
and implementation is stabilised.
|
|
33
|
+
* Updated the MIME list to reflect changes noted by
|
|
34
|
+
Ville Skyttä <ville.skytta@iki.fi>.
|
|
35
|
+
* Added a new constant to MIME::Types, DATA_VERSION. This will allow the Ruby
|
|
36
|
+
version number to be updated separately from the Perl version while keeping
|
|
37
|
+
the MIME Type list version in sync.
|
|
38
|
+
|
|
39
|
+
== MIME::Types 1.13
|
|
40
|
+
! WARNING: This version changes the API of MIME::Types !
|
|
41
|
+
! WARNING: This version is compatible with Ruby 1.8 and higher ONLY !
|
|
42
|
+
* Removed dependency on InstallPackage; offering 1.13 as either .tar.gz or
|
|
43
|
+
.gem.
|
|
44
|
+
* Split into two files, mime/type.rb and mime/types.rb. This will make
|
|
45
|
+
maintaining the list of changes easier.
|
|
46
|
+
* Changed the MIME::Type construction API. Accepts only a single String
|
|
47
|
+
argument (but does no named type-checking) and yields self.
|
|
48
|
+
* Removed private methods #init_extensions, #init_encoding, and #init_system
|
|
49
|
+
and replaced with #extensions=, #encoding=, and #system=.
|
|
50
|
+
* Added #default_encoding to return 'quoted-printable' or 'base64' depending
|
|
51
|
+
on the media type of the MIME type.
|
|
52
|
+
* Added #raw_media_type and #raw_sub_type to provide the non-simplified
|
|
53
|
+
versions of the media type and subtype.
|
|
54
|
+
* Alternative constructors MIME::Type.from_array, MIME::Type.from_hash, and
|
|
55
|
+
MIME::Type.from_mime_type added to compensate for the removal of named type
|
|
56
|
+
checking in the original constructor.
|
|
57
|
+
* Added #to_str, #to_a, and #to_hash methods. The latter two will provide
|
|
58
|
+
output suitable for use in #from_array and #from_hash.
|
|
59
|
+
* Removed "binary" encoding and enforced the use of a valid encoding string.
|
|
60
|
+
* Added #system? returning true if the MIME::Type is an OS-specific
|
|
61
|
+
MIME::Type.
|
|
62
|
+
* Added #platform? returning true if the MIME::Type is an OS-specific
|
|
63
|
+
MIME::Type for the current RUBY_PLATFORM.
|
|
64
|
+
* Added #like? returning true if the simplified type matches the other value
|
|
65
|
+
provided. #<'application/x-excel'>.like?('application/excel') is true.
|
|
66
|
+
* Added #complete? returning true if the MIME::Type specifies an extension
|
|
67
|
+
list.
|
|
68
|
+
* Updated the MIME type list to reflect additions by Mark Overmeer for Perl's
|
|
69
|
+
MIME::Types 1.12 and the official IANA list as of 2004.04.06. A number of
|
|
70
|
+
formerly "registered" MIME types are now no longer registered (e.g.,
|
|
71
|
+
application/excel is now application/x-excel). This ensures that the
|
|
72
|
+
simplified type still works with applications, but does not report an
|
|
73
|
+
unregistered type as registered.
|
|
74
|
+
* Restored MIME type list to Mark Overmeer's format to facilitate easy
|
|
75
|
+
exchange between the two projects.
|
|
76
|
+
* Added additional unit tests from Mark Overmeer's 1.12 version.
|
|
77
|
+
|
|
78
|
+
== MIME::Types 1.07
|
|
79
|
+
* Changed version numbering to match Perl MIME::Types 1.07.
|
|
80
|
+
* Re-synchronized with Mark Overmeer's list in Perl PMIME::Types 1.07.
|
|
81
|
+
* [NN Poster] updated the attributes for the PGP types.
|
|
82
|
+
|
|
83
|
+
== MIME::Types 1.005
|
|
84
|
+
* Changed to Phil Thomson's InstallPackage.
|
|
85
|
+
* Added several types from Perl MIME::Types 1.005.
|
|
86
|
+
* Cleaned up data format; some data formats will show up with proper data now.
|
|
87
|
+
|
|
88
|
+
== MIME::Types 1.004
|
|
89
|
+
* Updated to match Perl MIME::Types 1.004, links credited to Dan Puro. Adds
|
|
90
|
+
new reference list to http://www.indiana.edu/cgi-bin-local/mimetypes
|
|
91
|
+
* Removed InvalidType and replaced with TypeError.
|
|
92
|
+
* Changed instances of #type to #class.
|
|
93
|
+
* Cleaned up how simplified versions are created.
|
|
94
|
+
|
|
95
|
+
== MIME::Types 1.003
|
|
96
|
+
* Initial release based on Perl MIME::Types 1.003.
|
|
97
|
+
|
|
98
|
+
== Copyright
|
|
99
|
+
MIME::Types
|
|
100
|
+
A Ruby implementation of a MIME Types information library. Based in spirit
|
|
101
|
+
on the Perl MIME::Types information library by Mark Overmeer.
|
|
102
|
+
http://rubyforge.org/projects/mime-types/
|
|
103
|
+
|
|
104
|
+
Licensed under the Ruby disjunctive licence with the GNU GPL or the Perl
|
|
105
|
+
Artistic licence. See Licence.txt for more information.
|
|
106
|
+
|
|
107
|
+
Copyright 2003 - 2009 Austin Ziegler
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Installing this package is as simple as:
|
|
2
|
+
|
|
3
|
+
% ruby setup.rb
|
|
4
|
+
|
|
5
|
+
Alternatively, you can use the Gem version of MIME::Types available as
|
|
6
|
+
mime-types-1.16.gem from the usual sources.
|
|
7
|
+
|
|
8
|
+
== Copyright
|
|
9
|
+
MIME::Types
|
|
10
|
+
A Ruby implementation of a MIME Types information library. Based in spirit
|
|
11
|
+
on the Perl MIME::Types information library by Mark Overmeer.
|
|
12
|
+
http://rubyforge.org/projects/mime-types/
|
|
13
|
+
|
|
14
|
+
Licensed under the Ruby disjunctive licence with the GNU GPL or the Perl
|
|
15
|
+
Artistic licence. See Licence.txt for more information.
|
|
16
|
+
|
|
17
|
+
Copyright 2003 - 2009 Austin Ziegler
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
= MIME::Types for Ruby
|
|
2
|
+
Homepage:: http://rubyforge.org/projects/mime-types/
|
|
3
|
+
Copyright:: Copyright (c) 2003 - 2006 Austin Ziegler.
|
|
4
|
+
Summary:: Ruby's licence, Perl Aristic Licence,
|
|
5
|
+
GNU GPL version 2 (or later)
|
|
6
|
+
|
|
7
|
+
The text of the Ruby licence can be found at:
|
|
8
|
+
http://www.ruby-lang.org/en/LICENSE.txt
|
|
9
|
+
|
|
10
|
+
The text of the Perl Artistic Licence can be found at:
|
|
11
|
+
http://www.perl.com/pub/a/language/misc/Artistic.html
|
|
12
|
+
|
|
13
|
+
The text of the GNU GPL can be found at: http://www.gnu.org/copyleft/gpl.html
|
|
14
|
+
|
|
15
|
+
If you do not accept one of these licences, you may not use this software.
|