opennebula-cli 6.2.0 → 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
- SHA1:
3
- metadata.gz: b9047abc8d9178fcb286d57d5b78011953ac28b9
4
- data.tar.gz: ed6331618ee88c1858ca45686a3e618347177301
2
+ SHA256:
3
+ metadata.gz: c4908cbc17aac8f9c51ea753a53ae639ae001ffafd53e434de2607dbeca48a17
4
+ data.tar.gz: b8177017450198bf4c1a37a0239568c090c8ed8c1527cd5de04079ceb72a6f6a
5
5
  SHA512:
6
- metadata.gz: cc9036cd78ef6b9f679d3b572b84e953687f4c1e67efa7c3b82da2010536d84274a309318edc576abc81e58c9662a87c23605d719d9dd059bc13a7c0cc2896cf
7
- data.tar.gz: b74774142ddff00b508f990c63c575743493a7e8d7728d117dd46f27705e22143ff9f5180a8cbcd13b3127cfec6ba409a824857e7cdfc4206faae98654d21b03
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
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: 2021-11-02 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,107 +16,60 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 6.2.0
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
26
+ version: 6.2.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Commands used to talk to OpenNebula
42
42
  email: contact@opennebula.io
43
43
  executables:
44
- - oneacct
45
- - oneacl
46
- - onecluster
47
- - onedatastore
48
- - oneflow
49
- - oneflow-template
44
+ - onezone
45
+ - onevcenter
46
+ - oneimage
47
+ - onevmgroup
48
+ - onehost
50
49
  - onegroup
51
50
  - onehook
52
- - onehost
53
- - oneimage
54
- - onemarket
55
- - onemarketapp
56
- - onesecgroup
51
+ - onevdc
52
+ - oneacl
53
+ - oneflow-template
54
+ - onevrouter
57
55
  - oneshowback
58
- - onetemplate
59
56
  - oneuser
60
- - onevcenter
61
- - onevdc
62
- - onevm
63
- - onevmgroup
64
- - onevnet
57
+ - oneacct
58
+ - onesecgroup
59
+ - onecluster
60
+ - onemarketapp
61
+ - onetemplate
62
+ - onemarket
65
63
  - onevntemplate
66
- - onevrouter
67
- - onezone
64
+ - onevnet
65
+ - oneflow
66
+ - onedatastore
67
+ - onevm
68
68
  extensions: []
69
69
  extra_rdoc_files: []
70
70
  files:
71
- - share/schemas/xsd/acct.xsd
72
- - share/schemas/xsd/acl_pool.xsd
73
- - share/schemas/xsd/api_info.xsd
74
- - share/schemas/xsd/cluster.xsd
75
- - share/schemas/xsd/cluster_pool.xsd
76
- - share/schemas/xsd/datastore.xsd
77
- - share/schemas/xsd/datastore_pool.xsd
78
- - share/schemas/xsd/document.xsd
79
- - share/schemas/xsd/document_pool.xsd
80
- - share/schemas/xsd/group.xsd
81
- - share/schemas/xsd/group_pool.xsd
82
- - share/schemas/xsd/hook.xsd
83
- - share/schemas/xsd/hook_message_api.xsd
84
- - share/schemas/xsd/hook_message_retry.xsd
85
- - share/schemas/xsd/hook_message_state.xsd
86
- - share/schemas/xsd/hook_pool.xsd
87
- - share/schemas/xsd/host.xsd
88
- - share/schemas/xsd/host_pool.xsd
89
- - share/schemas/xsd/image.xsd
90
- - share/schemas/xsd/image_pool.xsd
91
- - share/schemas/xsd/index.xsd
92
- - share/schemas/xsd/marketplace.xsd
93
- - share/schemas/xsd/marketplace_pool.xsd
94
- - share/schemas/xsd/marketplaceapp.xsd
95
- - share/schemas/xsd/marketplaceapp_pool.xsd
96
- - share/schemas/xsd/monitoring_data.xsd
97
- - share/schemas/xsd/opennebula_configuration.xsd
98
- - share/schemas/xsd/raftstatus.xsd
99
- - share/schemas/xsd/security_group.xsd
100
- - share/schemas/xsd/security_group_pool.xsd
101
- - share/schemas/xsd/showback.xsd
102
- - share/schemas/xsd/user.xsd
103
- - share/schemas/xsd/user_pool.xsd
104
- - share/schemas/xsd/vdc.xsd
105
- - share/schemas/xsd/vdc_pool.xsd
106
- - share/schemas/xsd/vm.xsd
107
- - share/schemas/xsd/vm_group.xsd
108
- - share/schemas/xsd/vm_group_pool.xsd
109
- - share/schemas/xsd/vm_pool.xsd
110
- - share/schemas/xsd/vmtemplate.xsd
111
- - share/schemas/xsd/vmtemplate_pool.xsd
112
- - share/schemas/xsd/vnet.xsd
113
- - share/schemas/xsd/vnet_pool.xsd
114
- - share/schemas/xsd/vntemplate.xsd
115
- - share/schemas/xsd/vntemplate_pool.xsd
116
- - share/schemas/xsd/vrouter.xsd
117
- - share/schemas/xsd/vrouter_pool.xsd
118
- - share/schemas/xsd/zone.xsd
119
- - share/schemas/xsd/zone_pool.xsd
71
+ - LICENSE
72
+ - NOTICE
120
73
  - bin/oneacct
121
74
  - bin/oneacl
122
75
  - bin/onecluster
@@ -168,8 +121,55 @@ files:
168
121
  - lib/one_helper/onevntemplate_helper.rb
169
122
  - lib/one_helper/onevrouter_helper.rb
170
123
  - lib/one_helper/onezone_helper.rb
171
- - NOTICE
172
- - LICENSE
124
+ - share/schemas/xsd/acct.xsd
125
+ - share/schemas/xsd/acl_pool.xsd
126
+ - share/schemas/xsd/api_info.xsd
127
+ - share/schemas/xsd/cluster.xsd
128
+ - share/schemas/xsd/cluster_pool.xsd
129
+ - share/schemas/xsd/datastore.xsd
130
+ - share/schemas/xsd/datastore_pool.xsd
131
+ - share/schemas/xsd/document.xsd
132
+ - share/schemas/xsd/document_pool.xsd
133
+ - share/schemas/xsd/group.xsd
134
+ - share/schemas/xsd/group_pool.xsd
135
+ - share/schemas/xsd/hook.xsd
136
+ - share/schemas/xsd/hook_message_api.xsd
137
+ - share/schemas/xsd/hook_message_retry.xsd
138
+ - share/schemas/xsd/hook_message_state.xsd
139
+ - share/schemas/xsd/hook_pool.xsd
140
+ - share/schemas/xsd/host.xsd
141
+ - share/schemas/xsd/host_pool.xsd
142
+ - share/schemas/xsd/image.xsd
143
+ - share/schemas/xsd/image_pool.xsd
144
+ - share/schemas/xsd/index.xsd
145
+ - share/schemas/xsd/marketplace.xsd
146
+ - share/schemas/xsd/marketplace_pool.xsd
147
+ - share/schemas/xsd/marketplaceapp.xsd
148
+ - share/schemas/xsd/marketplaceapp_pool.xsd
149
+ - share/schemas/xsd/monitoring_data.xsd
150
+ - share/schemas/xsd/opennebula_configuration.xsd
151
+ - share/schemas/xsd/raftstatus.xsd
152
+ - share/schemas/xsd/security_group.xsd
153
+ - share/schemas/xsd/security_group_pool.xsd
154
+ - share/schemas/xsd/showback.xsd
155
+ - share/schemas/xsd/user.xsd
156
+ - share/schemas/xsd/user_pool.xsd
157
+ - share/schemas/xsd/vdc.xsd
158
+ - share/schemas/xsd/vdc_pool.xsd
159
+ - share/schemas/xsd/vm.xsd
160
+ - share/schemas/xsd/vm_group.xsd
161
+ - share/schemas/xsd/vm_group_pool.xsd
162
+ - share/schemas/xsd/vm_pool.xsd
163
+ - share/schemas/xsd/vmtemplate.xsd
164
+ - share/schemas/xsd/vmtemplate_pool.xsd
165
+ - share/schemas/xsd/vnet.xsd
166
+ - share/schemas/xsd/vnet_pool.xsd
167
+ - share/schemas/xsd/vntemplate.xsd
168
+ - share/schemas/xsd/vntemplate_pool.xsd
169
+ - share/schemas/xsd/vrouter.xsd
170
+ - share/schemas/xsd/vrouter_pool.xsd
171
+ - share/schemas/xsd/zone.xsd
172
+ - share/schemas/xsd/zone_pool.xsd
173
173
  homepage: http://opennebula.io
174
174
  licenses:
175
175
  - Apache-2.0
@@ -180,17 +180,16 @@ require_paths:
180
180
  - lib
181
181
  required_ruby_version: !ruby/object:Gem::Requirement
182
182
  requirements:
183
- - - '>='
183
+ - - ">="
184
184
  - !ruby/object:Gem::Version
185
185
  version: '0'
186
186
  required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  requirements:
188
- - - '>='
188
+ - - ">="
189
189
  - !ruby/object:Gem::Version
190
190
  version: '0'
191
191
  requirements: []
192
- rubyforge_project:
193
- rubygems_version: 2.0.14.1
192
+ rubygems_version: 3.1.2
194
193
  signing_key:
195
194
  specification_version: 4
196
195
  summary: OpenNebula Command Line Interface