Here a pull request for improvement of gandi.net compute driver in libcloud. 
Methods added are specifics ones to manipulate network interfaces and also 
disks attached to nodes. All methods are covered by a unittest.

Base objects for connections, errors are now in common/gandi.py.

You can merge this Pull Request by running:

  git pull https://github.com/gdchamal/libcloud trunk

Or you can view, comment on it, or merge it online at:

  https://github.com/apache/libcloud/pull/29

-- Commit Summary --

* pep8 compliance
* gandi base driver in common
* ex_ methods ex_list_interfaces, ex_list_disk, ex_attach_[iface|disk] also 
detach
* pep8 in test_gandi
* simple test for ex_* methods
* add snapshot_disk and update_disk ex methods. Change name and param order of 
all attach and detach methods
* snapshot name must be len < 15

-- File Changes --

A libcloud/common/gandi.py (234)
M libcloud/compute/drivers/gandi.py (321)
A test/compute/fixtures/gandi/disk_attach.xml (53)
A test/compute/fixtures/gandi/disk_create_from.xml (53)
A test/compute/fixtures/gandi/disk_detach.xml (53)
A test/compute/fixtures/gandi/disk_list.xml (200)
A test/compute/fixtures/gandi/disk_update.xml (53)
A test/compute/fixtures/gandi/iface_attach.xml (53)
A test/compute/fixtures/gandi/iface_detach.xml (53)
A test/compute/fixtures/gandi/iface_list.xml (99)
M test/compute/test_gandi.py (97)

-- Patch Links --

  https://github.com/apache/libcloud/pull/29.patch
  https://github.com/apache/libcloud/pull/29.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/libcloud/pull/29

Reply via email to