opennebula-cli 6.2.2 → 6.3.80.pre

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: 3e2632af598a5b133b2a79d76411771bb13729b53cb61e13ca2fdc9a19d03537
4
- data.tar.gz: 80e5897f9689d6d8c40f409b99df4432378693529cca5acae1fb5bc4aa28b45f
3
+ metadata.gz: 5a1350ce7a3d5d9d6e1b7ffb16f51eaecdf01cd397fa8d1bb0fb87f08b5c0fc4
4
+ data.tar.gz: fb950f30366562c94cd865adffeae41d7442cf70e20a7ab035c8a40cbb6aec3e
5
5
  SHA512:
6
- metadata.gz: 77b4013137e6fb74bff4aa984e33cbfe4cebdb8370e29be5bc8513446d6104c57e72a7d47cfde42ed9b4bbe514ed3387b14cc264939a7b7cc2ddf7324644b429
7
- data.tar.gz: bf7615319dcc7119541276b06ab97ab904ad5dce0ebb93b1ffe2eca4111df24b13540051f3e66a133fbefae9d4a1ce971d9594a95c593d458f2b130ae109b86f
6
+ metadata.gz: c5d582717725a0da69269abe94e4fb07f429ac58286116a3bf165833c9e894505370fbaf4ca2b7d3d9ebfe26c2c927d8e4a1848c014db13c45550c0d1af9ec8a
7
+ data.tar.gz: 34127cec5cc3eaf71dc8e4dc479a05d3f5f0760b99725f99c0155a37986d7477ec3879298d11153d79559c091075f698d04145b2d35d86898d63e85aeb017a6a
data/bin/onevm CHANGED
@@ -913,6 +913,36 @@ CommandParser::CmdParser.new(ARGV) do
913
913
  end
914
914
  end
915
915
 
916
+ sg_attach_desc = <<-EOT.unindent
917
+ Attaches a Security Group to a VM.
918
+
919
+ States: All, except BOOT, MIGRATE and HOTPLUG_NIC
920
+ EOT
921
+
922
+ command :"sg-attach", sg_attach_desc, :vmid, :nicid, :sgid do
923
+ nic_id = args[1].to_i
924
+ sg_id = args[2].to_i
925
+
926
+ helper.perform_action(args[0], options, 'Attach SG') do |vm|
927
+ vm.sg_attach(nic_id, sg_id)
928
+ end
929
+ end
930
+
931
+ sg_detach_desc = <<-EOT.unindent
932
+ Detaches a Security Group from a VM.
933
+
934
+ States: All, except BOOT, MIGRATE and HOTPLUG_NIC
935
+ EOT
936
+
937
+ command :"sg-detach", sg_detach_desc, :vmid, :nicid, :sgid do
938
+ nic_id = args[1].to_i
939
+ sg_id = args[2].to_i
940
+
941
+ helper.perform_action(args[0], options, 'Detach SG') do |vm|
942
+ vm.sg_detach(nic_id, sg_id)
943
+ end
944
+ end
945
+
916
946
  chgrp_desc = <<-EOT.unindent
917
947
  Changes the VM group
918
948
  EOT
@@ -204,6 +204,7 @@
204
204
  <xs:all>
205
205
  <xs:element name="DEBUG_LEVEL" type="xs:integer"/>
206
206
  <xs:element name="SYSTEM" type="xs:string"/>
207
+ <xs:element name="USE_VMS_LOCATION" type="xs:string" minOccurs="0" maxOccurs="1"/>
207
208
  </xs:all>
208
209
  </xs:complexType>
209
210
  </xs:element>
@@ -367,6 +368,7 @@
367
368
  <xs:element name="VM_MANAGE_OPERATIONS" type="xs:string" minOccurs="0" maxOccurs="1"/>
368
369
  <xs:element name="VM_MONITORING_EXPIRATION_TIME" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
369
370
  <xs:element name="VM_RESTRICTED_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
371
+ <xs:element name="VM_SNAPSHOT_FACTOR" type="xs:string" minOccurs="0" maxOccurs="1"/>
370
372
 
371
373
  <xs:element name="VM_SUBMIT_ON_HOLD" minOccurs="0" maxOccurs="1">
372
374
  <xs:simpleType>
@@ -166,6 +166,19 @@
166
166
  </xs:complexType>
167
167
  </xs:element>
168
168
  <xs:element name="SECURITY_GROUP_RULE" minOccurs="0" maxOccurs="unbounded"/>
169
+ <xs:element name="SNAPSHOT" minOccurs="0" maxOccurs="unbounded">
170
+ <xs:complexType>
171
+ <xs:sequence>
172
+ <xs:element name="ACTION" type="xs:string" minOccurs="0" maxOccurs="1"/>
173
+ <xs:element name="ACTIVE" type="xs:string" minOccurs="0" maxOccurs="1"/>
174
+ <xs:element name="HYPERVISOR_ID" type="xs:string"/>
175
+ <xs:element name="NAME" type="xs:string"/>
176
+ <xs:element name="SNAPSHOT_ID" type="xs:string"/>
177
+ <xs:element name="SYSTEM_DISK_SIZE" type="xs:string"/>
178
+ <xs:element name="TIME" type="xs:string"/>
179
+ </xs:sequence>
180
+ </xs:complexType>
181
+ </xs:element>
169
182
  <xs:element name="SPICE_OPTIONS" minOccurs="0" maxOccurs="1"/>
170
183
  <xs:element name="SUBMIT_ON_HOLD" type="xs:string" minOccurs="0" maxOccurs="1"/>
171
184
  <xs:element name="TEMPLATE_ID" type="xs:string" 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.2
4
+ version: 6.3.80.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenNebula
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-23 00:00:00.000000000 Z
11
+ date: 2022-04-04 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.2
19
+ version: 6.3.80.pre
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.2
26
+ version: 6.3.80.pre
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -185,9 +185,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
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
- version: '0'
190
+ version: 1.3.1
191
191
  requirements: []
192
192
  rubygems_version: 3.1.2
193
193
  signing_key: