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 2023/10/28 16:41:28 UTC

(libcloud) branch trunk updated (a9f0dcfc7 -> dfbb59597)

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git


    from a9f0dcfc7 Add changelog entry for #1957.
     add b75832755 Add resize node function for azure driver
     new aeea7c8a3 Update azure_arm.py
     new 5530f547d Merge branch 'trunk' into trunk
     new 21f1f3c98 Add changelog entry for #1965.
     new dfbb59597 Reformat code with black.

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 CHANGES.rst                                             |  4 ++++
 libcloud/compute/drivers/azure_arm.py                   | 17 +++++++++++++++++
 ...oft_Compute_virtualMachines_test_node_1_resize.json} |  0
 libcloud/test/compute/test_azure_arm.py                 |  9 +++++++++
 4 files changed, 30 insertions(+)
 copy libcloud/test/compute/fixtures/azure_arm/{_subscriptions_99999999_resourceGroups_000000_providers_Microsoft_Compute_virtualMachines_test_node_1.json => _subscriptions_99999999_resourceGroups_000000_providers_Microsoft_Compute_virtualMachines_test_node_1_resize.json} (100%)


(libcloud) 04/04: Reformat code with black.

Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit dfbb5959739870313f4c47de499963a46a23010d
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sat Oct 28 18:38:51 2023 +0200

    Reformat code with black.
---
 libcloud/compute/drivers/azure_arm.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libcloud/compute/drivers/azure_arm.py b/libcloud/compute/drivers/azure_arm.py
index 9a5c96430..ab6557fa8 100644
--- a/libcloud/compute/drivers/azure_arm.py
+++ b/libcloud/compute/drivers/azure_arm.py
@@ -2197,8 +2197,7 @@ class AzureNodeDriver(NodeDriver):
         target = "%s/resize" % node.id
         data = {"size": size.id}
         r = self.connection.request(
-            target, params={"api-version": VM_API_VERSION}, data=data,
-            method="POST"
+            target, params={"api-version": VM_API_VERSION}, data=data, method="POST"
         )
         return r.object
 


(libcloud) 03/04: Add changelog entry for #1965.

Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 21f1f3c98dd361eed8b2fc01b10233c045c5aee4
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sat Oct 28 18:38:03 2023 +0200

    Add changelog entry for #1965.
---
 CHANGES.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/CHANGES.rst b/CHANGES.rst
index d6a925929..c411ab205 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -34,6 +34,10 @@ Compute
   (#1957)
   [Victor Herrero Otal - @vicwicker]
 
+- [Azure ARM] Add ``ex_resize_node()`` method.
+  (#1964 #1965)
+  [@rajat-garg-del]
+
 Storage
 ~~~~~~~
 


(libcloud) 01/04: Update azure_arm.py

Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit aeea7c8a3af30e63d964ce14a7cac1b0c893cf2f
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sat Oct 28 18:15:39 2023 +0200

    Update azure_arm.py
---
 libcloud/compute/drivers/azure_arm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcloud/compute/drivers/azure_arm.py b/libcloud/compute/drivers/azure_arm.py
index 3cfbaa6fd..e69cdb35d 100644
--- a/libcloud/compute/drivers/azure_arm.py
+++ b/libcloud/compute/drivers/azure_arm.py
@@ -2165,7 +2165,7 @@ class AzureNodeDriver(NodeDriver):
         """
         Resize the node to a different machine size.
 
-        :param node: Node to rebuild
+        :param node: Node to resize
         :type node: :class:`Node`
 
         :param size: New size for this machine


(libcloud) 02/04: Merge branch 'trunk' into trunk

Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 5530f547d9368f2a6a2140a78537218ecb519afa
Merge: aeea7c8a3 a9f0dcfc7
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sat Oct 28 18:17:44 2023 +0200

    Merge branch 'trunk' into trunk

 CHANGES.rst                                        |  8 ++++
 docs/upgrade_notes.rst                             | 11 +++++
 libcloud/compute/drivers/azure_arm.py              | 27 +++++++++++-
 ...s_Microsoft_Compute_disks_test_node_disk_1.json | 51 ++++++++++++++++++++++
 libcloud/test/compute/test_azure_arm.py            | 43 ++++++++++++++++++
 5 files changed, 138 insertions(+), 2 deletions(-)