knife-softlayer 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +19 -19
  3. data/.travis.yml +20 -20
  4. data/CHANGELOG.md +19 -19
  5. data/CONTRIBUTING.md +31 -31
  6. data/CONTRIBUTORS.md +2 -2
  7. data/Gemfile +4 -4
  8. data/LICENSE.txt +72 -72
  9. data/README.md +83 -83
  10. data/Rakefile +37 -37
  11. data/docs/cla-corporate.md +133 -133
  12. data/docs/cla-individual.md +84 -84
  13. data/examples/datacenter.md +94 -94
  14. data/examples/flavor.md +58 -58
  15. data/examples/global_ip.md +22 -22
  16. data/examples/image.md +34 -34
  17. data/examples/key_pair.md +56 -56
  18. data/examples/server.md +82 -82
  19. data/examples/vlan.md +85 -85
  20. data/knife-softlayer.gemspec +39 -39
  21. data/lib/chef/knife/flavor/base.rb +52 -52
  22. data/lib/chef/knife/softlayer.rb +14 -14
  23. data/lib/chef/knife/softlayer_base.rb +112 -112
  24. data/lib/chef/knife/softlayer_datacenter_list.rb +28 -28
  25. data/lib/chef/knife/softlayer_datacenter_show.rb +45 -45
  26. data/lib/chef/knife/softlayer_delete.rb +6 -6
  27. data/lib/chef/knife/softlayer_flavor_list.rb +53 -53
  28. data/lib/chef/knife/softlayer_global_ip_list.rb +34 -34
  29. data/lib/chef/knife/softlayer_image_list.rb +26 -26
  30. data/lib/chef/knife/softlayer_key_pair_create.rb +37 -37
  31. data/lib/chef/knife/softlayer_key_pair_list.rb +28 -28
  32. data/lib/chef/knife/softlayer_list.rb +6 -6
  33. data/lib/chef/knife/softlayer_server_create.rb +462 -458
  34. data/lib/chef/knife/softlayer_server_destroy.rb +146 -146
  35. data/lib/chef/knife/softlayer_server_list.rb +27 -27
  36. data/lib/chef/knife/softlayer_server_relaunch.rb +208 -208
  37. data/lib/chef/knife/softlayer_vlan_create.rb +37 -37
  38. data/lib/chef/knife/softlayer_vlan_list.rb +28 -28
  39. data/lib/chef/knife/softlayer_vlan_show.rb +40 -40
  40. data/lib/knife-softlayer/version.rb +12 -12
  41. data/spec/spec_helper.rb +21 -21
  42. data/spec/unit/softlayer_base_spec.rb +26 -26
  43. data/spec/unit/softlayer_server_create_spec.rb +105 -105
  44. data/spec/unit/softlayer_server_destroy_spec.rb +47 -47
  45. metadata +27 -27
data/Rakefile CHANGED
@@ -1,37 +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
-
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
+
@@ -1,133 +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
-
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
+
@@ -1,84 +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
-
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
+