diff --git a/tools/marvin/marvin/integration/lib/base/Account.py b/tools/marvin/marvin/integration/lib/base/Account.py index 8114ba737bc..091252dc2be 100644 --- a/tools/marvin/marvin/integration/lib/base/Account.py +++ b/tools/marvin/marvin/integration/lib/base/Account.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Account(CloudStackEntity): def enable(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/AccountFromProject.py b/tools/marvin/marvin/integration/lib/base/AccountFromProject.py index 7f6e8c146f4..abc2832183f 100644 --- a/tools/marvin/marvin/integration/lib/base/AccountFromProject.py +++ b/tools/marvin/marvin/integration/lib/base/AccountFromProject.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class AccountFromProject(CloudStackEntity): def delete(self, apiclient, projectid, account, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/AccountToProject.py b/tools/marvin/marvin/integration/lib/base/AccountToProject.py index 09b2866258e..92b902ace05 100644 --- a/tools/marvin/marvin/integration/lib/base/AccountToProject.py +++ b/tools/marvin/marvin/integration/lib/base/AccountToProject.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class AccountToProject(CloudStackEntity): def add(self, apiclient, projectid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Alerts.py b/tools/marvin/marvin/integration/lib/base/Alerts.py index de00254664f..9764d9c3f14 100644 --- a/tools/marvin/marvin/integration/lib/base/Alerts.py +++ b/tools/marvin/marvin/integration/lib/base/Alerts.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Alerts(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/ApiLimit.py b/tools/marvin/marvin/integration/lib/base/ApiLimit.py index 2a51a652094..16e7ed85296 100644 --- a/tools/marvin/marvin/integration/lib/base/ApiLimit.py +++ b/tools/marvin/marvin/integration/lib/base/ApiLimit.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class ApiLimit(CloudStackEntity): def reset(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Apis.py b/tools/marvin/marvin/integration/lib/base/Apis.py index 852ace13ff3..c95ae7b7932 100644 --- a/tools/marvin/marvin/integration/lib/base/Apis.py +++ b/tools/marvin/marvin/integration/lib/base/Apis.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Apis(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/AsyncJobResult.py b/tools/marvin/marvin/integration/lib/base/AsyncJobResult.py index 46e68618641..254c39eb71c 100644 --- a/tools/marvin/marvin/integration/lib/base/AsyncJobResult.py +++ b/tools/marvin/marvin/integration/lib/base/AsyncJobResult.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class AsyncJobResult(CloudStackEntity): def query(self, apiclient, jobid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/AsyncJobs.py b/tools/marvin/marvin/integration/lib/base/AsyncJobs.py index 89097035df6..f7859b82738 100644 --- a/tools/marvin/marvin/integration/lib/base/AsyncJobs.py +++ b/tools/marvin/marvin/integration/lib/base/AsyncJobs.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class AsyncJobs(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/AutoScalePolicies.py b/tools/marvin/marvin/integration/lib/base/AutoScalePolicies.py index cd1aa84f735..afcf1c6634a 100644 --- a/tools/marvin/marvin/integration/lib/base/AutoScalePolicies.py +++ b/tools/marvin/marvin/integration/lib/base/AutoScalePolicies.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class AutoScalePolicies(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/AutoScalePolicy.py b/tools/marvin/marvin/integration/lib/base/AutoScalePolicy.py index 4fbf0b94bc8..6a71ac99a5c 100644 --- a/tools/marvin/marvin/integration/lib/base/AutoScalePolicy.py +++ b/tools/marvin/marvin/integration/lib/base/AutoScalePolicy.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class AutoScalePolicy(CloudStackEntity): def create(self, apiclient, AutoScalePolicyFactory, action, duration, conditionids, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/AutoScaleVmGroup.py b/tools/marvin/marvin/integration/lib/base/AutoScaleVmGroup.py index 9741adf092f..10cdd3fcfcb 100644 --- a/tools/marvin/marvin/integration/lib/base/AutoScaleVmGroup.py +++ b/tools/marvin/marvin/integration/lib/base/AutoScaleVmGroup.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class AutoScaleVmGroup(CloudStackEntity): def enable(self, apiclient, id, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/AutoScaleVmProfile.py b/tools/marvin/marvin/integration/lib/base/AutoScaleVmProfile.py index 2b87739cc60..3f6a031cece 100644 --- a/tools/marvin/marvin/integration/lib/base/AutoScaleVmProfile.py +++ b/tools/marvin/marvin/integration/lib/base/AutoScaleVmProfile.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class AutoScaleVmProfile(CloudStackEntity): def create(self, apiclient, AutoScaleVmProfileFactory, zoneid, serviceofferingid, templateid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Capabilities.py b/tools/marvin/marvin/integration/lib/base/Capabilities.py index b30209cef3a..9592622a0d4 100644 --- a/tools/marvin/marvin/integration/lib/base/Capabilities.py +++ b/tools/marvin/marvin/integration/lib/base/Capabilities.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Capabilities(CloudStackEntity): def list(self, apiclient): diff --git a/tools/marvin/marvin/integration/lib/base/Capacity.py b/tools/marvin/marvin/integration/lib/base/Capacity.py index 8f992a78977..2ffe4240aa3 100644 --- a/tools/marvin/marvin/integration/lib/base/Capacity.py +++ b/tools/marvin/marvin/integration/lib/base/Capacity.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Capacity(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/CloudIdentifier.py b/tools/marvin/marvin/integration/lib/base/CloudIdentifier.py index 06c1d72cd4c..810d7383923 100644 --- a/tools/marvin/marvin/integration/lib/base/CloudIdentifier.py +++ b/tools/marvin/marvin/integration/lib/base/CloudIdentifier.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class CloudIdentifier(CloudStackEntity): def get(self, apiclient, userid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/CloudStackEntity.py b/tools/marvin/marvin/integration/lib/base/CloudStackEntity.py new file mode 100644 index 00000000000..afab852333e --- /dev/null +++ b/tools/marvin/marvin/integration/lib/base/CloudStackEntity.py @@ -0,0 +1,25 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + +cloudstack_version = "4.1.0" + +class CloudStackEntity(object): + + __version__ = cloudstack_version + + def getVersion(self): + return self.__version__ \ No newline at end of file diff --git a/tools/marvin/marvin/integration/lib/base/Cluster.py b/tools/marvin/marvin/integration/lib/base/Cluster.py index 58a73fa0cee..94144f48a59 100644 --- a/tools/marvin/marvin/integration/lib/base/Cluster.py +++ b/tools/marvin/marvin/integration/lib/base/Cluster.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Cluster(CloudStackEntity): def add(self, apiclient, clustername, hypervisor, zoneid, clustertype, podid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Condition.py b/tools/marvin/marvin/integration/lib/base/Condition.py index 3672da482cb..fbb48899c62 100644 --- a/tools/marvin/marvin/integration/lib/base/Condition.py +++ b/tools/marvin/marvin/integration/lib/base/Condition.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Condition(CloudStackEntity): def create(self, apiclient, ConditionFactory, threshold, relationaloperator, counterid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Config.py b/tools/marvin/marvin/integration/lib/base/Config.py index b7669ac52bc..fd19b9fd8a2 100644 --- a/tools/marvin/marvin/integration/lib/base/Config.py +++ b/tools/marvin/marvin/integration/lib/base/Config.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Config(CloudStackEntity): def ldap(self, apiclient, queryfilter, hostname, searchbase, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Configuration.py b/tools/marvin/marvin/integration/lib/base/Configuration.py index c40ee16a780..d37e85db5b9 100644 --- a/tools/marvin/marvin/integration/lib/base/Configuration.py +++ b/tools/marvin/marvin/integration/lib/base/Configuration.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Configuration(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Counter.py b/tools/marvin/marvin/integration/lib/base/Counter.py index 877dfd14086..d6c5de042f3 100644 --- a/tools/marvin/marvin/integration/lib/base/Counter.py +++ b/tools/marvin/marvin/integration/lib/base/Counter.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Counter(CloudStackEntity): def create(self, apiclient, CounterFactory, source, name, value, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/CustomCertificate.py b/tools/marvin/marvin/integration/lib/base/CustomCertificate.py index 542dc062eb4..1dba15431fe 100644 --- a/tools/marvin/marvin/integration/lib/base/CustomCertificate.py +++ b/tools/marvin/marvin/integration/lib/base/CustomCertificate.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class CustomCertificate(CloudStackEntity): def upload(self, apiclient, domainsuffix, certificate, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/DefaultZoneForAccount.py b/tools/marvin/marvin/integration/lib/base/DefaultZoneForAccount.py index 2c1da6d3e9a..6cfa1879b53 100644 --- a/tools/marvin/marvin/integration/lib/base/DefaultZoneForAccount.py +++ b/tools/marvin/marvin/integration/lib/base/DefaultZoneForAccount.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class DefaultZoneForAccount(CloudStackEntity): def mark(self, apiclient, account, domainid, zoneid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/DiskOffering.py b/tools/marvin/marvin/integration/lib/base/DiskOffering.py index 4ff91ef0718..69f6e607c9a 100644 --- a/tools/marvin/marvin/integration/lib/base/DiskOffering.py +++ b/tools/marvin/marvin/integration/lib/base/DiskOffering.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class DiskOffering(CloudStackEntity): def create(self, apiclient, DiskOfferingFactory, displaytext, name, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Domain.py b/tools/marvin/marvin/integration/lib/base/Domain.py index ca99d7d2ec7..18630d3d737 100644 --- a/tools/marvin/marvin/integration/lib/base/Domain.py +++ b/tools/marvin/marvin/integration/lib/base/Domain.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Domain(CloudStackEntity): def create(self, apiclient, DomainFactory, name, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/DomainChildren.py b/tools/marvin/marvin/integration/lib/base/DomainChildren.py index 40094be8b2a..a19e0bd1ffb 100644 --- a/tools/marvin/marvin/integration/lib/base/DomainChildren.py +++ b/tools/marvin/marvin/integration/lib/base/DomainChildren.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class DomainChildren(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/EventTypes.py b/tools/marvin/marvin/integration/lib/base/EventTypes.py index 0325217f9da..25ff033a01a 100644 --- a/tools/marvin/marvin/integration/lib/base/EventTypes.py +++ b/tools/marvin/marvin/integration/lib/base/EventTypes.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class EventTypes(CloudStackEntity): def list(self, apiclient): diff --git a/tools/marvin/marvin/integration/lib/base/Events.py b/tools/marvin/marvin/integration/lib/base/Events.py index 099aaa0811a..747f3e69287 100644 --- a/tools/marvin/marvin/integration/lib/base/Events.py +++ b/tools/marvin/marvin/integration/lib/base/Events.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Events(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/FirewallRule.py b/tools/marvin/marvin/integration/lib/base/FirewallRule.py index dd489ee346c..fb5b0e1a4ca 100644 --- a/tools/marvin/marvin/integration/lib/base/FirewallRule.py +++ b/tools/marvin/marvin/integration/lib/base/FirewallRule.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class FirewallRule(CloudStackEntity): def create(self, apiclient, FirewallRuleFactory, protocol, ipaddressid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/FromLoadBalancerRule.py b/tools/marvin/marvin/integration/lib/base/FromLoadBalancerRule.py index 8b52aa5dd25..575af89005d 100644 --- a/tools/marvin/marvin/integration/lib/base/FromLoadBalancerRule.py +++ b/tools/marvin/marvin/integration/lib/base/FromLoadBalancerRule.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class FromLoadBalancerRule(CloudStackEntity): def remove(self, apiclient, id, virtualmachineids, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Host.py b/tools/marvin/marvin/integration/lib/base/Host.py index 526d0df7ef3..3103dee0895 100644 --- a/tools/marvin/marvin/integration/lib/base/Host.py +++ b/tools/marvin/marvin/integration/lib/base/Host.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Host(CloudStackEntity): def add(self, apiclient, username, podid, url, hypervisor, zoneid, password, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/HostForMaintenance.py b/tools/marvin/marvin/integration/lib/base/HostForMaintenance.py index e53d5587803..19828037caa 100644 --- a/tools/marvin/marvin/integration/lib/base/HostForMaintenance.py +++ b/tools/marvin/marvin/integration/lib/base/HostForMaintenance.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class HostForMaintenance(CloudStackEntity): def prepare(self, apiclient, id, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/HostMaintenance.py b/tools/marvin/marvin/integration/lib/base/HostMaintenance.py index af40d9c3a61..458c45b83bc 100644 --- a/tools/marvin/marvin/integration/lib/base/HostMaintenance.py +++ b/tools/marvin/marvin/integration/lib/base/HostMaintenance.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class HostMaintenance(CloudStackEntity): def cancel(self, apiclient, id, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/HostPassword.py b/tools/marvin/marvin/integration/lib/base/HostPassword.py index 018c02bdc80..505e754e3b0 100644 --- a/tools/marvin/marvin/integration/lib/base/HostPassword.py +++ b/tools/marvin/marvin/integration/lib/base/HostPassword.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class HostPassword(CloudStackEntity): def update(self, apiclient, username, password, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/HypervisorCapabilities.py b/tools/marvin/marvin/integration/lib/base/HypervisorCapabilities.py index 205bf464ca0..94fef573269 100644 --- a/tools/marvin/marvin/integration/lib/base/HypervisorCapabilities.py +++ b/tools/marvin/marvin/integration/lib/base/HypervisorCapabilities.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class HypervisorCapabilities(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Hypervisors.py b/tools/marvin/marvin/integration/lib/base/Hypervisors.py index 36e964e83fb..f366c4435e4 100644 --- a/tools/marvin/marvin/integration/lib/base/Hypervisors.py +++ b/tools/marvin/marvin/integration/lib/base/Hypervisors.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Hypervisors(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/InstanceGroup.py b/tools/marvin/marvin/integration/lib/base/InstanceGroup.py index 6c968fcb90c..6fe1de6f72a 100644 --- a/tools/marvin/marvin/integration/lib/base/InstanceGroup.py +++ b/tools/marvin/marvin/integration/lib/base/InstanceGroup.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class InstanceGroup(CloudStackEntity): def create(self, apiclient, InstanceGroupFactory, name, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/IpAddress.py b/tools/marvin/marvin/integration/lib/base/IpAddress.py index b7152e29d4b..cebbdd38336 100644 --- a/tools/marvin/marvin/integration/lib/base/IpAddress.py +++ b/tools/marvin/marvin/integration/lib/base/IpAddress.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class IpAddress(CloudStackEntity): def disassociate(self, apiclient, id, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/IpForwardingRule.py b/tools/marvin/marvin/integration/lib/base/IpForwardingRule.py index 5b60452acab..80f4c3e3995 100644 --- a/tools/marvin/marvin/integration/lib/base/IpForwardingRule.py +++ b/tools/marvin/marvin/integration/lib/base/IpForwardingRule.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class IpForwardingRule(CloudStackEntity): def create(self, apiclient, IpForwardingRuleFactory, startport, protocol, ipaddressid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Iso.py b/tools/marvin/marvin/integration/lib/base/Iso.py index 41361b65e35..91e53f47aa6 100644 --- a/tools/marvin/marvin/integration/lib/base/Iso.py +++ b/tools/marvin/marvin/integration/lib/base/Iso.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Iso(CloudStackEntity): def copy(self, apiclient, sourcezoneid, id, destzoneid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/IsoPermissions.py b/tools/marvin/marvin/integration/lib/base/IsoPermissions.py index df545a67bde..f0541f437b9 100644 --- a/tools/marvin/marvin/integration/lib/base/IsoPermissions.py +++ b/tools/marvin/marvin/integration/lib/base/IsoPermissions.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class IsoPermissions(CloudStackEntity): def list(self, apiclient, id, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/LBStickinessPolicies.py b/tools/marvin/marvin/integration/lib/base/LBStickinessPolicies.py index 0c4d2bfef73..86063196c21 100644 --- a/tools/marvin/marvin/integration/lib/base/LBStickinessPolicies.py +++ b/tools/marvin/marvin/integration/lib/base/LBStickinessPolicies.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class LBStickinessPolicies(CloudStackEntity): def list(self, apiclient, lbruleid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/LBStickinessPolicy.py b/tools/marvin/marvin/integration/lib/base/LBStickinessPolicy.py index ca1bcfb8f24..01534ac4855 100644 --- a/tools/marvin/marvin/integration/lib/base/LBStickinessPolicy.py +++ b/tools/marvin/marvin/integration/lib/base/LBStickinessPolicy.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class LBStickinessPolicy(CloudStackEntity): def create(self, apiclient, LBStickinessPolicyFactory, lbruleid, methodname, name, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/LoadBalancerRule.py b/tools/marvin/marvin/integration/lib/base/LoadBalancerRule.py index 40b17935fef..9ab6eb8a8ab 100644 --- a/tools/marvin/marvin/integration/lib/base/LoadBalancerRule.py +++ b/tools/marvin/marvin/integration/lib/base/LoadBalancerRule.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class LoadBalancerRule(CloudStackEntity): def create(self, apiclient, LoadBalancerRuleFactory, publicport, name, algorithm, privateport, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/LoadBalancerRuleInstances.py b/tools/marvin/marvin/integration/lib/base/LoadBalancerRuleInstances.py index 01d03f6ccc0..2eb78b1f405 100644 --- a/tools/marvin/marvin/integration/lib/base/LoadBalancerRuleInstances.py +++ b/tools/marvin/marvin/integration/lib/base/LoadBalancerRuleInstances.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class LoadBalancerRuleInstances(CloudStackEntity): def list(self, apiclient, id, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Network.py b/tools/marvin/marvin/integration/lib/base/Network.py index 3bcdeab5f64..876ed1fbfbf 100644 --- a/tools/marvin/marvin/integration/lib/base/Network.py +++ b/tools/marvin/marvin/integration/lib/base/Network.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Network(CloudStackEntity): def create(self, apiclient, NetworkFactory, displaytext, name, networkofferingid, zoneid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/NetworkACL.py b/tools/marvin/marvin/integration/lib/base/NetworkACL.py index d297f810cd7..35e04a22cdc 100644 --- a/tools/marvin/marvin/integration/lib/base/NetworkACL.py +++ b/tools/marvin/marvin/integration/lib/base/NetworkACL.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class NetworkACL(CloudStackEntity): def create(self, apiclient, NetworkACLFactory, networkid, protocol, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/NetworkDevice.py b/tools/marvin/marvin/integration/lib/base/NetworkDevice.py index 1881e9dd555..009f85b4027 100644 --- a/tools/marvin/marvin/integration/lib/base/NetworkDevice.py +++ b/tools/marvin/marvin/integration/lib/base/NetworkDevice.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class NetworkDevice(CloudStackEntity): def add(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/NetworkOffering.py b/tools/marvin/marvin/integration/lib/base/NetworkOffering.py index 874855cefb5..30767893070 100644 --- a/tools/marvin/marvin/integration/lib/base/NetworkOffering.py +++ b/tools/marvin/marvin/integration/lib/base/NetworkOffering.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class NetworkOffering(CloudStackEntity): def create(self, apiclient, NetworkOfferingFactory, guestiptype, traffictype, displaytext, name, supportedservices, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/NetworkServiceProvider.py b/tools/marvin/marvin/integration/lib/base/NetworkServiceProvider.py index 56150c472d8..8774409c3cb 100644 --- a/tools/marvin/marvin/integration/lib/base/NetworkServiceProvider.py +++ b/tools/marvin/marvin/integration/lib/base/NetworkServiceProvider.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class NetworkServiceProvider(CloudStackEntity): def add(self, apiclient, physicalnetworkid, name, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/NiciraNvpDevice.py b/tools/marvin/marvin/integration/lib/base/NiciraNvpDevice.py index 662e11de7f6..bb0842ed74d 100644 --- a/tools/marvin/marvin/integration/lib/base/NiciraNvpDevice.py +++ b/tools/marvin/marvin/integration/lib/base/NiciraNvpDevice.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class NiciraNvpDevice(CloudStackEntity): def add(self, apiclient, username, physicalnetworkid, password, hostname, transportzoneuuid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/NiciraNvpDeviceNetworks.py b/tools/marvin/marvin/integration/lib/base/NiciraNvpDeviceNetworks.py index de234a3838b..85b8a0cbe24 100644 --- a/tools/marvin/marvin/integration/lib/base/NiciraNvpDeviceNetworks.py +++ b/tools/marvin/marvin/integration/lib/base/NiciraNvpDeviceNetworks.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class NiciraNvpDeviceNetworks(CloudStackEntity): def list(self, apiclient, nvpdeviceid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/OsCategories.py b/tools/marvin/marvin/integration/lib/base/OsCategories.py index 8828f5337b1..e7e0165929d 100644 --- a/tools/marvin/marvin/integration/lib/base/OsCategories.py +++ b/tools/marvin/marvin/integration/lib/base/OsCategories.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class OsCategories(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/OsTypes.py b/tools/marvin/marvin/integration/lib/base/OsTypes.py index 790c883ee58..779f72f5cc6 100644 --- a/tools/marvin/marvin/integration/lib/base/OsTypes.py +++ b/tools/marvin/marvin/integration/lib/base/OsTypes.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class OsTypes(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/PasswordForVirtualMachine.py b/tools/marvin/marvin/integration/lib/base/PasswordForVirtualMachine.py index ec72881282f..b58a76e057d 100644 --- a/tools/marvin/marvin/integration/lib/base/PasswordForVirtualMachine.py +++ b/tools/marvin/marvin/integration/lib/base/PasswordForVirtualMachine.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class PasswordForVirtualMachine(CloudStackEntity): def reset(self, apiclient, id, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/PhysicalNetwork.py b/tools/marvin/marvin/integration/lib/base/PhysicalNetwork.py index 60969760cab..fca3b98a85f 100644 --- a/tools/marvin/marvin/integration/lib/base/PhysicalNetwork.py +++ b/tools/marvin/marvin/integration/lib/base/PhysicalNetwork.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class PhysicalNetwork(CloudStackEntity): def create(self, apiclient, PhysicalNetworkFactory, name, zoneid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Pod.py b/tools/marvin/marvin/integration/lib/base/Pod.py index 913643ce466..2f33bbcc53d 100644 --- a/tools/marvin/marvin/integration/lib/base/Pod.py +++ b/tools/marvin/marvin/integration/lib/base/Pod.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Pod(CloudStackEntity): def create(self, apiclient, PodFactory, startip, netmask, zoneid, gateway, name, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/PortForwardingRule.py b/tools/marvin/marvin/integration/lib/base/PortForwardingRule.py index dac7f4c7d44..f2f162adf8c 100644 --- a/tools/marvin/marvin/integration/lib/base/PortForwardingRule.py +++ b/tools/marvin/marvin/integration/lib/base/PortForwardingRule.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class PortForwardingRule(CloudStackEntity): def create(self, apiclient, PortForwardingRuleFactory, publicport, virtualmachineid, protocol, ipaddressid, privateport, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/PrivateGateway.py b/tools/marvin/marvin/integration/lib/base/PrivateGateway.py index 2a55d770fda..6e63c87dd1b 100644 --- a/tools/marvin/marvin/integration/lib/base/PrivateGateway.py +++ b/tools/marvin/marvin/integration/lib/base/PrivateGateway.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class PrivateGateway(CloudStackEntity): def create(self, apiclient, PrivateGatewayFactory, netmask, vlan, ipaddress, gateway, vpcid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Project.py b/tools/marvin/marvin/integration/lib/base/Project.py index db5b2664572..cd043040644 100644 --- a/tools/marvin/marvin/integration/lib/base/Project.py +++ b/tools/marvin/marvin/integration/lib/base/Project.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Project(CloudStackEntity): def suspend(self, apiclient, id, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/ProjectAccounts.py b/tools/marvin/marvin/integration/lib/base/ProjectAccounts.py index b3139f081c7..5d60e44ab7d 100644 --- a/tools/marvin/marvin/integration/lib/base/ProjectAccounts.py +++ b/tools/marvin/marvin/integration/lib/base/ProjectAccounts.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class ProjectAccounts(CloudStackEntity): def list(self, apiclient, projectid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/ProjectInvitation.py b/tools/marvin/marvin/integration/lib/base/ProjectInvitation.py index ec2257d33a5..d51dc26300d 100644 --- a/tools/marvin/marvin/integration/lib/base/ProjectInvitation.py +++ b/tools/marvin/marvin/integration/lib/base/ProjectInvitation.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class ProjectInvitation(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/PublicIpAddresses.py b/tools/marvin/marvin/integration/lib/base/PublicIpAddresses.py index 20f55a4a6a5..1db35f7d36e 100644 --- a/tools/marvin/marvin/integration/lib/base/PublicIpAddresses.py +++ b/tools/marvin/marvin/integration/lib/base/PublicIpAddresses.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class PublicIpAddresses(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/RemoteAccessVpn.py b/tools/marvin/marvin/integration/lib/base/RemoteAccessVpn.py index a5a1f09ea96..eee50564126 100644 --- a/tools/marvin/marvin/integration/lib/base/RemoteAccessVpn.py +++ b/tools/marvin/marvin/integration/lib/base/RemoteAccessVpn.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class RemoteAccessVpn(CloudStackEntity): def create(self, apiclient, RemoteAccessVpnFactory, publicipid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Remove.py b/tools/marvin/marvin/integration/lib/base/Remove.py index b3651d6cd83..ce0fd025549 100644 --- a/tools/marvin/marvin/integration/lib/base/Remove.py +++ b/tools/marvin/marvin/integration/lib/base/Remove.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Remove(CloudStackEntity): def ldap(self, apiclient): diff --git a/tools/marvin/marvin/integration/lib/base/ResourceCount.py b/tools/marvin/marvin/integration/lib/base/ResourceCount.py index dcead1d23ad..e88bb5c2c3f 100644 --- a/tools/marvin/marvin/integration/lib/base/ResourceCount.py +++ b/tools/marvin/marvin/integration/lib/base/ResourceCount.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class ResourceCount(CloudStackEntity): def update(self, apiclient, domainid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/ResourceLimit.py b/tools/marvin/marvin/integration/lib/base/ResourceLimit.py index 9f1f873b2ec..fcf942fff12 100644 --- a/tools/marvin/marvin/integration/lib/base/ResourceLimit.py +++ b/tools/marvin/marvin/integration/lib/base/ResourceLimit.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class ResourceLimit(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Router.py b/tools/marvin/marvin/integration/lib/base/Router.py index 63fb9d6a769..51dc22a684f 100644 --- a/tools/marvin/marvin/integration/lib/base/Router.py +++ b/tools/marvin/marvin/integration/lib/base/Router.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Router(CloudStackEntity): def destroy(self, apiclient, id, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/S3.py b/tools/marvin/marvin/integration/lib/base/S3.py index a39763632cd..7ada8fbf0fa 100644 --- a/tools/marvin/marvin/integration/lib/base/S3.py +++ b/tools/marvin/marvin/integration/lib/base/S3.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class S3(CloudStackEntity): def add(self, apiclient, secretkey, accesskey, bucket, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/SSHKeyPair.py b/tools/marvin/marvin/integration/lib/base/SSHKeyPair.py index fb7852b3462..a59689565e3 100644 --- a/tools/marvin/marvin/integration/lib/base/SSHKeyPair.py +++ b/tools/marvin/marvin/integration/lib/base/SSHKeyPair.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class SSHKeyPair(CloudStackEntity): def create(self, apiclient, SSHKeyPairFactory, name, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/SecondaryStorage.py b/tools/marvin/marvin/integration/lib/base/SecondaryStorage.py index 7a3eae0bf4b..479de172dde 100644 --- a/tools/marvin/marvin/integration/lib/base/SecondaryStorage.py +++ b/tools/marvin/marvin/integration/lib/base/SecondaryStorage.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class SecondaryStorage(CloudStackEntity): def add(self, apiclient, url, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/SecurityGroup.py b/tools/marvin/marvin/integration/lib/base/SecurityGroup.py index 7695fb159c5..522e68edfb4 100644 --- a/tools/marvin/marvin/integration/lib/base/SecurityGroup.py +++ b/tools/marvin/marvin/integration/lib/base/SecurityGroup.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class SecurityGroup(CloudStackEntity): def create(self, apiclient, SecurityGroupFactory, name, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/SecurityGroupEgress.py b/tools/marvin/marvin/integration/lib/base/SecurityGroupEgress.py index ab233f009a2..143d538fe82 100644 --- a/tools/marvin/marvin/integration/lib/base/SecurityGroupEgress.py +++ b/tools/marvin/marvin/integration/lib/base/SecurityGroupEgress.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class SecurityGroupEgress(CloudStackEntity): def authorize(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/SecurityGroupIngress.py b/tools/marvin/marvin/integration/lib/base/SecurityGroupIngress.py index 84efa1902a5..8e79d91bf76 100644 --- a/tools/marvin/marvin/integration/lib/base/SecurityGroupIngress.py +++ b/tools/marvin/marvin/integration/lib/base/SecurityGroupIngress.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class SecurityGroupIngress(CloudStackEntity): def authorize(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/ServiceForRouter.py b/tools/marvin/marvin/integration/lib/base/ServiceForRouter.py index f90fd49faa5..538fc9ee611 100644 --- a/tools/marvin/marvin/integration/lib/base/ServiceForRouter.py +++ b/tools/marvin/marvin/integration/lib/base/ServiceForRouter.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class ServiceForRouter(CloudStackEntity): def change(self, apiclient, id, serviceofferingid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/ServiceForSystemVm.py b/tools/marvin/marvin/integration/lib/base/ServiceForSystemVm.py index 39666ba00be..7ebaff9ec05 100644 --- a/tools/marvin/marvin/integration/lib/base/ServiceForSystemVm.py +++ b/tools/marvin/marvin/integration/lib/base/ServiceForSystemVm.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class ServiceForSystemVm(CloudStackEntity): def change(self, apiclient, id, serviceofferingid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/ServiceForVirtualMachine.py b/tools/marvin/marvin/integration/lib/base/ServiceForVirtualMachine.py index 4600c225e29..44afcbc53c4 100644 --- a/tools/marvin/marvin/integration/lib/base/ServiceForVirtualMachine.py +++ b/tools/marvin/marvin/integration/lib/base/ServiceForVirtualMachine.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class ServiceForVirtualMachine(CloudStackEntity): def change(self, apiclient, id, serviceofferingid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/ServiceOffering.py b/tools/marvin/marvin/integration/lib/base/ServiceOffering.py index 68e8383a10f..7e0bf7ad811 100644 --- a/tools/marvin/marvin/integration/lib/base/ServiceOffering.py +++ b/tools/marvin/marvin/integration/lib/base/ServiceOffering.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class ServiceOffering(CloudStackEntity): def create(self, apiclient, ServiceOfferingFactory, displaytext, memory, cpunumber, name, cpuspeed, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Snapshot.py b/tools/marvin/marvin/integration/lib/base/Snapshot.py index e65b93105f7..f27ca4bf706 100644 --- a/tools/marvin/marvin/integration/lib/base/Snapshot.py +++ b/tools/marvin/marvin/integration/lib/base/Snapshot.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Snapshot(CloudStackEntity): def create(self, apiclient, SnapshotFactory, volumeid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/SnapshotPolicies.py b/tools/marvin/marvin/integration/lib/base/SnapshotPolicies.py index d5b2b3f28b6..bd6742f3333 100644 --- a/tools/marvin/marvin/integration/lib/base/SnapshotPolicies.py +++ b/tools/marvin/marvin/integration/lib/base/SnapshotPolicies.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class SnapshotPolicies(CloudStackEntity): def list(self, apiclient, volumeid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/SnapshotPolicy.py b/tools/marvin/marvin/integration/lib/base/SnapshotPolicy.py index 31d76f54886..089acdb1917 100644 --- a/tools/marvin/marvin/integration/lib/base/SnapshotPolicy.py +++ b/tools/marvin/marvin/integration/lib/base/SnapshotPolicy.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class SnapshotPolicy(CloudStackEntity): def create(self, apiclient, SnapshotPolicyFactory, timezone, maxsnaps, schedule, volumeid, intervaltype, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/StaticNat.py b/tools/marvin/marvin/integration/lib/base/StaticNat.py index 50831895f47..8d95e603e3a 100644 --- a/tools/marvin/marvin/integration/lib/base/StaticNat.py +++ b/tools/marvin/marvin/integration/lib/base/StaticNat.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class StaticNat(CloudStackEntity): def enable(self, apiclient, ipaddressid, virtualmachineid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/StaticRoute.py b/tools/marvin/marvin/integration/lib/base/StaticRoute.py index 9d1eec3417a..f602c033cd2 100644 --- a/tools/marvin/marvin/integration/lib/base/StaticRoute.py +++ b/tools/marvin/marvin/integration/lib/base/StaticRoute.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class StaticRoute(CloudStackEntity): def create(self, apiclient, StaticRouteFactory, gatewayid, cidr, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/StorageMaintenance.py b/tools/marvin/marvin/integration/lib/base/StorageMaintenance.py index ce8270ed869..0a734de3ac9 100644 --- a/tools/marvin/marvin/integration/lib/base/StorageMaintenance.py +++ b/tools/marvin/marvin/integration/lib/base/StorageMaintenance.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class StorageMaintenance(CloudStackEntity): def cancel(self, apiclient, id, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/StorageNetworkIpRange.py b/tools/marvin/marvin/integration/lib/base/StorageNetworkIpRange.py index 22b508e8a3c..64f3155a956 100644 --- a/tools/marvin/marvin/integration/lib/base/StorageNetworkIpRange.py +++ b/tools/marvin/marvin/integration/lib/base/StorageNetworkIpRange.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class StorageNetworkIpRange(CloudStackEntity): def create(self, apiclient, StorageNetworkIpRangeFactory, startip, netmask, gateway, podid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/StoragePool.py b/tools/marvin/marvin/integration/lib/base/StoragePool.py index e06b24b30d9..366e3b3cc4f 100644 --- a/tools/marvin/marvin/integration/lib/base/StoragePool.py +++ b/tools/marvin/marvin/integration/lib/base/StoragePool.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class StoragePool(CloudStackEntity): def create(self, apiclient, StoragePoolFactory, url, zoneid, clusterid, name, podid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/SupportedNetworkServices.py b/tools/marvin/marvin/integration/lib/base/SupportedNetworkServices.py index 3557ab59a53..9726c7eb7ca 100644 --- a/tools/marvin/marvin/integration/lib/base/SupportedNetworkServices.py +++ b/tools/marvin/marvin/integration/lib/base/SupportedNetworkServices.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class SupportedNetworkServices(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Swift.py b/tools/marvin/marvin/integration/lib/base/Swift.py index 642d10a9c93..d0ad414b2b5 100644 --- a/tools/marvin/marvin/integration/lib/base/Swift.py +++ b/tools/marvin/marvin/integration/lib/base/Swift.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Swift(CloudStackEntity): def add(self, apiclient, url, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/SystemVm.py b/tools/marvin/marvin/integration/lib/base/SystemVm.py index a01b4ab8081..8a92b158ddd 100644 --- a/tools/marvin/marvin/integration/lib/base/SystemVm.py +++ b/tools/marvin/marvin/integration/lib/base/SystemVm.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class SystemVm(CloudStackEntity): def migrate(self, apiclient, hostid, virtualmachineid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Tags.py b/tools/marvin/marvin/integration/lib/base/Tags.py index 8eb5da61ec4..bcf87124ec7 100644 --- a/tools/marvin/marvin/integration/lib/base/Tags.py +++ b/tools/marvin/marvin/integration/lib/base/Tags.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Tags(CloudStackEntity): def create(self, apiclient, TagsFactory, resourcetype, resourceids, tags, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Template.py b/tools/marvin/marvin/integration/lib/base/Template.py index bb287c51c9f..8d3c84f3794 100644 --- a/tools/marvin/marvin/integration/lib/base/Template.py +++ b/tools/marvin/marvin/integration/lib/base/Template.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Template(CloudStackEntity): def prepare(self, apiclient, zoneid, templateid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/TemplatePermissions.py b/tools/marvin/marvin/integration/lib/base/TemplatePermissions.py index e7e04f5dfd2..d54a897b4f0 100644 --- a/tools/marvin/marvin/integration/lib/base/TemplatePermissions.py +++ b/tools/marvin/marvin/integration/lib/base/TemplatePermissions.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class TemplatePermissions(CloudStackEntity): def list(self, apiclient, id, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/ToLoadBalancerRule.py b/tools/marvin/marvin/integration/lib/base/ToLoadBalancerRule.py index 502d14e18d8..aecfa0b17e2 100644 --- a/tools/marvin/marvin/integration/lib/base/ToLoadBalancerRule.py +++ b/tools/marvin/marvin/integration/lib/base/ToLoadBalancerRule.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class ToLoadBalancerRule(CloudStackEntity): def assign(self, apiclient, id, virtualmachineids, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/TrafficMonitor.py b/tools/marvin/marvin/integration/lib/base/TrafficMonitor.py index 9cf9540199e..1cb6a59ff56 100644 --- a/tools/marvin/marvin/integration/lib/base/TrafficMonitor.py +++ b/tools/marvin/marvin/integration/lib/base/TrafficMonitor.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class TrafficMonitor(CloudStackEntity): def add(self, apiclient, url, zoneid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/TrafficType.py b/tools/marvin/marvin/integration/lib/base/TrafficType.py index 30e0691e55c..308f4336050 100644 --- a/tools/marvin/marvin/integration/lib/base/TrafficType.py +++ b/tools/marvin/marvin/integration/lib/base/TrafficType.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class TrafficType(CloudStackEntity): def add(self, apiclient, traffictype, physicalnetworkid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/TrafficTypeImplementors.py b/tools/marvin/marvin/integration/lib/base/TrafficTypeImplementors.py index a60e6b5a8e8..a8c385c8b45 100644 --- a/tools/marvin/marvin/integration/lib/base/TrafficTypeImplementors.py +++ b/tools/marvin/marvin/integration/lib/base/TrafficTypeImplementors.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class TrafficTypeImplementors(CloudStackEntity): def list(self, apiclient, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/UsageRecords.py b/tools/marvin/marvin/integration/lib/base/UsageRecords.py index 62933e77917..93f12cfe21d 100644 --- a/tools/marvin/marvin/integration/lib/base/UsageRecords.py +++ b/tools/marvin/marvin/integration/lib/base/UsageRecords.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class UsageRecords(CloudStackEntity): def list(self, apiclient, startdate, enddate, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/UsageTypes.py b/tools/marvin/marvin/integration/lib/base/UsageTypes.py index 13a5d9117ad..49712472140 100644 --- a/tools/marvin/marvin/integration/lib/base/UsageTypes.py +++ b/tools/marvin/marvin/integration/lib/base/UsageTypes.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class UsageTypes(CloudStackEntity): def list(self, apiclient): diff --git a/tools/marvin/marvin/integration/lib/base/User.py b/tools/marvin/marvin/integration/lib/base/User.py index 1a129419b56..c3e663e4323 100644 --- a/tools/marvin/marvin/integration/lib/base/User.py +++ b/tools/marvin/marvin/integration/lib/base/User.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class User(CloudStackEntity): def enable(self, apiclient, id, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/UserKeys.py b/tools/marvin/marvin/integration/lib/base/UserKeys.py index 7e6a2761fbb..12a2e003b3c 100644 --- a/tools/marvin/marvin/integration/lib/base/UserKeys.py +++ b/tools/marvin/marvin/integration/lib/base/UserKeys.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class UserKeys(CloudStackEntity): def register(self, apiclient, id, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/VMPassword.py b/tools/marvin/marvin/integration/lib/base/VMPassword.py index 5da49bc0383..9a45a535406 100644 --- a/tools/marvin/marvin/integration/lib/base/VMPassword.py +++ b/tools/marvin/marvin/integration/lib/base/VMPassword.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class VMPassword(CloudStackEntity): def get(self, apiclient, id, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/VPC.py b/tools/marvin/marvin/integration/lib/base/VPC.py index e38e662dca9..c8e22682e07 100644 --- a/tools/marvin/marvin/integration/lib/base/VPC.py +++ b/tools/marvin/marvin/integration/lib/base/VPC.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class VPC(CloudStackEntity): def create(self, apiclient, VPCFactory, cidr, zoneid, displaytext, name, vpcofferingid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/VPCOffering.py b/tools/marvin/marvin/integration/lib/base/VPCOffering.py index 89091dec0e9..d40bef2768c 100644 --- a/tools/marvin/marvin/integration/lib/base/VPCOffering.py +++ b/tools/marvin/marvin/integration/lib/base/VPCOffering.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class VPCOffering(CloudStackEntity): def create(self, apiclient, VPCOfferingFactory, displaytext, name, supportedservices, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/VirtualMachine.py b/tools/marvin/marvin/integration/lib/base/VirtualMachine.py index d99d844d494..954801dfe80 100644 --- a/tools/marvin/marvin/integration/lib/base/VirtualMachine.py +++ b/tools/marvin/marvin/integration/lib/base/VirtualMachine.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class VirtualMachine(CloudStackEntity): def restore(self, apiclient, virtualmachineid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/VirtualRouterElement.py b/tools/marvin/marvin/integration/lib/base/VirtualRouterElement.py index e30206303f4..fd5e9b303bb 100644 --- a/tools/marvin/marvin/integration/lib/base/VirtualRouterElement.py +++ b/tools/marvin/marvin/integration/lib/base/VirtualRouterElement.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class VirtualRouterElement(CloudStackEntity): def create(self, apiclient, VirtualRouterElementFactory, nspid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/VlanIpRange.py b/tools/marvin/marvin/integration/lib/base/VlanIpRange.py index c5d6a3ebf0b..4cce00aea9b 100644 --- a/tools/marvin/marvin/integration/lib/base/VlanIpRange.py +++ b/tools/marvin/marvin/integration/lib/base/VlanIpRange.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class VlanIpRange(CloudStackEntity): def create(self, apiclient, VlanIpRangeFactory, startip, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Volume.py b/tools/marvin/marvin/integration/lib/base/Volume.py index b7788118d41..7b4a6815381 100644 --- a/tools/marvin/marvin/integration/lib/base/Volume.py +++ b/tools/marvin/marvin/integration/lib/base/Volume.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Volume(CloudStackEntity): def migrate(self, apiclient, storageid, volumeid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/VpnConnection.py b/tools/marvin/marvin/integration/lib/base/VpnConnection.py index 1fefe7b932b..b7401f07cbf 100644 --- a/tools/marvin/marvin/integration/lib/base/VpnConnection.py +++ b/tools/marvin/marvin/integration/lib/base/VpnConnection.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class VpnConnection(CloudStackEntity): def reset(self, apiclient, id, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/VpnCustomerGateway.py b/tools/marvin/marvin/integration/lib/base/VpnCustomerGateway.py index ad438b05d87..8b1e4380365 100644 --- a/tools/marvin/marvin/integration/lib/base/VpnCustomerGateway.py +++ b/tools/marvin/marvin/integration/lib/base/VpnCustomerGateway.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class VpnCustomerGateway(CloudStackEntity): def create(self, apiclient, VpnCustomerGatewayFactory, ipsecpsk, cidrlist, esppolicy, ikepolicy, gateway, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/VpnGateway.py b/tools/marvin/marvin/integration/lib/base/VpnGateway.py index c260a86d658..b751da0e590 100644 --- a/tools/marvin/marvin/integration/lib/base/VpnGateway.py +++ b/tools/marvin/marvin/integration/lib/base/VpnGateway.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class VpnGateway(CloudStackEntity): def create(self, apiclient, VpnGatewayFactory, vpcid, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/VpnUser.py b/tools/marvin/marvin/integration/lib/base/VpnUser.py index 821ec8ac660..6db751a8a68 100644 --- a/tools/marvin/marvin/integration/lib/base/VpnUser.py +++ b/tools/marvin/marvin/integration/lib/base/VpnUser.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class VpnUser(CloudStackEntity): def add(self, apiclient, username, password, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/base/Zone.py b/tools/marvin/marvin/integration/lib/base/Zone.py index 1fb32f500bd..5edca40780f 100644 --- a/tools/marvin/marvin/integration/lib/base/Zone.py +++ b/tools/marvin/marvin/integration/lib/base/Zone.py @@ -14,6 +14,7 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +from . import CloudStackEntity class Zone(CloudStackEntity): def create(self, apiclient, ZoneFactory, networktype, dns1, internaldns1, name, **kwargs): diff --git a/tools/marvin/marvin/integration/lib/factory/AccountFactory.py b/tools/marvin/marvin/integration/lib/factory/AccountFactory.py index 124d3e0dd47..f32979b784b 100644 --- a/tools/marvin/marvin/integration/lib/factory/AccountFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/AccountFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import Account +from marvin.integration.lib.base import Account class AccountFactory(factory.Factory): FACTORY_FOR = Account diff --git a/tools/marvin/marvin/integration/lib/factory/AutoScalePolicyFactory.py b/tools/marvin/marvin/integration/lib/factory/AutoScalePolicyFactory.py index a652968b643..20a73f39f21 100644 --- a/tools/marvin/marvin/integration/lib/factory/AutoScalePolicyFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/AutoScalePolicyFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import AutoScalePolicy +from marvin.integration.lib.base import AutoScalePolicy class AutoScalePolicyFactory(factory.Factory): FACTORY_FOR = AutoScalePolicy diff --git a/tools/marvin/marvin/integration/lib/factory/AutoScaleVmGroupFactory.py b/tools/marvin/marvin/integration/lib/factory/AutoScaleVmGroupFactory.py index 3ebe3de78b0..4b1f8aefcc5 100644 --- a/tools/marvin/marvin/integration/lib/factory/AutoScaleVmGroupFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/AutoScaleVmGroupFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import AutoScaleVmGroup +from marvin.integration.lib.base import AutoScaleVmGroup class AutoScaleVmGroupFactory(factory.Factory): FACTORY_FOR = AutoScaleVmGroup diff --git a/tools/marvin/marvin/integration/lib/factory/AutoScaleVmProfileFactory.py b/tools/marvin/marvin/integration/lib/factory/AutoScaleVmProfileFactory.py index 521541934a8..a0daf300e7a 100644 --- a/tools/marvin/marvin/integration/lib/factory/AutoScaleVmProfileFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/AutoScaleVmProfileFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import AutoScaleVmProfile +from marvin.integration.lib.base import AutoScaleVmProfile class AutoScaleVmProfileFactory(factory.Factory): FACTORY_FOR = AutoScaleVmProfile diff --git a/tools/marvin/marvin/integration/lib/factory/ConditionFactory.py b/tools/marvin/marvin/integration/lib/factory/ConditionFactory.py index c796e7db381..fccfddf0878 100644 --- a/tools/marvin/marvin/integration/lib/factory/ConditionFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/ConditionFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import Condition +from marvin.integration.lib.base import Condition class ConditionFactory(factory.Factory): FACTORY_FOR = Condition diff --git a/tools/marvin/marvin/integration/lib/factory/CounterFactory.py b/tools/marvin/marvin/integration/lib/factory/CounterFactory.py index 5fc34a4b7aa..046d43a6e6c 100644 --- a/tools/marvin/marvin/integration/lib/factory/CounterFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/CounterFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import Counter +from marvin.integration.lib.base import Counter class CounterFactory(factory.Factory): FACTORY_FOR = Counter diff --git a/tools/marvin/marvin/integration/lib/factory/DiskOfferingFactory.py b/tools/marvin/marvin/integration/lib/factory/DiskOfferingFactory.py index c1b36acf9e3..df3ef3e1cdf 100644 --- a/tools/marvin/marvin/integration/lib/factory/DiskOfferingFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/DiskOfferingFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import DiskOffering +from marvin.integration.lib.base import DiskOffering class DiskOfferingFactory(factory.Factory): FACTORY_FOR = DiskOffering diff --git a/tools/marvin/marvin/integration/lib/factory/DomainFactory.py b/tools/marvin/marvin/integration/lib/factory/DomainFactory.py index cf46d1e078f..9f5158e027d 100644 --- a/tools/marvin/marvin/integration/lib/factory/DomainFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/DomainFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import Domain +from marvin.integration.lib.base import Domain class DomainFactory(factory.Factory): FACTORY_FOR = Domain diff --git a/tools/marvin/marvin/integration/lib/factory/FirewallRuleFactory.py b/tools/marvin/marvin/integration/lib/factory/FirewallRuleFactory.py index 81c3366d859..a0d17ec2327 100644 --- a/tools/marvin/marvin/integration/lib/factory/FirewallRuleFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/FirewallRuleFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import FirewallRule +from marvin.integration.lib.base import FirewallRule class FirewallRuleFactory(factory.Factory): FACTORY_FOR = FirewallRule diff --git a/tools/marvin/marvin/integration/lib/factory/InstanceGroupFactory.py b/tools/marvin/marvin/integration/lib/factory/InstanceGroupFactory.py index b3b81f80806..022a79a0a71 100644 --- a/tools/marvin/marvin/integration/lib/factory/InstanceGroupFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/InstanceGroupFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import InstanceGroup +from marvin.integration.lib.base import InstanceGroup class InstanceGroupFactory(factory.Factory): FACTORY_FOR = InstanceGroup diff --git a/tools/marvin/marvin/integration/lib/factory/IpAddressFactory.py b/tools/marvin/marvin/integration/lib/factory/IpAddressFactory.py index 57399afde9b..f8c689478ea 100644 --- a/tools/marvin/marvin/integration/lib/factory/IpAddressFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/IpAddressFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import IpAddress +from marvin.integration.lib.base import IpAddress class IpAddressFactory(factory.Factory): FACTORY_FOR = IpAddress diff --git a/tools/marvin/marvin/integration/lib/factory/IpForwardingRuleFactory.py b/tools/marvin/marvin/integration/lib/factory/IpForwardingRuleFactory.py index 35847cc2878..c9bc4474e4e 100644 --- a/tools/marvin/marvin/integration/lib/factory/IpForwardingRuleFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/IpForwardingRuleFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import IpForwardingRule +from marvin.integration.lib.base import IpForwardingRule class IpForwardingRuleFactory(factory.Factory): FACTORY_FOR = IpForwardingRule diff --git a/tools/marvin/marvin/integration/lib/factory/IsoFactory.py b/tools/marvin/marvin/integration/lib/factory/IsoFactory.py index 534be28f431..086c7e5a6d0 100644 --- a/tools/marvin/marvin/integration/lib/factory/IsoFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/IsoFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import Iso +from marvin.integration.lib.base import Iso class IsoFactory(factory.Factory): FACTORY_FOR = Iso diff --git a/tools/marvin/marvin/integration/lib/factory/LBStickinessPolicyFactory.py b/tools/marvin/marvin/integration/lib/factory/LBStickinessPolicyFactory.py index a23c53318f2..380ab66f9d9 100644 --- a/tools/marvin/marvin/integration/lib/factory/LBStickinessPolicyFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/LBStickinessPolicyFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import LBStickinessPolicy +from marvin.integration.lib.base import LBStickinessPolicy class LBStickinessPolicyFactory(factory.Factory): FACTORY_FOR = LBStickinessPolicy diff --git a/tools/marvin/marvin/integration/lib/factory/LoadBalancerRuleFactory.py b/tools/marvin/marvin/integration/lib/factory/LoadBalancerRuleFactory.py index 5b911c6740d..82d38a6afda 100644 --- a/tools/marvin/marvin/integration/lib/factory/LoadBalancerRuleFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/LoadBalancerRuleFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import LoadBalancerRule +from marvin.integration.lib.base import LoadBalancerRule class LoadBalancerRuleFactory(factory.Factory): FACTORY_FOR = LoadBalancerRule diff --git a/tools/marvin/marvin/integration/lib/factory/NetworkACLFactory.py b/tools/marvin/marvin/integration/lib/factory/NetworkACLFactory.py index 7923cb2eb6d..19697257b34 100644 --- a/tools/marvin/marvin/integration/lib/factory/NetworkACLFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/NetworkACLFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import NetworkACL +from marvin.integration.lib.base import NetworkACL class NetworkACLFactory(factory.Factory): FACTORY_FOR = NetworkACL diff --git a/tools/marvin/marvin/integration/lib/factory/NetworkFactory.py b/tools/marvin/marvin/integration/lib/factory/NetworkFactory.py index 239df4d0883..ed8f1ab7284 100644 --- a/tools/marvin/marvin/integration/lib/factory/NetworkFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/NetworkFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import Network +from marvin.integration.lib.base import Network class NetworkFactory(factory.Factory): FACTORY_FOR = Network diff --git a/tools/marvin/marvin/integration/lib/factory/NetworkOfferingFactory.py b/tools/marvin/marvin/integration/lib/factory/NetworkOfferingFactory.py index b1acff9cffd..773628108cd 100644 --- a/tools/marvin/marvin/integration/lib/factory/NetworkOfferingFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/NetworkOfferingFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import NetworkOffering +from marvin.integration.lib.base import NetworkOffering class NetworkOfferingFactory(factory.Factory): FACTORY_FOR = NetworkOffering diff --git a/tools/marvin/marvin/integration/lib/factory/PhysicalNetworkFactory.py b/tools/marvin/marvin/integration/lib/factory/PhysicalNetworkFactory.py index 8a93fe29bb3..6438846c046 100644 --- a/tools/marvin/marvin/integration/lib/factory/PhysicalNetworkFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/PhysicalNetworkFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import PhysicalNetwork +from marvin.integration.lib.base import PhysicalNetwork class PhysicalNetworkFactory(factory.Factory): FACTORY_FOR = PhysicalNetwork diff --git a/tools/marvin/marvin/integration/lib/factory/PodFactory.py b/tools/marvin/marvin/integration/lib/factory/PodFactory.py index 65740ba33e8..0cff95d1535 100644 --- a/tools/marvin/marvin/integration/lib/factory/PodFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/PodFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import Pod +from marvin.integration.lib.base import Pod class PodFactory(factory.Factory): FACTORY_FOR = Pod diff --git a/tools/marvin/marvin/integration/lib/factory/PortForwardingRuleFactory.py b/tools/marvin/marvin/integration/lib/factory/PortForwardingRuleFactory.py index 681dc68c7ac..179d1e07e8c 100644 --- a/tools/marvin/marvin/integration/lib/factory/PortForwardingRuleFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/PortForwardingRuleFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import PortForwardingRule +from marvin.integration.lib.base import PortForwardingRule class PortForwardingRuleFactory(factory.Factory): FACTORY_FOR = PortForwardingRule diff --git a/tools/marvin/marvin/integration/lib/factory/PrivateGatewayFactory.py b/tools/marvin/marvin/integration/lib/factory/PrivateGatewayFactory.py index 929f2dd7eea..cdc2bb619b4 100644 --- a/tools/marvin/marvin/integration/lib/factory/PrivateGatewayFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/PrivateGatewayFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import PrivateGateway +from marvin.integration.lib.base import PrivateGateway class PrivateGatewayFactory(factory.Factory): FACTORY_FOR = PrivateGateway diff --git a/tools/marvin/marvin/integration/lib/factory/ProjectFactory.py b/tools/marvin/marvin/integration/lib/factory/ProjectFactory.py index 01ba771b926..6edeff254ff 100644 --- a/tools/marvin/marvin/integration/lib/factory/ProjectFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/ProjectFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import Project +from marvin.integration.lib.base import Project class ProjectFactory(factory.Factory): FACTORY_FOR = Project diff --git a/tools/marvin/marvin/integration/lib/factory/RemoteAccessVpnFactory.py b/tools/marvin/marvin/integration/lib/factory/RemoteAccessVpnFactory.py index c34b8244118..6c52d60cadf 100644 --- a/tools/marvin/marvin/integration/lib/factory/RemoteAccessVpnFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/RemoteAccessVpnFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import RemoteAccessVpn +from marvin.integration.lib.base import RemoteAccessVpn class RemoteAccessVpnFactory(factory.Factory): FACTORY_FOR = RemoteAccessVpn diff --git a/tools/marvin/marvin/integration/lib/factory/SSHKeyPairFactory.py b/tools/marvin/marvin/integration/lib/factory/SSHKeyPairFactory.py index 784e8d860f8..0838f30293b 100644 --- a/tools/marvin/marvin/integration/lib/factory/SSHKeyPairFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/SSHKeyPairFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import SSHKeyPair +from marvin.integration.lib.base import SSHKeyPair class SSHKeyPairFactory(factory.Factory): FACTORY_FOR = SSHKeyPair diff --git a/tools/marvin/marvin/integration/lib/factory/SecurityGroupFactory.py b/tools/marvin/marvin/integration/lib/factory/SecurityGroupFactory.py index fd15db3ee30..8cb85e1de6c 100644 --- a/tools/marvin/marvin/integration/lib/factory/SecurityGroupFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/SecurityGroupFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import SecurityGroup +from marvin.integration.lib.base import SecurityGroup class SecurityGroupFactory(factory.Factory): FACTORY_FOR = SecurityGroup diff --git a/tools/marvin/marvin/integration/lib/factory/ServiceOfferingFactory.py b/tools/marvin/marvin/integration/lib/factory/ServiceOfferingFactory.py index c9710e4555f..fb85187a847 100644 --- a/tools/marvin/marvin/integration/lib/factory/ServiceOfferingFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/ServiceOfferingFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import ServiceOffering +from marvin.integration.lib.base import ServiceOffering class ServiceOfferingFactory(factory.Factory): FACTORY_FOR = ServiceOffering diff --git a/tools/marvin/marvin/integration/lib/factory/SnapshotFactory.py b/tools/marvin/marvin/integration/lib/factory/SnapshotFactory.py index ae084145383..336fa8ad6d5 100644 --- a/tools/marvin/marvin/integration/lib/factory/SnapshotFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/SnapshotFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import Snapshot +from marvin.integration.lib.base import Snapshot class SnapshotFactory(factory.Factory): FACTORY_FOR = Snapshot diff --git a/tools/marvin/marvin/integration/lib/factory/SnapshotPolicyFactory.py b/tools/marvin/marvin/integration/lib/factory/SnapshotPolicyFactory.py index 6be23a59808..6851fcaaba0 100644 --- a/tools/marvin/marvin/integration/lib/factory/SnapshotPolicyFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/SnapshotPolicyFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import SnapshotPolicy +from marvin.integration.lib.base import SnapshotPolicy class SnapshotPolicyFactory(factory.Factory): FACTORY_FOR = SnapshotPolicy diff --git a/tools/marvin/marvin/integration/lib/factory/StaticRouteFactory.py b/tools/marvin/marvin/integration/lib/factory/StaticRouteFactory.py index 1b7c948ab70..d427547acf6 100644 --- a/tools/marvin/marvin/integration/lib/factory/StaticRouteFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/StaticRouteFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import StaticRoute +from marvin.integration.lib.base import StaticRoute class StaticRouteFactory(factory.Factory): FACTORY_FOR = StaticRoute diff --git a/tools/marvin/marvin/integration/lib/factory/StorageNetworkIpRangeFactory.py b/tools/marvin/marvin/integration/lib/factory/StorageNetworkIpRangeFactory.py index 1a8cc56d7eb..8fe6ecf947a 100644 --- a/tools/marvin/marvin/integration/lib/factory/StorageNetworkIpRangeFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/StorageNetworkIpRangeFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import StorageNetworkIpRange +from marvin.integration.lib.base import StorageNetworkIpRange class StorageNetworkIpRangeFactory(factory.Factory): FACTORY_FOR = StorageNetworkIpRange diff --git a/tools/marvin/marvin/integration/lib/factory/StoragePoolFactory.py b/tools/marvin/marvin/integration/lib/factory/StoragePoolFactory.py index 74092ff571b..3803bfcbac6 100644 --- a/tools/marvin/marvin/integration/lib/factory/StoragePoolFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/StoragePoolFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import StoragePool +from marvin.integration.lib.base import StoragePool class StoragePoolFactory(factory.Factory): FACTORY_FOR = StoragePool diff --git a/tools/marvin/marvin/integration/lib/factory/TagsFactory.py b/tools/marvin/marvin/integration/lib/factory/TagsFactory.py index 55a23fa6e40..28e859d7715 100644 --- a/tools/marvin/marvin/integration/lib/factory/TagsFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/TagsFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import Tags +from marvin.integration.lib.base import Tags class TagsFactory(factory.Factory): FACTORY_FOR = Tags diff --git a/tools/marvin/marvin/integration/lib/factory/TemplateFactory.py b/tools/marvin/marvin/integration/lib/factory/TemplateFactory.py index fc142e1f5c6..175a6e94818 100644 --- a/tools/marvin/marvin/integration/lib/factory/TemplateFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/TemplateFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import Template +from marvin.integration.lib.base import Template class TemplateFactory(factory.Factory): FACTORY_FOR = Template diff --git a/tools/marvin/marvin/integration/lib/factory/UserFactory.py b/tools/marvin/marvin/integration/lib/factory/UserFactory.py index 0fc97b04088..a249478ac92 100644 --- a/tools/marvin/marvin/integration/lib/factory/UserFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/UserFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import User +from marvin.integration.lib.base import User class UserFactory(factory.Factory): FACTORY_FOR = User diff --git a/tools/marvin/marvin/integration/lib/factory/UserKeysFactory.py b/tools/marvin/marvin/integration/lib/factory/UserKeysFactory.py index 7594ac4d5e4..c905c1c6aa3 100644 --- a/tools/marvin/marvin/integration/lib/factory/UserKeysFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/UserKeysFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import UserKeys +from marvin.integration.lib.base import UserKeys class UserKeysFactory(factory.Factory): FACTORY_FOR = UserKeys diff --git a/tools/marvin/marvin/integration/lib/factory/VPCFactory.py b/tools/marvin/marvin/integration/lib/factory/VPCFactory.py index 7d7f55e6d65..bef42f6eb51 100644 --- a/tools/marvin/marvin/integration/lib/factory/VPCFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/VPCFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import VPC +from marvin.integration.lib.base import VPC class VPCFactory(factory.Factory): FACTORY_FOR = VPC diff --git a/tools/marvin/marvin/integration/lib/factory/VPCOfferingFactory.py b/tools/marvin/marvin/integration/lib/factory/VPCOfferingFactory.py index b73f47f3b6d..ad45093f35b 100644 --- a/tools/marvin/marvin/integration/lib/factory/VPCOfferingFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/VPCOfferingFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import VPCOffering +from marvin.integration.lib.base import VPCOffering class VPCOfferingFactory(factory.Factory): FACTORY_FOR = VPCOffering diff --git a/tools/marvin/marvin/integration/lib/factory/VirtualMachineFactory.py b/tools/marvin/marvin/integration/lib/factory/VirtualMachineFactory.py index 28300fd15ab..a9dc6c0191b 100644 --- a/tools/marvin/marvin/integration/lib/factory/VirtualMachineFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/VirtualMachineFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import VirtualMachine +from marvin.integration.lib.base import VirtualMachine class VirtualMachineFactory(factory.Factory): FACTORY_FOR = VirtualMachine diff --git a/tools/marvin/marvin/integration/lib/factory/VirtualRouterElementFactory.py b/tools/marvin/marvin/integration/lib/factory/VirtualRouterElementFactory.py index e21489d3afc..a1f85dafc7d 100644 --- a/tools/marvin/marvin/integration/lib/factory/VirtualRouterElementFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/VirtualRouterElementFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import VirtualRouterElement +from marvin.integration.lib.base import VirtualRouterElement class VirtualRouterElementFactory(factory.Factory): FACTORY_FOR = VirtualRouterElement diff --git a/tools/marvin/marvin/integration/lib/factory/VlanIpRangeFactory.py b/tools/marvin/marvin/integration/lib/factory/VlanIpRangeFactory.py index 45120f7f4c5..6ae1e3572a0 100644 --- a/tools/marvin/marvin/integration/lib/factory/VlanIpRangeFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/VlanIpRangeFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import VlanIpRange +from marvin.integration.lib.base import VlanIpRange class VlanIpRangeFactory(factory.Factory): FACTORY_FOR = VlanIpRange diff --git a/tools/marvin/marvin/integration/lib/factory/VolumeFactory.py b/tools/marvin/marvin/integration/lib/factory/VolumeFactory.py index cde08c14a94..e1f5cdb016b 100644 --- a/tools/marvin/marvin/integration/lib/factory/VolumeFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/VolumeFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import Volume +from marvin.integration.lib.base import Volume class VolumeFactory(factory.Factory): FACTORY_FOR = Volume diff --git a/tools/marvin/marvin/integration/lib/factory/VpnConnectionFactory.py b/tools/marvin/marvin/integration/lib/factory/VpnConnectionFactory.py index d969ab2f0d7..7ba45ddb5c8 100644 --- a/tools/marvin/marvin/integration/lib/factory/VpnConnectionFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/VpnConnectionFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import VpnConnection +from marvin.integration.lib.base import VpnConnection class VpnConnectionFactory(factory.Factory): FACTORY_FOR = VpnConnection diff --git a/tools/marvin/marvin/integration/lib/factory/VpnCustomerGatewayFactory.py b/tools/marvin/marvin/integration/lib/factory/VpnCustomerGatewayFactory.py index 87d0b7555f7..ca85dbe4f8f 100644 --- a/tools/marvin/marvin/integration/lib/factory/VpnCustomerGatewayFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/VpnCustomerGatewayFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import VpnCustomerGateway +from marvin.integration.lib.base import VpnCustomerGateway class VpnCustomerGatewayFactory(factory.Factory): FACTORY_FOR = VpnCustomerGateway diff --git a/tools/marvin/marvin/integration/lib/factory/VpnGatewayFactory.py b/tools/marvin/marvin/integration/lib/factory/VpnGatewayFactory.py index 8685740628e..76d9596457b 100644 --- a/tools/marvin/marvin/integration/lib/factory/VpnGatewayFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/VpnGatewayFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import VpnGateway +from marvin.integration.lib.base import VpnGateway class VpnGatewayFactory(factory.Factory): FACTORY_FOR = VpnGateway diff --git a/tools/marvin/marvin/integration/lib/factory/ZoneFactory.py b/tools/marvin/marvin/integration/lib/factory/ZoneFactory.py index 90989e67235..c1aa0f05a9f 100644 --- a/tools/marvin/marvin/integration/lib/factory/ZoneFactory.py +++ b/tools/marvin/marvin/integration/lib/factory/ZoneFactory.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. import factory -from marvin.integration.lib.newbase import Zone +from marvin.integration.lib.base import Zone class ZoneFactory(factory.Factory): FACTORY_FOR = Zone diff --git a/tools/marvin/marvin/integration/lib/generateBase.py b/tools/marvin/marvin/integration/lib/generateBase.py index 370cf14e1aa..932f8821719 100644 --- a/tools/marvin/marvin/integration/lib/generateBase.py +++ b/tools/marvin/marvin/integration/lib/generateBase.py @@ -108,7 +108,7 @@ def write_entity_classes(entities): entitydict = {} #TODO: Add license header for ASLv2 for entity, actions in entities.iteritems(): - code = '' + code = 'from . import CloudStackEntity\n' code += 'class %s(CloudStackEntity):'%entity for action, args in actions.iteritems(): code += '\n\n' @@ -160,7 +160,7 @@ def write_entity_factory(entity, actions): writer.write(code) else: code += 'import factory\n' - code += 'from marvin.integration.lib.newbase import %s\n'%entity + code += 'from marvin.integration.lib.base import %s\n'%entity code += 'class %sFactory(factory.Factory):'%entity code += '\n\n' code += tabspace + 'FACTORY_FOR = %s\n\n'%entity