from ovirtlago import testlib

import ovirtsdk4.types as types

import test_utils
from test_utils import versioning

import uuid

MB = 2**20
GB = 2**30

DC_NAME = 'test-dc'
TEST_CLUSTER = 'test-cluster'
TEMPLATE_CENTOS7 = 'centos7_template'
TEMPLATE_CIRROS = versioning.guest_os_template_name()

SD_NFS_NAME = 'nfs'
SD_SECOND_NFS_NAME = 'second-nfs'
SD_ISCSI_NAME = 'iscsi'

VM0_NAME = 'vm0'
VM1_NAME = 'vm1'
VM2_NAME = 'vm2'
BACKUP_VM_NAME = 'backup_vm'
IMPORTED_VM_NAME = 'imported_vm'
OVF_VM_NAME = 'ovf_vm'
VM0_PING_DEST = VM0_NAME
VMPOOL_NAME = 'test-pool'
DISK0_NAME = '%s_disk0' % VM0_NAME
DISK1_NAME = '%s_disk1' % VM1_NAME
示例#2
0
import ovirtsdk4.types as types

import test_utils
from test_utils import versioning
from test_utils import host_status_utils
from test_utils import constants

import uuid

MB = 2**20
GB = 2**30

DC_NAME = 'test-dc'
TEST_CLUSTER = 'test-cluster'
TEMPLATE_CENTOS7 = 'centos7_template'
TEMPLATE_GUEST = versioning.guest_os_template_name()

SD_NFS_NAME = 'nfs'
SD_SECOND_NFS_NAME = 'second-nfs'
SD_ISCSI_NAME = 'iscsi'

VM_USER_NAME = 'root'
VM_PASSWORD = '******'

VM0_NAME = 'vm0'
VM1_NAME = 'vm1'
VM2_NAME = 'vm2'
BACKUP_VM_NAME = 'backup_vm'
IMPORTED_VM_NAME = 'imported_vm'
OVF_VM_NAME = 'ovf_vm'
VMPOOL_NAME = 'test-pool'
import ovirtsdk4.types as types

import test_utils
from test_utils import versioning

import uuid


MB = 2 ** 20
GB = 2 ** 30

DC_NAME = 'test-dc'
TEST_CLUSTER = 'test-cluster'
TEMPLATE_CENTOS7 = 'centos7_template'
TEMPLATE_CIRROS = versioning.guest_os_template_name()

SD_NFS_NAME = 'nfs'
SD_SECOND_NFS_NAME = 'second-nfs'
SD_ISCSI_NAME = 'iscsi'

VM0_NAME = 'vm0'
VM1_NAME = 'vm1'
VM2_NAME = 'vm2'
BACKUP_VM_NAME = 'backup_vm'
IMPORTED_VM_NAME = 'imported_vm'
OVF_VM_NAME = 'ovf_vm'
VM0_PING_DEST = VM0_NAME
VMPOOL_NAME = 'test-pool'
DISK0_NAME = '%s_disk0' % VM0_NAME
DISK1_NAME = '%s_disk1' % VM1_NAME