opennebula-cli 6.2.0.1 → 6.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 141995f0d5690d745039fb070496bee9956d502c67b39c8205d370b16ebc1ebe
4
- data.tar.gz: '09d0857e45d857ca02cc1b2a5f546dfe05d8193e036dc2c6be91c8d5c1871bc0'
3
+ metadata.gz: c4908cbc17aac8f9c51ea753a53ae639ae001ffafd53e434de2607dbeca48a17
4
+ data.tar.gz: b8177017450198bf4c1a37a0239568c090c8ed8c1527cd5de04079ceb72a6f6a
5
5
  SHA512:
6
- metadata.gz: 182270525eadaf021db1b34e8e56a3f686f4a04f8fb5e329ac3c479ce7f881e32f50af8f702e2b650d46dd454bd58a8cbd1a7d9128d4264e44d4ac88a965b4d8
7
- data.tar.gz: 1c478c45cf1c3f29069ef6d5511d0d436b967e3a15f2e98ba1aae95ac61b17fbf4192589321d956511b20c5b1f73538c35229aefb1109074b223da441b5e5980
6
+ metadata.gz: e1768f1cfaf3e35b24c0ea83e646d86fe4d02363ca9d9e96e8b9f7e41f8ca4405e81728d1b95284660579a02b01041253f4f1c56a93ef5ebc4a7fb4966730134
7
+ data.tar.gz: a089348845dc43030ae6e079c8d71d8a0abc1978dd369bddebaf718d42ad7be24e476308d622e47673d906e387a2465055a64d1117ff1cbc48d04abf9e35cb47
data/bin/onehook CHANGED
@@ -256,8 +256,8 @@ CommandParser::CmdParser.new(ARGV) do
256
256
  end
257
257
 
258
258
  lock_desc = <<-EOT.unindent
259
- Locks a Hook with differents levels for lock any actions with this Hook,
260
- show and monitoring never will be locked.
259
+ Locks a Hook to prevent certain actions defined by different levels.
260
+ The show action will never be locked.
261
261
  Valid states are: All.
262
262
  Levels:
263
263
  [Use]: locks Admin, Manage and Use actions.
data/bin/oneimage CHANGED
@@ -159,7 +159,7 @@ CommandParser::CmdParser.new(ARGV) do
159
159
  - new persistent image, OS type and qcow2 format:
160
160
 
161
161
  oneimage create -d 1 --name ubuntu --path /tmp/ubuntu.qcow2 \\
162
- --prefix sd --type OS --driver qcow2 \\
162
+ --prefix sd --type OS --format qcow2 \\
163
163
  --description "A OS plain installation" \\
164
164
  --persistent
165
165
 
@@ -436,8 +436,8 @@ CommandParser::CmdParser.new(ARGV) do
436
436
  end
437
437
 
438
438
  lock_desc = <<-EOT.unindent
439
- Locks a VM with differents levels for lock any actions with this VM, show and
440
- monitoring never will be locked.
439
+ Locks an Image to prevent certain actions defined by different levels.
440
+ The show action will never be locked.
441
441
  Valid states are: All.
442
442
  Levels:
443
443
  [Use]: locks Admin, Manage and Use actions.
@@ -464,7 +464,7 @@ CommandParser::CmdParser.new(ARGV) do
464
464
  end
465
465
 
466
466
  unlock_desc = <<-EOT.unindent
467
- Unlocks a VM for unlock any actions with this VM.
467
+ Unlocks an Image.
468
468
  Valid states are: All.
469
469
  EOT
470
470
 
data/bin/onemarketapp CHANGED
@@ -440,8 +440,8 @@ CommandParser::CmdParser.new(ARGV) do
440
440
  end
441
441
 
442
442
  lock_desc = <<-EOT.unindent
443
- Locks a VM with differents levels for lock any actions with this VM,
444
- show and monitoring never will be locked.
443
+ Locks a marketplace app to prevent certain actions defined by different levels.
444
+ The show action will never be locked.
445
445
  Valid states are: All.
446
446
  Levels:
447
447
  [Use]: locks Admin, Manage and Use actions.
@@ -470,7 +470,7 @@ CommandParser::CmdParser.new(ARGV) do
470
470
  end
471
471
 
472
472
  unlock_desc = <<-EOT.unindent
473
- Unlocks a VM for unlock any actions with this VM.
473
+ Unlocks a marketplace app.
474
474
  Valid states are: All.
475
475
  EOT
476
476
 
data/bin/onetemplate CHANGED
@@ -406,8 +406,8 @@ CommandParser::CmdParser.new(ARGV) do
406
406
  end
407
407
 
408
408
  lock_desc = <<-EOT.unindent
409
- Locks a VM with differents levels for lock any actions with this VM,
410
- show and monitoring never will be locked.
409
+ Locks a Template to prevent certain actions defined by different levels.
410
+ The show action will never be locked.
411
411
  Valid states are: All.
412
412
  Levels:
413
413
  [Use]: locks Admin, Manage and Use actions.
@@ -434,7 +434,7 @@ CommandParser::CmdParser.new(ARGV) do
434
434
  end
435
435
 
436
436
  unlock_desc = <<-EOT.unindent
437
- Unlocks a VM for unlock any actions with this VM.
437
+ Unlocks a Template.
438
438
  Valid states are: All.
439
439
  EOT
440
440
 
data/bin/oneuser CHANGED
@@ -573,7 +573,7 @@ CommandParser::CmdParser.new(ARGV) do
573
573
  EOT
574
574
 
575
575
  command :show, show_desc, [:userid, nil],
576
- :options => OpenNebulaHelper::FORMAT do
576
+ :options => [OpenNebulaHelper::FORMAT, OpenNebulaHelper::DECRYPT] do
577
577
  user = args[0] || OpenNebula::User::SELF
578
578
  helper.show_resource(user, options)
579
579
  end
data/bin/onevm CHANGED
@@ -1338,9 +1338,12 @@ CommandParser::CmdParser.new(ARGV) do
1338
1338
  end
1339
1339
 
1340
1340
  lock_desc = <<-EOT.unindent
1341
- Locks a VM with differents levels for lock any actions with this VM, show and
1342
- monitoring never will be locked.
1341
+ Locks a VM to prevent certain actions defined by different levels.
1342
+ The show and monitoring action will never be locked.
1343
1343
  Valid states are: All.
1344
+ [Use]: locks Admin, Manage and Use actions.
1345
+ [Manage]: locks Manage and Use actions.
1346
+ [Admin]: locks only Admin actions.
1344
1347
  EOT
1345
1348
 
1346
1349
  command :lock, lock_desc, [:range, :vmid_list],
@@ -1362,7 +1365,7 @@ CommandParser::CmdParser.new(ARGV) do
1362
1365
  end
1363
1366
 
1364
1367
  unlock_desc = <<-EOT.unindent
1365
- Unlocks a VM for unlock any actions with this VM.
1368
+ Unlocks a Virtual Machine.
1366
1369
  Valid states are: All.
1367
1370
  EOT
1368
1371
 
data/bin/onevmgroup CHANGED
@@ -233,8 +233,8 @@ CommandParser::CmdParser.new(ARGV) do
233
233
  end
234
234
 
235
235
  lock_desc = <<-EOT.unindent
236
- Locks a VM with differents levels for lock any actions with this VM, show and
237
- monitoring never will be locked.
236
+ Locks a VM Group to prevent certain actions defined by different levels.
237
+ The show action will never be locked.
238
238
  Valid states are: All.
239
239
  Levels:
240
240
  [Use]: locks Admin, Manage and Use actions.
@@ -261,7 +261,7 @@ CommandParser::CmdParser.new(ARGV) do
261
261
  end
262
262
 
263
263
  unlock_desc = <<-EOT.unindent
264
- Unlocks a VM for unlock any actions with this VM.
264
+ Unlocks a VM Group.
265
265
  Valid states are: All.
266
266
  EOT
267
267
 
data/bin/onevnet CHANGED
@@ -381,8 +381,8 @@ CommandParser::CmdParser.new(ARGV) do
381
381
  end
382
382
 
383
383
  lock_desc = <<-EOT.unindent
384
- Locks a VM with differents levels for lock any actions with this VM, show and
385
- monitoring never will be locked.
384
+ Locks a Virtual Network to prevent certain actions defined by different levels.
385
+ The show action will never be locked.
386
386
  Valid states are: All.
387
387
  Levels:
388
388
  [Use]: locks Admin, Manage and Use actions.
@@ -409,7 +409,7 @@ CommandParser::CmdParser.new(ARGV) do
409
409
  end
410
410
 
411
411
  unlock_desc = <<-EOT.unindent
412
- Unlocks a VM for unlock any actions with this VM.
412
+ Unlocks a Virtual Network.
413
413
  Valid states are: All.
414
414
  EOT
415
415
 
data/bin/onevntemplate CHANGED
@@ -341,8 +341,8 @@ CommandParser::CmdParser.new(ARGV) do
341
341
  end
342
342
 
343
343
  lock_desc = <<-EOT.unindent
344
- Locks a VN template with differents levels for lock any actions with this VN template,
345
- show and monitoring never will be locked.
344
+ Locks a VN Template to prevent certain actions defined by different levels.
345
+ The show action will never be locked.
346
346
  Valid states are: All.
347
347
  Levels:
348
348
  [Use]: locks Admin, Manage and Use actions.
@@ -369,7 +369,7 @@ CommandParser::CmdParser.new(ARGV) do
369
369
  end
370
370
 
371
371
  unlock_desc = <<-EOT.unindent
372
- Unlocks a VN template for unlock any actions with this VN template.
372
+ Unlocks a VN Template.
373
373
  Valid states are: All.
374
374
  EOT
375
375
 
data/bin/onevrouter CHANGED
@@ -366,8 +366,8 @@ CommandParser::CmdParser.new(ARGV) do
366
366
  end
367
367
 
368
368
  lock_desc = <<-EOT.unindent
369
- Locks a VM with differents levels for lock any actions with this VM, show and
370
- monitoring never will be locked.
369
+ Locks a Virtual Router to prevent certain actions defined by different levels.
370
+ The show action will never be locked.
371
371
  Valid states are: All.
372
372
  Levels:
373
373
  [Use]: locks Admin, Manage and Use actions.
@@ -394,7 +394,7 @@ CommandParser::CmdParser.new(ARGV) do
394
394
  end
395
395
 
396
396
  unlock_desc = <<-EOT.unindent
397
- Unlocks a VM for unlock any actions with this VM.
397
+ Unlocks a Virtual Router.
398
398
  valid states are: All.
399
399
  EOT
400
400
 
@@ -493,10 +493,11 @@ class OneVcenterHelper < OpenNebulaHelper::OneHelper
493
493
 
494
494
  keys_to_remove = []
495
495
  vm['config.extraConfig'].each do |extraconfig|
496
- if extraconfig.key.include?('opennebula.disk') ||
497
- extraconfig.key.include?('opennebula.vm')
498
- keys_to_remove << extraconfig.key
499
- end
496
+ next unless extraconfig.key.include?('opennebula.disk') ||
497
+ extraconfig.key.include?('opennebula.vm') ||
498
+ extraconfig.key.downcase.include?('remotedisplay')
499
+
500
+ keys_to_remove << extraconfig.key
500
501
  end
501
502
 
502
503
  [vm, keys_to_remove]
@@ -303,6 +303,7 @@
303
303
  </xs:complexType>
304
304
  </xs:element>
305
305
 
306
+ <xs:element name="USER_ENCRYPTED_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
306
307
  <xs:element name="USER_RESTRICTED_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
307
308
 
308
309
  <xs:element name="VLAN_IDS" minOccurs="0" maxOccurs="1">
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opennebula-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.2.0.1
4
+ version: 6.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenNebula
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-27 00:00:00.000000000 Z
11
+ date: 2022-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opennebula
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 6.2.0.1
19
+ version: 6.2.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 6.2.0.1
26
+ version: 6.2.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement