You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2013/08/03 15:07:22 UTC

[4/6] git commit: pep8 examples.

pep8 examples.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/1e4a0cd0
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/1e4a0cd0
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/1e4a0cd0

Branch: refs/heads/trunk
Commit: 1e4a0cd04435051d13714195889d1816ae5c5dad
Parents: 5d15839
Author: Tomaz Muraus <to...@apache.org>
Authored: Sat Aug 3 14:39:25 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Sat Aug 3 14:39:25 2013 +0200

----------------------------------------------------------------------
 docs/examples/compute/vmware_vcloud_1.5.py | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/1e4a0cd0/docs/examples/compute/vmware_vcloud_1.5.py
----------------------------------------------------------------------
diff --git a/docs/examples/compute/vmware_vcloud_1.5.py b/docs/examples/compute/vmware_vcloud_1.5.py
index 86461ab..5498a8f 100644
--- a/docs/examples/compute/vmware_vcloud_1.5.py
+++ b/docs/examples/compute/vmware_vcloud_1.5.py
@@ -34,15 +34,19 @@ driver.destroy_node(node)
 node = driver.create_node(name='test node 2', image=image, ex_deploy=False)
 
 # Create node with custom CPU & Memory values
-node = driver.create_node(name='test node 3', image=image, ex_vm_cpu=3, ex_vm_memory=1024)
+node = driver.create_node(name='test node 3', image=image, ex_vm_cpu=3,
+                          ex_vm_memory=1024)
 
-# Create node with customised networking parameters (eg. for OVF imported images)
+# Create node with customised networking parameters (eg. for OVF
+# imported images)
 node = driver.create_node(name='test node 4', image=image,
-                          ex_vm_network='your vm net name', ex_network='your org net name',
+                          ex_vm_network='your vm net name',
+                          ex_network='your org net name',
                           ex_vm_fence='bridged', ex_vm_ipmode='DHCP')
 
 # Create node in a custom virtual data center
-node = driver.create_node(name='test node 4', image=image, ex_vdc='your vdc name')
+node = driver.create_node(name='test node 4', image=image,
+                          ex_vdc='your vdc name')
 
 # Create node with guest OS customisation script to be run at first boot
 node = driver.create_node(name='test node 5', image=image,