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
data/CHANGELOG
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.9
|
data/bin/cft_smartcloud
CHANGED
@@ -12,14 +12,24 @@ if ARGV.size == 1
|
|
12
12
|
@cmd=ARGV[0]
|
13
13
|
elsif ARGV.size == 2
|
14
14
|
@cmd="#{ARGV[0]}('#{ARGV[1]}')"
|
15
|
-
|
15
|
+
elsif ARGV.size == 0
|
16
16
|
puts %{
|
17
17
|
Usage:
|
18
18
|
smartcloud help
|
19
19
|
smartcloud help [command]
|
20
20
|
smartcloud [command]
|
21
|
+
smartcloud [command] [argument]
|
22
|
+
|
23
|
+
Examples:
|
24
|
+
smartcloud "delete_instance(12345)"
|
25
|
+
smartcloud delete_instance 12345
|
26
|
+
smartcloud delete_instances 12345 12346 12347
|
27
|
+
smartcloud "delete_instances(12345,12346,12347)"
|
28
|
+
smartcloud display_instances
|
21
29
|
}
|
22
30
|
exit(0)
|
31
|
+
else
|
32
|
+
@cmd="#{ARGV[0]}(#{ARGV[1..-1].map {|item| "'#{item}'"}.join(',')})"
|
23
33
|
end
|
24
34
|
|
25
35
|
# allows us to send arbitrary commands like
|
data/bin/smartcloud
CHANGED
@@ -12,14 +12,24 @@ if ARGV.size == 1
|
|
12
12
|
@cmd=ARGV[0]
|
13
13
|
elsif ARGV.size == 2
|
14
14
|
@cmd="#{ARGV[0]}('#{ARGV[1]}')"
|
15
|
-
|
15
|
+
elsif ARGV.size == 0
|
16
16
|
puts %{
|
17
17
|
Usage:
|
18
18
|
smartcloud help
|
19
19
|
smartcloud help [command]
|
20
20
|
smartcloud [command]
|
21
|
+
smartcloud [command] [argument]
|
22
|
+
|
23
|
+
Examples:
|
24
|
+
smartcloud "delete_instance(12345)"
|
25
|
+
smartcloud delete_instance 12345
|
26
|
+
smartcloud delete_instances 12345 12346 12347
|
27
|
+
smartcloud "delete_instances(12345,12346,12347)"
|
28
|
+
smartcloud display_instances
|
21
29
|
}
|
22
30
|
exit(0)
|
31
|
+
else
|
32
|
+
@cmd="#{ARGV[0]}(#{ARGV[1..-1].map {|item| "'#{item}'"}.join(',')})"
|
23
33
|
end
|
24
34
|
|
25
35
|
# allows us to send arbitrary commands like
|
data/cft_smartcloud.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{cft_smartcloud}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.9"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["yan", "cohesive"]
|
12
|
-
s.date = %q{2011-08-
|
12
|
+
s.date = %q{2011-08-15}
|
13
13
|
s.description = %q{CohesiveFT Ruby Interface for IBM SmartCloud and 'smartcloud' command line helper.}
|
14
14
|
s.email = %q{yan.pritzker@cohesiveft.com}
|
15
15
|
s.executables = ["cft_smartcloud", "smartcloud"]
|
@@ -27,6 +27,95 @@ Gem::Specification.new do |s|
|
|
27
27
|
"bin/cft_smartcloud",
|
28
28
|
"bin/smartcloud",
|
29
29
|
"cft_smartcloud.gemspec",
|
30
|
+
"lib/cli_tools/README.txt",
|
31
|
+
"lib/cli_tools/ic-add-keypair.cmd",
|
32
|
+
"lib/cli_tools/ic-add-keypair.sh",
|
33
|
+
"lib/cli_tools/ic-allocate-address.cmd",
|
34
|
+
"lib/cli_tools/ic-allocate-address.sh",
|
35
|
+
"lib/cli_tools/ic-attach-volume.cmd",
|
36
|
+
"lib/cli_tools/ic-attach-volume.sh",
|
37
|
+
"lib/cli_tools/ic-clone-image.cmd",
|
38
|
+
"lib/cli_tools/ic-clone-image.sh",
|
39
|
+
"lib/cli_tools/ic-clone-volume.cmd",
|
40
|
+
"lib/cli_tools/ic-clone-volume.sh",
|
41
|
+
"lib/cli_tools/ic-cmd.cmd",
|
42
|
+
"lib/cli_tools/ic-cmd.sh",
|
43
|
+
"lib/cli_tools/ic-create-instance.cmd",
|
44
|
+
"lib/cli_tools/ic-create-instance.sh",
|
45
|
+
"lib/cli_tools/ic-create-password.cmd",
|
46
|
+
"lib/cli_tools/ic-create-password.sh",
|
47
|
+
"lib/cli_tools/ic-create-volume.cmd",
|
48
|
+
"lib/cli_tools/ic-create-volume.sh",
|
49
|
+
"lib/cli_tools/ic-delete-image.cmd",
|
50
|
+
"lib/cli_tools/ic-delete-image.sh",
|
51
|
+
"lib/cli_tools/ic-delete-instance.cmd",
|
52
|
+
"lib/cli_tools/ic-delete-instance.sh",
|
53
|
+
"lib/cli_tools/ic-delete-volume.cmd",
|
54
|
+
"lib/cli_tools/ic-delete-volume.sh",
|
55
|
+
"lib/cli_tools/ic-describe-address-offerings.cmd",
|
56
|
+
"lib/cli_tools/ic-describe-address-offerings.sh",
|
57
|
+
"lib/cli_tools/ic-describe-addresses.cmd",
|
58
|
+
"lib/cli_tools/ic-describe-addresses.sh",
|
59
|
+
"lib/cli_tools/ic-describe-image-agreement.cmd",
|
60
|
+
"lib/cli_tools/ic-describe-image-agreement.sh",
|
61
|
+
"lib/cli_tools/ic-describe-image.cmd",
|
62
|
+
"lib/cli_tools/ic-describe-image.sh",
|
63
|
+
"lib/cli_tools/ic-describe-images.cmd",
|
64
|
+
"lib/cli_tools/ic-describe-images.sh",
|
65
|
+
"lib/cli_tools/ic-describe-instance.cmd",
|
66
|
+
"lib/cli_tools/ic-describe-instance.sh",
|
67
|
+
"lib/cli_tools/ic-describe-instances.cmd",
|
68
|
+
"lib/cli_tools/ic-describe-instances.sh",
|
69
|
+
"lib/cli_tools/ic-describe-keypair.cmd",
|
70
|
+
"lib/cli_tools/ic-describe-keypair.sh",
|
71
|
+
"lib/cli_tools/ic-describe-keypairs.cmd",
|
72
|
+
"lib/cli_tools/ic-describe-keypairs.sh",
|
73
|
+
"lib/cli_tools/ic-describe-location.cmd",
|
74
|
+
"lib/cli_tools/ic-describe-location.sh",
|
75
|
+
"lib/cli_tools/ic-describe-locations.cmd",
|
76
|
+
"lib/cli_tools/ic-describe-locations.sh",
|
77
|
+
"lib/cli_tools/ic-describe-request.cmd",
|
78
|
+
"lib/cli_tools/ic-describe-request.sh",
|
79
|
+
"lib/cli_tools/ic-describe-vlans.cmd",
|
80
|
+
"lib/cli_tools/ic-describe-vlans.sh",
|
81
|
+
"lib/cli_tools/ic-describe-volume-offerings.cmd",
|
82
|
+
"lib/cli_tools/ic-describe-volume-offerings.sh",
|
83
|
+
"lib/cli_tools/ic-describe-volume.cmd",
|
84
|
+
"lib/cli_tools/ic-describe-volume.sh",
|
85
|
+
"lib/cli_tools/ic-describe-volumes.cmd",
|
86
|
+
"lib/cli_tools/ic-describe-volumes.sh",
|
87
|
+
"lib/cli_tools/ic-detach-volume.cmd",
|
88
|
+
"lib/cli_tools/ic-detach-volume.sh",
|
89
|
+
"lib/cli_tools/ic-extend-reservation.cmd",
|
90
|
+
"lib/cli_tools/ic-extend-reservation.sh",
|
91
|
+
"lib/cli_tools/ic-generate-keypair.cmd",
|
92
|
+
"lib/cli_tools/ic-generate-keypair.sh",
|
93
|
+
"lib/cli_tools/ic-release-address.cmd",
|
94
|
+
"lib/cli_tools/ic-release-address.sh",
|
95
|
+
"lib/cli_tools/ic-remove-keypair.cmd",
|
96
|
+
"lib/cli_tools/ic-remove-keypair.sh",
|
97
|
+
"lib/cli_tools/ic-restart-instance.cmd",
|
98
|
+
"lib/cli_tools/ic-restart-instance.sh",
|
99
|
+
"lib/cli_tools/ic-save-instance.cmd",
|
100
|
+
"lib/cli_tools/ic-save-instance.sh",
|
101
|
+
"lib/cli_tools/ic-set-default-key.cmd",
|
102
|
+
"lib/cli_tools/ic-set-default-key.sh",
|
103
|
+
"lib/cli_tools/ic-update-instance.cmd",
|
104
|
+
"lib/cli_tools/ic-update-instance.sh",
|
105
|
+
"lib/cli_tools/ic-update-keypair.cmd",
|
106
|
+
"lib/cli_tools/ic-update-keypair.sh",
|
107
|
+
"lib/cli_tools/lib/DeveloperCloud_API_Client_JAR.jar",
|
108
|
+
"lib/cli_tools/lib/DeveloperCloud_CMD_Tool.jar",
|
109
|
+
"lib/cli_tools/lib/commons-beanutils-1.6.1.jar",
|
110
|
+
"lib/cli_tools/lib/commons-cli-1.2.jar",
|
111
|
+
"lib/cli_tools/lib/commons-codec-1.3.jar",
|
112
|
+
"lib/cli_tools/lib/commons-collections-3.2.1.jar",
|
113
|
+
"lib/cli_tools/lib/commons-digester-1.8.jar",
|
114
|
+
"lib/cli_tools/lib/commons-httpclient-3.1.jar",
|
115
|
+
"lib/cli_tools/lib/commons-lang-2.3.jar",
|
116
|
+
"lib/cli_tools/lib/commons-logging-1.1.1.jar",
|
117
|
+
"lib/cli_tools/logging.properties",
|
118
|
+
"lib/cli_tools/manifest.rmd",
|
30
119
|
"lib/config/config.yml",
|
31
120
|
"lib/hash_fix.rb",
|
32
121
|
"lib/mime-types-1.16/History.txt",
|
@@ -0,0 +1,50 @@
|
|
1
|
+
Command Line Tool
|
2
|
+
---- IBM Smart Business Development & Test on the IBM Cloud
|
3
|
+
Version 1.4.1.CC20110505-2046 March 2011
|
4
|
+
---------------
|
5
|
+
Changes:
|
6
|
+
1. Add an option in command ic-describe-images, -y --ignoreAdditionalInfo to ignore the additional information. With this
|
7
|
+
option, it won't download the parameters.xml from RAM.
|
8
|
+
|
9
|
+
Version 1.4.0.CC20110112-2159 January 2011
|
10
|
+
---------------
|
11
|
+
Changes:
|
12
|
+
1.Add command ic-update-instance
|
13
|
+
2.Add command ic-attach-volume & ic-detach-volume
|
14
|
+
|
15
|
+
Version 1.3.0.CC20101207-1012 November 2010
|
16
|
+
---------------
|
17
|
+
Changes:
|
18
|
+
1. Add DataCenterDownException in several commands.
|
19
|
+
|
20
|
+
Version 1.2.0.20101019-0015 October 2010
|
21
|
+
---------------
|
22
|
+
Changes:
|
23
|
+
1. Add command ic-clone-volume
|
24
|
+
2. Add parameter -e/--isMiniEphemeral for ic-create-instance to support provision an instance with minimal ephemeral storage
|
25
|
+
3. Support multiple addresses attached in one instance
|
26
|
+
|
27
|
+
Version 1.1.3.20101012-0333 October 2010
|
28
|
+
---------------
|
29
|
+
Changes:
|
30
|
+
1. Increase the value of the so_timeout
|
31
|
+
|
32
|
+
Version 1.1.2.20100906-0202 September 2010
|
33
|
+
---------------
|
34
|
+
Changes:
|
35
|
+
1. Update DeveloperCloud_API_Client_JAR.jar.
|
36
|
+
Correct the business logic in createInstance.
|
37
|
+
|
38
|
+
Version 1.1.1.20100829-2101 August 2010
|
39
|
+
---------------
|
40
|
+
Changes:
|
41
|
+
1. Update DeveloperCloud_API_Client_JAR-javadoc.jar.
|
42
|
+
|
43
|
+
Version 1.1.0.20100623-1406 June 2010
|
44
|
+
---------------
|
45
|
+
Changes:
|
46
|
+
1. Add command and parameters to support Vlan
|
47
|
+
1) ic-describe-vlans
|
48
|
+
2) ic-allocate-address
|
49
|
+
3) ic-create-instance
|
50
|
+
2. Add commands ic-describe-image-agreement.
|
@@ -0,0 +1,29 @@
|
|
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 AddKeyPair %*
|
@@ -0,0 +1,15 @@
|
|
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 $*
|
@@ -0,0 +1,29 @@
|
|
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 %*
|
@@ -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 AllocateAddress $*
|
@@ -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 AttachVolume %*
|
@@ -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 AttachVolume $*
|
@@ -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 CloneImage %*
|
@@ -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 CloneImage $*
|
@@ -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 CloneVolume %*
|