aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs')
-rw-r--r--vnfs/qemu/qemu_pci_passthrough.py4
-rw-r--r--vnfs/vnf/vnf.py4
2 files changed, 3 insertions, 5 deletions
diff --git a/vnfs/qemu/qemu_pci_passthrough.py b/vnfs/qemu/qemu_pci_passthrough.py
index f32f33d3..eec6d089 100644
--- a/vnfs/qemu/qemu_pci_passthrough.py
+++ b/vnfs/qemu/qemu_pci_passthrough.py
@@ -1,4 +1,4 @@
-# Copyright 2015 Intel Corporation.
+# Copyright 2015-2017 Intel Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -15,10 +15,8 @@
"""Automation of QEMU hypervisor with direct access to host NICs via
PCI passthrough.
"""
-
import logging
import subprocess
-import os
from conf import settings as S
from vnfs.qemu.qemu import IVnfQemu
diff --git a/vnfs/vnf/vnf.py b/vnfs/vnf/vnf.py
index 242fc502..759bdd66 100644
--- a/vnfs/vnf/vnf.py
+++ b/vnfs/vnf/vnf.py
@@ -1,4 +1,4 @@
-# Copyright 2015 Intel Corporation.
+# Copyright 2015-2017 Intel Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -125,6 +125,7 @@ class IVnf(tasks.Process):
self.execute(cmd)
self.wait(prompt=prompt, timeout=timeout)
+ # pylint: disable=simplifiable-if-statement
def validate_start(self, dummy_result):
""" Validate call of VNF start()
"""
@@ -146,4 +147,3 @@ class IVnf(tasks.Process):
This method is static
"""
IVnf._number_vnfs = 0
-