foreman_fog_proxmox 0.10.2 → 0.12.2

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.

Potentially problematic release.


This version of foreman_fog_proxmox might be problematic. Click here for more details.

Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +61 -13
  3. data/app/assets/javascripts/foreman_fog_proxmox/proxmox_vm_server.js +0 -22
  4. data/app/helpers/proxmox_compute_selectors_helper.rb +14 -0
  5. data/app/helpers/proxmox_server_helper.rb +2 -6
  6. data/app/helpers/proxmox_vm_helper.rb +2 -10
  7. data/app/models/concerns/fog_extensions/proxmox/server.rb +1 -0
  8. data/app/models/foreman_fog_proxmox/proxmox_compute_attributes.rb +14 -1
  9. data/app/models/foreman_fog_proxmox/proxmox_connection.rb +1 -1
  10. data/app/models/foreman_fog_proxmox/proxmox_operating_systems.rb +1 -1
  11. data/app/models/foreman_fog_proxmox/proxmox_pools.rb +56 -0
  12. data/app/models/foreman_fog_proxmox/proxmox_vm_commands.rb +5 -1
  13. data/app/models/foreman_fog_proxmox/proxmox_vm_new.rb +4 -4
  14. data/app/models/foreman_fog_proxmox/proxmox_vm_queries.rb +6 -7
  15. data/app/views/api/v2/compute_resources/proxmox.json.rabl +1 -1
  16. data/app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_nic_provider_specific_form.html.erb +2 -2
  17. data/app/views/compute_resources_vms/form/proxmox/_general.html.erb +1 -0
  18. data/app/views/compute_resources_vms/form/proxmox/server/_config.html.erb +4 -4
  19. data/app/views/compute_resources_vms/show/_proxmox.html.erb +1 -0
  20. data/lib/foreman_fog_proxmox/engine.rb +2 -2
  21. data/lib/foreman_fog_proxmox/version.rb +1 -1
  22. data/locale/en/foreman_fog_proxmox.po +18 -3
  23. data/locale/foreman_fog_proxmox.pot +48 -28
  24. data/locale/fr/foreman_fog_proxmox.po +18 -3
  25. data/test/factories/foreman_fog_proxmox/proxmox_node_mock_factory.rb +6 -0
  26. data/test/unit/foreman_fog_proxmox/helpers/proxmox_container_helper_test.rb +4 -4
  27. data/test/unit/foreman_fog_proxmox/helpers/proxmox_server_helper_test.rb +10 -9
  28. data/test/unit/foreman_fog_proxmox/helpers/proxmox_vm_helper_test.rb +1 -1
  29. data/test/unit/foreman_fog_proxmox/proxmox_compute_attributes_test.rb +10 -2
  30. data/test/unit/foreman_fog_proxmox/proxmox_version_test.rb +4 -4
  31. data/test/unit/foreman_fog_proxmox/proxmox_vm_commands_container_test.rb +14 -0
  32. data/test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_create_test.rb +29 -1
  33. data/test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_test.rb +91 -0
  34. data/test/unit/foreman_fog_proxmox/proxmox_vm_queries_test.rb +7 -2
  35. data/test/unit/foreman_fog_proxmox/semver_test.rb +3 -5
  36. metadata +21 -24
  37. data/locale/en/foreman_fog_proxmox.edit.po +0 -508
  38. data/locale/en/foreman_fog_proxmox.po.time_stamp +0 -0
  39. data/locale/fr/foreman_fog_proxmox.edit.po +0 -508
  40. data/locale/fr/foreman_fog_proxmox.po.time_stamp +0 -0
@@ -209,7 +209,7 @@ module ForemanFogProxmox
209
209
 
210
210
  it '#container swap empty' do
211
211
  convert_memory_size(host_container['config_attributes'], 'swap')
212
- assert host_container['config_attributes']['swap'].empty?
212
+ assert_empty host_container['config_attributes']['swap']
213
213
  end
214
214
  end
215
215
  end
@@ -96,7 +96,11 @@ module ForemanFogProxmox
96
96
  assert_equal volume_attributes, vm_attrs[:volumes_attributes]['0']
97
97
  assert_not vm_attrs[:config_attributes].key?(:interfaces)
98
98
  assert vm_attrs.key?(:interfaces_attributes)
99
- assert_equal interface_attributes, vm_attrs[:interfaces_attributes]['0']
99
+ assert_equal interface_attributes[:id], vm_attrs[:interfaces_attributes]['0'][:id]
100
+ assert_equal interface_attributes[:id], vm_attrs[:interfaces_attributes]['0'][:identifier]
101
+ assert_equal interface_attributes[:macaddr], vm_attrs[:interfaces_attributes]['0'][:mac]
102
+ assert_equal interface_attributes[:model], vm_attrs[:interfaces_attributes]['0'][:compute_attributes][:model]
103
+ assert_equal interface_attributes[:bridge], vm_attrs[:interfaces_attributes]['0'][:compute_attributes][:bridge]
100
104
  end
101
105
 
102
106
  it 'converts a container to hash' do
@@ -109,7 +113,11 @@ module ForemanFogProxmox
109
113
  assert vm_attrs.key?(:volumes_attributes)
110
114
  assert_equal volume_attributes, vm_attrs[:volumes_attributes]['0']
111
115
  assert vm_attrs.key?(:interfaces_attributes)
112
- assert_equal interface_attributes, vm_attrs[:interfaces_attributes]['0']
116
+ assert_equal interface_attributes[:id], vm_attrs[:interfaces_attributes]['0'][:id]
117
+ assert_equal interface_attributes[:id], vm_attrs[:interfaces_attributes]['0'][:identifier]
118
+ assert_equal interface_attributes[:name], vm_attrs[:interfaces_attributes]['0'][:compute_attributes][:name]
119
+ assert_equal interface_attributes[:mac], vm_attrs[:interfaces_attributes]['0'][:compute_attributes][:mac]
120
+ assert_equal interface_attributes[:bridge], vm_attrs[:interfaces_attributes]['0'][:compute_attributes][:bridge]
113
121
  end
114
122
  end
115
123
  end
@@ -72,22 +72,22 @@ module ForemanFogProxmox
72
72
 
73
73
  it 'is true with 5.4-3' do
74
74
  @identity_client.stubs(:read_version).returns(supported_version)
75
- assert_equal true, @cr.version_suitable?
75
+ assert @cr.version_suitable?
76
76
  end
77
77
 
78
78
  it 'is true with 6.0-1' do
79
79
  @identity_client.stubs(:read_version).returns(supported_6_version)
80
- assert_equal true, @cr.version_suitable?
80
+ assert @cr.version_suitable?
81
81
  end
82
82
 
83
83
  it 'is true with 6.1-3' do
84
84
  @identity_client.stubs(:read_version).returns(supported_6_1_version)
85
- assert_equal true, @cr.version_suitable?
85
+ assert @cr.version_suitable?
86
86
  end
87
87
 
88
88
  it 'is false with 5.2-2' do
89
89
  @identity_client.stubs(:read_version).returns(unsupported_version)
90
- assert_equal false, @cr.version_suitable?
90
+ assert_not @cr.version_suitable?
91
91
  end
92
92
  end
93
93
  end
@@ -253,6 +253,20 @@ module ForemanFogProxmox
253
253
  cr.create_vm(args)
254
254
  end
255
255
 
256
+ it 'creates container within pool' do
257
+ args = { vmid: '100', type: 'lxc', node_id: 'pve', start_after_create: '0', pool: 'pool1' }
258
+ servers = mock('servers')
259
+ servers.stubs(:id_valid?).returns(true)
260
+ containers = mock('containers')
261
+ vm = mock('vm')
262
+ containers.stubs(:create).with(vmid: 100, type: 'lxc', node_id: 'pve', start_after_create: '0', pool: 'pool1').returns(vm)
263
+ cr = mock_node_servers_containers(ForemanFogProxmox::Proxmox.new, servers, containers)
264
+ cr.stubs(:convert_sizes).with(args)
265
+ cr.stubs(:parse_container_vm).with(args).returns(args)
266
+ cr.stubs(:find_vm_by_uuid).with((args[:vmid]).to_s).returns(vm)
267
+ cr.create_vm(args)
268
+ end
269
+
256
270
  it 'clones container' do
257
271
  args = { vmid: '100', type: 'lxc', image_id: '999', name: 'name' }
258
272
  servers = mock('servers')
@@ -31,7 +31,7 @@ module ForemanFogProxmox
31
31
  include ProxmoxVmHelper
32
32
 
33
33
  describe 'create_vm' do
34
- it 'raises Foreman::Exception when vmid is invalid' do
34
+ it 'raises Foreman::Exception when vmid <= 100 and vmid > 0' do
35
35
  args = { vmid: '100' }
36
36
  servers = mock('servers')
37
37
  servers.stubs(:id_valid?).returns(false)
@@ -42,6 +42,20 @@ module ForemanFogProxmox
42
42
  assert err.message.end_with?('invalid vmid=100')
43
43
  end
44
44
 
45
+ it 'computes next vmid when vmid == 0 and creates server' do
46
+ args = { vmid: '0', type: 'qemu', node_id: 'pve', start_after_create: '0' }
47
+ servers = mock('servers')
48
+ servers.stubs(:id_valid?).returns(true)
49
+ servers.stubs(:next_id).returns('101')
50
+ cr = mock_node_servers(ForemanFogProxmox::Proxmox.new, servers)
51
+ cr.stubs(:convert_sizes).with(args)
52
+ cr.stubs(:parse_server_vm).with(args).returns(args)
53
+ servers.stubs(:create).with(args)
54
+ vm = mock('vm')
55
+ cr.stubs(:find_vm_by_uuid).with((args[:vmid]).to_s).returns(vm)
56
+ cr.create_vm(args)
57
+ end
58
+
45
59
  it 'creates server without bootstart' do
46
60
  args = { vmid: '100', type: 'qemu', node_id: 'pve', start_after_create: '0' }
47
61
  servers = mock('servers')
@@ -69,6 +83,20 @@ module ForemanFogProxmox
69
83
  cr.create_vm(args)
70
84
  end
71
85
 
86
+ it 'creates server within pool' do
87
+ args = { vmid: '100', type: 'qemu', node_id: 'pve', start_after_create: '0', pool: 'pool1' }
88
+ servers = mock('servers')
89
+ servers.stubs(:id_valid?).returns(true)
90
+ cr = mock_node_servers(ForemanFogProxmox::Proxmox.new, servers)
91
+ cr.stubs(:convert_sizes).with(args)
92
+ cr.stubs(:parse_server_vm).with(args).returns(args)
93
+ vm = mock('vm')
94
+ servers.stubs(:create).with(args).returns(vm)
95
+ cr.stubs(:find_vm_by_uuid).with((args[:vmid]).to_s).returns(vm)
96
+ cr.stubs(:start_on_boot).with(vm, args).returns(vm)
97
+ cr.create_vm(args)
98
+ end
99
+
72
100
  it 'clones server' do
73
101
  args = { vmid: '100', type: 'qemu', image_id: '999', name: 'name' }
74
102
  servers = mock('servers')
@@ -126,6 +126,97 @@ module ForemanFogProxmox
126
126
  vm.expects(:update, expected_config_attr)
127
127
  @cr.save_vm(uuid, new_attributes)
128
128
  end
129
+
130
+ it 'saves server config with modified pool' do
131
+ uuid = '100'
132
+ config = mock('config')
133
+ config.stubs(:pool).returns('pool1')
134
+ config.expects(:pool=).with('pool1')
135
+ vm = mock('vm')
136
+ vm.stubs(:config).returns(config)
137
+ vm.stubs(:container?).returns(false)
138
+ vm.stubs(:type).returns('qemu')
139
+ vm.stubs(:node_id).returns('pve')
140
+ vm.stubs(:vmid).returns(uuid)
141
+ @cr.stubs(:find_vm_by_uuid).returns(vm)
142
+ identity_client = mock('identity_client')
143
+ pools = mock('pools')
144
+ pool1 = mock('pool1')
145
+ pool1.stubs(:poolid).returns('pool1')
146
+ pool1.stubs(:has_server?).with('100').returns(true)
147
+ pool1.expects(:remove_server).with(uuid)
148
+ pool2 = mock('pool2')
149
+ pool2.stubs(:poolid).returns('pool2')
150
+ pool2.stubs(:has_server?).with('100').returns(false)
151
+ pool2.expects(:add_server).with(uuid)
152
+ pools.stubs(:all).returns([pool1, pool2])
153
+ pools.expects(:get).with('pool1').returns(pool1)
154
+ pools.expects(:get).with('pool2').returns(pool2)
155
+ identity_client.stubs(:pools).returns(pools)
156
+ @cr.stubs(:identity_client).returns(identity_client)
157
+ attr = { 'templated' => '0', 'node_id' => 'pve', 'pool' => 'pool2', 'config_attributes' => { 'cores' => '1', 'cpulimit' => '1', 'onboot' => '0' } }.with_indifferent_access
158
+ @cr.stubs(:parse_server_vm).returns('vmid' => '100', 'node_id' => 'pve', 'type' => 'qemu', 'cores' => '1', 'cpulimit' => '1', 'onboot' => '0', 'pool' => 'pool2')
159
+ vm.expects(:update).with({ 'node_id' => 'pve', 'type' => 'qemu', 'cores' => '1', 'cpulimit' => '1', 'onboot' => '0' }.with_indifferent_access)
160
+ @cr.save_vm(uuid, attr)
161
+ end
162
+
163
+ it 'saves server config with removed pool' do
164
+ uuid = '100'
165
+ config = mock('config')
166
+ config.expects(:pool=).with('pool1')
167
+ config.stubs(:pool).returns('pool1')
168
+ vm = mock('vm')
169
+ vm.stubs(:config).returns(config)
170
+ vm.stubs(:container?).returns(false)
171
+ vm.stubs(:type).returns('qemu')
172
+ vm.stubs(:node_id).returns('pve')
173
+ vm.stubs(:vmid).returns(uuid)
174
+ @cr.stubs(:find_vm_by_uuid).returns(vm)
175
+ identity_client = mock('identity_client')
176
+ pools = mock('pools')
177
+ pool1 = mock('pool1')
178
+ pool1.stubs(:has_server?).with('100').returns(true)
179
+ pool1.stubs(:poolid).returns('pool1')
180
+ pool1.expects(:remove_server).with(uuid)
181
+ pools.stubs(:all).returns([pool1])
182
+ pools.expects(:get).with('pool1').returns(pool1)
183
+ pools.expects(:get).with('').returns(nil)
184
+ identity_client.stubs(:pools).returns(pools)
185
+ @cr.stubs(:identity_client).returns(identity_client)
186
+ attr = { 'templated' => '0', 'node_id' => 'pve', 'pool' => '', 'config_attributes' => { 'cores' => '1', 'cpulimit' => '1', 'onboot' => '0' } }.with_indifferent_access
187
+ @cr.stubs(:parse_server_vm).returns('vmid' => '100', 'node_id' => 'pve', 'type' => 'qemu', 'cores' => '1', 'cpulimit' => '1', 'onboot' => '0', 'pool' => '')
188
+ vm.expects(:update).with({ 'node_id' => 'pve', 'type' => 'qemu', 'cores' => '1', 'cpulimit' => '1', 'onboot' => '0' }.with_indifferent_access)
189
+ @cr.save_vm(uuid, attr)
190
+ end
191
+
192
+ it 'saves server config with added pool' do
193
+ uuid = '100'
194
+ config = mock('config')
195
+ config.expects(:pool=).with(nil)
196
+ config.stubs(:pool).returns(nil)
197
+ vm = mock('vm')
198
+ vm.stubs(:config).returns(config)
199
+ vm.stubs(:container?).returns(false)
200
+ vm.stubs(:type).returns('qemu')
201
+ vm.stubs(:node_id).returns('pve')
202
+ vm.stubs(:vmid).returns(uuid)
203
+ @cr.stubs(:find_vm_by_uuid).returns(vm)
204
+ identity_client = mock('identity_client')
205
+ pools = mock('pools')
206
+ pool2 = mock('pool2')
207
+ pool2.stubs(:has_server?).with('100').returns(false)
208
+ pool2.stubs(:poolid).returns('pool2')
209
+ pool2.expects(:add_server).with(uuid)
210
+ pools.stubs(:all).returns([pool2])
211
+ pools.expects(:get).with('pool2').returns(pool2)
212
+ pools.expects(:get).with('').returns(nil)
213
+ identity_client.stubs(:pools).returns(pools)
214
+ @cr.stubs(:identity_client).returns(identity_client)
215
+ attr = { 'templated' => '0', 'node_id' => 'pve', 'pool' => 'pool2', 'config_attributes' => { 'cores' => '1', 'cpulimit' => '1', 'onboot' => '0' } }.with_indifferent_access
216
+ @cr.stubs(:parse_server_vm).returns('vmid' => '100', 'node_id' => 'pve', 'type' => 'qemu', 'cores' => '1', 'cpulimit' => '1', 'onboot' => '0', 'pool' => 'pool2')
217
+ vm.expects(:update).with({ 'node_id' => 'pve', 'type' => 'qemu', 'cores' => '1', 'cpulimit' => '1', 'onboot' => '0' }.with_indifferent_access)
218
+ @cr.save_vm(uuid, attr)
219
+ end
129
220
  end
130
221
  end
131
222
  end
@@ -49,14 +49,19 @@ module ForemanFogProxmox
49
49
  it 'finds vm on other node in cluster' do
50
50
  args = { vmid: '100', type: 'qemu' }
51
51
  servers = mock('servers')
52
+ vm = mock('vm')
53
+ vm.stubs(:vmid).returns(args[:vmid])
54
+ config = mock('config')
55
+ config.expects(:pool=, nil)
56
+ vm.stubs(:config).returns(config)
52
57
  servers.stubs(:id_valid?).returns(true)
53
- servers.stubs(:get).with(args[:vmid]).returns(args)
58
+ servers.stubs(:get).with(args[:vmid]).returns(vm)
54
59
  cr = mock_cluster_nodes_servers_containers(
55
60
  ForemanFogProxmox::Proxmox.new,
56
61
  empty_servers, empty_servers, # node1
57
62
  servers, empty_servers # node2
58
63
  )
59
- assert_equal args, cr.find_vm_by_uuid(args[:vmid])
64
+ assert_equal vm, cr.find_vm_by_uuid(args[:vmid])
60
65
  end
61
66
  end
62
67
  end
@@ -57,7 +57,6 @@ module ForemanFogProxmox
57
57
  end
58
58
  end
59
59
  end
60
- # rubocop:disable Lint/UselessComparison
61
60
  describe 'semverclass comparators' do
62
61
  it '#5.3.0 <= 5.4.3 returns true' do
63
62
  assert ForemanFogProxmox::Semver.to_semver('5.3.0') <= ForemanFogProxmox::Semver.to_semver('5.4.3')
@@ -78,7 +77,7 @@ module ForemanFogProxmox
78
77
  assert ForemanFogProxmox::Semver.to_semver('1.0.10') <= ForemanFogProxmox::Semver.to_semver('1.0.20')
79
78
  end
80
79
  it '#1.2.3-beta == 1.2.3-beta returns true' do
81
- assert ForemanFogProxmox::Semver.to_semver('1.2.3-beta') == ForemanFogProxmox::Semver.to_semver('1.2.3-beta')
80
+ assert_equal ForemanFogProxmox::Semver.to_semver('1.2.3-beta'), ForemanFogProxmox::Semver.to_semver('1.2.3-beta')
82
81
  end
83
82
  it '#1.2.3-beta >= 1.-beta raises ArgumentError' do
84
83
  assert_raises ArgumentError do
@@ -101,13 +100,12 @@ module ForemanFogProxmox
101
100
  assert_equal 20, ForemanFogProxmox::Semver.to_semver('1.20.0').minor
102
101
  assert_equal 0, ForemanFogProxmox::Semver.to_semver('1.20.0').patch
103
102
  assert ForemanFogProxmox::Semver.to_semver('0.10.2').major < ForemanFogProxmox::Semver.to_semver('1.20.0').major
104
- assert_equal false, ForemanFogProxmox::Semver.to_semver('0.10.2').major == ForemanFogProxmox::Semver.to_semver('1.20.0').major
105
- assert_equal false, ForemanFogProxmox::Semver.to_semver('0.10.2').minor == ForemanFogProxmox::Semver.to_semver('1.20.0').minor
103
+ assert_not ForemanFogProxmox::Semver.to_semver('0.10.2').major == ForemanFogProxmox::Semver.to_semver('1.20.0').major
104
+ assert_not ForemanFogProxmox::Semver.to_semver('0.10.2').minor == ForemanFogProxmox::Semver.to_semver('1.20.0').minor
106
105
  assert ForemanFogProxmox::Semver.to_semver('0.10.2').minor < ForemanFogProxmox::Semver.to_semver('1.20.0').minor
107
106
  assert ForemanFogProxmox::Semver.to_semver('0.10.2').patch > ForemanFogProxmox::Semver.to_semver('1.20.0').patch
108
107
  assert ForemanFogProxmox::Semver.to_semver('0.10.2') < ForemanFogProxmox::Semver.to_semver('1.20.0')
109
108
  end
110
109
  end
111
- # rubocop:enable Lint/UselessComparison
112
110
  end
113
111
  end
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.10.2
4
+ version: 0.12.2
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: 2020-02-12 00:00:00.000000000 Z
12
+ date: 2020-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: deface
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '0.11'
34
+ version: '0.13'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '0.11'
41
+ version: '0.13'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rdoc
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -121,6 +121,7 @@ files:
121
121
  - app/models/foreman_fog_proxmox/proxmox_images.rb
122
122
  - app/models/foreman_fog_proxmox/proxmox_interfaces.rb
123
123
  - app/models/foreman_fog_proxmox/proxmox_operating_systems.rb
124
+ - app/models/foreman_fog_proxmox/proxmox_pools.rb
124
125
  - app/models/foreman_fog_proxmox/proxmox_token_expiration.rb
125
126
  - app/models/foreman_fog_proxmox/proxmox_version.rb
126
127
  - app/models/foreman_fog_proxmox/proxmox_vm_commands.rb
@@ -174,13 +175,9 @@ files:
174
175
  - lib/foreman_fog_proxmox/version.rb
175
176
  - lib/tasks/foreman_fog_proxmox_tasks.rake
176
177
  - locale/Makefile
177
- - locale/en/foreman_fog_proxmox.edit.po
178
178
  - locale/en/foreman_fog_proxmox.po
179
- - locale/en/foreman_fog_proxmox.po.time_stamp
180
179
  - locale/foreman_fog_proxmox.pot
181
- - locale/fr/foreman_fog_proxmox.edit.po
182
180
  - locale/fr/foreman_fog_proxmox.po
183
- - locale/fr/foreman_fog_proxmox.po.time_stamp
184
181
  - locale/gemspec.rb
185
182
  - test/factories/foreman_fog_proxmox/proxmox_container_mock_factory.rb
186
183
  - test/factories/foreman_fog_proxmox/proxmox_node_mock_factory.rb
@@ -228,25 +225,25 @@ signing_key:
228
225
  specification_version: 4
229
226
  summary: Foreman plugin that adds Proxmox VE compute resource using fog-proxmox
230
227
  test_files:
228
+ - test/factories/proxmox_factory.rb
229
+ - test/factories/foreman_fog_proxmox/proxmox_node_mock_factory.rb
230
+ - test/factories/foreman_fog_proxmox/proxmox_container_mock_factory.rb
231
+ - test/factories/foreman_fog_proxmox/proxmox_server_mock_factory.rb
231
232
  - test/test_plugin_helper.rb
232
233
  - test/functional/compute_resources_controller_test.rb
233
- - test/unit/foreman_fog_proxmox/proxmox_vm_commands_container_test.rb
234
- - test/unit/foreman_fog_proxmox/proxmox_vm_commands_test.rb
235
- - test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_volumes_test.rb
236
- - test/unit/foreman_fog_proxmox/proxmox_version_test.rb
237
- - test/unit/foreman_fog_proxmox/proxmox_vm_queries_test.rb
238
- - test/unit/foreman_fog_proxmox/proxmox_compute_attributes_test.rb
239
- - test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_test.rb
240
- - test/unit/foreman_fog_proxmox/semver_test.rb
241
- - test/unit/foreman_fog_proxmox/proxmox_images_test.rb
242
- - test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_create_test.rb
243
- - test/unit/foreman_fog_proxmox/proxmox_vm_new_test.rb
244
- - test/unit/foreman_fog_proxmox/helpers/proxmox_vm_helper_test.rb
245
234
  - test/unit/foreman_fog_proxmox/helpers/proxmox_container_helper_test.rb
246
235
  - test/unit/foreman_fog_proxmox/helpers/proxmox_server_helper_test.rb
236
+ - test/unit/foreman_fog_proxmox/helpers/proxmox_vm_helper_test.rb
237
+ - test/unit/foreman_fog_proxmox/proxmox_vm_new_test.rb
238
+ - test/unit/foreman_fog_proxmox/proxmox_version_test.rb
239
+ - test/unit/foreman_fog_proxmox/semver_test.rb
240
+ - test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_test.rb
241
+ - test/unit/foreman_fog_proxmox/proxmox_vm_commands_container_test.rb
247
242
  - test/unit/foreman_fog_proxmox/proxmox_test.rb
243
+ - test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_create_test.rb
244
+ - test/unit/foreman_fog_proxmox/proxmox_compute_attributes_test.rb
248
245
  - test/unit/foreman_fog_proxmox/proxmox_interfaces_test.rb
249
- - test/factories/foreman_fog_proxmox/proxmox_container_mock_factory.rb
250
- - test/factories/foreman_fog_proxmox/proxmox_node_mock_factory.rb
251
- - test/factories/foreman_fog_proxmox/proxmox_server_mock_factory.rb
252
- - test/factories/proxmox_factory.rb
246
+ - test/unit/foreman_fog_proxmox/proxmox_vm_queries_test.rb
247
+ - test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_volumes_test.rb
248
+ - test/unit/foreman_fog_proxmox/proxmox_vm_commands_test.rb
249
+ - test/unit/foreman_fog_proxmox/proxmox_images_test.rb
@@ -1,508 +0,0 @@
1
- # English translations for foreman_fog_proxmox package.
2
- # Copyright (C) 2018 THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the foreman_fog_proxmox package.
4
- # Tristan Robert <tristan.robert.44@gmail.com>, 2018.
5
- #
6
- msgid ""
7
- msgstr ""
8
- "Project-Id-Version: foreman_fog_proxmox 1.0.0\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2018-07-17 15:16+0200\n"
11
- "Last-Translator: Tristan Robert <tristan.robert.44@gmail.com>\n"
12
- "Language-Team: English\n"
13
- "Language: en\n"
14
- "MIME-Version: 1.0\n"
15
- "Content-Type: text/plain; charset=UTF-8\n"
16
- "Content-Transfer-Encoding: 8bit\n"
17
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
18
- "\n"
19
-
20
- #: ../app/helpers/node_dashboard_helper.rb:33
21
- msgid "Time"
22
- msgstr ""
23
-
24
- #: ../app/helpers/node_dashboard_helper.rb:33
25
- msgid "Average load (x100)"
26
- msgstr ""
27
-
28
- #: ../app/helpers/proxmox_form_helper.rb:35
29
- msgid "Change the password"
30
- msgstr ""
31
-
32
- #: ../app/models/concerns/orchestration/proxmox/compute.rb:30
33
- msgid "Failed to update a compute %<compute_resource>s instance %<name>s: %<e>s"
34
- msgstr ""
35
-
36
- #: ../app/models/concerns/orchestration/proxmox/compute.rb:38
37
- msgid "Failed to undo update compute %<compute_resource>s instance %<name>s: %<e>s"
38
- msgstr ""
39
-
40
- #: ../app/models/foreman_fog_proxmox/proxmox.rb:87
41
- msgid "Unable to store X509 certificates"
42
- msgstr ""
43
-
44
- #: ../app/models/foreman_fog_proxmox/proxmox.rb:112
45
- msgid "Failed retrieving proxmox compute client caused by %<e>s"
46
- msgstr ""
47
-
48
- #: ../app/models/foreman_fog_proxmox/proxmox.rb:119
49
- msgid "Failed retrieving proxmox identity client caused by %<e>s"
50
- msgstr ""
51
-
52
- #: ../app/models/foreman_fog_proxmox/proxmox.rb:126
53
- msgid "Failed retrieving proxmox network client caused by %<e>s"
54
- msgstr ""
55
-
56
- #: ../app/models/foreman_fog_proxmox/proxmox_compute_attributes.rb:31
57
- msgid "Operating system family %<type>s is not consistent with %<ostype>s"
58
- msgstr ""
59
-
60
- #: ../app/models/foreman_fog_proxmox/proxmox_console.rb:37
61
- msgid "%<s>s console is not supported at this time"
62
- msgstr ""
63
-
64
- #: ../app/models/foreman_fog_proxmox/proxmox_images.rb:51
65
- msgid "create_vm(): clone %<image_id>s in %<vmid>s"
66
- msgstr ""
67
-
68
- #: ../app/models/foreman_fog_proxmox/proxmox_version.rb:25
69
- msgid "Proxmox compute resource version is %<version>s"
70
- msgstr ""
71
-
72
- #: ../app/models/foreman_fog_proxmox/proxmox_version.rb:26
73
- msgid "Proxmox version %<version>s is not semver suitable"
74
- msgstr ""
75
-
76
- #: ../app/models/foreman_fog_proxmox/proxmox_vm_commands.rb:34
77
- msgid "invalid vmid=%<vmid>s"
78
- msgstr ""
79
-
80
- #: ../app/models/foreman_fog_proxmox/proxmox_vm_commands.rb:53
81
- msgid "failed to create vm: %<e>s"
82
- msgstr ""
83
-
84
- #: ../app/models/foreman_fog_proxmox/proxmox_vm_new.rb:152
85
- msgid "new_vm() vm.config=%<config>s"
86
- msgstr ""
87
-
88
- #: ../app/models/foreman_fog_proxmox/proxmox_vm_new.rb:163
89
- msgid "new_container_vm() vm.config=%<config>s"
90
- msgstr ""
91
-
92
- #: ../app/models/foreman_fog_proxmox/proxmox_vm_new.rb:174
93
- msgid "new_server_vm() vm.config=%<config>s"
94
- msgstr ""
95
-
96
- #: ../app/models/foreman_fog_proxmox/proxmox_vm_queries.rb:72
97
- msgid "Failed retrieving proxmox server vm by vmid=%<vmid>s"
98
- msgstr ""
99
-
100
- #: ../app/models/foreman_fog_proxmox/proxmox_volumes.rb:42
101
- msgid "Unable to shrink %<id>s size. Proxmox allows only increasing size."
102
- msgstr ""
103
-
104
- #: ../app/views/compute_resources/form/_proxmox.html.erb:8
105
- msgid "Renew expired token ?"
106
- msgstr ""
107
-
108
- #: ../app/views/compute_resources/form/_proxmox.html.erb:9
109
- msgid "e.g. https://127.0.0.1:8006/api2/json"
110
- msgstr ""
111
-
112
- #: ../app/views/compute_resources/form/_proxmox.html.erb:9
113
- msgid "Test failed"
114
- msgstr ""
115
-
116
- #: ../app/views/compute_resources/form/_proxmox.html.erb:10
117
- msgid "e.g. root@pam"
118
- msgstr ""
119
-
120
- #: ../app/views/compute_resources/form/_proxmox.html.erb:12
121
- msgid "SSL verify peer"
122
- msgstr ""
123
-
124
- #: ../app/views/compute_resources/form/_proxmox.html.erb:13
125
- msgid "X509 Certification Authorities"
126
- msgstr ""
127
-
128
- #: ../app/views/compute_resources/form/_proxmox.html.erb:14
129
- msgid "Optionally provide a CA, or a correctly ordered CA chain. If left blank, disable ssl_verify_peer."
130
- msgstr ""
131
-
132
- #: ../app/views/compute_resources/show/_proxmox.html.erb:4
133
- msgid "URL"
134
- msgstr ""
135
-
136
- #: ../app/views/compute_resources/show/_proxmox.html.erb:8
137
- msgid "Version"
138
- msgstr ""
139
-
140
- #: ../app/views/compute_resources/show/_proxmox.html.erb:12
141
- msgid "Token has expired?"
142
- msgstr ""
143
-
144
- #: ../app/views/compute_resources/show/_proxmox.html.erb:16
145
- msgid "Token expires on"
146
- msgstr ""
147
-
148
- #: ../app/views/compute_resources/show/_proxmox.html.erb:20
149
- msgid "Cluster nodes"
150
- msgstr ""
151
-
152
- #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_networks_form.html.erb:7 ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_networks_form.html.erb:11 ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_networks_new_childs_form.html.erb:9 ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_networks_new_childs_form.html.erb:15
153
- msgid "remove network interface"
154
- msgstr ""
155
-
156
- #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:12 ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:18 ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:26 ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:30 ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:34 ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:45 ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:49
157
- msgid "remove storage volume"
158
- msgstr ""
159
-
160
- #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:39 ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:40 ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:53
161
- msgid "Add Volume"
162
- msgstr ""
163
-
164
- #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:39 ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:40 ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:53
165
- msgid "add new storage volume"
166
- msgstr ""
167
-
168
- #: ../app/views/compute_resources_vms/form/proxmox/_base.html.erb:6 ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:17 ../app/views/compute_resources_vms/index/_proxmox.html.erb:8
169
- msgid "Type"
170
- msgstr ""
171
-
172
- #: ../app/views/compute_resources_vms/form/proxmox/_general.html.erb:5
173
- msgid "General"
174
- msgstr ""
175
-
176
- #: ../app/views/compute_resources_vms/form/proxmox/_general.html.erb:6
177
- msgid "Create image?"
178
- msgstr ""
179
-
180
- #: ../app/views/compute_resources_vms/form/proxmox/_general.html.erb:7
181
- msgid "VM ID"
182
- msgstr ""
183
-
184
- #: ../app/views/compute_resources_vms/form/proxmox/_general.html.erb:8 ../app/views/compute_resources_vms/index/_proxmox.html.erb:7
185
- msgid "Node"
186
- msgstr ""
187
-
188
- #: ../app/views/compute_resources_vms/form/proxmox/_general.html.erb:9
189
- msgid "Start after creation?"
190
- msgstr ""
191
-
192
- #: ../app/views/compute_resources_vms/form/proxmox/_general.html.erb:19 ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:37
193
- msgid "Image"
194
- msgstr ""
195
-
196
- #: ../app/views/compute_resources_vms/form/proxmox/container/_advanced.html.erb:5 ../app/views/compute_resources_vms/form/proxmox/server/_advanced.html.erb:5
197
- msgid "Advanced"
198
- msgstr ""
199
-
200
- #: ../app/views/compute_resources_vms/form/proxmox/container/_advanced.html.erb:6 ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:5 ../app/views/compute_resources_vms/form/proxmox/server/_advanced.html.erb:6 ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:7
201
- msgid "Main option"
202
- msgid_plural "Main options"
203
- msgstr[0] ""
204
- msgstr[1] ""
205
-
206
- #: ../app/views/compute_resources_vms/form/proxmox/container/_advanced.html.erb:8 ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:9 ../app/views/compute_resources_vms/form/proxmox/server/_advanced.html.erb:8 ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:16
207
- msgid "CPU"
208
- msgstr ""
209
-
210
- #: ../app/views/compute_resources_vms/form/proxmox/container/_advanced.html.erb:10 ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:15 ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:16 ../app/views/compute_resources_vms/form/proxmox/server/_advanced.html.erb:10 ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:27 ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:29 ../app/views/compute_resources_vms/index/_proxmox.html.erb:10
211
- msgid "Memory"
212
- msgstr ""
213
-
214
- #: ../app/views/compute_resources_vms/form/proxmox/container/_advanced.html.erb:12 ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:19
215
- msgid "DNS"
216
- msgstr ""
217
-
218
- #: ../app/views/compute_resources_vms/form/proxmox/container/_advanced.html.erb:14 ../app/views/compute_resources_vms/form/proxmox/server/_advanced.html.erb:14
219
- msgid "OS"
220
- msgstr ""
221
-
222
- #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:6 ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:8
223
- msgid "Description"
224
- msgstr ""
225
-
226
- #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:7 ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:10
227
- msgid "Start at boot"
228
- msgstr ""
229
-
230
- #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:10
231
- msgid "Architecture"
232
- msgstr ""
233
-
234
- #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:11 ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:19
235
- msgid "Cores"
236
- msgstr ""
237
-
238
- #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:12 ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:21
239
- msgid "CPU limit"
240
- msgstr ""
241
-
242
- #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:13 ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:22
243
- msgid "CPU units"
244
- msgstr ""
245
-
246
- #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:17
247
- msgid "Swap"
248
- msgstr ""
249
-
250
- #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:20
251
- msgid "Hostname"
252
- msgstr ""
253
-
254
- #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:21
255
- msgid "DNS server"
256
- msgstr ""
257
-
258
- #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:22
259
- msgid "Search domain"
260
- msgstr ""
261
-
262
- #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:24 ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:43
263
- msgid "Operating System"
264
- msgstr ""
265
-
266
- #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:25 ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:44
267
- msgid "OS type"
268
- msgstr ""
269
-
270
- #: ../app/views/compute_resources_vms/form/proxmox/container/_extended.html.erb:6
271
- msgid "Extended"
272
- msgstr ""
273
-
274
- #: ../app/views/compute_resources_vms/form/proxmox/container/_extended.html.erb:8
275
- msgid "Template storage"
276
- msgstr ""
277
-
278
- #: ../app/views/compute_resources_vms/form/proxmox/container/_extended.html.erb:9
279
- msgid "OS Template"
280
- msgstr ""
281
-
282
- #: ../app/views/compute_resources_vms/form/proxmox/container/_extended.html.erb:11
283
- msgid "Root password"
284
- msgstr ""
285
-
286
- #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:6 ../app/views/compute_resources_vms/form/proxmox/server/_network.html.erb:6
287
- msgid "Nic"
288
- msgstr ""
289
-
290
- #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:8 ../app/views/compute_resources_vms/index/_proxmox.html.erb:6
291
- msgid "Name"
292
- msgstr ""
293
-
294
- #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:9
295
- msgid "DHCP IPv4"
296
- msgstr ""
297
-
298
- #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:10
299
- msgid "CIDR IPv4 prefix"
300
- msgstr ""
301
-
302
- #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:11
303
- msgid "Gateway IPv4"
304
- msgstr ""
305
-
306
- #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:12
307
- msgid "DHCP IPv6"
308
- msgstr ""
309
-
310
- #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:13
311
- msgid "CIDR IPv6 prefix"
312
- msgstr ""
313
-
314
- #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:14
315
- msgid "Gateway IPv6"
316
- msgstr ""
317
-
318
- #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:15 ../app/views/compute_resources_vms/form/proxmox/server/_network.html.erb:10
319
- msgid "VLAN tag"
320
- msgstr ""
321
-
322
- #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:16 ../app/views/compute_resources_vms/form/proxmox/server/_network.html.erb:11
323
- msgid "Rate limit"
324
- msgstr ""
325
-
326
- #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:17 ../app/views/compute_resources_vms/form/proxmox/server/_network.html.erb:9
327
- msgid "Bridge"
328
- msgstr ""
329
-
330
- #: ../app/views/compute_resources_vms/form/proxmox/container/_volume_mp.html.erb:6
331
- msgid "Mount point"
332
- msgstr ""
333
-
334
- #: ../app/views/compute_resources_vms/form/proxmox/container/_volume_mp.html.erb:8 ../app/views/compute_resources_vms/form/proxmox/container/_volume_rootfs.html.erb:7 ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:39 ../app/views/compute_resources_vms/form/proxmox/server/_volume.html.erb:8
335
- msgid "Storage"
336
- msgstr ""
337
-
338
- #: ../app/views/compute_resources_vms/form/proxmox/container/_volume_mp.html.erb:9
339
- msgid "Path"
340
- msgstr ""
341
-
342
- #: ../app/views/compute_resources_vms/form/proxmox/container/_volume_mp.html.erb:9
343
- msgid "e.g. /path/to/"
344
- msgstr ""
345
-
346
- #: ../app/views/compute_resources_vms/form/proxmox/container/_volume_mp.html.erb:10 ../app/views/compute_resources_vms/form/proxmox/server/_volume.html.erb:10
347
- msgid "Device"
348
- msgstr ""
349
-
350
- #: ../app/views/compute_resources_vms/form/proxmox/container/_volume_mp.html.erb:11 ../app/views/compute_resources_vms/form/proxmox/container/_volume_rootfs.html.erb:8 ../app/views/compute_resources_vms/form/proxmox/server/_volume.html.erb:12
351
- msgid "Size"
352
- msgstr ""
353
-
354
- #: ../app/views/compute_resources_vms/form/proxmox/container/_volume_rootfs.html.erb:5
355
- msgid "Rootfs"
356
- msgstr ""
357
-
358
- #: ../app/views/compute_resources_vms/form/proxmox/server/_advanced.html.erb:12
359
- msgid "CDROM"
360
- msgstr ""
361
-
362
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:9
363
- msgid "Boot device order"
364
- msgstr ""
365
-
366
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:9
367
- msgid "Floppy disk (a), hard disk (c), cdrom (d), network (n). Default cdn"
368
- msgstr ""
369
-
370
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:11
371
- msgid "Qemu Agent"
372
- msgstr ""
373
-
374
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:12
375
- msgid "KVM"
376
- msgstr ""
377
-
378
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:12
379
- msgid "Enable/disable KVM hardware virtualization"
380
- msgstr ""
381
-
382
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:13
383
- msgid "Keyboard"
384
- msgstr ""
385
-
386
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:14
387
- msgid "VGA"
388
- msgstr ""
389
-
390
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:18
391
- msgid "Sockets"
392
- msgstr ""
393
-
394
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:20
395
- msgid "VCPUs"
396
- msgstr ""
397
-
398
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:23
399
- msgid "Enable NUMA"
400
- msgstr ""
401
-
402
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:24
403
- msgid "PCID"
404
- msgstr ""
405
-
406
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:25
407
- msgid "Spectre-CTRL"
408
- msgstr ""
409
-
410
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:30
411
- msgid "Minimum memory"
412
- msgstr ""
413
-
414
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:31
415
- msgid "Shares"
416
- msgstr ""
417
-
418
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:32
419
- msgid "Ballooning Device"
420
- msgstr ""
421
-
422
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:34
423
- msgid "CD-ROM"
424
- msgstr ""
425
-
426
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:35
427
- msgid "None"
428
- msgstr ""
429
-
430
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:36
431
- msgid "Physical"
432
- msgstr ""
433
-
434
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:40
435
- msgid "Image ISO"
436
- msgstr ""
437
-
438
- #: ../app/views/compute_resources_vms/form/proxmox/server/_network.html.erb:8
439
- msgid "Card"
440
- msgstr ""
441
-
442
- #: ../app/views/compute_resources_vms/form/proxmox/server/_network.html.erb:12
443
- msgid "Multiqueue"
444
- msgstr ""
445
-
446
- #: ../app/views/compute_resources_vms/form/proxmox/server/_network.html.erb:13
447
- msgid "Firewall"
448
- msgstr ""
449
-
450
- #: ../app/views/compute_resources_vms/form/proxmox/server/_network.html.erb:14
451
- msgid "Disconnect"
452
- msgstr ""
453
-
454
- #: ../app/views/compute_resources_vms/form/proxmox/server/_volume.html.erb:6
455
- msgid "Disk"
456
- msgstr ""
457
-
458
- #: ../app/views/compute_resources_vms/form/proxmox/server/_volume.html.erb:9
459
- msgid "Controller"
460
- msgstr ""
461
-
462
- #: ../app/views/compute_resources_vms/form/proxmox/server/_volume.html.erb:11
463
- msgid "Cache"
464
- msgstr ""
465
-
466
- #: ../app/views/compute_resources_vms/index/_proxmox.html.erb:9
467
- msgid "CPUs"
468
- msgstr ""
469
-
470
- #: ../app/views/compute_resources_vms/index/_proxmox.html.erb:11
471
- msgid "Power"
472
- msgstr ""
473
-
474
- #: ../app/views/compute_resources_vms/index/_proxmox.html.erb:12
475
- msgid "Uptime"
476
- msgstr ""
477
-
478
- #: ../app/views/dashboard/_foreman_fog_proxmox_widget.erb:5
479
- msgid "Proxmox Node Statistics: %s"
480
- msgstr ""
481
-
482
- #: ../app/views/images/form/_proxmox.html.erb:3
483
- msgid "The user that is used to ssh into the instance, normally cloud-user, ubuntu, root etc"
484
- msgstr ""
485
-
486
- #: ../app/views/images/form/_proxmox.html.erb:4
487
- msgid "Password to authenticate with - used for SSH finish step."
488
- msgstr ""
489
-
490
- #: ../app/views/images/form/_proxmox.html.erb:5
491
- msgid "Does this image support user data input (e.g. via cloud-init)?"
492
- msgstr ""
493
-
494
- #: ../app/views/images/form/_proxmox.html.erb:6
495
- msgid "Image VMID"
496
- msgstr ""
497
-
498
- #: ../app/views/images/form/_proxmox.html.erb:6
499
- msgid "vmid of template vm."
500
- msgstr ""
501
-
502
- #: ../lib/foreman_fog_proxmox/engine.rb:46
503
- msgid "Foreman Fog Proxmox widget"
504
- msgstr ""
505
-
506
- #: gemspec.rb:4
507
- msgid "ForemanFogProxmox plugin adds Proxmox VE compute resource to Foreman using fog-proxmox gem."
508
- msgstr ""