foreman_fog_proxmox 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/foreman_fog_proxmox/proxmox_vm.js +54 -33
- data/app/assets/javascripts/foreman_fog_proxmox/proxmox_vm_server.js +25 -5
- data/app/assets/stylesheets/foreman_fog_proxmox/accordion.css +21 -0
- data/app/helpers/proxmox_compute_resources_helper.rb +1 -1
- data/app/helpers/proxmox_form_helper.rb +2 -2
- data/app/helpers/proxmox_vm_attrs_helper.rb +131 -0
- data/app/helpers/proxmox_vm_cloudinit_helper.rb +1 -1
- data/app/helpers/proxmox_vm_interfaces_helper.rb +3 -3
- data/app/helpers/proxmox_vm_volumes_helper.rb +3 -3
- data/app/models/concerns/fog_extensions/proxmox/node.rb +1 -1
- data/app/models/foreman_fog_proxmox/proxmox.rb +1 -1
- data/app/models/foreman_fog_proxmox/proxmox_compute_attributes.rb +3 -3
- data/app/models/foreman_fog_proxmox/proxmox_console.rb +1 -1
- data/app/models/foreman_fog_proxmox/proxmox_images.rb +5 -0
- data/app/models/foreman_fog_proxmox/proxmox_version.rb +1 -1
- data/app/models/foreman_fog_proxmox/proxmox_vm_commands.rb +5 -2
- data/app/models/foreman_fog_proxmox/proxmox_vm_new.rb +1 -1
- data/app/overrides/compute_resources_vms/form/add_from_profile_to_compute_attributes_form.rb +8 -0
- data/app/overrides/compute_resources_vms/form/add_react_component_to_host.rb +25 -0
- data/app/overrides/compute_resources_vms/form/update_react_component_to_host_form.rb +25 -0
- data/app/views/compute_resources_vms/form/proxmox/_add_react_component_to_host_form.html.erb +5 -0
- data/app/views/compute_resources_vms/form/proxmox/_base.html.erb +21 -21
- data/app/views/compute_resources_vms/form/proxmox/_update_react_component_to_host_form.html.erb +26 -0
- data/app/views/compute_resources_vms/form/proxmox/container/_config.html.erb +17 -13
- data/app/views/compute_resources_vms/form/proxmox/server/_config.html.erb +20 -20
- data/app/views/compute_resources_vms/form/proxmox/server/_volume_hard_disk.html.erb +4 -1
- data/config/routes.rb +3 -3
- data/lib/foreman_fog_proxmox/version.rb +1 -1
- data/package.json +42 -0
- data/test/factories/proxmox_factory.rb +7 -7
- data/test/unit/foreman_fog_proxmox/proxmox_compute_attributes_test.rb +1 -1
- data/test/unit/foreman_fog_proxmox/proxmox_interfaces_test.rb +6 -6
- data/webpack/components/GeneralTabContent.js +107 -0
- data/webpack/components/ProxmoxComputeSelectors.js +141 -0
- data/webpack/components/ProxmoxContainer/MountPoint.js +91 -0
- data/webpack/components/ProxmoxContainer/ProxmoxContainerHardware.js +85 -0
- data/webpack/components/ProxmoxContainer/ProxmoxContainerNetwork.js +179 -0
- data/webpack/components/ProxmoxContainer/ProxmoxContainerOptions.js +104 -0
- data/webpack/components/ProxmoxContainer/ProxmoxContainerStorage.js +194 -0
- data/webpack/components/ProxmoxContainer/components/NetworkInterface.js +193 -0
- data/webpack/components/ProxmoxServer/ProxmoxServerHardware.js +204 -0
- data/webpack/components/ProxmoxServer/ProxmoxServerNetwork.js +161 -0
- data/webpack/components/ProxmoxServer/ProxmoxServerOptions.js +105 -0
- data/webpack/components/ProxmoxServer/ProxmoxServerStorage.js +272 -0
- data/webpack/components/ProxmoxServer/components/CDRom.js +149 -0
- data/webpack/components/ProxmoxServer/components/CPUFlagsModal.js +88 -0
- data/webpack/components/ProxmoxServer/components/HardDisk.js +143 -0
- data/webpack/components/ProxmoxServer/components/NetworkInterface.js +150 -0
- data/webpack/components/ProxmoxStoragesUtils.js +50 -0
- data/webpack/components/ProxmoxVmType.js +256 -0
- data/webpack/components/ProxmoxVmUtils.js +62 -0
- data/webpack/components/common/FormInputs.js +143 -0
- data/webpack/global_index.js +15 -0
- data/webpack/index.js +7 -0
- metadata +50 -21
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_fog_proxmox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tristan Robert
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-07-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: deface
|
@@ -114,6 +114,7 @@ files:
|
|
114
114
|
- app/assets/javascripts/foreman_fog_proxmox/proxmox_volume.js
|
115
115
|
- app/assets/javascripts/foreman_fog_proxmox/proxmox_volume_cdrom.js
|
116
116
|
- app/assets/javascripts/foreman_fog_proxmox/proxmox_volume_cloudinit.js
|
117
|
+
- app/assets/stylesheets/foreman_fog_proxmox/accordion.css
|
117
118
|
- app/controllers/concerns/foreman_fog_proxmox/compute_resources_vms_controller.rb
|
118
119
|
- app/controllers/concerns/foreman_fog_proxmox/controller/parameters/compute_resource.rb
|
119
120
|
- app/controllers/concerns/foreman_fog_proxmox/hosts_controller.rb
|
@@ -125,6 +126,7 @@ files:
|
|
125
126
|
- app/helpers/proxmox_compute_selectors_helper.rb
|
126
127
|
- app/helpers/proxmox_form_helper.rb
|
127
128
|
- app/helpers/proxmox_storages_helper.rb
|
129
|
+
- app/helpers/proxmox_vm_attrs_helper.rb
|
128
130
|
- app/helpers/proxmox_vm_cdrom_helper.rb
|
129
131
|
- app/helpers/proxmox_vm_cloudinit_helper.rb
|
130
132
|
- app/helpers/proxmox_vm_config_helper.rb
|
@@ -159,12 +161,14 @@ files:
|
|
159
161
|
- app/models/foreman_fog_proxmox/vms.rb
|
160
162
|
- app/overrides/compute_resources_vms/form/add_clone_to_new_vm_compute_detail.rb
|
161
163
|
- app/overrides/compute_resources_vms/form/add_from_profile_to_compute_attributes_form.rb
|
164
|
+
- app/overrides/compute_resources_vms/form/add_react_component_to_host.rb
|
162
165
|
- app/overrides/compute_resources_vms/form/add_vm_type_node_to_new_form.rb
|
163
166
|
- app/overrides/compute_resources_vms/form/add_vm_type_to_networks_form.rb
|
164
167
|
- app/overrides/compute_resources_vms/form/add_vm_type_to_nic_provider_specific_form.rb
|
165
168
|
- app/overrides/compute_resources_vms/form/add_vm_type_to_volumes_edit.rb
|
166
169
|
- app/overrides/compute_resources_vms/form/add_vm_type_to_volumes_new_volume.rb
|
167
170
|
- app/overrides/compute_resources_vms/form/remove_new_vm_from_removable_layout.rb
|
171
|
+
- app/overrides/compute_resources_vms/form/update_react_component_to_host_form.rb
|
168
172
|
- app/services/concerns/foreman_fog_proxmox/compute_resource_host_associator.rb
|
169
173
|
- app/services/foreman_fog_proxmox/node_dashboard/data.rb
|
170
174
|
- app/views/api/v2/compute_resources/proxmox.json.rabl
|
@@ -173,6 +177,7 @@ files:
|
|
173
177
|
- app/views/compute_resources_vms/form/proxmox/_add_from_profile_to_compute_attributes_form.html.erb
|
174
178
|
- app/views/compute_resources_vms/form/proxmox/_add_from_profile_to_compute_form.html.erb
|
175
179
|
- app/views/compute_resources_vms/form/proxmox/_add_from_profile_to_hosts_compute_detail_form.html.erb
|
180
|
+
- app/views/compute_resources_vms/form/proxmox/_add_react_component_to_host_form.html.erb
|
176
181
|
- app/views/compute_resources_vms/form/proxmox/_add_vm_type_node_to_new_form.html.erb
|
177
182
|
- app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_networks_form.html.erb
|
178
183
|
- app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_networks_new_childs_form.html.erb
|
@@ -182,6 +187,7 @@ files:
|
|
182
187
|
- app/views/compute_resources_vms/form/proxmox/_general.html.erb
|
183
188
|
- app/views/compute_resources_vms/form/proxmox/_network.html.erb
|
184
189
|
- app/views/compute_resources_vms/form/proxmox/_removable_layout.html.erb
|
190
|
+
- app/views/compute_resources_vms/form/proxmox/_update_react_component_to_host_form.html.erb
|
185
191
|
- app/views/compute_resources_vms/form/proxmox/container/_advanced.html.erb
|
186
192
|
- app/views/compute_resources_vms/form/proxmox/container/_config.html.erb
|
187
193
|
- app/views/compute_resources_vms/form/proxmox/container/_extended.html.erb
|
@@ -212,6 +218,7 @@ files:
|
|
212
218
|
- locale/foreman_fog_proxmox.pot
|
213
219
|
- locale/fr/foreman_fog_proxmox.po
|
214
220
|
- locale/gemspec.rb
|
221
|
+
- package.json
|
215
222
|
- test/factories/foreman_fog_proxmox/proxmox_container_mock_factory.rb
|
216
223
|
- test/factories/foreman_fog_proxmox/proxmox_node_mock_factory.rb
|
217
224
|
- test/factories/foreman_fog_proxmox/proxmox_server_mock_factory.rb
|
@@ -238,6 +245,28 @@ files:
|
|
238
245
|
- test/unit/foreman_fog_proxmox/proxmox_vm_new_test.rb
|
239
246
|
- test/unit/foreman_fog_proxmox/proxmox_vm_queries_test.rb
|
240
247
|
- test/unit/foreman_fog_proxmox/semver_test.rb
|
248
|
+
- webpack/components/GeneralTabContent.js
|
249
|
+
- webpack/components/ProxmoxComputeSelectors.js
|
250
|
+
- webpack/components/ProxmoxContainer/MountPoint.js
|
251
|
+
- webpack/components/ProxmoxContainer/ProxmoxContainerHardware.js
|
252
|
+
- webpack/components/ProxmoxContainer/ProxmoxContainerNetwork.js
|
253
|
+
- webpack/components/ProxmoxContainer/ProxmoxContainerOptions.js
|
254
|
+
- webpack/components/ProxmoxContainer/ProxmoxContainerStorage.js
|
255
|
+
- webpack/components/ProxmoxContainer/components/NetworkInterface.js
|
256
|
+
- webpack/components/ProxmoxServer/ProxmoxServerHardware.js
|
257
|
+
- webpack/components/ProxmoxServer/ProxmoxServerNetwork.js
|
258
|
+
- webpack/components/ProxmoxServer/ProxmoxServerOptions.js
|
259
|
+
- webpack/components/ProxmoxServer/ProxmoxServerStorage.js
|
260
|
+
- webpack/components/ProxmoxServer/components/CDRom.js
|
261
|
+
- webpack/components/ProxmoxServer/components/CPUFlagsModal.js
|
262
|
+
- webpack/components/ProxmoxServer/components/HardDisk.js
|
263
|
+
- webpack/components/ProxmoxServer/components/NetworkInterface.js
|
264
|
+
- webpack/components/ProxmoxStoragesUtils.js
|
265
|
+
- webpack/components/ProxmoxVmType.js
|
266
|
+
- webpack/components/ProxmoxVmUtils.js
|
267
|
+
- webpack/components/common/FormInputs.js
|
268
|
+
- webpack/global_index.js
|
269
|
+
- webpack/index.js
|
241
270
|
homepage: https://github.com/theforeman/foreman_fog_proxmox
|
242
271
|
licenses:
|
243
272
|
- GPL-3.0
|
@@ -262,29 +291,29 @@ signing_key:
|
|
262
291
|
specification_version: 4
|
263
292
|
summary: Foreman plugin that adds Proxmox VE compute resource using fog-proxmox
|
264
293
|
test_files:
|
265
|
-
- test/factories/proxmox_factory.rb
|
266
|
-
- test/factories/foreman_fog_proxmox/proxmox_container_mock_factory.rb
|
267
|
-
- test/factories/foreman_fog_proxmox/proxmox_server_mock_factory.rb
|
268
|
-
- test/factories/foreman_fog_proxmox/proxmox_node_mock_factory.rb
|
269
|
-
- test/test_plugin_helper.rb
|
270
|
-
- test/functional/compute_resources_controller_test.rb
|
271
|
-
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_create_test.rb
|
272
|
-
- test/unit/foreman_fog_proxmox/proxmox_test.rb
|
273
|
-
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_container_test.rb
|
274
|
-
- test/unit/foreman_fog_proxmox/proxmox_vm_queries_test.rb
|
275
|
-
- test/unit/foreman_fog_proxmox/semver_test.rb
|
276
|
-
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_test.rb
|
277
|
-
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_cloudinit_test.rb
|
278
|
-
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_test.rb
|
279
294
|
- test/unit/foreman_fog_proxmox/proxmox_vm_new_test.rb
|
280
|
-
- test/unit/foreman_fog_proxmox/proxmox_images_test.rb
|
281
295
|
- test/unit/foreman_fog_proxmox/proxmox_compute_attributes_test.rb
|
296
|
+
- test/unit/foreman_fog_proxmox/proxmox_interfaces_test.rb
|
297
|
+
- test/unit/foreman_fog_proxmox/proxmox_test.rb
|
298
|
+
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_hard_disk_test.rb
|
282
299
|
- test/unit/foreman_fog_proxmox/helpers/proxmox_server_helper_test.rb
|
283
|
-
- test/unit/foreman_fog_proxmox/helpers/proxmox_vm_helper_test.rb
|
284
300
|
- test/unit/foreman_fog_proxmox/helpers/proxmox_container_helper_test.rb
|
285
|
-
- test/unit/foreman_fog_proxmox/helpers/proxmox_vm_uuid_helper_test.rb
|
286
301
|
- test/unit/foreman_fog_proxmox/helpers/proxmox_vm_volumes_helper_test.rb
|
302
|
+
- test/unit/foreman_fog_proxmox/helpers/proxmox_vm_uuid_helper_test.rb
|
303
|
+
- test/unit/foreman_fog_proxmox/helpers/proxmox_vm_helper_test.rb
|
304
|
+
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_test.rb
|
305
|
+
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_create_test.rb
|
306
|
+
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_container_test.rb
|
307
|
+
- test/unit/foreman_fog_proxmox/proxmox_images_test.rb
|
308
|
+
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_test.rb
|
287
309
|
- test/unit/foreman_fog_proxmox/proxmox_version_test.rb
|
288
|
-
- test/unit/foreman_fog_proxmox/
|
289
|
-
- test/unit/foreman_fog_proxmox/
|
310
|
+
- test/unit/foreman_fog_proxmox/proxmox_vm_queries_test.rb
|
311
|
+
- test/unit/foreman_fog_proxmox/semver_test.rb
|
312
|
+
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_cloudinit_test.rb
|
290
313
|
- test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_cdrom_test.rb
|
314
|
+
- test/test_plugin_helper.rb
|
315
|
+
- test/factories/foreman_fog_proxmox/proxmox_server_mock_factory.rb
|
316
|
+
- test/factories/foreman_fog_proxmox/proxmox_node_mock_factory.rb
|
317
|
+
- test/factories/foreman_fog_proxmox/proxmox_container_mock_factory.rb
|
318
|
+
- test/factories/proxmox_factory.rb
|
319
|
+
- test/functional/compute_resources_controller_test.rb
|