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.
Files changed (97) hide show
  1. data/CHANGELOG +0 -1
  2. data/VERSION +1 -1
  3. data/bin/cft_smartcloud +11 -1
  4. data/bin/smartcloud +11 -1
  5. data/cft_smartcloud.gemspec +91 -2
  6. data/lib/cli_tools/README.txt +50 -0
  7. data/lib/cli_tools/ic-add-keypair.cmd +29 -0
  8. data/lib/cli_tools/ic-add-keypair.sh +15 -0
  9. data/lib/cli_tools/ic-allocate-address.cmd +29 -0
  10. data/lib/cli_tools/ic-allocate-address.sh +14 -0
  11. data/lib/cli_tools/ic-attach-volume.cmd +27 -0
  12. data/lib/cli_tools/ic-attach-volume.sh +27 -0
  13. data/lib/cli_tools/ic-clone-image.cmd +27 -0
  14. data/lib/cli_tools/ic-clone-image.sh +14 -0
  15. data/lib/cli_tools/ic-clone-volume.cmd +27 -0
  16. data/lib/cli_tools/ic-clone-volume.sh +60 -0
  17. data/lib/cli_tools/ic-cmd.cmd +41 -0
  18. data/lib/cli_tools/ic-cmd.sh +38 -0
  19. data/lib/cli_tools/ic-create-instance.cmd +27 -0
  20. data/lib/cli_tools/ic-create-instance.sh +14 -0
  21. data/lib/cli_tools/ic-create-password.cmd +27 -0
  22. data/lib/cli_tools/ic-create-password.sh +14 -0
  23. data/lib/cli_tools/ic-create-volume.cmd +27 -0
  24. data/lib/cli_tools/ic-create-volume.sh +14 -0
  25. data/lib/cli_tools/ic-delete-image.cmd +27 -0
  26. data/lib/cli_tools/ic-delete-image.sh +14 -0
  27. data/lib/cli_tools/ic-delete-instance.cmd +27 -0
  28. data/lib/cli_tools/ic-delete-instance.sh +14 -0
  29. data/lib/cli_tools/ic-delete-volume.cmd +27 -0
  30. data/lib/cli_tools/ic-delete-volume.sh +14 -0
  31. data/lib/cli_tools/ic-describe-address-offerings.cmd +27 -0
  32. data/lib/cli_tools/ic-describe-address-offerings.sh +14 -0
  33. data/lib/cli_tools/ic-describe-addresses.cmd +27 -0
  34. data/lib/cli_tools/ic-describe-addresses.sh +14 -0
  35. data/lib/cli_tools/ic-describe-image-agreement.cmd +27 -0
  36. data/lib/cli_tools/ic-describe-image-agreement.sh +14 -0
  37. data/lib/cli_tools/ic-describe-image.cmd +27 -0
  38. data/lib/cli_tools/ic-describe-image.sh +14 -0
  39. data/lib/cli_tools/ic-describe-images.cmd +27 -0
  40. data/lib/cli_tools/ic-describe-images.sh +14 -0
  41. data/lib/cli_tools/ic-describe-instance.cmd +27 -0
  42. data/lib/cli_tools/ic-describe-instance.sh +14 -0
  43. data/lib/cli_tools/ic-describe-instances.cmd +27 -0
  44. data/lib/cli_tools/ic-describe-instances.sh +14 -0
  45. data/lib/cli_tools/ic-describe-keypair.cmd +27 -0
  46. data/lib/cli_tools/ic-describe-keypair.sh +14 -0
  47. data/lib/cli_tools/ic-describe-keypairs.cmd +27 -0
  48. data/lib/cli_tools/ic-describe-keypairs.sh +14 -0
  49. data/lib/cli_tools/ic-describe-location.cmd +14 -0
  50. data/lib/cli_tools/ic-describe-location.sh +14 -0
  51. data/lib/cli_tools/ic-describe-locations.cmd +14 -0
  52. data/lib/cli_tools/ic-describe-locations.sh +14 -0
  53. data/lib/cli_tools/ic-describe-request.cmd +27 -0
  54. data/lib/cli_tools/ic-describe-request.sh +14 -0
  55. data/lib/cli_tools/ic-describe-vlans.cmd +27 -0
  56. data/lib/cli_tools/ic-describe-vlans.sh +14 -0
  57. data/lib/cli_tools/ic-describe-volume-offerings.cmd +27 -0
  58. data/lib/cli_tools/ic-describe-volume-offerings.sh +14 -0
  59. data/lib/cli_tools/ic-describe-volume.cmd +27 -0
  60. data/lib/cli_tools/ic-describe-volume.sh +14 -0
  61. data/lib/cli_tools/ic-describe-volumes.cmd +27 -0
  62. data/lib/cli_tools/ic-describe-volumes.sh +14 -0
  63. data/lib/cli_tools/ic-detach-volume.cmd +27 -0
  64. data/lib/cli_tools/ic-detach-volume.sh +27 -0
  65. data/lib/cli_tools/ic-extend-reservation.cmd +27 -0
  66. data/lib/cli_tools/ic-extend-reservation.sh +14 -0
  67. data/lib/cli_tools/ic-generate-keypair.cmd +27 -0
  68. data/lib/cli_tools/ic-generate-keypair.sh +14 -0
  69. data/lib/cli_tools/ic-release-address.cmd +27 -0
  70. data/lib/cli_tools/ic-release-address.sh +14 -0
  71. data/lib/cli_tools/ic-remove-keypair.cmd +27 -0
  72. data/lib/cli_tools/ic-remove-keypair.sh +14 -0
  73. data/lib/cli_tools/ic-restart-instance.cmd +27 -0
  74. data/lib/cli_tools/ic-restart-instance.sh +14 -0
  75. data/lib/cli_tools/ic-save-instance.cmd +27 -0
  76. data/lib/cli_tools/ic-save-instance.sh +14 -0
  77. data/lib/cli_tools/ic-set-default-key.cmd +27 -0
  78. data/lib/cli_tools/ic-set-default-key.sh +14 -0
  79. data/lib/cli_tools/ic-update-instance.cmd +27 -0
  80. data/lib/cli_tools/ic-update-instance.sh +14 -0
  81. data/lib/cli_tools/ic-update-keypair.cmd +27 -0
  82. data/lib/cli_tools/ic-update-keypair.sh +14 -0
  83. data/lib/cli_tools/lib/DeveloperCloud_API_Client_JAR.jar +0 -0
  84. data/lib/cli_tools/lib/DeveloperCloud_CMD_Tool.jar +0 -0
  85. data/lib/cli_tools/lib/commons-beanutils-1.6.1.jar +0 -0
  86. data/lib/cli_tools/lib/commons-cli-1.2.jar +0 -0
  87. data/lib/cli_tools/lib/commons-codec-1.3.jar +0 -0
  88. data/lib/cli_tools/lib/commons-collections-3.2.1.jar +0 -0
  89. data/lib/cli_tools/lib/commons-digester-1.8.jar +0 -0
  90. data/lib/cli_tools/lib/commons-httpclient-3.1.jar +0 -0
  91. data/lib/cli_tools/lib/commons-lang-2.3.jar +0 -0
  92. data/lib/cli_tools/lib/commons-logging-1.1.1.jar +0 -0
  93. data/lib/cli_tools/logging.properties +7 -0
  94. data/lib/cli_tools/manifest.rmd +26 -0
  95. data/lib/mock_smartcloud.rb +12 -4
  96. data/lib/smartcloud.rb +101 -15
  97. metadata +92 -3
@@ -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 DescribeRequest $*
@@ -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 DescribeVLANs %*
@@ -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 DescribeVLANs $*
@@ -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 DescribeVolumeOfferings %*
@@ -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 DescribeVolumeOfferings $*
@@ -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 DescribeVolume %*
@@ -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 DescribeVolume $*
@@ -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 DescribeVolumes %*
@@ -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 DescribeVolumes $*
@@ -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 DetachVolume %*
@@ -0,0 +1,27 @@
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 DetachVolume $*
@@ -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 ExtendReservation %*
@@ -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 ExtendReservation $*
@@ -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 %*