knife-softlayer 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/CHANGELOG.md +11 -0
- data/CONTRIBUTING.md +31 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +72 -0
- data/README.md +64 -0
- data/Rakefile +37 -0
- data/docs/cla-corporate.md +133 -0
- data/docs/cla-individual.md +84 -0
- data/knife-softlayer.gemspec +39 -0
- data/knife-softlayer.html +464 -0
- data/lib/chef/knife/flavor/base.rb +177 -0
- data/lib/chef/knife/softlayer.rb +14 -0
- data/lib/chef/knife/softlayer_base.rb +167 -0
- data/lib/chef/knife/softlayer_delete.rb +6 -0
- data/lib/chef/knife/softlayer_flavor_list.rb +44 -0
- data/lib/chef/knife/softlayer_list.rb +6 -0
- data/lib/chef/knife/softlayer_server_create.rb +343 -0
- data/lib/chef/knife/softlayer_server_destroy.rb +124 -0
- data/lib/knife-softlayer/version.rb +12 -0
- data/spec/spec_helper.rb +21 -0
- data/spec/unit/softlayer_server_create_spec.rb +136 -0
- data/spec/unit/softlayer_server_destroy_spec.rb +71 -0
- metadata +232 -0
data/.gitignore
ADDED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
# knife-softlayer change log
|
2
|
+
|
3
|
+
## Unreleased changes
|
4
|
+
|
5
|
+
None.
|
6
|
+
|
7
|
+
## Last release: 0.0.2 (2014-04-8)
|
8
|
+
|
9
|
+
* Alpha release.
|
10
|
+
* Can create and bootstrap a SoftLayer VM, destroy the VM, chef client and chef node.
|
11
|
+
* Support for global IP address creation and assignment.
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# Contributing to knife-softlayer
|
2
|
+
|
3
|
+
We are happy to accept contributions to knife-softlayer. Please follow the guidelines below.
|
4
|
+
|
5
|
+
* Sign our contributor agreement (CLA) You can find the [CLA here](./docs/cla-individual.md).
|
6
|
+
|
7
|
+
* If you're contributing on behalf of your employer we'll need a signed copy of our corporate contributor agreement (CCLA) as well. You can find the [CCLA here](./docs/cla-corporate.md).
|
8
|
+
|
9
|
+
* Fork the repo, make your changes, and open a pull request.
|
10
|
+
|
11
|
+
## Issue Tracking
|
12
|
+
|
13
|
+
You can file tickets to describe the bug you'd like to fix or feature you'd
|
14
|
+
like to add on the [knife-softlayer project](https://github.com/softlayer/knife-softlayer/issues) on github.
|
15
|
+
|
16
|
+
## Testing Instructions
|
17
|
+
|
18
|
+
To run tests, run the following Ruby tool commands from the root of your local copy of
|
19
|
+
knife-softlayer:
|
20
|
+
|
21
|
+
bundle install
|
22
|
+
bundle exec rspec spec
|
23
|
+
|
24
|
+
**All tests must pass** before your contribution can be merged. Thus it's a good idea
|
25
|
+
to execute the tests without your change to be sure you understand how to run
|
26
|
+
them, as well as after to validate that you've avoided regressions.
|
27
|
+
|
28
|
+
All but the most trivial changes should include **at least one unit test case** to exercise the
|
29
|
+
new / changed code; please add tests to your pull request in this common case.
|
30
|
+
|
31
|
+
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
© Copyright IBM Corporation 2014.
|
2
|
+
|
3
|
+
LICENSE:
|
4
|
+
|
5
|
+
Apache License, Version 2.0
|
6
|
+
Apache License
|
7
|
+
Version 2.0, January 2004
|
8
|
+
http://www.apache.org/licenses/
|
9
|
+
|
10
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
11
|
+
|
12
|
+
1. Definitions.
|
13
|
+
|
14
|
+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
15
|
+
|
16
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
17
|
+
|
18
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
19
|
+
|
20
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
21
|
+
|
22
|
+
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
23
|
+
|
24
|
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
25
|
+
|
26
|
+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
27
|
+
|
28
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
29
|
+
|
30
|
+
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
31
|
+
|
32
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
33
|
+
|
34
|
+
2. Grant of Copyright License.
|
35
|
+
|
36
|
+
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
37
|
+
|
38
|
+
3. Grant of Patent License.
|
39
|
+
|
40
|
+
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
41
|
+
|
42
|
+
4. Redistribution.
|
43
|
+
|
44
|
+
You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
45
|
+
|
46
|
+
You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
47
|
+
You must cause any modified files to carry prominent notices stating that You changed the files; and
|
48
|
+
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
49
|
+
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
50
|
+
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
51
|
+
|
52
|
+
5. Submission of Contributions.
|
53
|
+
|
54
|
+
Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
55
|
+
|
56
|
+
6. Trademarks.
|
57
|
+
|
58
|
+
This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
59
|
+
|
60
|
+
7. Disclaimer of Warranty.
|
61
|
+
|
62
|
+
Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
63
|
+
|
64
|
+
8. Limitation of Liability.
|
65
|
+
|
66
|
+
In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
67
|
+
|
68
|
+
9. Accepting Warranty or Additional Liability.
|
69
|
+
|
70
|
+
While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
71
|
+
|
72
|
+
END OF TERMS AND CONDITIONS
|
data/README.md
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
# Knife::Softlayer
|
2
|
+
|
3
|
+
A knife plugin for launching and bootstrapping instances in the IBM SoftLayer cloud.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'knife-softlayer'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install knife-softlayer
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
See `knife softlayer --help` for more information.
|
22
|
+
|
23
|
+
EXAMPLES:
|
24
|
+
|
25
|
+
|
26
|
+
```bash
|
27
|
+
# look at some options
|
28
|
+
user@local> knife softlayer flavor list [--all]
|
29
|
+
```
|
30
|
+
|
31
|
+
```bash
|
32
|
+
# the minimum number of pieces of flare
|
33
|
+
user@local> knife softlayer server create --hostname test --domain example.com --flavor tiny
|
34
|
+
```
|
35
|
+
|
36
|
+
```bash
|
37
|
+
# being sort of specific about things
|
38
|
+
user@local> knife softlayer server create -H test -D example.com \
|
39
|
+
--block-storage 0:25,2:100,5:1000 \ # device:GB, device:GB, ...
|
40
|
+
--network-interface-speed 1000 \
|
41
|
+
--cores 8 \
|
42
|
+
--ram 49152 \
|
43
|
+
--os-code REDHAT_6_64 \
|
44
|
+
--datacenter ams01 \
|
45
|
+
--node-name random-node-name \
|
46
|
+
--assign-global-ip <existingGlobalIpv4Address> \
|
47
|
+
--run-list 'recipe[apt],recipe[git],recipe[rbenv],recipe[memcached],recipe[redis]'
|
48
|
+
```
|
49
|
+
|
50
|
+
#### Legal stuff
|
51
|
+
Use of this software requires runtime dependencies. Those dependencies and their respective software licenses are listed below.
|
52
|
+
|
53
|
+
* [net-ssh](https://github.com/net-ssh/net-ssh/) - LICENSE: [MIT](https://github.com/net-ssh/net-ssh/blob/master/LICENSE.txt)
|
54
|
+
* [softlayer_api](https://github.com/softlayer/softlayer-api-ruby-client) - LICENSE: [MIT](https://github.com/softlayer/softlayer-api-ruby-client/blob/master/LICENSE.textile)
|
55
|
+
* [knife-windows](https://github.com/opscode/knife-windows) - LICENSE: [Apache v2](https://github.com/opscode/knife-windows/blob/master/LICENSE)
|
56
|
+
|
57
|
+
|
58
|
+
--
|
59
|
+
> Author:: Matt Eldridge (<matt.eldridge@us.ibm.com>)
|
60
|
+
>
|
61
|
+
> © Copyright IBM Corporation 2014.
|
62
|
+
>
|
63
|
+
> LICENSE: Apache 2.0 (http://www.apache.org/licenses/)
|
64
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
|
3
|
+
require 'bundler'
|
4
|
+
Bundler::GemHelper.install_tasks
|
5
|
+
|
6
|
+
require 'rdoc/task'
|
7
|
+
|
8
|
+
begin
|
9
|
+
require 'sdoc'
|
10
|
+
require 'rdoc/task'
|
11
|
+
|
12
|
+
RDoc::Task.new do |rdoc|
|
13
|
+
rdoc.title = "Chef Ruby API Documentation"
|
14
|
+
rdoc.main = "README.rdoc"
|
15
|
+
rdoc.options << '--fmt' << 'shtml' # explictly set shtml generator
|
16
|
+
rdoc.template = 'direct' # lighter template
|
17
|
+
rdoc.rdoc_files.include("README.rdoc", "LICENSE", "spec/tiny_server.rb", "lib/**/*.rb")
|
18
|
+
rdoc.rdoc_dir = "rdoc"
|
19
|
+
end
|
20
|
+
rescue LoadError
|
21
|
+
puts "sdoc is not available. (sudo) gem install sdoc to generate rdoc documentation."
|
22
|
+
end
|
23
|
+
|
24
|
+
begin
|
25
|
+
require 'rspec/core/rake_task'
|
26
|
+
|
27
|
+
task :default => :spec
|
28
|
+
|
29
|
+
desc "Run all specs in spec directory"
|
30
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
31
|
+
t.pattern = 'spec/unit/**/*_spec.rb'
|
32
|
+
end
|
33
|
+
|
34
|
+
rescue LoadError
|
35
|
+
STDERR.puts "\n*** RSpec not available. (sudo) gem install rspec to run unit tests. ***\n\n"
|
36
|
+
end
|
37
|
+
|
@@ -0,0 +1,133 @@
|
|
1
|
+
|
2
|
+
#### International Business machines, Inc.
|
3
|
+
#####Software Grant and Corporate Contributor License Agreement ("Agreement")
|
4
|
+
|
5
|
+
http://www.github.org/softlayer/knife-softlayer/
|
6
|
+
|
7
|
+
|
8
|
+
Thank you for your interest in IBM’s knife-softlayer project (“the
|
9
|
+
Project"). In order to clarify the intellectual property license granted with Contributions from any person or entity, IBM must have a Contributor License Agreement (CLA) on file that has been signed by each Contributor, indicating agreement to the license terms
|
10
|
+
below. This license is for your protection as a Contributor as well
|
11
|
+
as the protection of IBM and its users; it does not change your rights to use your own Contributions for any other purpose.
|
12
|
+
|
13
|
+
This version of the Agreement allows an entity (the "Corporation") to submit Contributions to the Project, to authorize Contributions
|
14
|
+
submitted by its designated employees to the Project, and to grant
|
15
|
+
copyright and patent licenses thereto
|
16
|
+
|
17
|
+
If you have not already done so, please complete and sign, then scan and email a pdf file of this Agreement to pjackson@softlayer.com.
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
Please read this document carefully before signing and keep a copy for your records.
|
22
|
+
|
23
|
+
Corporation name: ________________________________________________
|
24
|
+
|
25
|
+
Corporation address: ________________________________________________
|
26
|
+
|
27
|
+
Point of Contact: ________________________________________________
|
28
|
+
|
29
|
+
E-Mail: ________________________________________________
|
30
|
+
|
31
|
+
Telephone: _____________________
|
32
|
+
|
33
|
+
|
34
|
+
You accept and agree to the following terms and conditions for Your
|
35
|
+
present and future Contributions submitted to the Project. Except
|
36
|
+
for the license granted herein to IBM and recipients of software distributed by IBM, You reserve all right, title, and interest in and to Your Contributions.
|
37
|
+
|
38
|
+
1. Definitions.
|
39
|
+
|
40
|
+
"You" (or "Your") shall mean the copyright owner or legal entity
|
41
|
+
authorized by the copyright owner that is making this Agreement
|
42
|
+
with IBM. For legal entities, the entity making a Contribution and
|
43
|
+
all other entities that control, are controlled by, or are under
|
44
|
+
common control with that entity are considered to be a single
|
45
|
+
Contributor. For the purposes of this definition, "control" means
|
46
|
+
(i) the power, direct or indirect, to cause the direction or
|
47
|
+
management of such entity, whether by contract or otherwise, or
|
48
|
+
(ii) ownership of fifty percent (50%) or more of the outstanding
|
49
|
+
shares, or (iii) beneficial ownership of such entity.
|
50
|
+
|
51
|
+
"Contribution" shall mean the code, documentation or other original
|
52
|
+
works of authorship expressly identified in Schedule B, as well as
|
53
|
+
any original work of authorship, including any modifications or
|
54
|
+
additions to an existing work, that is intentionally submitted by You to IBM for inclusion in, or documentation of, the Project managed by IBM (the "Work"). For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to IBM or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, IBM for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by You as "Not a Contribution."
|
55
|
+
|
56
|
+
2. Grant of Copyright License. Subject to the terms and conditions
|
57
|
+
of this Agreement, You hereby grant to IBM and to
|
58
|
+
recipients of software distributed by IBM a perpetual,
|
59
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
60
|
+
copyright license to reproduce, prepare derivative works of,
|
61
|
+
publicly display, publicly perform, sublicense, and distribute
|
62
|
+
Your Contributions and such derivative works.
|
63
|
+
|
64
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
65
|
+
this Agreement, You hereby grant to IBM and to recipients
|
66
|
+
of software distributed by IBM a perpetual, worldwide,
|
67
|
+
non-exclusive, no-charge, royalty-free, irrevocable (except as
|
68
|
+
stated in this section) patent license to make, have made, use,
|
69
|
+
offer to sell, sell, import, and otherwise transfer the Work,
|
70
|
+
where such license applies only to those patent claims licensable
|
71
|
+
by You that are necessarily infringed by Your Contribution(s)
|
72
|
+
alone or by combination of Your Contribution(s) with the Work to
|
73
|
+
which such Contribution(s) were submitted. If any entity institutes
|
74
|
+
patent litigation against You or any other entity (including a
|
75
|
+
cross-claim or counterclaim in a lawsuit) alleging that your
|
76
|
+
Contribution, or the Work to which you have contributed, constitutes
|
77
|
+
direct or contributory patent infringement, then any patent licenses
|
78
|
+
granted to that entity under this Agreement for that Contribution or
|
79
|
+
Work shall terminate as of the date such litigation is filed.
|
80
|
+
|
81
|
+
4. You represent that You are legally entitled to grant the above
|
82
|
+
license. You represent further that each employee of the
|
83
|
+
Corporation designated on Schedule A below (or in a subsequent
|
84
|
+
written modification to that Schedule) is authorized to submit
|
85
|
+
Contributions on behalf of the Corporation.
|
86
|
+
|
87
|
+
5. You represent that each of Your Contributions is Your original
|
88
|
+
creation (see section 7 for submissions on behalf of others).
|
89
|
+
|
90
|
+
6. You are not expected to provide support for Your Contributions,
|
91
|
+
except to the extent You desire to provide support. You may provide
|
92
|
+
support for free, for a fee, or not at all. Unless required by
|
93
|
+
applicable law or agreed to in writing, You provide Your
|
94
|
+
Contributions on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
|
95
|
+
OF ANY KIND, either express or implied, including, without
|
96
|
+
limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
|
97
|
+
MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE.
|
98
|
+
|
99
|
+
7. Should You wish to submit work that is not Your original creation,
|
100
|
+
You may submit it to IBM separately from any
|
101
|
+
Contribution, identifying the complete details of its source and
|
102
|
+
of any license or other restriction (including, but not limited
|
103
|
+
to, related patents, trademarks, and license agreements) of which
|
104
|
+
you are personally aware, and conspicuously marking the work as
|
105
|
+
"Submitted on behalf of a third-party: [named here]".
|
106
|
+
|
107
|
+
8. It is your responsibility to notify IBM when any change
|
108
|
+
is required to the list of designated employees authorized to submit
|
109
|
+
Contributions on behalf of the Corporation, or to the Corporation's
|
110
|
+
Point of Contact with IBM.
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
Please sign: __________________________________ Date: _______________
|
115
|
+
|
116
|
+
Title: __________________________________
|
117
|
+
|
118
|
+
Corporation: __________________________________
|
119
|
+
|
120
|
+
|
121
|
+
Schedule A
|
122
|
+
|
123
|
+
[Initial list of designated employees. NB: authorization is not
|
124
|
+
tied to particular Contributions.]
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
Schedule B
|
130
|
+
|
131
|
+
[Identification of optional concurrent software grant. Would be
|
132
|
+
left blank or omitted if there is no concurrent software grant.]
|
133
|
+
|
@@ -0,0 +1,84 @@
|
|
1
|
+
#### International Business Machines, Inc. (IBM)
|
2
|
+
#####Individual Contributor License Agreement ("Agreement")
|
3
|
+
|
4
|
+
http://www.github.com/softlayer/knife-softlayer
|
5
|
+
|
6
|
+
Thank you for your interest in the knife-softlayer project ("the Project").
|
7
|
+
|
8
|
+
In order to clarify the intellectual property license granted with Contributions from any person or entity, IBM must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of IBM and its customers; it does not change your rights to use your own Contributions for any other purpose.
|
9
|
+
|
10
|
+
If you have not already done so, please complete and sign, then scan and email a pdf file of this Agreement to pjackson@softlayer.com
|
11
|
+
|
12
|
+
Please read this document carefully before signing and keep a copy for your records.
|
13
|
+
|
14
|
+
Full name: ______________________________________________________
|
15
|
+
|
16
|
+
(optional) Public name: _________________________________________
|
17
|
+
|
18
|
+
Mailing Address: ________________________________________________
|
19
|
+
|
20
|
+
Country: ______________________________________________________
|
21
|
+
|
22
|
+
Telephone: ______________________________________________________
|
23
|
+
|
24
|
+
E-Mail: ______________________________________________________
|
25
|
+
|
26
|
+
|
27
|
+
You accept and agree to the following terms and conditions for Your present and future Contributions submitted to the Project. Except for the license granted herein to IBM and recipients of software distributed by IBM, You reserve all right, title, and interest in and to Your Contributions.
|
28
|
+
|
29
|
+
1. Definitions.
|
30
|
+
|
31
|
+
"You" (or "Your") shall mean the copyright owner or legal entity
|
32
|
+
authorized by the copyright owner that is making this Agreement
|
33
|
+
with IBM. For legal entities, the entity making a Contribution and all other entities that control, are controlled by, or are under common control with that entity are considered to be a single Contributor. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
34
|
+
|
35
|
+
"Contribution" shall mean any original work of authorship,
|
36
|
+
including any modifications or additions to an existing work, that
|
37
|
+
is intentionally submitted by You to the Project for inclusion
|
38
|
+
in, or documentation of, the Project (”the Work”). For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Project or its representatives,including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by You as "Not a Contribution."
|
39
|
+
|
40
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
41
|
+
this Agreement, You hereby grant to IBM and to recipients of software distributed by IBM a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Your Contributions and such derivative works.
|
42
|
+
|
43
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
44
|
+
this Agreement, You hereby grant to IBM and to recipients of software distributed by IBM a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work to which Your Contribution(s) were submitted, where such license applies only to those patent claims licensable by You that are necessarily infringed by Your Contribution(s) alone or by combination of Your Contribution(s) with the Work to which such Contribution(s) was submitted. If any entity institutes patent litigation against You or any other entity (including a cross-claim or counterclaim in a lawsuit) alleging that your Contribution, or the Work to which you have contributed, constitutes direct or contributory patent infringement, then any patent licenses granted to that entity under this Agreement for that Contribution or Work shall terminate as of the date such litigation is filed.
|
45
|
+
|
46
|
+
4. You represent that you are legally entitled to grant the above
|
47
|
+
license. If your employer(s) has rights to intellectual property
|
48
|
+
that you create that includes your Contributions, you represent
|
49
|
+
that you have received permission to make Contributions on behalf
|
50
|
+
of that employer, that your employer has waived such rights for
|
51
|
+
your Contributions to the Project, or that your employer has
|
52
|
+
executed a separate Corporate CLA with IBM.
|
53
|
+
|
54
|
+
5. You represent that each of Your Contributions is Your original
|
55
|
+
creation (see section 7 for submissions on behalf of others). You
|
56
|
+
represent that Your Contribution submissions include complete
|
57
|
+
details of any third-party license or other restriction (including,
|
58
|
+
but not limited to, related patents and trademarks) of which you
|
59
|
+
are personally aware and which are associated with any part of Your
|
60
|
+
Contributions.
|
61
|
+
|
62
|
+
6. You are not expected to provide support for Your Contributions,
|
63
|
+
except to the extent You desire to provide support. You may provide
|
64
|
+
support for free, for a fee, or not at all. Unless required by
|
65
|
+
applicable law or agreed to in writing, You provide Your
|
66
|
+
Contributions on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
|
67
|
+
OF ANY KIND, either express or implied, including, without
|
68
|
+
limitation, any warranties or conditions of TITLE, NON-
|
69
|
+
INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE.
|
70
|
+
|
71
|
+
7. Should You wish to submit work that is not Your original creation,
|
72
|
+
You may submit it to the Project separately from any
|
73
|
+
Contribution, identifying the complete details of its source and of
|
74
|
+
any license or other restriction (including, but not limited to,
|
75
|
+
related patents, trademarks, and license agreements) of which you
|
76
|
+
are personally aware, and conspicuously marking the work as
|
77
|
+
"Submitted on behalf of a third-party: [named here]".
|
78
|
+
|
79
|
+
8. You agree to notify IBM of any facts or circumstances of
|
80
|
+
which you become aware that would make these representations
|
81
|
+
inaccurate in any respect.
|
82
|
+
|
83
|
+
Please sign: __________________________________ Date: ________________
|
84
|
+
|