summaryrefslogtreecommitdiff
path: root/nova/virt/libvirt/cpu/__init__.py
diff options
context:
space:
mode:
authorSylvain Bauza <sbauza@redhat.com>2023-02-20 22:13:03 +0100
committerSylvain Bauza <sbauza@redhat.com>2023-02-23 12:04:17 +0100
commit37fa501cacdf4807582b677c92bd61013d477e2a (patch)
tree5e59b1b437e134f05fa5112964b8f99b3661942f /nova/virt/libvirt/cpu/__init__.py
parent00299dcaad9a42c7f81be62a3966c59b299dff1d (diff)
downloadnova-37fa501cacdf4807582b677c92bd61013d477e2a.tar.gz
fup for power management series
Emptying the cpu init file and directly calling the submodule API. Relates to blueprint libvirt-cpu-state-mgmt Change-Id: I1299ca4b49743f58bec6f541785dd9fbee0ae9e2
Diffstat (limited to 'nova/virt/libvirt/cpu/__init__.py')
-rw-r--r--nova/virt/libvirt/cpu/__init__.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/nova/virt/libvirt/cpu/__init__.py b/nova/virt/libvirt/cpu/__init__.py
index 4410a4e579..e69de29bb2 100644
--- a/nova/virt/libvirt/cpu/__init__.py
+++ b/nova/virt/libvirt/cpu/__init__.py
@@ -1,22 +0,0 @@
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-from nova.virt.libvirt.cpu import api
-
-
-Core = api.Core
-
-
-power_up = api.power_up
-power_down = api.power_down
-validate_all_dedicated_cpus = api.validate_all_dedicated_cpus
-power_down_all_dedicated_cpus = api.power_down_all_dedicated_cpus