solusvm 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +2 -2
- data/bin/solusvm +6 -0
- data/solusvm.gemspec +2 -2
- metadata +5 -5
data/VERSION.yml
CHANGED
data/bin/solusvm
CHANGED
@@ -21,6 +21,7 @@ $shell_methods['server-changeplan'] = "<vserverid> <newplan>"
|
|
21
21
|
$shell_methods['server-check-exists'] = "<vserverid>"
|
22
22
|
$shell_methods['server-terminate'] = "<vserverid>"
|
23
23
|
|
24
|
+
$shell_methods['node-stats'] = "<nodeid>"
|
24
25
|
$shell_methods['node-available-ips'] = "<nodeid>"
|
25
26
|
|
26
27
|
def list_commands
|
@@ -131,6 +132,11 @@ else
|
|
131
132
|
else
|
132
133
|
puts ips
|
133
134
|
end
|
135
|
+
when 'node-stats'
|
136
|
+
stats = general.node_statistics(ARGV[0])
|
137
|
+
stats.each do |k,v|
|
138
|
+
puts "#{k} => #{v}"
|
139
|
+
end
|
134
140
|
end
|
135
141
|
rescue Exception => e
|
136
142
|
puts "Error: #{e}\n\n"
|
data/solusvm.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{solusvm}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.7.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Justin Mazzi"]
|
12
|
-
s.date = %q{2010-08-
|
12
|
+
s.date = %q{2010-08-31}
|
13
13
|
s.default_executable = %q{solusvm}
|
14
14
|
s.description = %q{Solusvm allows for easy interaction with the SolusVM Admin::API.}
|
15
15
|
s.email = %q{jmazzi@gmail.com}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solusvm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 7
|
9
|
+
- 0
|
10
|
+
version: 0.7.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Justin Mazzi
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-08-
|
18
|
+
date: 2010-08-31 00:00:00 -04:00
|
19
19
|
default_executable: solusvm
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|