katello_api 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +3 -0
  3. data/Gemfile +1 -1
  4. data/README.rdoc +22 -13
  5. data/Rakefile +0 -1
  6. data/doc/KatelloApi/Base.html +102 -116
  7. data/doc/KatelloApi/Generator/Base.html +65 -80
  8. data/doc/KatelloApi/Generator.html +5 -5
  9. data/doc/KatelloApi/Resources/About.html +360 -0
  10. data/doc/KatelloApi/Resources/ActivationKey.html +190 -304
  11. data/doc/KatelloApi/Resources/Architecture.html +89 -129
  12. data/doc/KatelloApi/Resources/Changeset.html +156 -399
  13. data/doc/KatelloApi/Resources/ChangesetsContent.html +97 -2215
  14. data/doc/KatelloApi/Resources/ComputeResource.html +131 -189
  15. data/doc/KatelloApi/Resources/ConfigTemplate.html +143 -208
  16. data/doc/KatelloApi/Resources/ContentUpload.html +1046 -0
  17. data/doc/KatelloApi/Resources/ContentView.html +229 -117
  18. data/doc/KatelloApi/Resources/ContentViewDefinition.html +1190 -323
  19. data/doc/KatelloApi/Resources/Crl.html +21 -28
  20. data/doc/KatelloApi/Resources/CustomInfo.html +1110 -0
  21. data/doc/KatelloApi/Resources/Distribution.html +40 -56
  22. data/doc/KatelloApi/Resources/Distributor.html +406 -469
  23. data/doc/KatelloApi/Resources/Domain.html +107 -155
  24. data/doc/KatelloApi/Resources/Environment.html +211 -539
  25. data/doc/KatelloApi/Resources/Erratum.html +56 -90
  26. data/doc/KatelloApi/Resources/Filter.html +1533 -0
  27. data/doc/KatelloApi/Resources/FilterRule.html +591 -0
  28. data/doc/KatelloApi/Resources/GpgKey.html +230 -196
  29. data/doc/KatelloApi/Resources/HardwareModel.html +101 -147
  30. data/doc/KatelloApi/Resources/Organization.html +647 -158
  31. data/doc/KatelloApi/Resources/OrganizationDefaultInfo.html +803 -0
  32. data/doc/KatelloApi/Resources/Package.html +57 -81
  33. data/doc/KatelloApi/Resources/Permission.html +109 -197
  34. data/doc/KatelloApi/Resources/Ping.html +37 -179
  35. data/doc/KatelloApi/Resources/Product.html +289 -462
  36. data/doc/KatelloApi/Resources/Provider.html +397 -424
  37. data/doc/KatelloApi/Resources/PuppetModule.html +704 -0
  38. data/doc/KatelloApi/Resources/Repository.html +302 -958
  39. data/doc/KatelloApi/Resources/RepositorySet.html +64 -104
  40. data/doc/KatelloApi/Resources/Role.html +131 -250
  41. data/doc/KatelloApi/Resources/RoleLdapGroup.html +74 -95
  42. data/doc/KatelloApi/Resources/SmartProxy.html +97 -143
  43. data/doc/KatelloApi/Resources/Statu.html +21 -28
  44. data/doc/KatelloApi/Resources/Status.html +360 -0
  45. data/doc/KatelloApi/Resources/Subnet.html +89 -129
  46. data/doc/KatelloApi/Resources/Subscription.html +486 -162
  47. data/doc/KatelloApi/Resources/Sync.html +85 -155
  48. data/doc/KatelloApi/Resources/SyncPlan.html +127 -220
  49. data/doc/KatelloApi/Resources/System.html +913 -925
  50. data/doc/KatelloApi/Resources/SystemErratum.html +557 -0
  51. data/doc/KatelloApi/Resources/SystemGroup.html +634 -408
  52. data/doc/KatelloApi/Resources/SystemGroupErratum.html +47 -66
  53. data/doc/KatelloApi/Resources/SystemGroupPackage.html +77 -108
  54. data/doc/KatelloApi/Resources/SystemPackage.html +734 -108
  55. data/doc/KatelloApi/Resources/SystemsBulkAction.html +1706 -0
  56. data/doc/KatelloApi/Resources/Task.html +38 -53
  57. data/doc/KatelloApi/Resources/Template.html +159 -233
  58. data/doc/KatelloApi/Resources/TemplatesContent.html +214 -312
  59. data/doc/KatelloApi/Resources/Uebercert.html +25 -34
  60. data/doc/KatelloApi/Resources/User.html +204 -433
  61. data/doc/KatelloApi/Resources.html +7 -7
  62. data/doc/KatelloApi.html +21 -26
  63. data/doc/_index.html +87 -9
  64. data/doc/class_list.html +3 -2
  65. data/doc/css/style.css +1 -1
  66. data/doc/file.README.html +60 -54
  67. data/doc/file_list.html +2 -1
  68. data/doc/frames.html +5 -7
  69. data/doc/index.html +60 -54
  70. data/doc/js/app.js +7 -2
  71. data/doc/js/full_list.js +7 -2
  72. data/doc/method_list.html +854 -1225
  73. data/doc/top-level-namespace.html +5 -5
  74. data/katello_api.gemspec +7 -5
  75. data/lib/katello_api/base.rb +9 -8
  76. data/lib/katello_api/documentation.json +1 -1
  77. data/lib/katello_api/resources/about.rb +18 -0
  78. data/lib/katello_api/resources/activation_key.rb +11 -13
  79. data/lib/katello_api/resources/changeset.rb +4 -15
  80. data/lib/katello_api/resources/changesets_content.rb +6 -130
  81. data/lib/katello_api/resources/content_upload.rb +61 -0
  82. data/lib/katello_api/resources/content_view.rb +10 -1
  83. data/lib/katello_api/resources/content_view_definition.rb +65 -3
  84. data/lib/katello_api/resources/custom_info.rb +70 -0
  85. data/lib/katello_api/resources/distributor.rb +33 -18
  86. data/lib/katello_api/resources/environment.rb +20 -41
  87. data/lib/katello_api/resources/erratum.rb +3 -4
  88. data/lib/katello_api/resources/filter.rb +93 -0
  89. data/lib/katello_api/resources/filter_rule.rb +36 -0
  90. data/lib/katello_api/resources/gpg_key.rb +18 -14
  91. data/lib/katello_api/resources/organization.rb +43 -8
  92. data/lib/katello_api/resources/organization_default_info.rb +48 -0
  93. data/lib/katello_api/resources/permission.rb +10 -7
  94. data/lib/katello_api/resources/ping.rb +1 -9
  95. data/lib/katello_api/resources/product.rb +26 -30
  96. data/lib/katello_api/resources/provider.rb +21 -20
  97. data/lib/katello_api/resources/puppet_module.rb +39 -0
  98. data/lib/katello_api/resources/repository.rb +28 -62
  99. data/lib/katello_api/resources/repository_set.rb +1 -2
  100. data/lib/katello_api/resources/role.rb +0 -5
  101. data/lib/katello_api/resources/role_ldap_group.rb +3 -1
  102. data/lib/katello_api/resources/status.rb +18 -0
  103. data/lib/katello_api/resources/subscription.rb +33 -7
  104. data/lib/katello_api/resources/sync.rb +9 -12
  105. data/lib/katello_api/resources/sync_plan.rb +2 -5
  106. data/lib/katello_api/resources/system.rb +95 -73
  107. data/lib/katello_api/resources/system_erratum.rb +30 -0
  108. data/lib/katello_api/resources/system_group.rb +40 -27
  109. data/lib/katello_api/resources/system_group_erratum.rb +1 -1
  110. data/lib/katello_api/resources/system_group_package.rb +6 -6
  111. data/lib/katello_api/resources/system_package.rb +46 -5
  112. data/lib/katello_api/resources/systems_bulk_action.rb +140 -0
  113. data/lib/katello_api/resources/user.rb +14 -18
  114. data/lib/katello_api/version.rb +1 -1
  115. metadata +26 -14
@@ -6,65 +6,66 @@ module KatelloApi
6
6
  end
7
7
 
8
8
  # @param [Hash] params a hash of params to be passed to the service
9
- # @option params [String] content_view_id
10
- # @option params [String] environment_id
11
- # @option params [Hash, nil] facts key-value hash of system-specific facts
12
- # @option params [String, nil] installedProducts list of products installed on the system
13
- # @option params [String] location physical of the system
14
- # @option params [String] name name of the system
15
- # @option params [String, nil] serviceLevel a service level for auto-healing process, e.g. self-support
16
- # @option params [String] type type of the system, it should always be ‘system’
17
- #
18
- # @param [Hash] headers additional http headers
19
- # @return [Array] First item: parsed data; second item: raw body
20
- def create(params = {}, headers = {})
21
- perform_call(__method__, params, headers)
22
- end
23
-
24
- # @param [Hash] params a hash of params to be passed to the service
9
+ # @option params [String] environment_id filter by environment
10
+ # @option params [String] organization_id specify the organization
11
+ # @option params [String] pool_id filter systems by subscribed pool
12
+ # @option params [String] system_group_id filter by system group
13
+ # @option params [String] name filter systems by name
14
+ # @option params [String] order sort field and order, eg. ‘name desc’
15
+ # @option params [String] page page number, starting at 1
16
+ # @option params [String] per_page number of results per page to return
17
+ # @option params [String] search search string
18
+ # @option params [Hash] sort hash version of ‘order’ param
19
+ # allowed keys are:
20
+ # * by [String] field to sort the results on
21
+ # * order [String] how to order the sorted results (e.g. asc for ascending)
22
+ # @option params [String] uuid filter systems by uuid
25
23
  #
26
24
  # @param [Hash] headers additional http headers
27
25
  # @return [Array] First item: parsed data; second item: raw body
28
- def hypervisors_update(params = {}, headers = {})
26
+ def index(params = {}, headers = {})
29
27
  perform_call(__method__, params, headers)
30
28
  end
31
29
 
32
30
  # @param [Hash] params a hash of params to be passed to the service
33
- # @option params [String] content_view_id
34
- # @option params [String] environment_id
35
- # @option params [Object] organization_id Part of +/api/organizations/:organization_id/systems+ path
36
- # @option params [String] activation_keys
37
- # @option params [Hash, nil] facts key-value hash of system-specific facts
38
- # @option params [String, nil] installedProducts list of products installed on the system
39
- # @option params [String] location physical of the system
31
+ # @option params [String] content_view_id specify the content view
32
+ # @option params [String] environment_id specify the environment
33
+ # @option params [Array] guest_ids ids of the guests running on this system
34
+ # @option params [String] organization_id specify the organization
35
+ # @option params [String] system_group_id specify the system group
36
+ # @option params [String] description description of the system
37
+ # @option params [Hash] facts key-value hash of system-specific facts
38
+ # allowed keys are:
39
+ # * fact [String, nil] any number of facts about this system
40
+ # @option params [Array, nil] installed_products list of products installed on the system
41
+ # @option params [String] last_checkin last check-in time of this system
42
+ # @option params [String] location physical location of the system
40
43
  # @option params [String] name name of the system
41
- # @option params [String, nil] serviceLevel a service level for auto-healing process, e.g. self-support
44
+ # @option params [String] release_ver release version of the system
45
+ # @option params [String, nil] service_level a service level for auto-healing process, e.g. self-support
42
46
  # @option params [String] type type of the system, it should always be ‘system’
43
47
  #
44
48
  # @param [Hash] headers additional http headers
45
49
  # @return [Array] First item: parsed data; second item: raw body
46
- def activate(params = {}, headers = {})
47
- perform_call(__method__, params, headers)
48
- end
49
-
50
- # @param [Hash] params a hash of params to be passed to the service
51
- # @option params [String] id uuid of the consumer
52
- #
53
- # @param [Hash] headers additional http headers
54
- # @return [Array] First item: parsed data; second item: raw body
55
- def regenerate_identity_certificates(params = {}, headers = {})
50
+ def create(params = {}, headers = {})
56
51
  perform_call(__method__, params, headers)
57
52
  end
58
53
 
59
54
  # @param [Hash] params a hash of params to be passed to the service
60
- # @option params [Object] id Part of +/api/consumers/:id+ path
61
- # @option params [String] content_view_id
62
- # @option params [String] environment_id
63
- # @option params [Hash, nil] facts key-value hash of system-specific facts
64
- # @option params [String, nil] installedProducts list of products installed on the system
65
- # @option params [String] location physical of the system
55
+ # @option params [Object] id Part of +/api/systems/:id+ path
56
+ # @option params [String] content_view_id specify the content view
57
+ # @option params [String] environment_id specify the environment
58
+ # @option params [Array] guest_ids ids of the guests running on this system
59
+ # @option params [String] description description of the system
60
+ # @option params [Hash] facts key-value hash of system-specific facts
61
+ # allowed keys are:
62
+ # * fact [String, nil] any number of facts about this system
63
+ # @option params [Array, nil] installed_products list of products installed on the system
64
+ # @option params [String] last_checkin last check-in time of this system
65
+ # @option params [String] location physical location of the system
66
66
  # @option params [String] name name of the system
67
- # @option params [String, nil] serviceLevel a service level for auto-healing process, e.g. self-support
67
+ # @option params [String] release_ver release version of the system
68
+ # @option params [String, nil] service_level a service level for auto-healing process, e.g. self-support
68
69
  # @option params [String] type type of the system, it should always be ‘system’
69
70
  #
70
71
  # @param [Hash] headers additional http headers
@@ -74,24 +75,29 @@ module KatelloApi
74
75
  end
75
76
 
76
77
  # @param [Hash] params a hash of params to be passed to the service
77
- # @option params [Object] environment_id Part of +/api/environments/:environment_id/consumers+ path
78
- # @option params [Object] organization_id Part of +/api/organizations/:organization_id/systems+ path
79
- # @option params [String] pool_id filter systems by subscribed pool
80
- # @option params [String] name filter systems by name
81
- # @option params [String] search filter systems by advanced search query
78
+ # @option params [String] id uuid of the system
82
79
  #
83
80
  # @param [Hash] headers additional http headers
84
81
  # @return [Array] First item: parsed data; second item: raw body
85
- def index(params = {}, headers = {})
82
+ def show(params = {}, headers = {})
86
83
  perform_call(__method__, params, headers)
87
84
  end
88
85
 
89
86
  # @param [Hash] params a hash of params to be passed to the service
90
- # @option params [String] id uuid of the system
87
+ # @option params [Object] id Part of +/api/systems/:id/available_system_groups+ path
88
+ # @option params [String] name system group name to filter by
89
+ # @option params [String] order sort field and order, eg. ‘name desc’
90
+ # @option params [String] page page number, starting at 1
91
+ # @option params [String] per_page number of results per page to return
92
+ # @option params [String] search search string
93
+ # @option params [Hash] sort hash version of ‘order’ param
94
+ # allowed keys are:
95
+ # * by [String] field to sort the results on
96
+ # * order [String] how to order the sorted results (e.g. asc for ascending)
91
97
  #
92
98
  # @param [Hash] headers additional http headers
93
99
  # @return [Array] First item: parsed data; second item: raw body
94
- def show(params = {}, headers = {})
100
+ def available_system_groups(params = {}, headers = {})
95
101
  perform_call(__method__, params, headers)
96
102
  end
97
103
 
@@ -106,19 +112,21 @@ module KatelloApi
106
112
 
107
113
  # @param [Hash] params a hash of params to be passed to the service
108
114
  # @option params [String] id uuid of the system
115
+ # @option params [Array] system_group_ids list of group ids the system belongs to
109
116
  #
110
117
  # @param [Hash] headers additional http headers
111
118
  # @return [Array] First item: parsed data; second item: raw body
112
- def pools(params = {}, headers = {})
119
+ def add_system_groups(params = {}, headers = {})
113
120
  perform_call(__method__, params, headers)
114
121
  end
115
122
 
116
123
  # @param [Hash] params a hash of params to be passed to the service
117
124
  # @option params [String] id uuid of the system
125
+ # @option params [Array] system_group_ids list of system groups ids to remove from the system
118
126
  #
119
127
  # @param [Hash] headers additional http headers
120
128
  # @return [Array] First item: parsed data; second item: raw body
121
- def releases(params = {}, headers = {})
129
+ def remove_system_groups(params = {}, headers = {})
122
130
  perform_call(__method__, params, headers)
123
131
  end
124
132
 
@@ -136,7 +144,7 @@ module KatelloApi
136
144
  #
137
145
  # @param [Hash] headers additional http headers
138
146
  # @return [Array] First item: parsed data; second item: raw body
139
- def errata(params = {}, headers = {})
147
+ def refresh_subscriptions(params = {}, headers = {})
140
148
  perform_call(__method__, params, headers)
141
149
  end
142
150
 
@@ -145,70 +153,84 @@ module KatelloApi
145
153
  #
146
154
  # @param [Hash] headers additional http headers
147
155
  # @return [Array] First item: parsed data; second item: raw body
148
- def upload_package_profile(params = {}, headers = {})
156
+ def errata(params = {}, headers = {})
149
157
  perform_call(__method__, params, headers)
150
158
  end
151
159
 
152
160
  # @param [Hash] params a hash of params to be passed to the service
153
- # @option params [Object] environment_id Part of +/api/environments/:environment_id/systems/report+ path
154
- # @option params [Object] organization_id Part of +/api/organizations/:organization_id/systems/report+ path
161
+ # @option params [String] id uuid of the system
155
162
  #
156
163
  # @param [Hash] headers additional http headers
157
164
  # @return [Array] First item: parsed data; second item: raw body
158
- def report(params = {}, headers = {})
165
+ def tasks(params = {}, headers = {})
159
166
  perform_call(__method__, params, headers)
160
167
  end
161
168
 
162
169
  # @param [Hash] params a hash of params to be passed to the service
163
- # @option params [Object] organization_id Part of +/api/organizations/:organization_id/systems/tasks+ path
164
- # @option params [String] system_name name of the system
165
- # @option params [String] system_uuid uuid of the system
170
+ # @option params [Object] environment_id Part of +/api/environments/:environment_id/systems/report+ path
171
+ # @option params [Object] organization_id Part of +/api/organizations/:organization_id/systems/report+ path
166
172
  #
167
173
  # @param [Hash] headers additional http headers
168
174
  # @return [Array] First item: parsed data; second item: raw body
169
- def tasks(params = {}, headers = {})
175
+ def report(params = {}, headers = {})
170
176
  perform_call(__method__, params, headers)
171
177
  end
172
178
 
173
179
  # @param [Hash] params a hash of params to be passed to the service
174
- # @option params [String] id uuid of the task
180
+ # @option params [String] id uuid of the system
181
+ # @option params [String] match_installed match pools to installed
182
+ # @option params [String] match_system match pools to system
183
+ # @option params [String] no_overlap allow overlap
175
184
  #
176
185
  # @param [Hash] headers additional http headers
177
186
  # @return [Array] First item: parsed data; second item: raw body
178
- def task_show(params = {}, headers = {})
187
+ def pools(params = {}, headers = {})
179
188
  perform_call(__method__, params, headers)
180
189
  end
181
190
 
182
191
  # @param [Hash] params a hash of params to be passed to the service
183
- # @option params [Object] id Part of +/api/systems/:id/enabled_repos+ path
192
+ # @option params [String] id uuid of the system
184
193
  #
185
194
  # @param [Hash] headers additional http headers
186
195
  # @return [Array] First item: parsed data; second item: raw body
187
- def enabled_repos(params = {}, headers = {})
196
+ def releases(params = {}, headers = {})
188
197
  perform_call(__method__, params, headers)
189
198
  end
190
199
 
191
200
  # @param [Hash] params a hash of params to be passed to the service
192
- # @option params [Object] id Part of +/api/systems/:id/system_groups+ path
193
- # @option params [Hash] system
201
+ # @option params [String] content_view_id specify the content view
202
+ # @option params [String] environment_id specify the environment
203
+ # @option params [Array] guest_ids ids of the guests running on this system
204
+ # @option params [String] organization_id specify the organization
205
+ # @option params [String] system_group_id specify the system group
206
+ # @option params [String] activation_keys comma-separated list of activation-key ids
207
+ # @option params [String] description description of the system
208
+ # @option params [Hash] facts key-value hash of system-specific facts
194
209
  # allowed keys are:
195
- # * system_group_ids [String] list of group ids to add the system to
210
+ # * fact [String, nil] any number of facts about this system
211
+ # @option params [Array, nil] installed_products list of products installed on the system
212
+ # @option params [String] last_checkin last check-in time of this system
213
+ # @option params [String] location physical location of the system
214
+ # @option params [String] name name of the system
215
+ # @option params [String] release_ver release version of the system
216
+ # @option params [String, nil] service_level a service level for auto-healing process, e.g. self-support
217
+ # @option params [String] type type of the system, it should always be ‘system’
196
218
  #
197
219
  # @param [Hash] headers additional http headers
198
220
  # @return [Array] First item: parsed data; second item: raw body
199
- def add_system_groups(params = {}, headers = {})
221
+ def activate(params = {}, headers = {})
200
222
  perform_call(__method__, params, headers)
201
223
  end
202
224
 
203
225
  # @param [Hash] params a hash of params to be passed to the service
204
- # @option params [Object] id Part of +/api/systems/:id/system_groups+ path
205
- # @option params [Hash] system
226
+ # @option params [String] id uuid of the system
227
+ # @option params [Hash] enabled_repos
206
228
  # allowed keys are:
207
- # * system_group_ids [String] list of group ids to add the system to
229
+ # * repos [Array]
208
230
  #
209
231
  # @param [Hash] headers additional http headers
210
232
  # @return [Array] First item: parsed data; second item: raw body
211
- def remove_system_groups(params = {}, headers = {})
233
+ def enabled_repos(params = {}, headers = {})
212
234
  perform_call(__method__, params, headers)
213
235
  end
214
236
 
@@ -0,0 +1,30 @@
1
+ module KatelloApi
2
+ module Resources
3
+ class SystemErratum < KatelloApi::Base
4
+ def self.doc
5
+ @doc ||= KatelloApi.doc['resources']["system_errata"]
6
+ end
7
+
8
+ # @param [Hash] params a hash of params to be passed to the service
9
+ # @option params [Array] errata_ids list of errata ids to install
10
+ # @option params [Object] system_id Part of +/api/systems/:system_id/errata+ path
11
+ #
12
+ # @param [Hash] headers additional http headers
13
+ # @return [Array] First item: parsed data; second item: raw body
14
+ def apply(params = {}, headers = {})
15
+ perform_call(__method__, params, headers)
16
+ end
17
+
18
+ # @param [Hash] params a hash of params to be passed to the service
19
+ # @option params [String] id errata id of the erratum (rhsa-2012:108)
20
+ # @option params [Object] system_id Part of +/api/systems/:system_id/errata/:id+ path
21
+ #
22
+ # @param [Hash] headers additional http headers
23
+ # @return [Array] First item: parsed data; second item: raw body
24
+ def show(params = {}, headers = {})
25
+ perform_call(__method__, params, headers)
26
+ end
27
+
28
+ end
29
+ end
30
+ end
@@ -5,9 +5,26 @@ module KatelloApi
5
5
  @doc ||= KatelloApi.doc['resources']["system_groups"]
6
6
  end
7
7
 
8
+ # @param [Hash] params a hash of params to be passed to the service
9
+ # @option params [String] id id of the system group
10
+ #
11
+ # @param [Hash] headers additional http headers
12
+ # @return [Array] First item: parsed data; second item: raw body
13
+ def show(params = {}, headers = {})
14
+ perform_call(__method__, params, headers)
15
+ end
16
+
8
17
  # @param [Hash] params a hash of params to be passed to the service
9
18
  # @option params [String] organization_id organization identifier
10
19
  # @option params [String] name system group name to filter by
20
+ # @option params [String] order sort field and order, eg. ‘name desc’
21
+ # @option params [String] page page number, starting at 1
22
+ # @option params [String] per_page number of results per page to return
23
+ # @option params [String] search search string
24
+ # @option params [Hash] sort hash version of ‘order’ param
25
+ # allowed keys are:
26
+ # * by [String] field to sort the results on
27
+ # * order [String] how to order the sorted results (e.g. asc for ascending)
11
28
  #
12
29
  # @param [Hash] headers additional http headers
13
30
  # @return [Array] First item: parsed data; second item: raw body
@@ -16,23 +33,24 @@ module KatelloApi
16
33
  end
17
34
 
18
35
  # @param [Hash] params a hash of params to be passed to the service
19
- # @option params [String] id id of the system group
20
36
  # @option params [String] organization_id organization identifier
37
+ # @option params [Array] system_ids list of system uuids to be in the group
38
+ # @option params [String] description
39
+ # @option params [Numeric] max_systems maximum number of systems in the group
40
+ # @option params [String] name system group name
21
41
  #
22
42
  # @param [Hash] headers additional http headers
23
43
  # @return [Array] First item: parsed data; second item: raw body
24
- def show(params = {}, headers = {})
44
+ def create(params = {}, headers = {})
25
45
  perform_call(__method__, params, headers)
26
46
  end
27
47
 
28
48
  # @param [Hash] params a hash of params to be passed to the service
29
49
  # @option params [String] id id of the system group
30
- # @option params [String] organization_id organization identifier
31
- # @option params [Hash] system_group
32
- # allowed keys are:
33
- # * description [String, nil]
34
- # * max_systems [Numeric, nil] maximum number of systems in the group
35
- # * name [String] system group name
50
+ # @option params [Array] system_ids list of system uuids to be in the group
51
+ # @option params [String] description
52
+ # @option params [Numeric] max_systems maximum number of systems in the group
53
+ # @option params [String] name system group name
36
54
  #
37
55
  # @param [Hash] headers additional http headers
38
56
  # @return [Array] First item: parsed data; second item: raw body
@@ -42,7 +60,6 @@ module KatelloApi
42
60
 
43
61
  # @param [Hash] params a hash of params to be passed to the service
44
62
  # @option params [String] id id of the system group
45
- # @option params [String] organization_id organization identifier
46
63
  #
47
64
  # @param [Hash] headers additional http headers
48
65
  # @return [Array] First item: parsed data; second item: raw body
@@ -52,10 +69,7 @@ module KatelloApi
52
69
 
53
70
  # @param [Hash] params a hash of params to be passed to the service
54
71
  # @option params [String] id id of the system group
55
- # @option params [String] organization_id organization identifier
56
- # @option params [Hash] system_group
57
- # allowed keys are:
58
- # * system_ids [String] array of system ids
72
+ # @option params [Array] system_ids array of system ids
59
73
  #
60
74
  # @param [Hash] headers additional http headers
61
75
  # @return [Array] First item: parsed data; second item: raw body
@@ -65,10 +79,7 @@ module KatelloApi
65
79
 
66
80
  # @param [Hash] params a hash of params to be passed to the service
67
81
  # @option params [String] id id of the system group
68
- # @option params [String] organization_id organization identifier
69
- # @option params [Hash] system_group
70
- # allowed keys are:
71
- # * system_ids [String] array of system ids
82
+ # @option params [Array] system_ids array of system ids
72
83
  #
73
84
  # @param [Hash] headers additional http headers
74
85
  # @return [Array] First item: parsed data; second item: raw body
@@ -78,7 +89,6 @@ module KatelloApi
78
89
 
79
90
  # @param [Hash] params a hash of params to be passed to the service
80
91
  # @option params [String] id id of the system group
81
- # @option params [String] organization_id organization identifier
82
92
  #
83
93
  # @param [Hash] headers additional http headers
84
94
  # @return [Array] First item: parsed data; second item: raw body
@@ -89,7 +99,6 @@ module KatelloApi
89
99
  # @param [Hash] params a hash of params to be passed to the service
90
100
  # @option params [String] id id of the system group
91
101
  # @option params [String] job_id id of a job for filtering
92
- # @option params [String] organization_id organization identifier
93
102
  #
94
103
  # @param [Hash] headers additional http headers
95
104
  # @return [Array] First item: parsed data; second item: raw body
@@ -98,22 +107,17 @@ module KatelloApi
98
107
  end
99
108
 
100
109
  # @param [Hash] params a hash of params to be passed to the service
101
- # @option params [String] organization_id organization identifier
102
- # @option params [Hash] system_group
103
- # allowed keys are:
104
- # * description [String, nil]
105
- # * max_systems [Numeric, nil] maximum number of systems in the group
106
- # * name [String] system group name
110
+ # @option params [String] id id of the system group
111
+ # @option params [String] name new system group name
107
112
  #
108
113
  # @param [Hash] headers additional http headers
109
114
  # @return [Array] First item: parsed data; second item: raw body
110
- def create(params = {}, headers = {})
115
+ def copy(params = {}, headers = {})
111
116
  perform_call(__method__, params, headers)
112
117
  end
113
118
 
114
119
  # @param [Hash] params a hash of params to be passed to the service
115
120
  # @option params [String] id id of the system group
116
- # @option params [String] organization_id organization identifier
117
121
  #
118
122
  # @param [Hash] headers additional http headers
119
123
  # @return [Array] First item: parsed data; second item: raw body
@@ -121,6 +125,15 @@ module KatelloApi
121
125
  perform_call(__method__, params, headers)
122
126
  end
123
127
 
128
+ # @param [Hash] params a hash of params to be passed to the service
129
+ # @option params [String] id id of the system group
130
+ #
131
+ # @param [Hash] headers additional http headers
132
+ # @return [Array] First item: parsed data; second item: raw body
133
+ def destroy_systems(params = {}, headers = {})
134
+ perform_call(__method__, params, headers)
135
+ end
136
+
124
137
  end
125
138
  end
126
139
  end
@@ -17,7 +17,7 @@ module KatelloApi
17
17
  end
18
18
 
19
19
  # @param [Hash] params a hash of params to be passed to the service
20
- # @option params [String] errata_ids list of errata ids to install
20
+ # @option params [Array] errata_ids list of errata ids to install
21
21
  # @option params [String] organization_id oranization identifier
22
22
  # @option params [String] system_group_id system_group identifier
23
23
  #
@@ -8,8 +8,8 @@ module KatelloApi
8
8
  # @param [Hash] params a hash of params to be passed to the service
9
9
  # @option params [String] organization_id oranization identifier
10
10
  # @option params [String] system_group_id system_group identifier
11
- # @option params [String] groups list of package group names
12
- # @option params [String] packages list of package names
11
+ # @option params [Array] groups list of package group names
12
+ # @option params [Array] packages list of package names
13
13
  #
14
14
  # @param [Hash] headers additional http headers
15
15
  # @return [Array] First item: parsed data; second item: raw body
@@ -20,8 +20,8 @@ module KatelloApi
20
20
  # @param [Hash] params a hash of params to be passed to the service
21
21
  # @option params [String] organization_id oranization identifier
22
22
  # @option params [String] system_group_id system_group identifier
23
- # @option params [String] groups list of package group names
24
- # @option params [String] packages list of package names
23
+ # @option params [Array] groups list of package group names
24
+ # @option params [Array] packages list of package names
25
25
  #
26
26
  # @param [Hash] headers additional http headers
27
27
  # @return [Array] First item: parsed data; second item: raw body
@@ -32,8 +32,8 @@ module KatelloApi
32
32
  # @param [Hash] params a hash of params to be passed to the service
33
33
  # @option params [String] organization_id oranization identifier
34
34
  # @option params [String] system_group_id system_group identifier
35
- # @option params [String] groups list of package group names
36
- # @option params [String] packages list of package names
35
+ # @option params [Array] groups list of package group names
36
+ # @option params [Array] packages list of package names
37
37
  #
38
38
  # @param [Hash] headers additional http headers
39
39
  # @return [Array] First item: parsed data; second item: raw body
@@ -7,8 +7,49 @@ module KatelloApi
7
7
 
8
8
  # @param [Hash] params a hash of params to be passed to the service
9
9
  # @option params [String] system_id system identifier
10
- # @option params [String] groups list of package group names
11
- # @option params [String] packages list of package names
10
+ # @option params [Array] groups list of package group names
11
+ # @option params [Array] packages list of package names
12
+ #
13
+ # @param [Hash] headers additional http headers
14
+ # @return [Array] First item: parsed data; second item: raw body
15
+ def install(params = {}, headers = {})
16
+ perform_call(__method__, params, headers)
17
+ end
18
+
19
+ # @param [Hash] params a hash of params to be passed to the service
20
+ # @option params [String] system_id system identifier
21
+ # @option params [Array] packages list of packages names
22
+ #
23
+ # @param [Hash] headers additional http headers
24
+ # @return [Array] First item: parsed data; second item: raw body
25
+ def upgrade(params = {}, headers = {})
26
+ perform_call(__method__, params, headers)
27
+ end
28
+
29
+ # @param [Hash] params a hash of params to be passed to the service
30
+ # @option params [String] system_id system identifier
31
+ #
32
+ # @param [Hash] headers additional http headers
33
+ # @return [Array] First item: parsed data; second item: raw body
34
+ def upgrade_all(params = {}, headers = {})
35
+ perform_call(__method__, params, headers)
36
+ end
37
+
38
+ # @param [Hash] params a hash of params to be passed to the service
39
+ # @option params [String] system_id system identifier
40
+ # @option params [Array] groups list of package group names
41
+ # @option params [Array] packages list of package names
42
+ #
43
+ # @param [Hash] headers additional http headers
44
+ # @return [Array] First item: parsed data; second item: raw body
45
+ def remove(params = {}, headers = {})
46
+ perform_call(__method__, params, headers)
47
+ end
48
+
49
+ # @param [Hash] params a hash of params to be passed to the service
50
+ # @option params [String] system_id system identifier
51
+ # @option params [Array] groups list of package group names
52
+ # @option params [Array] packages list of package names
12
53
  #
13
54
  # @param [Hash] headers additional http headers
14
55
  # @return [Array] First item: parsed data; second item: raw body
@@ -18,7 +59,7 @@ module KatelloApi
18
59
 
19
60
  # @param [Hash] params a hash of params to be passed to the service
20
61
  # @option params [String] system_id system identifier
21
- # @option params [String] packages list of packages names
62
+ # @option params [Array] packages list of packages names
22
63
  #
23
64
  # @param [Hash] headers additional http headers
24
65
  # @return [Array] First item: parsed data; second item: raw body
@@ -28,8 +69,8 @@ module KatelloApi
28
69
 
29
70
  # @param [Hash] params a hash of params to be passed to the service
30
71
  # @option params [String] system_id system identifier
31
- # @option params [String] groups list of package group names
32
- # @option params [String] packages list of package names
72
+ # @option params [Array] groups list of package group names
73
+ # @option params [Array] packages list of package names
33
74
  #
34
75
  # @param [Hash] headers additional http headers
35
76
  # @return [Array] First item: parsed data; second item: raw body