from Jumpscale import j
from .Network import Network
from .Interface import Interface
from .Disk import Disk
from .Pool import Pool
from .StorageController import StorageController
from .KVMController import KVMController
from .Machine import Machine
from .CloudMachine import CloudMachine
from .MachineSnapshot import MachineSnapshot

JSBASE = j.baseclasses.object


class KVM(j.baseclasses.object):
    __jslocation__ = "j.sal.kvm"

    def _init(self, **kwargs):
        self.__imports__ = "libvirt-python"
        self.KVMController = KVMController
        self.Machine = Machine
        self.MachineSnapshot = MachineSnapshot
        self.Network = Network
        self.Interface = Interface
        self.Disk = Disk
        self.Pool = Pool
        self.StorageController = StorageController
        self.CloudMachine = CloudMachine

from Jumpscale import j
from .Network import Network
from .Interface import Interface
from .Disk import Disk
from .Pool import Pool
from .StorageController import StorageController
from .KVMController import KVMController
from .Machine import Machine
from .CloudMachine import CloudMachine
from .MachineSnapshot import MachineSnapshot

JSBASE = j.baseclasses.object


class KVM(j.baseclasses.object):
    __jslocation__ = "j.sal.kvm"

    def _init(self, **kwargs):
        self.__imports__ = "libvirt-python"
        self.KVMController = KVMController
        self.Machine = Machine
        self.MachineSnapshot = MachineSnapshot
        self.Network = Network
        self.Interface = Interface
        self.Disk = Disk
        self.Pool = Pool
        self.StorageController = StorageController
        self.CloudMachine = CloudMachine
