mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-6006: Remove integration folder and lib
This commit is contained in:
parent
a908b8d94b
commit
bf72441d13
@ -18,8 +18,8 @@
|
|||||||
import factory
|
import factory
|
||||||
import marvin
|
import marvin
|
||||||
from marvin import cloudstackTestCase
|
from marvin import cloudstackTestCase
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib import utils
|
from marvin.lib import utils
|
||||||
|
|
||||||
class AccountFactory(factory.Factory):
|
class AccountFactory(factory.Factory):
|
||||||
FACTORY_FOR = createAccount.createAccountCmd
|
FACTORY_FOR = createAccount.createAccountCmd
|
||||||
|
|||||||
@ -23,9 +23,9 @@ from nose.plugins.attrib import attr
|
|||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
|
|
||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
|||||||
@ -23,9 +23,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -21,9 +21,9 @@
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
|
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
|
|||||||
@ -19,9 +19,9 @@
|
|||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.cloudstackException import cloudstackAPIException
|
from marvin.cloudstackException import cloudstackAPIException
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
# from netaddr import *
|
# from netaddr import *
|
||||||
import netaddr
|
import netaddr
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|||||||
@ -16,9 +16,9 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
|
|
||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
|
|||||||
@ -16,9 +16,9 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
|
|
||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
|
|||||||
@ -16,9 +16,9 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
|
|
||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
|
|||||||
@ -22,9 +22,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -18,9 +18,9 @@
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
|
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
|
|||||||
@ -19,9 +19,9 @@
|
|||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackException import cloudstackAPIException
|
from marvin.cloudstackException import cloudstackAPIException
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from ddt import ddt, data
|
from ddt import ddt, data
|
||||||
from marvin.integration.lib.base import (
|
from marvin.lib.base import (
|
||||||
Account,
|
Account,
|
||||||
Domain,
|
Domain,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
@ -39,7 +39,7 @@ from marvin.integration.lib.base import (
|
|||||||
VpcOffering,
|
VpcOffering,
|
||||||
VPC
|
VPC
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
list_virtual_machines,
|
list_virtual_machines,
|
||||||
@ -49,7 +49,7 @@ from marvin.integration.lib.common import (get_domain,
|
|||||||
update_resource_limit
|
update_resource_limit
|
||||||
)
|
)
|
||||||
|
|
||||||
from marvin.integration.lib.utils import (validateList,
|
from marvin.lib.utils import (validateList,
|
||||||
random_gen,
|
random_gen,
|
||||||
get_hypervisor_type,
|
get_hypervisor_type,
|
||||||
cleanup_resources)
|
cleanup_resources)
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
"""
|
"""
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from ddt import ddt, data
|
from ddt import ddt, data
|
||||||
from marvin.integration.lib.base import (Zone,
|
from marvin.lib.base import (Zone,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
Account,
|
Account,
|
||||||
NetworkOffering,
|
NetworkOffering,
|
||||||
@ -31,14 +31,14 @@ from marvin.integration.lib.base import (Zone,
|
|||||||
SecurityGroup,
|
SecurityGroup,
|
||||||
Host)
|
Host)
|
||||||
|
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
get_free_vlan,
|
get_free_vlan,
|
||||||
list_virtual_machines,
|
list_virtual_machines,
|
||||||
wait_for_cleanup)
|
wait_for_cleanup)
|
||||||
|
|
||||||
from marvin.integration.lib.utils import (cleanup_resources,
|
from marvin.lib.utils import (cleanup_resources,
|
||||||
random_gen,
|
random_gen,
|
||||||
validateList)
|
validateList)
|
||||||
from marvin.cloudstackAPI import (authorizeSecurityGroupIngress,
|
from marvin.cloudstackAPI import (authorizeSecurityGroupIngress,
|
||||||
|
|||||||
@ -17,9 +17,9 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|
||||||
|
|||||||
@ -19,9 +19,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -22,9 +22,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
from marvin.integration.lib.base import (Account,
|
from marvin.lib.base import (Account,
|
||||||
Domain,
|
Domain,
|
||||||
User,
|
User,
|
||||||
Project,
|
Project,
|
||||||
@ -29,7 +29,7 @@ from marvin.integration.lib.base import (Account,
|
|||||||
DiskOffering,
|
DiskOffering,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
VirtualMachine)
|
VirtualMachine)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
list_volumes,
|
list_volumes,
|
||||||
@ -37,7 +37,7 @@ from marvin.integration.lib.common import (get_domain,
|
|||||||
list_networks,
|
list_networks,
|
||||||
list_snapshots,
|
list_snapshots,
|
||||||
list_virtual_machines)
|
list_virtual_machines)
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
|
|
||||||
def log_test_exceptions(func):
|
def log_test_exceptions(func):
|
||||||
def test_wrap_exception_log(self, *args, **kwargs):
|
def test_wrap_exception_log(self, *args, **kwargs):
|
||||||
|
|||||||
@ -21,9 +21,9 @@ import marvin
|
|||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
import telnetlib
|
import telnetlib
|
||||||
|
|
||||||
|
|||||||
@ -31,7 +31,7 @@ from marvin.codes import (PASS,
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
|
|
||||||
from marvin.integration.lib.base import (ServiceOffering,
|
from marvin.lib.base import (ServiceOffering,
|
||||||
Account,
|
Account,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
Volume,
|
Volume,
|
||||||
@ -41,13 +41,13 @@ from marvin.integration.lib.base import (ServiceOffering,
|
|||||||
Template
|
Template
|
||||||
)
|
)
|
||||||
|
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
list_templates
|
list_templates
|
||||||
)
|
)
|
||||||
|
|
||||||
from marvin.integration.lib.utils import (validateList,
|
from marvin.lib.utils import (validateList,
|
||||||
cleanup_resources)
|
cleanup_resources)
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|||||||
@ -18,9 +18,9 @@
|
|||||||
"""
|
"""
|
||||||
import marvin
|
import marvin
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
|
|
||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
|
|||||||
@ -20,20 +20,20 @@
|
|||||||
# Import Local Modules
|
# Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.base import (
|
from marvin.lib.base import (
|
||||||
Account,
|
Account,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
Resources,
|
Resources,
|
||||||
Domain
|
Domain
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
find_suitable_host,
|
find_suitable_host,
|
||||||
get_resource_type
|
get_resource_type
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test resource limit services
|
"""Test resource limit services
|
||||||
|
|||||||
@ -20,20 +20,20 @@
|
|||||||
# Import Local Modules
|
# Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.base import (
|
from marvin.lib.base import (
|
||||||
Account,
|
Account,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
Domain,
|
Domain,
|
||||||
Resources
|
Resources
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
find_suitable_host,
|
find_suitable_host,
|
||||||
get_resource_type
|
get_resource_type
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
|
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
# Import Local Modules
|
# Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.base import (
|
from marvin.lib.base import (
|
||||||
Account,
|
Account,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
@ -28,11 +28,11 @@ from marvin.integration.lib.base import (
|
|||||||
Domain,
|
Domain,
|
||||||
Project
|
Project
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template
|
get_template
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test resource limit services
|
"""Test resource limit services
|
||||||
|
|||||||
@ -20,20 +20,20 @@
|
|||||||
# Import Local Modules
|
# Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.base import (
|
from marvin.lib.base import (
|
||||||
Account,
|
Account,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
Domain,
|
Domain,
|
||||||
Project
|
Project
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
find_suitable_host,
|
find_suitable_host,
|
||||||
get_resource_type
|
get_resource_type
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test resource limit services
|
"""Test resource limit services
|
||||||
|
|||||||
@ -20,9 +20,9 @@
|
|||||||
import marvin
|
import marvin
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
|
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
|
|||||||
@ -19,9 +19,9 @@
|
|||||||
# this script will cover VMdeployment with Userdata tests
|
# this script will cover VMdeployment with Userdata tests
|
||||||
|
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
import unittest
|
import unittest
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
import unittest
|
import unittest
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
from marvin.integration.lib.base import (Account,
|
from marvin.lib.base import (Account,
|
||||||
Domain,
|
Domain,
|
||||||
Router,
|
Router,
|
||||||
Network,
|
Network,
|
||||||
@ -31,14 +31,14 @@ from marvin.integration.lib.base import (Account,
|
|||||||
FireWallRule,
|
FireWallRule,
|
||||||
NATRule,
|
NATRule,
|
||||||
PublicIPAddress)
|
PublicIPAddress)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
list_routers,
|
list_routers,
|
||||||
wait_for_cleanup,
|
wait_for_cleanup,
|
||||||
list_virtual_machines
|
list_virtual_machines
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.utils import cleanup_resources, validateList
|
from marvin.lib.utils import cleanup_resources, validateList
|
||||||
from marvin.cloudstackAPI import rebootRouter
|
from marvin.cloudstackAPI import rebootRouter
|
||||||
from marvin.cloudstackAPI.createEgressFirewallRule import createEgressFirewallRuleCmd
|
from marvin.cloudstackAPI.createEgressFirewallRule import createEgressFirewallRuleCmd
|
||||||
from marvin.cloudstackAPI.deleteEgressFirewallRule import deleteEgressFirewallRuleCmd
|
from marvin.cloudstackAPI.deleteEgressFirewallRule import deleteEgressFirewallRuleCmd
|
||||||
|
|||||||
@ -20,13 +20,13 @@
|
|||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
from marvin.integration.lib.utils import (random_gen,
|
from marvin.lib.utils import (random_gen,
|
||||||
cleanup_resources)
|
cleanup_resources)
|
||||||
from marvin.integration.lib.base import (SecurityGroup,
|
from marvin.lib.base import (SecurityGroup,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
Account,
|
Account,
|
||||||
ServiceOffering)
|
ServiceOffering)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
list_virtual_machines)
|
list_virtual_machines)
|
||||||
|
|||||||
@ -22,9 +22,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -21,9 +21,9 @@ import marvin
|
|||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
# Import Local Modules
|
# Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
from marvin.integration.lib.base import (
|
from marvin.lib.base import (
|
||||||
Account,
|
Account,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
@ -31,11 +31,11 @@ from marvin.integration.lib.base import (
|
|||||||
Vpn,
|
Vpn,
|
||||||
NATRule
|
NATRule
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template
|
get_template
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.utils import (cleanup_resources,
|
from marvin.lib.utils import (cleanup_resources,
|
||||||
random_gen)
|
random_gen)
|
||||||
from marvin.cloudstackAPI import createLBStickinessPolicy
|
from marvin.cloudstackAPI import createLBStickinessPolicy
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
|
|||||||
@ -21,9 +21,9 @@ import marvin
|
|||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
|||||||
@ -20,9 +20,9 @@ import marvin
|
|||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.cloudstackException import cloudstackAPIException
|
from marvin.cloudstackException import cloudstackAPIException
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
import netaddr
|
import netaddr
|
||||||
|
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|||||||
@ -29,9 +29,9 @@ import hashlib
|
|||||||
import random
|
import random
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.cloudstackAPI import login
|
from marvin.cloudstackAPI import login
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
import urllib
|
import urllib
|
||||||
|
|
||||||
|
|||||||
@ -19,21 +19,21 @@
|
|||||||
# Import Local Modules
|
# Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.base import (
|
from marvin.lib.base import (
|
||||||
Account,
|
Account,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
Resources,
|
Resources,
|
||||||
Domain
|
Domain
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
wait_for_cleanup,
|
wait_for_cleanup,
|
||||||
find_suitable_host,
|
find_suitable_host,
|
||||||
get_resource_type
|
get_resource_type
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test memory resource limit services
|
"""Test memory resource limit services
|
||||||
|
|||||||
@ -19,14 +19,14 @@
|
|||||||
# Import Local Modules
|
# Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.base import (
|
from marvin.lib.base import (
|
||||||
Account,
|
Account,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
Resources,
|
Resources,
|
||||||
Domain
|
Domain
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
wait_for_cleanup,
|
wait_for_cleanup,
|
||||||
@ -34,7 +34,7 @@ from marvin.integration.lib.common import (get_domain,
|
|||||||
get_resource_type,
|
get_resource_type,
|
||||||
update_resource_count
|
update_resource_count
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test memory resource limit services
|
"""Test memory resource limit services
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
# Import Local Modules
|
# Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.base import (
|
from marvin.lib.base import (
|
||||||
Account,
|
Account,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
@ -27,11 +27,11 @@ from marvin.integration.lib.base import (
|
|||||||
Domain,
|
Domain,
|
||||||
Project
|
Project
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template
|
get_template
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test memory resource limit services
|
"""Test memory resource limit services
|
||||||
|
|||||||
@ -19,21 +19,21 @@
|
|||||||
# Import Local Modules
|
# Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.base import (
|
from marvin.lib.base import (
|
||||||
Account,
|
Account,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
Domain,
|
Domain,
|
||||||
Project
|
Project
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
wait_for_cleanup,
|
wait_for_cleanup,
|
||||||
find_suitable_host,
|
find_suitable_host,
|
||||||
get_resource_type
|
get_resource_type
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test memory resource limit services
|
"""Test memory resource limit services
|
||||||
|
|||||||
@ -19,9 +19,9 @@
|
|||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.cloudstackException import cloudstackAPIException
|
from marvin.cloudstackException import cloudstackAPIException
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from netaddr import *
|
from netaddr import *
|
||||||
|
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|||||||
@ -22,9 +22,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -22,9 +22,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -22,9 +22,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -22,9 +22,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -22,9 +22,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -22,9 +22,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -28,17 +28,17 @@
|
|||||||
|
|
||||||
|
|
||||||
from marvin.cloudstackTestCase import (cloudstackTestCase,unittest)
|
from marvin.cloudstackTestCase import (cloudstackTestCase,unittest)
|
||||||
from marvin.integration.lib.base import (Account,
|
from marvin.lib.base import (Account,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
PhysicalNetwork,
|
PhysicalNetwork,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.common import (get_zone,
|
from marvin.lib.common import (get_zone,
|
||||||
get_pod,
|
get_pod,
|
||||||
get_domain,
|
get_domain,
|
||||||
get_template,
|
get_template,
|
||||||
setNonContiguousVlanIds)
|
setNonContiguousVlanIds)
|
||||||
from marvin.integration.lib.utils import (cleanup_resources,
|
from marvin.lib.utils import (cleanup_resources,
|
||||||
xsplit)
|
xsplit)
|
||||||
|
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|||||||
@ -20,9 +20,9 @@ import marvin
|
|||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.cloudstackException import cloudstackAPIException
|
from marvin.cloudstackException import cloudstackAPIException
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
import netaddr
|
import netaddr
|
||||||
|
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|||||||
@ -19,9 +19,9 @@
|
|||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.cloudstackException import cloudstackAPIException
|
from marvin.cloudstackException import cloudstackAPIException
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from netaddr import *
|
from netaddr import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
|
|
||||||
|
|||||||
@ -21,9 +21,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -21,9 +21,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.codes import PASS
|
from marvin.codes import PASS
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.base import (VirtualMachine,
|
from marvin.lib.base import (VirtualMachine,
|
||||||
Account,
|
Account,
|
||||||
Project,
|
Project,
|
||||||
NATRule,
|
NATRule,
|
||||||
@ -35,7 +35,7 @@ from marvin.integration.lib.base import (VirtualMachine,
|
|||||||
DiskOffering,
|
DiskOffering,
|
||||||
LoadBalancerRule)
|
LoadBalancerRule)
|
||||||
|
|
||||||
from marvin.integration.lib.common import (get_zone,
|
from marvin.lib.common import (get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
get_domain,
|
get_domain,
|
||||||
list_volumes,
|
list_volumes,
|
||||||
@ -44,7 +44,7 @@ from marvin.integration.lib.common import (get_zone,
|
|||||||
get_free_vlan,
|
get_free_vlan,
|
||||||
wait_for_cleanup)
|
wait_for_cleanup)
|
||||||
|
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
import random
|
import random
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -21,9 +21,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -21,9 +21,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -18,9 +18,9 @@
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test Snapshots Services
|
"""Test Snapshots Services
|
||||||
|
|||||||
@ -16,9 +16,9 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
|
|
||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
|
|||||||
@ -17,9 +17,9 @@
|
|||||||
|
|
||||||
|
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
|
|
||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
|
|||||||
@ -17,9 +17,9 @@
|
|||||||
|
|
||||||
|
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
|
|
||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
|
|||||||
@ -17,9 +17,9 @@
|
|||||||
|
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from random import choice
|
from random import choice
|
||||||
|
|
||||||
|
|||||||
@ -17,9 +17,9 @@
|
|||||||
|
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
|
|||||||
@ -19,18 +19,18 @@
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from marvin.integration.lib.base import (VirtualMachine,
|
from marvin.lib.base import (VirtualMachine,
|
||||||
SSHKeyPair,
|
SSHKeyPair,
|
||||||
Account,
|
Account,
|
||||||
Template,
|
Template,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
EgressFireWallRule)
|
EgressFireWallRule)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
list_virtual_machines,
|
list_virtual_machines,
|
||||||
list_volumes)
|
list_volumes)
|
||||||
from marvin.integration.lib.utils import (cleanup_resources,
|
from marvin.lib.utils import (cleanup_resources,
|
||||||
random_gen,
|
random_gen,
|
||||||
validateList)
|
validateList)
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
from marvin.integration.lib.base import (VirtualMachine,
|
from marvin.lib.base import (VirtualMachine,
|
||||||
Snapshot,
|
Snapshot,
|
||||||
Template,
|
Template,
|
||||||
PublicIPAddress,
|
PublicIPAddress,
|
||||||
@ -31,14 +31,14 @@ from marvin.integration.lib.base import (VirtualMachine,
|
|||||||
NetworkOffering,
|
NetworkOffering,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
Configurations)
|
Configurations)
|
||||||
from marvin.integration.lib.common import (list_volumes,
|
from marvin.lib.common import (list_volumes,
|
||||||
get_domain,
|
get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
update_resource_limit,
|
update_resource_limit,
|
||||||
list_configurations,
|
list_configurations,
|
||||||
wait_for_cleanup)
|
wait_for_cleanup)
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -21,9 +21,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
|
|
||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
|||||||
@ -22,9 +22,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
|
|
||||||
#Import System modules
|
#Import System modules
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.base import (Account,
|
from marvin.lib.base import (Account,
|
||||||
Network,
|
Network,
|
||||||
NetworkOffering,
|
NetworkOffering,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
@ -31,9 +31,9 @@ from marvin.integration.lib.base import (Account,
|
|||||||
FireWallRule,
|
FireWallRule,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
PublicIPAddress)
|
PublicIPAddress)
|
||||||
from marvin.integration.lib.utils import (cleanup_resources,
|
from marvin.lib.utils import (cleanup_resources,
|
||||||
xsplit)
|
xsplit)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
wait_for_cleanup,
|
wait_for_cleanup,
|
||||||
|
|||||||
@ -18,10 +18,10 @@
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.integration.lib.utils import is_snapshot_on_nfs
|
from marvin.lib.utils import is_snapshot_on_nfs
|
||||||
|
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
|
|||||||
@ -18,10 +18,10 @@
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.integration.lib.utils import is_snapshot_on_nfs
|
from marvin.lib.utils import is_snapshot_on_nfs
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
|
|
||||||
from marvin.integration.lib.base import (Snapshot,
|
from marvin.lib.base import (Snapshot,
|
||||||
Template,
|
Template,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
Account,
|
Account,
|
||||||
@ -28,7 +28,7 @@ from marvin.integration.lib.base import (Snapshot,
|
|||||||
DiskOffering,
|
DiskOffering,
|
||||||
Volume)
|
Volume)
|
||||||
|
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
list_events,
|
list_events,
|
||||||
@ -38,7 +38,7 @@ from marvin.integration.lib.common import (get_domain,
|
|||||||
list_virtual_machines,
|
list_virtual_machines,
|
||||||
)
|
)
|
||||||
|
|
||||||
from marvin.integration.lib.utils import (cleanup_resources,
|
from marvin.lib.utils import (cleanup_resources,
|
||||||
format_volume_to_ext3,
|
format_volume_to_ext3,
|
||||||
random_gen,
|
random_gen,
|
||||||
is_snapshot_on_nfs,
|
is_snapshot_on_nfs,
|
||||||
|
|||||||
@ -20,10 +20,10 @@
|
|||||||
# Import Local Modules
|
# Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.utils import (random_gen,
|
from marvin.lib.utils import (random_gen,
|
||||||
is_snapshot_on_nfs,
|
is_snapshot_on_nfs,
|
||||||
cleanup_resources)
|
cleanup_resources)
|
||||||
from marvin.integration.lib.base import (
|
from marvin.lib.base import (
|
||||||
Account,
|
Account,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
@ -32,7 +32,7 @@ from marvin.integration.lib.base import (
|
|||||||
Volume,
|
Volume,
|
||||||
DiskOffering
|
DiskOffering
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
list_snapshots
|
list_snapshots
|
||||||
|
|||||||
@ -22,9 +22,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|||||||
@ -20,9 +20,9 @@
|
|||||||
import marvin
|
import marvin
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
|||||||
@ -21,9 +21,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -21,9 +21,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
import urllib
|
import urllib
|
||||||
from random import random
|
from random import random
|
||||||
#Import System modules
|
#Import System modules
|
||||||
|
|||||||
@ -17,9 +17,9 @@
|
|||||||
|
|
||||||
|
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
from marvin.integration.lib.base import Account, VirtualMachine, ServiceOffering
|
from marvin.lib.base import Account, VirtualMachine, ServiceOffering
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
from marvin.integration.lib.common import get_zone, get_domain, get_template
|
from marvin.lib.common import get_zone, get_domain, get_template
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|
||||||
class TestData(object):
|
class TestData(object):
|
||||||
|
|||||||
@ -21,9 +21,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -18,9 +18,9 @@ import marvin
|
|||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -23,19 +23,19 @@ from nose.plugins.attrib import attr
|
|||||||
|
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
|
|
||||||
from marvin.integration.lib.base import (Account,
|
from marvin.lib.base import (Account,
|
||||||
AffinityGroup,
|
AffinityGroup,
|
||||||
Host,
|
Host,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
ServiceOffering)
|
ServiceOffering)
|
||||||
|
|
||||||
from marvin.integration.lib.common import (get_zone,
|
from marvin.lib.common import (get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
get_domain,
|
get_domain,
|
||||||
get_pod
|
get_pod
|
||||||
)
|
)
|
||||||
|
|
||||||
from marvin.integration.lib.utils import (validateList,
|
from marvin.lib.utils import (validateList,
|
||||||
cleanup_resources,
|
cleanup_resources,
|
||||||
random_gen)
|
random_gen)
|
||||||
|
|
||||||
|
|||||||
@ -20,9 +20,9 @@
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|||||||
@ -22,9 +22,9 @@ from nose.plugins.attrib import attr
|
|||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackException import cloudstackAPIException
|
from marvin.cloudstackException import cloudstackAPIException
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
|
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
|
|||||||
@ -21,8 +21,8 @@
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.cloudstackAPI import startVirtualMachine, stopVirtualMachine
|
from marvin.cloudstackAPI import startVirtualMachine, stopVirtualMachine
|
||||||
from marvin.integration.lib.utils import cleanup_resources, validateList
|
from marvin.lib.utils import cleanup_resources, validateList
|
||||||
from marvin.integration.lib.base import (VirtualMachine,
|
from marvin.lib.base import (VirtualMachine,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
Account,
|
Account,
|
||||||
NATRule,
|
NATRule,
|
||||||
@ -35,7 +35,7 @@ from marvin.integration.lib.base import (VirtualMachine,
|
|||||||
StaticNATRule,
|
StaticNATRule,
|
||||||
NetworkACL,
|
NetworkACL,
|
||||||
PublicIPAddress)
|
PublicIPAddress)
|
||||||
from marvin.integration.lib.common import (get_zone,
|
from marvin.lib.common import (get_zone,
|
||||||
get_domain,
|
get_domain,
|
||||||
get_template,
|
get_template,
|
||||||
wait_for_cleanup,
|
wait_for_cleanup,
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.base import (stopRouter,
|
from marvin.lib.base import (stopRouter,
|
||||||
startRouter,
|
startRouter,
|
||||||
Account,
|
Account,
|
||||||
VpcOffering,
|
VpcOffering,
|
||||||
@ -34,11 +34,11 @@ from marvin.integration.lib.base import (stopRouter,
|
|||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
LoadBalancerRule,
|
LoadBalancerRule,
|
||||||
StaticNATRule)
|
StaticNATRule)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
list_routers)
|
list_routers)
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
import socket
|
import socket
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
"""
|
"""
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.base import (stopRouter,
|
from marvin.lib.base import (stopRouter,
|
||||||
startRouter,
|
startRouter,
|
||||||
Account,
|
Account,
|
||||||
VpcOffering,
|
VpcOffering,
|
||||||
@ -32,11 +32,11 @@ from marvin.integration.lib.base import (stopRouter,
|
|||||||
Network,
|
Network,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
LoadBalancerRule)
|
LoadBalancerRule)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
list_routers)
|
list_routers)
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
import socket
|
import socket
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
"""
|
"""
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.base import (Account,
|
from marvin.lib.base import (Account,
|
||||||
VpcOffering,
|
VpcOffering,
|
||||||
VPC,
|
VPC,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
@ -32,11 +32,11 @@ from marvin.integration.lib.base import (Account,
|
|||||||
StaticNATRule)
|
StaticNATRule)
|
||||||
from marvin.cloudstackAPI import (stopRouter,
|
from marvin.cloudstackAPI import (stopRouter,
|
||||||
startRouter)
|
startRouter)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
list_routers)
|
list_routers)
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
import socket
|
import socket
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|||||||
@ -23,9 +23,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@ -22,9 +22,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -20,8 +20,8 @@
|
|||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.utils import cleanup_resources, validateList
|
from marvin.lib.utils import cleanup_resources, validateList
|
||||||
from marvin.integration.lib.base import (VirtualMachine,
|
from marvin.lib.base import (VirtualMachine,
|
||||||
NATRule,
|
NATRule,
|
||||||
LoadBalancerRule,
|
LoadBalancerRule,
|
||||||
StaticNATRule,
|
StaticNATRule,
|
||||||
@ -35,7 +35,7 @@ from marvin.integration.lib.base import (VirtualMachine,
|
|||||||
Account,
|
Account,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
Host)
|
Host)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
get_free_vlan,
|
get_free_vlan,
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
from marvin.cloudstackTestCase import cloudstackTestCase, unittest
|
||||||
from marvin.integration.lib.base import (VirtualMachine,
|
from marvin.lib.base import (VirtualMachine,
|
||||||
NetworkOffering,
|
NetworkOffering,
|
||||||
VpcOffering,
|
VpcOffering,
|
||||||
VPC,
|
VPC,
|
||||||
@ -36,13 +36,13 @@ from marvin.integration.lib.base import (VirtualMachine,
|
|||||||
StaticNATRule,
|
StaticNATRule,
|
||||||
Configurations)
|
Configurations)
|
||||||
|
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template,
|
get_template,
|
||||||
wait_for_cleanup,
|
wait_for_cleanup,
|
||||||
get_free_vlan)
|
get_free_vlan)
|
||||||
|
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
from marvin.cloudstackAPI import rebootRouter
|
from marvin.cloudstackAPI import rebootRouter
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackException import cloudstackAPIException
|
from marvin.cloudstackException import cloudstackAPIException
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
from marvin.integration.lib.base import (
|
from marvin.lib.base import (
|
||||||
Account,
|
Account,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
@ -31,11 +31,11 @@ from marvin.integration.lib.base import (
|
|||||||
Configurations,
|
Configurations,
|
||||||
NATRule
|
NATRule
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.common import (get_domain,
|
from marvin.lib.common import (get_domain,
|
||||||
get_zone,
|
get_zone,
|
||||||
get_template
|
get_template
|
||||||
)
|
)
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
|
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
|
|||||||
@ -18,9 +18,9 @@
|
|||||||
|
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|
||||||
|
|||||||
@ -23,13 +23,13 @@ from marvin.cloudstackTestCase import cloudstackTestCase
|
|||||||
#Import Integration Libraries
|
#Import Integration Libraries
|
||||||
|
|
||||||
#base - contains all resources as entities and defines create, delete, list operations on them
|
#base - contains all resources as entities and defines create, delete, list operations on them
|
||||||
from marvin.integration.lib.base import Account, VirtualMachine, ServiceOffering
|
from marvin.lib.base import Account, VirtualMachine, ServiceOffering
|
||||||
|
|
||||||
#utils - utility classes for common cleanup, external library wrappers etc
|
#utils - utility classes for common cleanup, external library wrappers etc
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
|
|
||||||
#common - commonly used methods for all tests are listed here
|
#common - commonly used methods for all tests are listed here
|
||||||
from marvin.integration.lib.common import get_zone, get_domain, get_template
|
from marvin.lib.common import get_zone, get_domain, get_template
|
||||||
|
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|
||||||
|
|||||||
@ -16,11 +16,11 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
from marvin.integration.lib.base import (ServiceOffering,
|
from marvin.lib.base import (ServiceOffering,
|
||||||
VirtualMachine,
|
VirtualMachine,
|
||||||
Account)
|
Account)
|
||||||
from marvin.integration.lib.common import get_template, get_zone, list_virtual_machines
|
from marvin.lib.common import get_template, get_zone, list_virtual_machines
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|
||||||
import random
|
import random
|
||||||
|
|||||||
@ -16,9 +16,9 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from marvin.cloudstackTestCase import cloudstackTestCase
|
from marvin.cloudstackTestCase import cloudstackTestCase
|
||||||
from marvin.integration.lib.base import Account, VirtualMachine, ServiceOffering, Host, Cluster
|
from marvin.lib.base import Account, VirtualMachine, ServiceOffering, Host, Cluster
|
||||||
from marvin.integration.lib.common import get_zone, get_domain, get_template
|
from marvin.lib.common import get_zone, get_domain, get_template
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|
||||||
class TestDeployVmWithVariedPlanners(cloudstackTestCase):
|
class TestDeployVmWithVariedPlanners(cloudstackTestCase):
|
||||||
|
|||||||
@ -20,9 +20,9 @@
|
|||||||
import marvin
|
import marvin
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|
||||||
_multiprocess_shared_ = True
|
_multiprocess_shared_ = True
|
||||||
|
|||||||
@ -19,9 +19,9 @@
|
|||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
#Import System modules
|
#Import System modules
|
||||||
|
|
||||||
|
|||||||
@ -21,9 +21,9 @@ import marvin
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
class TestDedicateGuestVlanRange(cloudstackTestCase):
|
class TestDedicateGuestVlanRange(cloudstackTestCase):
|
||||||
|
|||||||
@ -20,9 +20,9 @@
|
|||||||
import marvin
|
import marvin
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|
||||||
#Import System modules
|
#Import System modules
|
||||||
|
|||||||
@ -19,9 +19,9 @@
|
|||||||
#Import Local Modules
|
#Import Local Modules
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|
||||||
class TestInternalLb(cloudstackTestCase):
|
class TestInternalLb(cloudstackTestCase):
|
||||||
|
|||||||
@ -20,9 +20,9 @@
|
|||||||
import marvin
|
import marvin
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
import urllib
|
import urllib
|
||||||
from random import random
|
from random import random
|
||||||
|
|||||||
@ -18,9 +18,9 @@
|
|||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
|||||||
@ -23,13 +23,13 @@ from marvin.cloudstackTestCase import cloudstackTestCase
|
|||||||
#Import Integration Libraries
|
#Import Integration Libraries
|
||||||
|
|
||||||
#base - contains all resources as entities and defines create, delete, list operations on them
|
#base - contains all resources as entities and defines create, delete, list operations on them
|
||||||
from marvin.integration.lib.base import Account, VirtualMachine, ServiceOffering
|
from marvin.lib.base import Account, VirtualMachine, ServiceOffering
|
||||||
|
|
||||||
#utils - utility classes for common cleanup, external library wrappers etc
|
#utils - utility classes for common cleanup, external library wrappers etc
|
||||||
from marvin.integration.lib.utils import cleanup_resources
|
from marvin.lib.utils import cleanup_resources
|
||||||
|
|
||||||
#common - commonly used methods for all tests are listed here
|
#common - commonly used methods for all tests are listed here
|
||||||
from marvin.integration.lib.common import get_zone, get_domain, get_template
|
from marvin.lib.common import get_zone, get_domain, get_template
|
||||||
|
|
||||||
from marvin.cloudstackAPI.addIpToNic import addIpToNicCmd
|
from marvin.cloudstackAPI.addIpToNic import addIpToNicCmd
|
||||||
from marvin.cloudstackAPI.removeIpFromNic import removeIpFromNicCmd
|
from marvin.cloudstackAPI.removeIpFromNic import removeIpFromNicCmd
|
||||||
|
|||||||
@ -22,9 +22,9 @@ from marvin.cloudstackException import CloudstackAPIException
|
|||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.sshClient import SshClient
|
from marvin.sshClient import SshClient
|
||||||
from marvin.integration.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user