From 7a3fe43c91f12bf8cc956c70284c029ac7cf7961 Mon Sep 17 00:00:00 2001 From: Dina Belova Date: Thu, 15 Jan 2015 17:57:53 +0300 Subject: [PATCH] Use oslo_vmware instead of deprecated oslo.vmware Change-Id: I3d158786bc276c9d0de4fbaa324216697a5483aa --- ceilometer/compute/virt/vmware/inspector.py | 2 +- ceilometer/compute/virt/vmware/vsphere_operations.py | 2 +- ceilometer/tests/compute/virt/vmware/test_inspector.py | 2 +- ceilometer/tests/compute/virt/vmware/test_vsphere_operations.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ceilometer/compute/virt/vmware/inspector.py b/ceilometer/compute/virt/vmware/inspector.py index 0c7344419..d6a57deb2 100644 --- a/ceilometer/compute/virt/vmware/inspector.py +++ b/ceilometer/compute/virt/vmware/inspector.py @@ -15,9 +15,9 @@ """Implementation of Inspector abstraction for VMware vSphere""" -from oslo.vmware import api from oslo_config import cfg from oslo_utils import units +from oslo_vmware import api from ceilometer.compute.virt import inspector as virt_inspector from ceilometer.compute.virt.vmware import vsphere_operations diff --git a/ceilometer/compute/virt/vmware/vsphere_operations.py b/ceilometer/compute/virt/vmware/vsphere_operations.py index ed5c2e02a..16b92b8b1 100644 --- a/ceilometer/compute/virt/vmware/vsphere_operations.py +++ b/ceilometer/compute/virt/vmware/vsphere_operations.py @@ -13,7 +13,7 @@ # License for the specific language governing permissions and limitations # under the License. -from oslo.vmware import vim_util +from oslo_vmware import vim_util PERF_MANAGER_TYPE = "PerformanceManager" diff --git a/ceilometer/tests/compute/virt/vmware/test_inspector.py b/ceilometer/tests/compute/virt/vmware/test_inspector.py index 7461e8f6d..880764bb7 100644 --- a/ceilometer/tests/compute/virt/vmware/test_inspector.py +++ b/ceilometer/tests/compute/virt/vmware/test_inspector.py @@ -17,7 +17,7 @@ Tests for VMware Vsphere inspector. """ import mock -from oslo.vmware import api +from oslo_vmware import api from oslotest import base from ceilometer.compute.virt import inspector as virt_inspector diff --git a/ceilometer/tests/compute/virt/vmware/test_vsphere_operations.py b/ceilometer/tests/compute/virt/vmware/test_vsphere_operations.py index 50076267a..1d7ba1488 100644 --- a/ceilometer/tests/compute/virt/vmware/test_vsphere_operations.py +++ b/ceilometer/tests/compute/virt/vmware/test_vsphere_operations.py @@ -14,7 +14,7 @@ # under the License. import mock -from oslo.vmware import api +from oslo_vmware import api from oslotest import base from ceilometer.compute.virt.vmware import vsphere_operations