fog-vcloud-director 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fog/vcloud_director/models/compute/vapp.rb +13 -0
- data/lib/fog/vcloud_director/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d37ccddc3106415a49ca28053cac9facbc096d2
|
4
|
+
data.tar.gz: be2ca000bb2c768f6ff4a642f91ff28e112b3c37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b164c7f9b7a4880630607ad54b195cc7683838ef50fd372033a8fdd8b427f0d2a8e9201e5e2fad8c6d1e58b1c81848fc61dc787ff943ff233072487953983352
|
7
|
+
data.tar.gz: cf90dd0fa4e4ea8c044c6bf913cfa2163d7522cf68bf6b1ba596d7a55796954de5299734ea0b7e7ba91cb9e2592fcfb224790a78c412a12b57cc54e561801257
|
@@ -33,6 +33,19 @@ module Fog
|
|
33
33
|
service.custom_fields( :vapp => self)
|
34
34
|
end
|
35
35
|
|
36
|
+
def human_status
|
37
|
+
case status
|
38
|
+
when '0', 0
|
39
|
+
'creating'
|
40
|
+
when '8', 8
|
41
|
+
'off'
|
42
|
+
when '4', 4
|
43
|
+
'on'
|
44
|
+
else
|
45
|
+
'unknown'
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
36
49
|
# @param [String] action The specified action is applied to all virtual
|
37
50
|
# machines in the vApp. All values other than **default** ignore
|
38
51
|
# actions, order, and delay specified in the StartupSection. One of:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-vcloud-director
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luka Zakrajšek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|