opennebula-cli 4.10.2 → 4.11.80.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/oneacct +16 -2
- data/bin/onedatastore +20 -0
- data/bin/onegroup +27 -42
- data/bin/onesecgroup +198 -0
- data/bin/oneshowback +178 -0
- data/bin/onetemplate +4 -1
- data/bin/onevcenter +81 -0
- data/bin/onevdc +280 -0
- data/bin/onevnet +14 -2
- data/lib/cli_helper.rb +1 -1
- data/lib/one_helper.rb +0 -9
- data/lib/one_helper/oneacct_helper.rb +74 -6
- data/lib/one_helper/oneacl_helper.rb +8 -4
- data/lib/one_helper/onedatastore_helper.rb +10 -3
- data/lib/one_helper/onegroup_helper.rb +13 -19
- data/lib/one_helper/onehost_helper.rb +10 -0
- data/lib/one_helper/onesecgroup_helper.rb +155 -0
- data/lib/one_helper/onevdc_helper.rb +144 -0
- data/lib/one_helper/onevm_helper.rb +93 -50
- data/lib/one_helper/onevnet_helper.rb +20 -20
- metadata +16 -7
@@ -238,40 +238,40 @@ class OneVNetHelper < OpenNebulaHelper::OneHelper
|
|
238
238
|
|
239
239
|
CLIHelper.print_header(str_h1 % ["ADDRESS RANGE POOL"], false)
|
240
240
|
|
241
|
+
arlist = []
|
242
|
+
|
241
243
|
if !vn_hash['VNET']['AR_POOL']['AR'].nil?
|
242
244
|
arlist = [vn_hash['VNET']['AR_POOL']['AR']].flatten
|
243
245
|
end
|
244
246
|
|
245
|
-
|
246
|
-
column :AR, "", :size=>3 do |d|
|
247
|
-
d["AR_ID"]
|
248
|
-
end
|
247
|
+
arlist.each do |ar|
|
249
248
|
|
250
|
-
|
251
|
-
d["TYPE"]
|
252
|
-
end
|
249
|
+
CLIHelper.print_header("%-80s" % "AR #{ar["AR_ID"]}")
|
253
250
|
|
254
|
-
|
255
|
-
|
256
|
-
|
251
|
+
str="%-15s: %-20s"
|
252
|
+
puts str % ["SIZE", ar["SIZE"]]
|
253
|
+
puts str % ["LEASES", ar["USED_LEASES"]]
|
254
|
+
puts
|
257
255
|
|
258
|
-
|
259
|
-
|
260
|
-
end
|
256
|
+
format = "%-10s %34s %34s"
|
257
|
+
CLIHelper.print_header(format % ["RANGE", "FIRST", "LAST"], false)
|
261
258
|
|
262
|
-
|
263
|
-
|
259
|
+
puts format % ["MAC", ar["MAC"], ar["MAC_END"]]
|
260
|
+
|
261
|
+
if !ar["IP"].nil?
|
262
|
+
puts format % ["IP", ar["IP"], ar["IP_END"]]
|
264
263
|
end
|
265
264
|
|
266
|
-
|
267
|
-
|
265
|
+
if !ar["IP6_GLOBAL"].nil?
|
266
|
+
puts format % ["IP6_GLOBAL", ar["IP6_GLOBAL"], ar["IP6_GLOBAL_END"]]
|
268
267
|
end
|
269
268
|
|
270
|
-
|
271
|
-
|
269
|
+
if !ar["IP6_ULA"].nil?
|
270
|
+
puts format % ["IP6_ULA", ar["IP6_ULA"], ar["IP6_ULA_END"]]
|
272
271
|
end
|
273
272
|
|
274
|
-
|
273
|
+
puts
|
274
|
+
end
|
275
275
|
|
276
276
|
puts
|
277
277
|
CLIHelper.print_header(str_h1 % ["LEASES"], false)
|
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: 4.
|
4
|
+
version: 4.11.80.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenNebula
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-27 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: 4.
|
19
|
+
version: 4.11.80.beta
|
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: 4.
|
26
|
+
version: 4.11.80.beta
|
27
27
|
description: Commands used to talk to OpenNebula
|
28
28
|
email: contact@opennebula.org
|
29
29
|
executables:
|
@@ -36,12 +36,15 @@ executables:
|
|
36
36
|
- onegroup
|
37
37
|
- onehost
|
38
38
|
- oneimage
|
39
|
+
- onesecgroup
|
40
|
+
- oneshowback
|
39
41
|
- onetemplate
|
40
42
|
- oneuser
|
43
|
+
- onevcenter
|
44
|
+
- onevdc
|
41
45
|
- onevm
|
42
46
|
- onevnet
|
43
47
|
- onezone
|
44
|
-
- onevcenter
|
45
48
|
extensions: []
|
46
49
|
extra_rdoc_files: []
|
47
50
|
files:
|
@@ -56,9 +59,12 @@ files:
|
|
56
59
|
- bin/onegroup
|
57
60
|
- bin/onehost
|
58
61
|
- bin/oneimage
|
62
|
+
- bin/onesecgroup
|
63
|
+
- bin/oneshowback
|
59
64
|
- bin/onetemplate
|
60
65
|
- bin/oneuser
|
61
66
|
- bin/onevcenter
|
67
|
+
- bin/onevdc
|
62
68
|
- bin/onevm
|
63
69
|
- bin/onevnet
|
64
70
|
- bin/onezone
|
@@ -73,8 +79,10 @@ files:
|
|
73
79
|
- lib/one_helper/onehost_helper.rb
|
74
80
|
- lib/one_helper/oneimage_helper.rb
|
75
81
|
- lib/one_helper/onequota_helper.rb
|
82
|
+
- lib/one_helper/onesecgroup_helper.rb
|
76
83
|
- lib/one_helper/onetemplate_helper.rb
|
77
84
|
- lib/one_helper/oneuser_helper.rb
|
85
|
+
- lib/one_helper/onevdc_helper.rb
|
78
86
|
- lib/one_helper/onevm_helper.rb
|
79
87
|
- lib/one_helper/onevnet_helper.rb
|
80
88
|
- lib/one_helper/onezone_helper.rb
|
@@ -93,9 +101,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
101
|
version: '0'
|
94
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
103
|
requirements:
|
96
|
-
- - "
|
104
|
+
- - ">"
|
97
105
|
- !ruby/object:Gem::Version
|
98
|
-
version:
|
106
|
+
version: 1.3.1
|
99
107
|
requirements: []
|
100
108
|
rubyforge_project:
|
101
109
|
rubygems_version: 2.4.5
|
@@ -103,3 +111,4 @@ signing_key:
|
|
103
111
|
specification_version: 4
|
104
112
|
summary: OpenNebula Command Line Interface
|
105
113
|
test_files: []
|
114
|
+
has_rdoc:
|