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 2014/01/30 12:16:48 UTC

[1/3] git commit: Re-generate documentation fixtures.

Updated Branches:
  refs/heads/trunk 23c3b44f1 -> 37abf99c5


Re-generate documentation fixtures.


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

Branch: refs/heads/trunk
Commit: 3776473f8e74a716a8941b1d0c4a9588ac06590f
Parents: 23c3b44
Author: Tomaz Muraus <to...@apache.org>
Authored: Wed Jan 29 17:15:06 2014 +0100
Committer: Tomaz Muraus <to...@apache.org>
Committed: Wed Jan 29 17:15:06 2014 +0100

----------------------------------------------------------------------
 docs/compute/_supported_methods_block_storage.rst       | 2 --
 docs/compute/_supported_methods_key_pair_management.rst | 2 --
 docs/compute/_supported_methods_main.rst                | 4 +---
 docs/compute/_supported_providers.rst                   | 4 +---
 4 files changed, 2 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/3776473f/docs/compute/_supported_methods_block_storage.rst
----------------------------------------------------------------------
diff --git a/docs/compute/_supported_methods_block_storage.rst b/docs/compute/_supported_methods_block_storage.rst
index f640518..f2ba2b5 100644
--- a/docs/compute/_supported_methods_block_storage.rst
+++ b/docs/compute/_supported_methods_block_storage.rst
@@ -6,7 +6,6 @@ Provider                              list volumes create volume destroy volume
 `Brightbox`_                          no           no            no             no            no            no             no             
 `CloudFrames`_                        no           no            no             no            no            no             no             
 `CloudSigma`_                         no           no            no             no            no            no             no             
-`CloudSigma`_                         no           no            no             no            no            no             no             
 `CloudStack`_                         yes          yes           yes            yes           yes           no             no             
 `Digital Ocean`_                      no           no            no             no            no            no             no             
 `Dreamhost`_                          no           no            no             no            no            no             no             
@@ -66,7 +65,6 @@ Provider                              list volumes create volume destroy volume
 .. _`Brightbox`: http://www.brightbox.co.uk/
 .. _`CloudFrames`: http://www.cloudframes.net/
 .. _`CloudSigma`: http://www.cloudsigma.com/
-.. _`CloudSigma`: http://www.cloudsigma.com/
 .. _`CloudStack`: http://cloudstack.org/
 .. _`Digital Ocean`: https://www.digitalocean.com
 .. _`Dreamhost`: http://dreamhost.com/

http://git-wip-us.apache.org/repos/asf/libcloud/blob/3776473f/docs/compute/_supported_methods_key_pair_management.rst
----------------------------------------------------------------------
diff --git a/docs/compute/_supported_methods_key_pair_management.rst b/docs/compute/_supported_methods_key_pair_management.rst
index 9003ab2..a677d60 100644
--- a/docs/compute/_supported_methods_key_pair_management.rst
+++ b/docs/compute/_supported_methods_key_pair_management.rst
@@ -6,7 +6,6 @@ Provider                              list key pairs get key pair create key pai
 `Brightbox`_                          no             no           no              no                            no                          no             
 `CloudFrames`_                        no             no           no              no                            no                          no             
 `CloudSigma`_                         no             no           no              no                            no                          no             
-`CloudSigma`_                         no             no           no              no                            no                          no             
 `CloudStack`_                         yes            yes          yes             yes                           no                          yes            
 `Digital Ocean`_                      no             no           no              no                            no                          no             
 `Dreamhost`_                          no             no           no              no                            no                          no             
@@ -66,7 +65,6 @@ Provider                              list key pairs get key pair create key pai
 .. _`Brightbox`: http://www.brightbox.co.uk/
 .. _`CloudFrames`: http://www.cloudframes.net/
 .. _`CloudSigma`: http://www.cloudsigma.com/
-.. _`CloudSigma`: http://www.cloudsigma.com/
 .. _`CloudStack`: http://cloudstack.org/
 .. _`Digital Ocean`: https://www.digitalocean.com
 .. _`Dreamhost`: http://dreamhost.com/

http://git-wip-us.apache.org/repos/asf/libcloud/blob/3776473f/docs/compute/_supported_methods_main.rst
----------------------------------------------------------------------
diff --git a/docs/compute/_supported_methods_main.rst b/docs/compute/_supported_methods_main.rst
index c7b2454..f969a81 100644
--- a/docs/compute/_supported_methods_main.rst
+++ b/docs/compute/_supported_methods_main.rst
@@ -5,8 +5,7 @@ Provider                              list nodes create node reboot node destroy
 `Bluebox Blocks`_                     yes        yes         yes         yes          yes         yes        yes        
 `Brightbox`_                          yes        yes         no          yes          yes         yes        no         
 `CloudFrames`_                        yes        yes         yes         yes          yes         yes        no         
-`CloudSigma`_                         yes        yes         yes         yes          yes         yes        no         
-`CloudSigma`_                         yes        yes         yes         yes          yes         yes        no         
+`CloudSigma`_                         no         no          no          no           no          no         no         
 `CloudStack`_                         yes        yes         yes         yes          yes         yes        yes        
 `Digital Ocean`_                      yes        yes         yes         yes          yes         yes        no         
 `Dreamhost`_                          yes        yes         yes         yes          yes         yes        no         
@@ -66,7 +65,6 @@ Provider                              list nodes create node reboot node destroy
 .. _`Brightbox`: http://www.brightbox.co.uk/
 .. _`CloudFrames`: http://www.cloudframes.net/
 .. _`CloudSigma`: http://www.cloudsigma.com/
-.. _`CloudSigma`: http://www.cloudsigma.com/
 .. _`CloudStack`: http://cloudstack.org/
 .. _`Digital Ocean`: https://www.digitalocean.com
 .. _`Dreamhost`: http://dreamhost.com/

http://git-wip-us.apache.org/repos/asf/libcloud/blob/3776473f/docs/compute/_supported_providers.rst
----------------------------------------------------------------------
diff --git a/docs/compute/_supported_providers.rst b/docs/compute/_supported_providers.rst
index 5aa2bdb..32ef342 100644
--- a/docs/compute/_supported_providers.rst
+++ b/docs/compute/_supported_providers.rst
@@ -5,8 +5,7 @@ Provider                              Documentation
 `Bluebox Blocks`_                                                                 BLUEBOX             :mod:`libcloud.compute.drivers.bluebox`        :class:`BlueboxNodeDriver`          
 `Brightbox`_                                                                      BRIGHTBOX           :mod:`libcloud.compute.drivers.brightbox`      :class:`BrightboxNodeDriver`        
 `CloudFrames`_                        :doc:`Click </compute/drivers/cloudframes>` CLOUDFRAMES         :mod:`libcloud.compute.drivers.cloudframes`    :class:`CloudFramesNodeDriver`      
-`CloudSigma`_                                                                     CLOUDSIGMA          :mod:`libcloud.compute.drivers.cloudsigma`     :class:`CloudSigmaZrhNodeDriver`    
-`CloudSigma`_                                                                     CLOUDSIGMA_US       :mod:`libcloud.compute.drivers.cloudsigma`     :class:`CloudSigmaLvsNodeDriver`    
+`CloudSigma`_                         :doc:`Click </compute/drivers/cloudsigma>`  CLOUDSIGMA          :mod:`libcloud.compute.drivers.cloudsigma`     :class:`CloudSigmaNodeDriver`       
 `CloudStack`_                         :doc:`Click </compute/drivers/cloudstack>`  CLOUDSTACK          :mod:`libcloud.compute.drivers.cloudstack`     :class:`CloudStackNodeDriver`       
 `Digital Ocean`_                                                                  DIGITAL_OCEAN       :mod:`libcloud.compute.drivers.digitalocean`   :class:`DigitalOceanNodeDriver`     
 `Dreamhost`_                                                                      DREAMHOST           :mod:`libcloud.compute.drivers.dreamhost`      :class:`DreamhostNodeDriver`        
@@ -66,7 +65,6 @@ Provider                              Documentation
 .. _`Brightbox`: http://www.brightbox.co.uk/
 .. _`CloudFrames`: http://www.cloudframes.net/
 .. _`CloudSigma`: http://www.cloudsigma.com/
-.. _`CloudSigma`: http://www.cloudsigma.com/
 .. _`CloudStack`: http://cloudstack.org/
 .. _`Digital Ocean`: https://www.digitalocean.com
 .. _`Dreamhost`: http://dreamhost.com/


[2/3] git commit: Add 'name' argument to key pair importing examples

Posted by to...@apache.org.
Add 'name' argument to key pair importing examples

Closes #232.

Signed-off-by: Tomaz Muraus <to...@apache.org>


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

Branch: refs/heads/trunk
Commit: 324303a423527786403812a26d9177d60b6afd78
Parents: 3776473
Author: briancurtin <br...@rackspace.com>
Authored: Wed Jan 29 22:50:46 2014 -0600
Committer: Tomaz Muraus <to...@apache.org>
Committed: Thu Jan 30 12:11:38 2014 +0100

----------------------------------------------------------------------
 docs/examples/compute/import_key_pair_from_file.py   | 2 +-
 docs/examples/compute/import_key_pair_from_string.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/324303a4/docs/examples/compute/import_key_pair_from_file.py
----------------------------------------------------------------------
diff --git a/docs/examples/compute/import_key_pair_from_file.py b/docs/examples/compute/import_key_pair_from_file.py
index d14e0b2..86d44d0 100644
--- a/docs/examples/compute/import_key_pair_from_file.py
+++ b/docs/examples/compute/import_key_pair_from_file.py
@@ -10,4 +10,4 @@ Driver = get_driver(Provider.EC2)
 conn = Driver(EC2_ACCESS_ID, EC2_SECRET_KEY)
 
 key_file_path = os.path.expanduser('~/.ssh/id_rsa_my_key_pair_1.pub')
-key_pair = conn.import_key_pair_from_file(key_file_path=key_file_path)
+key_pair = conn.import_key_pair_from_file(name='my_key', key_file_path=key_file_path)

http://git-wip-us.apache.org/repos/asf/libcloud/blob/324303a4/docs/examples/compute/import_key_pair_from_string.py
----------------------------------------------------------------------
diff --git a/docs/examples/compute/import_key_pair_from_string.py b/docs/examples/compute/import_key_pair_from_string.py
index 67e8c2e..43e6d69 100644
--- a/docs/examples/compute/import_key_pair_from_string.py
+++ b/docs/examples/compute/import_key_pair_from_string.py
@@ -15,4 +15,4 @@ key_file_path = os.path.expanduser('~/.ssh/id_rsa_my_key_pair_1.pub')
 with open(key_file_path, 'r') as fp:
     key_material = fp.read()
 
-key_pair = conn.import_key_pair_from_string(key_material=key_material)
+key_pair = conn.import_key_pair_from_string(name='my_key', key_material=key_material)


[3/3] git commit: Fix lint.

Posted by to...@apache.org.
Fix lint.


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

Branch: refs/heads/trunk
Commit: 37abf99c55303a7b9b59050e324cd603ba30ff7f
Parents: 324303a
Author: Tomaz Muraus <to...@apache.org>
Authored: Thu Jan 30 12:13:00 2014 +0100
Committer: Tomaz Muraus <to...@apache.org>
Committed: Thu Jan 30 12:13:00 2014 +0100

----------------------------------------------------------------------
 docs/examples/compute/import_key_pair_from_file.py   | 3 ++-
 docs/examples/compute/import_key_pair_from_string.py | 4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/37abf99c/docs/examples/compute/import_key_pair_from_file.py
----------------------------------------------------------------------
diff --git a/docs/examples/compute/import_key_pair_from_file.py b/docs/examples/compute/import_key_pair_from_file.py
index 86d44d0..2079cef 100644
--- a/docs/examples/compute/import_key_pair_from_file.py
+++ b/docs/examples/compute/import_key_pair_from_file.py
@@ -10,4 +10,5 @@ Driver = get_driver(Provider.EC2)
 conn = Driver(EC2_ACCESS_ID, EC2_SECRET_KEY)
 
 key_file_path = os.path.expanduser('~/.ssh/id_rsa_my_key_pair_1.pub')
-key_pair = conn.import_key_pair_from_file(name='my_key', key_file_path=key_file_path)
+key_pair = conn.import_key_pair_from_file(name='my_key',
+                                          key_file_path=key_file_path)

http://git-wip-us.apache.org/repos/asf/libcloud/blob/37abf99c/docs/examples/compute/import_key_pair_from_string.py
----------------------------------------------------------------------
diff --git a/docs/examples/compute/import_key_pair_from_string.py b/docs/examples/compute/import_key_pair_from_string.py
index 43e6d69..b465449 100644
--- a/docs/examples/compute/import_key_pair_from_string.py
+++ b/docs/examples/compute/import_key_pair_from_string.py
@@ -12,7 +12,9 @@ Driver = get_driver(Provider.EC2)
 conn = Driver(EC2_ACCESS_ID, EC2_SECRET_KEY)
 
 key_file_path = os.path.expanduser('~/.ssh/id_rsa_my_key_pair_1.pub')
+
 with open(key_file_path, 'r') as fp:
     key_material = fp.read()
 
-key_pair = conn.import_key_pair_from_string(name='my_key', key_material=key_material)
+key_pair = conn.import_key_pair_from_string(name='my_key',
+                                            key_material=key_material)