From 460846cef28a502a51e4d52865743aea73e2f960 Mon Sep 17 00:00:00 2001 From: jichenjc Date: Sat, 20 Feb 2016 22:33:18 +0800 Subject: [compute] Add server backup function Add server backup function There is no return value for this command per following doc http://developer.openstack.org/api-ref-compute-v2.1.html#createBackup, also novaclient can't be updated now due to backward compatible issue http://lists.openstack.org/pipermail/openstack-dev/2016-March/089376.html, so we have to get the information ourselves. The Image tests were not using warlock images, so that needed to be fixed before we could completely test things like --wait. Change-Id: I30159518c4d3fdec89f15963bda641a0b03962d1 --- openstackclient/tests/fakes.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openstackclient/tests/fakes.py') diff --git a/openstackclient/tests/fakes.py b/openstackclient/tests/fakes.py index 229b4652..fb7a957a 100644 --- a/openstackclient/tests/fakes.py +++ b/openstackclient/tests/fakes.py @@ -105,6 +105,9 @@ class FakeClient(object): class FakeClientManager(object): + _api_version = { + 'image': '2', + } def __init__(self): self.compute = None -- cgit v1.2.1