vcloud-rest 0.3.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c88e00c344ec71b95abf4340a2a1401d6617747
4
- data.tar.gz: 07d79063ef3ab8906b30196c47758471c1473d88
3
+ metadata.gz: 633b84969bc2687f204a6393a60c826791e057c1
4
+ data.tar.gz: 6588a7985b975089fd0ba629caaa719dd262c6a2
5
5
  SHA512:
6
- metadata.gz: bdd41a731e6204c0b1279904412dc5546bb57540e8c43b646274e44c3f17f84359d90665d122bb3f8c43c154f5459cbb7e3b4d5006917b0bc0830c4f0d3ba7e9
7
- data.tar.gz: 144ce4ac54ef6b04b072306a86e9ea724091f419be29c2f8b6c681248c1ee264f214641decf658200c3d71ced465d5a37dbfe929c407cd019a269e954fb871c9
6
+ metadata.gz: 1fbb7b9ce96cb65c796813ee31c7d1a266a15e791f8f51e507945c234b97860c1848827324e2d90df53723ac07fad7359a6eed5418620789df5a8fb3321982f5
7
+ data.tar.gz: 80d5e7180bd05dc72f208cd741e3b54e4204aa5387c5c11bc15ca86d9ab611871cf61b3cc0f4efa73b6192e8e85de021f64ca1913ea5f70d222cc686b50d3fd5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,66 @@
1
1
  Changes
2
2
  ==
3
+ 2013-11-29 (1.0.0)
4
+ --
5
+
6
+ This is the first release that leaves beta status.
7
+ It's actively used in production by at least one company and thus it's important
8
+ to offer a more stable interface.
9
+
10
+ FEATURES:
11
+
12
+ * General
13
+ * Add proper logging
14
+ (set env vars *VCLOUD_REST_DEBUG_LEVEL* and *VCLOUD_REST_LOG_FILE*)
15
+ * Various entities can be searched by name
16
+ * vApp
17
+ * Add methods to create/revert snapshots
18
+ * Add method to clone a vApp
19
+ * Add support to force vApp's Guest Customization
20
+ * get_vapp: retrieve network information
21
+ * get_vapp: retrieve vApp snapshot info
22
+ * Add method to remove a network from a vApp
23
+ * Add method to add an external (from vDC) network to a vApp
24
+ * retrieve vApp's RetainNetInfoAcrossDeployments setting
25
+ * VM
26
+ * Add external ip address to ```get_vm```
27
+ * Add method to retrieve VM info (cpu & RAM)
28
+ * Add method to set VM's CPUs info
29
+ * Add method to set VM's RAM info
30
+ * Add method to retrieve VM's disks info
31
+ * Add method to manage VM's disks (add, delete, resize)
32
+ * Add support to upload a customization script
33
+ * Add support to force VM's Guest Customization
34
+ * Add support to manage VM's status (start/stop...)
35
+ * retrieve VM's status in get_vm
36
+ * Add method to rename VMs
37
+ * OVF
38
+ * Add a :send_manifest option to ```upload_ovf```
39
+ * Network
40
+ * Add method to show network details
41
+ * Tasks
42
+ * Add methods to list/cancel Tasks
43
+
44
+ CHANGES:
45
+
46
+ * vApp clone returns an hash to provide also the new vApp's ID
47
+ * retrieve VM's name directly instead of using the GuestCustomization section
48
+ * Do not track Gemfile.lock anymore
49
+ * Relax nokogiri version to >= 1.5.10
50
+ * set_vapp_network_config requires different parameters
51
+
52
+ FIXES:
53
+
54
+ * Reset auth token when a session is destroyed
55
+ * Fix wait_task_completion
56
+ * Uniform output for get_catalog_item and get_catalog_item_by_name
57
+ * ParentNetwork is optional
58
+ * Fix ID retrievals using regexps
59
+ * set_vapp_network_config to ensure existing configs are not lost
60
+ * Better error handling for upload OVF
61
+
3
62
  2013-07-25 (0.3.0)
63
+ --
4
64
 
5
65
  FEATURES:
6
66
 
data/README.md CHANGED
@@ -5,12 +5,10 @@ DESCRIPTION
5
5
  --
6
6
  Unofficial ruby bindings for VMware® vCloud Director's rest APIs.
7
7
 
8
- Note: at this stage both _v.1.5_ and _v.5.1_ are supported. It defaults to _v.5.1_ but it's possible to specify _api\_version="1.5"_.
8
+ Note: at this stage both _v.1.5_ and _v.5.1_ are supported. It defaults to _v.5.1_ but it's possible to specify *_api_version="1.5"*.
9
9
 
10
10
  See [vCloud API](http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.doc_51/GUID-86CA32C2-3753-49B2-A471-1CE460109ADB.html) for details.
11
11
 
12
- This code is BETA QUALITY.
13
-
14
12
  INSTALLATION
15
13
  --
16
14
  This plugin is distributed as a Ruby Gem. To install it, run:
@@ -28,14 +26,21 @@ FEATURES
28
26
  - show VDCs
29
27
  - show Catalogs
30
28
  - show Catalog Items
31
- - create/start/stop/delete/show vApps
32
- - show VMs
33
- - basic vApp network configuration
34
- - basic VM network configuration
35
- - basic VM Guest Customization configuration
29
+ - various vApp's commands
30
+ - show
31
+ - create/clone
32
+ - start/stop/delete/reset/suspend/reboot
33
+ - basic network configuration
34
+ - basic VM configuration
35
+ - show
36
+ - set cpu/RAM
37
+ - basic network configuration
38
+ - basic VM Guest Customization configuration
39
+ - start/stop/delete/reset/suspend/reboot
36
40
  - basic vApp compose capabilities
37
41
  - basic vApp NAT port forwarding creation
38
42
  - Catalog item upload with byterange upload and retry capabilities
43
+ - show Network details
39
44
 
40
45
  TODO
41
46
  --
@@ -65,7 +70,14 @@ EXAMPLE
65
70
  --
66
71
  A (mostly complete) example can be found in
67
72
 
68
- examples/example.rb
73
+ examples/example.rb
74
+
75
+ DEBUGGING
76
+ --
77
+ Debug can be enabled setting the following environment variables:
78
+
79
+ * *VCLOUD_REST_DEBUG_LEVEL*: to specify the log level (e.g., INFO)
80
+ * *VCLOUD_REST_LOG_FILE*: to specify the output file (defaults to STDOUT)
69
81
 
70
82
  TESTING
71
83
  --