You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ta...@apache.org on 2013/11/08 11:36:33 UTC
[14/29] Revert "CLOUSTACK-5099: Utils.py-has-wrong-reference,
cleaned it. As well added Uniform naming convention"
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listServiceOfferings.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listServiceOfferings.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listServiceOfferings.py
deleted file mode 100644
index 17580c0..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listServiceOfferings.py
+++ /dev/null
@@ -1,124 +0,0 @@
-# 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.
-
-
-"""Lists all available service offerings."""
-from baseCmd import *
-from baseResponse import *
-class listServiceOfferingsCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """the ID of the domain associated with the service offering"""
- self.domainid = None
- """ID of the service offering"""
- self.id = None
- """is this a system vm offering"""
- self.issystem = None
- """List by keyword"""
- self.keyword = None
- """name of the service offering"""
- self.name = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- """List service offerings by resource tags (key/value pairs)"""
- self.resourcetags = []
- """the system VM type. Possible types are "consoleproxy", "secondarystoragevm" or "domainrouter"."""
- self.systemvmtype = None
- """the ID of the virtual machine. Pass this in if you want to see the available service offering that a virtual machine can be changed to."""
- self.virtualmachineid = None
- self.required = []
-
-class listServiceOfferingsResponse (baseResponse):
- def __init__(self):
- """the id of the service offering"""
- self.id = None
- """the number of CPU"""
- self.cpunumber = None
- """the clock rate CPU speed in Mhz"""
- self.cpuspeed = None
- """the date this service offering was created"""
- self.created = None
- """is this a default system vm offering"""
- self.defaultuse = None
- """deployment strategy used to deploy VM."""
- self.deploymentplanner = None
- """bytes read rate of the service offering"""
- self.diskBytesReadRate = None
- """bytes write rate of the service offering"""
- self.diskBytesWriteRate = None
- """io requests read rate of the service offering"""
- self.diskIopsReadRate = None
- """io requests write rate of the service offering"""
- self.diskIopsWriteRate = None
- """an alternate display text of the service offering."""
- self.displaytext = None
- """Domain name for the offering"""
- self.domain = None
- """the domain id of the service offering"""
- self.domainid = None
- """the host tag for the service offering"""
- self.hosttags = None
- """is this a system vm offering"""
- self.issystem = None
- """true if the vm needs to be volatile, i.e., on every reboot of vm from API root disk is discarded and creates a new root disk"""
- self.isvolatile = None
- """restrict the CPU usage to committed service offering"""
- self.limitcpuuse = None
- """the memory in MB"""
- self.memory = None
- """the name of the service offering"""
- self.name = None
- """data transfer rate in megabits per second allowed."""
- self.networkrate = None
- """the ha support in the service offering"""
- self.offerha = None
- """additional key/value details tied with this service offering"""
- self.serviceofferingdetails = None
- """the storage type for this service offering"""
- self.storagetype = None
- """is this a the systemvm type for system vm offering"""
- self.systemvmtype = None
- """the tags for the service offering"""
- self.tags = None
- """the list of resource tags associated with service offering. The resource tags are not used for Volume/VM placement on the specific host."""
- self.resourcetags = []
-
-class resourcetags:
- def __init__(self):
- """"the account associated with the tag"""
- self.account = None
- """"customer associated with the tag"""
- self.customer = None
- """"the domain associated with the tag"""
- self.domain = None
- """"the ID of the domain associated with the tag"""
- self.domainid = None
- """"tag key name"""
- self.key = None
- """"the project name where tag belongs to"""
- self.project = None
- """"the project id the tag belongs to"""
- self.projectid = None
- """"id of the resource"""
- self.resourceid = None
- """"resource type"""
- self.resourcetype = None
- """"tag value"""
- self.value = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listSnapshotPolicies.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listSnapshotPolicies.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listSnapshotPolicies.py
deleted file mode 100644
index 7c8ef79..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listSnapshotPolicies.py
+++ /dev/null
@@ -1,50 +0,0 @@
-# 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.
-
-
-"""Lists snapshot policies."""
-from baseCmd import *
-from baseResponse import *
-class listSnapshotPoliciesCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """the ID of the disk volume"""
- """Required"""
- self.volumeid = None
- """List by keyword"""
- self.keyword = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- self.required = ["volumeid",]
-
-class listSnapshotPoliciesResponse (baseResponse):
- def __init__(self):
- """the ID of the snapshot policy"""
- self.id = None
- """the interval type of the snapshot policy"""
- self.intervaltype = None
- """maximum number of snapshots retained"""
- self.maxsnaps = None
- """time the snapshot is scheduled to be taken."""
- self.schedule = None
- """the time zone of the snapshot policy"""
- self.timezone = None
- """the ID of the disk volume"""
- self.volumeid = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listSnapshots.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listSnapshots.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listSnapshots.py
deleted file mode 100644
index 79213ea..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listSnapshots.py
+++ /dev/null
@@ -1,118 +0,0 @@
-# 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.
-
-
-"""Lists all available snapshots for the account."""
-from baseCmd import *
-from baseResponse import *
-class listSnapshotsCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """list resources by account. Must be used with the domainId parameter."""
- self.account = None
- """list only resources belonging to the domain specified"""
- self.domainid = None
- """lists snapshot by snapshot ID"""
- self.id = None
- """valid values are HOURLY, DAILY, WEEKLY, and MONTHLY."""
- self.intervaltype = None
- """defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves."""
- self.isrecursive = None
- """List by keyword"""
- self.keyword = None
- """If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false"""
- self.listall = None
- """lists snapshot by snapshot name"""
- self.name = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- """list objects by project"""
- self.projectid = None
- """valid values are MANUAL or RECURRING."""
- self.snapshottype = None
- """List resources by tags (key/value pairs)"""
- self.tags = []
- """the ID of the disk volume"""
- self.volumeid = None
- """list snapshots by zone id"""
- self.zoneid = None
- self.required = []
-
-class listSnapshotsResponse (baseResponse):
- def __init__(self):
- """ID of the snapshot"""
- self.id = None
- """the account associated with the snapshot"""
- self.account = None
- """the date the snapshot was created"""
- self.created = None
- """the domain name of the snapshot's account"""
- self.domain = None
- """the domain ID of the snapshot's account"""
- self.domainid = None
- """valid types are hourly, daily, weekly, monthy, template, and none."""
- self.intervaltype = None
- """name of the snapshot"""
- self.name = None
- """the project name of the snapshot"""
- self.project = None
- """the project id of the snapshot"""
- self.projectid = None
- """the type of the snapshot"""
- self.snapshottype = None
- """the state of the snapshot. BackedUp means that snapshot is ready to be used; Creating - the snapshot is being allocated on the primary storage; BackingUp - the snapshot is being backed up on secondary storage"""
- self.state = None
- """ID of the disk volume"""
- self.volumeid = None
- """name of the disk volume"""
- self.volumename = None
- """type of the disk volume"""
- self.volumetype = None
- """id of the availability zone"""
- self.zoneid = None
- """the list of resource tags associated with snapshot"""
- self.tags = []
- """the ID of the latest async job acting on this object"""
- self.jobid = None
- """the current status of the latest async job acting on this object"""
- self.jobstatus = None
-
-class tags:
- def __init__(self):
- """"the account associated with the tag"""
- self.account = None
- """"customer associated with the tag"""
- self.customer = None
- """"the domain associated with the tag"""
- self.domain = None
- """"the ID of the domain associated with the tag"""
- self.domainid = None
- """"tag key name"""
- self.key = None
- """"the project name where tag belongs to"""
- self.project = None
- """"the project id the tag belongs to"""
- self.projectid = None
- """"id of the resource"""
- self.resourceid = None
- """"resource type"""
- self.resourcetype = None
- """"tag value"""
- self.value = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listStaticRoutes.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listStaticRoutes.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listStaticRoutes.py
deleted file mode 100644
index f965e11..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listStaticRoutes.py
+++ /dev/null
@@ -1,98 +0,0 @@
-# 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.
-
-
-"""Lists all static routes"""
-from baseCmd import *
-from baseResponse import *
-class listStaticRoutesCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """list resources by account. Must be used with the domainId parameter."""
- self.account = None
- """list only resources belonging to the domain specified"""
- self.domainid = None
- """list static routes by gateway id"""
- self.gatewayid = None
- """list static route by id"""
- self.id = None
- """defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves."""
- self.isrecursive = None
- """List by keyword"""
- self.keyword = None
- """If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false"""
- self.listall = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- """list objects by project"""
- self.projectid = None
- """List resources by tags (key/value pairs)"""
- self.tags = []
- """list static routes by vpc id"""
- self.vpcid = None
- self.required = []
-
-class listStaticRoutesResponse (baseResponse):
- def __init__(self):
- """the ID of static route"""
- self.id = None
- """the account associated with the static route"""
- self.account = None
- """static route CIDR"""
- self.cidr = None
- """the domain associated with the static route"""
- self.domain = None
- """the ID of the domain associated with the static route"""
- self.domainid = None
- """VPC gateway the route is created for"""
- self.gatewayid = None
- """the project name of the static route"""
- self.project = None
- """the project id of the static route"""
- self.projectid = None
- """the state of the static route"""
- self.state = None
- """VPC the static route belongs to"""
- self.vpcid = None
- """the list of resource tags associated with static route"""
- self.tags = []
-
-class tags:
- def __init__(self):
- """"the account associated with the tag"""
- self.account = None
- """"customer associated with the tag"""
- self.customer = None
- """"the domain associated with the tag"""
- self.domain = None
- """"the ID of the domain associated with the tag"""
- self.domainid = None
- """"tag key name"""
- self.key = None
- """"the project name where tag belongs to"""
- self.project = None
- """"the project id the tag belongs to"""
- self.projectid = None
- """"id of the resource"""
- self.resourceid = None
- """"resource type"""
- self.resourcetype = None
- """"tag value"""
- self.value = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listStorageNetworkIpRange.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listStorageNetworkIpRange.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listStorageNetworkIpRange.py
deleted file mode 100644
index 83807c4..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listStorageNetworkIpRange.py
+++ /dev/null
@@ -1,59 +0,0 @@
-# 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.
-
-
-"""List a storage network IP range."""
-from baseCmd import *
-from baseResponse import *
-class listStorageNetworkIpRangeCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """optional parameter. Storaget network IP range uuid, if specicied, using it to search the range."""
- self.id = None
- """List by keyword"""
- self.keyword = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- """optional parameter. Pod uuid, if specicied and range uuid is absent, using it to search the range."""
- self.podid = None
- """optional parameter. Zone uuid, if specicied and both pod uuid and range uuid are absent, using it to search the range."""
- self.zoneid = None
- self.required = []
-
-class listStorageNetworkIpRangeResponse (baseResponse):
- def __init__(self):
- """the uuid of storage network IP range."""
- self.id = None
- """the end ip of the storage network IP range"""
- self.endip = None
- """the gateway of the storage network IP range"""
- self.gateway = None
- """the netmask of the storage network IP range"""
- self.netmask = None
- """the network uuid of storage network IP range"""
- self.networkid = None
- """the Pod uuid for the storage network IP range"""
- self.podid = None
- """the start ip of the storage network IP range"""
- self.startip = None
- """the ID or VID of the VLAN."""
- self.vlan = None
- """the Zone uuid of the storage network IP range"""
- self.zoneid = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listStoragePools.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listStoragePools.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listStoragePools.py
deleted file mode 100644
index 7f211a6..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listStoragePools.py
+++ /dev/null
@@ -1,97 +0,0 @@
-# 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.
-
-
-"""Lists storage pools."""
-from baseCmd import *
-from baseResponse import *
-class listStoragePoolsCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """list storage pools belongig to the specific cluster"""
- self.clusterid = None
- """the ID of the storage pool"""
- self.id = None
- """the IP address for the storage pool"""
- self.ipaddress = None
- """List by keyword"""
- self.keyword = None
- """the name of the storage pool"""
- self.name = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- """the storage pool path"""
- self.path = None
- """the Pod ID for the storage pool"""
- self.podid = None
- """the ID of the storage pool"""
- self.scope = None
- """the Zone ID for the storage pool"""
- self.zoneid = None
- self.required = []
-
-class listStoragePoolsResponse (baseResponse):
- def __init__(self):
- """the ID of the storage pool"""
- self.id = None
- """IOPS CloudStack can provision from this storage pool"""
- self.capacityiops = None
- """the ID of the cluster for the storage pool"""
- self.clusterid = None
- """the name of the cluster for the storage pool"""
- self.clustername = None
- """the date and time the storage pool was created"""
- self.created = None
- """the host's currently allocated disk size"""
- self.disksizeallocated = None
- """the total disk size of the storage pool"""
- self.disksizetotal = None
- """the host's currently used disk size"""
- self.disksizeused = None
- """the hypervisor type of the storage pool"""
- self.hypervisor = None
- """the IP address of the storage pool"""
- self.ipaddress = None
- """the name of the storage pool"""
- self.name = None
- """the storage pool path"""
- self.path = None
- """the Pod ID of the storage pool"""
- self.podid = None
- """the Pod name of the storage pool"""
- self.podname = None
- """the scope of the storage pool"""
- self.scope = None
- """the state of the storage pool"""
- self.state = None
- """true if this pool is suitable to migrate a volume, false otherwise"""
- self.suitableformigration = None
- """the tags for the storage pool"""
- self.tags = None
- """the storage pool type"""
- self.type = None
- """the Zone ID of the storage pool"""
- self.zoneid = None
- """the Zone name of the storage pool"""
- self.zonename = None
- """the ID of the latest async job acting on this object"""
- self.jobid = None
- """the current status of the latest async job acting on this object"""
- self.jobstatus = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listStorageProviders.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listStorageProviders.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listStorageProviders.py
deleted file mode 100644
index 264496c..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listStorageProviders.py
+++ /dev/null
@@ -1,42 +0,0 @@
-# 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.
-
-
-"""Lists storage providers."""
-from baseCmd import *
-from baseResponse import *
-class listStorageProvidersCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """the type of storage provider: either primary or image"""
- """Required"""
- self.type = None
- """List by keyword"""
- self.keyword = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- self.required = ["type",]
-
-class listStorageProvidersResponse (baseResponse):
- def __init__(self):
- """the name of the storage provider"""
- self.name = None
- """the type of the storage provider: primary or image provider"""
- self.type = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listSupportedNetworkServices.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listSupportedNetworkServices.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listSupportedNetworkServices.py
deleted file mode 100644
index f9624d6..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listSupportedNetworkServices.py
+++ /dev/null
@@ -1,71 +0,0 @@
-# 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.
-
-
-"""Lists all network services provided by CloudStack or for the given Provider."""
-from baseCmd import *
-from baseResponse import *
-class listSupportedNetworkServicesCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """List by keyword"""
- self.keyword = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- """network service provider name"""
- self.provider = None
- """network service name to list providers and capabilities of"""
- self.service = None
- self.required = []
-
-class listSupportedNetworkServicesResponse (baseResponse):
- def __init__(self):
- """the service name"""
- self.name = None
- """the list of capabilities"""
- self.capability = []
- """the service provider name"""
- self.provider = []
-
-class capability:
- def __init__(self):
- """"can this service capability value can be choosable while creatine network offerings"""
- self.canchooseservicecapability = None
- """"the capability name"""
- self.name = None
- """"the capability value"""
- self.value = None
-
-class provider:
- def __init__(self):
- """"uuid of the network provider"""
- self.id = None
- """"true if individual services can be enabled/disabled"""
- self.canenableindividualservice = None
- """"the destination physical network"""
- self.destinationphysicalnetworkid = None
- """"the provider name"""
- self.name = None
- """"the physical network this belongs to"""
- self.physicalnetworkid = None
- """"services for this provider"""
- self.servicelist = None
- """"state of the network provider"""
- self.state = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listSwifts.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listSwifts.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listSwifts.py
deleted file mode 100644
index b80ac78..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listSwifts.py
+++ /dev/null
@@ -1,55 +0,0 @@
-# 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.
-
-
-"""List Swift."""
-from baseCmd import *
-from baseResponse import *
-class listSwiftsCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """the id of the swift"""
- self.id = None
- """List by keyword"""
- self.keyword = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- self.required = []
-
-class listSwiftsResponse (baseResponse):
- def __init__(self):
- """the ID of the image store"""
- self.id = None
- """the details of the image store"""
- self.details = None
- """the name of the image store"""
- self.name = None
- """the protocol of the image store"""
- self.protocol = None
- """the provider name of the image store"""
- self.providername = None
- """the scope of the image store"""
- self.scope = None
- """the url of the image store"""
- self.url = None
- """the Zone ID of the image store"""
- self.zoneid = None
- """the Zone name of the image store"""
- self.zonename = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listSystemVms.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listSystemVms.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listSystemVms.py
deleted file mode 100644
index 13e54ce..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listSystemVms.py
+++ /dev/null
@@ -1,105 +0,0 @@
-# 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.
-
-
-"""List system virtual machines."""
-from baseCmd import *
-from baseResponse import *
-class listSystemVmsCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """the host ID of the system VM"""
- self.hostid = None
- """the ID of the system VM"""
- self.id = None
- """List by keyword"""
- self.keyword = None
- """the name of the system VM"""
- self.name = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- """the Pod ID of the system VM"""
- self.podid = None
- """the state of the system VM"""
- self.state = None
- """the storage ID where vm's volumes belong to"""
- self.storageid = None
- """the system VM type. Possible types are "consoleproxy" and "secondarystoragevm"."""
- self.systemvmtype = None
- """the Zone ID of the system VM"""
- self.zoneid = None
- self.required = []
-
-class listSystemVmsResponse (baseResponse):
- def __init__(self):
- """the ID of the system VM"""
- self.id = None
- """the number of active console sessions for the console proxy system vm"""
- self.activeviewersessions = None
- """the date and time the system VM was created"""
- self.created = None
- """the first DNS for the system VM"""
- self.dns1 = None
- """the second DNS for the system VM"""
- self.dns2 = None
- """the gateway for the system VM"""
- self.gateway = None
- """the host ID for the system VM"""
- self.hostid = None
- """the hostname for the system VM"""
- self.hostname = None
- """the job ID associated with the system VM. This is only displayed if the router listed is part of a currently running asynchronous job."""
- self.jobid = None
- """the job status associated with the system VM. This is only displayed if the router listed is part of a currently running asynchronous job."""
- self.jobstatus = None
- """the link local IP address for the system vm"""
- self.linklocalip = None
- """the link local MAC address for the system vm"""
- self.linklocalmacaddress = None
- """the link local netmask for the system vm"""
- self.linklocalnetmask = None
- """the name of the system VM"""
- self.name = None
- """the network domain for the system VM"""
- self.networkdomain = None
- """the Pod ID for the system VM"""
- self.podid = None
- """the private IP address for the system VM"""
- self.privateip = None
- """the private MAC address for the system VM"""
- self.privatemacaddress = None
- """the private netmask for the system VM"""
- self.privatenetmask = None
- """the public IP address for the system VM"""
- self.publicip = None
- """the public MAC address for the system VM"""
- self.publicmacaddress = None
- """the public netmask for the system VM"""
- self.publicnetmask = None
- """the state of the system VM"""
- self.state = None
- """the system VM type"""
- self.systemvmtype = None
- """the template ID for the system VM"""
- self.templateid = None
- """the Zone ID for the system VM"""
- self.zoneid = None
- """the Zone name for the system VM"""
- self.zonename = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listTags.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listTags.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listTags.py
deleted file mode 100644
index 805a1f1..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listTags.py
+++ /dev/null
@@ -1,75 +0,0 @@
-# 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.
-
-
-"""List resource tag(s)"""
-from baseCmd import *
-from baseResponse import *
-class listTagsCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """list resources by account. Must be used with the domainId parameter."""
- self.account = None
- """list by customer name"""
- self.customer = None
- """list only resources belonging to the domain specified"""
- self.domainid = None
- """defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves."""
- self.isrecursive = None
- """list by key"""
- self.key = None
- """List by keyword"""
- self.keyword = None
- """If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false"""
- self.listall = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- """list objects by project"""
- self.projectid = None
- """list by resource id"""
- self.resourceid = None
- """list by resource type"""
- self.resourcetype = None
- """list by value"""
- self.value = None
- self.required = []
-
-class listTagsResponse (baseResponse):
- def __init__(self):
- """the account associated with the tag"""
- self.account = None
- """customer associated with the tag"""
- self.customer = None
- """the domain associated with the tag"""
- self.domain = None
- """the ID of the domain associated with the tag"""
- self.domainid = None
- """tag key name"""
- self.key = None
- """the project name where tag belongs to"""
- self.project = None
- """the project id the tag belongs to"""
- self.projectid = None
- """id of the resource"""
- self.resourceid = None
- """resource type"""
- self.resourcetype = None
- """tag value"""
- self.value = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listTemplatePermissions.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listTemplatePermissions.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listTemplatePermissions.py
deleted file mode 100644
index 9ce101e..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listTemplatePermissions.py
+++ /dev/null
@@ -1,42 +0,0 @@
-# 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.
-
-
-"""List template visibility and all accounts that have permissions to view this template."""
-from baseCmd import *
-from baseResponse import *
-class listTemplatePermissionsCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """the template ID"""
- """Required"""
- self.id = None
- self.required = ["id",]
-
-class listTemplatePermissionsResponse (baseResponse):
- def __init__(self):
- """the template ID"""
- self.id = None
- """the list of accounts the template is available for"""
- self.account = None
- """the ID of the domain to which the template belongs"""
- self.domainid = None
- """true if this template is a public template, false otherwise"""
- self.ispublic = None
- """the list of projects the template is available for"""
- self.projectids = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listTemplates.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listTemplates.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listTemplates.py
deleted file mode 100644
index 1e02b7a..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listTemplates.py
+++ /dev/null
@@ -1,157 +0,0 @@
-# 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.
-
-
-"""List all public, private, and privileged templates."""
-from baseCmd import *
-from baseResponse import *
-class listTemplatesCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """possible values are "featured", "self", "selfexecutable","sharedexecutable","executable", and "community". * featured : templates that have been marked as featured and public. * self : templates that have been registered or created by the calling user. * selfexecutable : same as self, but only returns templates that can be used to deploy a new VM. * sharedexecutable : templates ready to be deployed that have been granted to the calling user by another user. * executable : templates that are owned by the calling user, or public templates, that can be used to deploy a VM. * community : templates that have been marked as public but not featured. * all : all templates (only usable by admins)."""
- """Required"""
- self.templatefilter = None
- """list resources by account. Must be used with the domainId parameter."""
- self.account = None
- """list only resources belonging to the domain specified"""
- self.domainid = None
- """the hypervisor for which to restrict the search"""
- self.hypervisor = None
- """the template ID"""
- self.id = None
- """defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves."""
- self.isrecursive = None
- """List by keyword"""
- self.keyword = None
- """If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false"""
- self.listall = None
- """the template name"""
- self.name = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- """list objects by project"""
- self.projectid = None
- """List resources by tags (key/value pairs)"""
- self.tags = []
- """list templates by zoneId"""
- self.zoneid = None
- self.required = ["templatefilter",]
-
-class listTemplatesResponse (baseResponse):
- def __init__(self):
- """the template ID"""
- self.id = None
- """the account name to which the template belongs"""
- self.account = None
- """the account id to which the template belongs"""
- self.accountid = None
- """true if the ISO is bootable, false otherwise"""
- self.bootable = None
- """checksum of the template"""
- self.checksum = None
- """the date this template was created"""
- self.created = None
- """true if the template is managed across all Zones, false otherwise"""
- self.crossZones = None
- """additional key/value details tied with template"""
- self.details = None
- """the template display text"""
- self.displaytext = None
- """the name of the domain to which the template belongs"""
- self.domain = None
- """the ID of the domain to which the template belongs"""
- self.domainid = None
- """the format of the template."""
- self.format = None
- """the ID of the secondary storage host for the template"""
- self.hostid = None
- """the name of the secondary storage host for the template"""
- self.hostname = None
- """the hypervisor on which the template runs"""
- self.hypervisor = None
- """true if template contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory"""
- self.isdynamicallyscalable = None
- """true if the template is extractable, false otherwise"""
- self.isextractable = None
- """true if this template is a featured template, false otherwise"""
- self.isfeatured = None
- """true if this template is a public template, false otherwise"""
- self.ispublic = None
- """true if the template is ready to be deployed from, false otherwise."""
- self.isready = None
- """the template name"""
- self.name = None
- """the ID of the OS type for this template."""
- self.ostypeid = None
- """the name of the OS type for this template."""
- self.ostypename = None
- """true if the reset password feature is enabled, false otherwise"""
- self.passwordenabled = None
- """the project name of the template"""
- self.project = None
- """the project id of the template"""
- self.projectid = None
- """the date this template was removed"""
- self.removed = None
- """the size of the template"""
- self.size = None
- """the template ID of the parent template if present"""
- self.sourcetemplateid = None
- """true if template is sshkey enabled, false otherwise"""
- self.sshkeyenabled = None
- """the status of the template"""
- self.status = None
- """the tag of this template"""
- self.templatetag = None
- """the type of the template"""
- self.templatetype = None
- """the ID of the zone for this template"""
- self.zoneid = None
- """the name of the zone for this template"""
- self.zonename = None
- """the list of resource tags associated with tempate"""
- self.tags = []
- """the ID of the latest async job acting on this object"""
- self.jobid = None
- """the current status of the latest async job acting on this object"""
- self.jobstatus = None
-
-class tags:
- def __init__(self):
- """"the account associated with the tag"""
- self.account = None
- """"customer associated with the tag"""
- self.customer = None
- """"the domain associated with the tag"""
- self.domain = None
- """"the ID of the domain associated with the tag"""
- self.domainid = None
- """"tag key name"""
- self.key = None
- """"the project name where tag belongs to"""
- self.project = None
- """"the project id the tag belongs to"""
- self.projectid = None
- """"id of the resource"""
- self.resourceid = None
- """"resource type"""
- self.resourcetype = None
- """"tag value"""
- self.value = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listTrafficMonitors.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listTrafficMonitors.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listTrafficMonitors.py
deleted file mode 100644
index 6d94e2f..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listTrafficMonitors.py
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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.
-
-
-"""List traffic monitor Hosts."""
-from baseCmd import *
-from baseResponse import *
-class listTrafficMonitorsCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """zone Id"""
- """Required"""
- self.zoneid = None
- """List by keyword"""
- self.keyword = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- self.required = ["zoneid",]
-
-class listTrafficMonitorsResponse (baseResponse):
- def __init__(self):
- """the ID of the external firewall"""
- self.id = None
- """the management IP address of the external firewall"""
- self.ipaddress = None
- """the number of times to retry requests to the external firewall"""
- self.numretries = None
- """the timeout (in seconds) for requests to the external firewall"""
- self.timeout = None
- """the zone ID of the external firewall"""
- self.zoneid = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listTrafficTypeImplementors.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listTrafficTypeImplementors.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listTrafficTypeImplementors.py
deleted file mode 100644
index 282c3bc..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listTrafficTypeImplementors.py
+++ /dev/null
@@ -1,41 +0,0 @@
-# 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.
-
-
-"""Lists implementors of implementor of a network traffic type or implementors of all network traffic types"""
-from baseCmd import *
-from baseResponse import *
-class listTrafficTypeImplementorsCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """List by keyword"""
- self.keyword = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- """Optional. The network traffic type, if specified, return its implementor. Otherwise, return all traffic types with their implementor"""
- self.traffictype = None
- self.required = []
-
-class listTrafficTypeImplementorsResponse (baseResponse):
- def __init__(self):
- """network traffic type"""
- self.traffictype = None
- """implementor of network traffic type"""
- self.traffictypeimplementor = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listTrafficTypes.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listTrafficTypes.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listTrafficTypes.py
deleted file mode 100644
index 2fda712..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listTrafficTypes.py
+++ /dev/null
@@ -1,52 +0,0 @@
-# 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.
-
-
-"""Lists traffic types of a given physical network."""
-from baseCmd import *
-from baseResponse import *
-class listTrafficTypesCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """the Physical Network ID"""
- """Required"""
- self.physicalnetworkid = None
- """List by keyword"""
- self.keyword = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- self.required = ["physicalnetworkid",]
-
-class listTrafficTypesResponse (baseResponse):
- def __init__(self):
- """uuid of the network provider"""
- self.id = None
- """true if individual services can be enabled/disabled"""
- self.canenableindividualservice = None
- """the destination physical network"""
- self.destinationphysicalnetworkid = None
- """the provider name"""
- self.name = None
- """the physical network this belongs to"""
- self.physicalnetworkid = None
- """services for this provider"""
- self.servicelist = None
- """state of the network provider"""
- self.state = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listUcsBlades.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listUcsBlades.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listUcsBlades.py
deleted file mode 100644
index c5a3c09..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listUcsBlades.py
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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.
-
-
-"""List ucs blades"""
-from baseCmd import *
-from baseResponse import *
-class listUcsBladesCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """ucs manager id"""
- """Required"""
- self.ucsmanagerid = None
- """List by keyword"""
- self.keyword = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- self.required = ["ucsmanagerid",]
-
-class listUcsBladesResponse (baseResponse):
- def __init__(self):
- """ucs blade id"""
- self.id = None
- """ucs blade dn"""
- self.bladedn = None
- """cloudstack host id this blade associates to"""
- self.hostid = None
- """associated ucs profile dn"""
- self.profiledn = None
- """ucs manager id"""
- self.ucsmanagerid = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listUcsManagers.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listUcsManagers.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listUcsManagers.py
deleted file mode 100644
index e18a61e..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listUcsManagers.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# 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.
-
-
-"""List ucs manager"""
-from baseCmd import *
-from baseResponse import *
-class listUcsManagersCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """the ID of the ucs manager"""
- self.id = None
- """List by keyword"""
- self.keyword = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- """the zone id"""
- self.zoneid = None
- self.required = []
-
-class listUcsManagersResponse (baseResponse):
- def __init__(self):
- """the ID of the ucs manager"""
- self.id = None
- """the name of ucs manager"""
- self.name = None
- """the url of ucs manager"""
- self.url = None
- """the zone ID of ucs manager"""
- self.zoneid = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listUcsProfiles.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listUcsProfiles.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listUcsProfiles.py
deleted file mode 100644
index 249fc8e..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listUcsProfiles.py
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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.
-
-
-"""List profile in ucs manager"""
-from baseCmd import *
-from baseResponse import *
-class listUcsProfilesCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """the id for the ucs manager"""
- """Required"""
- self.ucsmanagerid = None
- """List by keyword"""
- self.keyword = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- self.required = ["ucsmanagerid",]
-
-class listUcsProfilesResponse (baseResponse):
- def __init__(self):
- """ucs profile dn"""
- self.ucsdn = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listUsageRecords.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listUsageRecords.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listUsageRecords.py
deleted file mode 100644
index 83131a0..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listUsageRecords.py
+++ /dev/null
@@ -1,101 +0,0 @@
-# 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.
-
-
-"""Lists usage records for accounts"""
-from baseCmd import *
-from baseResponse import *
-class listUsageRecordsCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """End date range for usage record query. Use yyyy-MM-dd as the date format, e.g. startDate=2009-06-03."""
- """Required"""
- self.enddate = None
- """Start date range for usage record query. Use yyyy-MM-dd as the date format, e.g. startDate=2009-06-01."""
- """Required"""
- self.startdate = None
- """List usage records for the specified user."""
- self.account = None
- """List usage records for the specified account"""
- self.accountid = None
- """List usage records for the specified domain."""
- self.domainid = None
- """List by keyword"""
- self.keyword = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- """List usage records for specified project"""
- self.projectid = None
- """List usage records for the specified usage type"""
- self.type = None
- self.required = ["enddate","startdate",]
-
-class listUsageRecordsResponse (baseResponse):
- def __init__(self):
- """the user account name"""
- self.account = None
- """the user account Id"""
- self.accountid = None
- """description of the usage record"""
- self.description = None
- """the domain the resource is associated with"""
- self.domain = None
- """the domain ID"""
- self.domainid = None
- """end date of the usage record"""
- self.enddate = None
- """True if the resource is default"""
- self.isdefault = None
- """True if the IPAddress is source NAT"""
- self.issourcenat = None
- """True if the IPAddress is system IP - allocated during vm deploy or lb rule create"""
- self.issystem = None
- """virtual machine name"""
- self.name = None
- """id of the network"""
- self.networkid = None
- """offering ID"""
- self.offeringid = None
- """the project name of the resource"""
- self.project = None
- """the project id of the resource"""
- self.projectid = None
- """raw usage in hours"""
- self.rawusage = None
- """resource size"""
- self.size = None
- """start date of the usage record"""
- self.startdate = None
- """template ID"""
- self.templateid = None
- """resource type"""
- self.type = None
- """usage in hours"""
- self.usage = None
- """id of the resource"""
- self.usageid = None
- """usage type ID"""
- self.usagetype = None
- """virtual machine ID"""
- self.virtualmachineid = None
- """virtual size of resource"""
- self.virtualsize = None
- """the zone ID"""
- self.zoneid = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listUsageTypes.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listUsageTypes.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listUsageTypes.py
deleted file mode 100644
index 787a416..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listUsageTypes.py
+++ /dev/null
@@ -1,33 +0,0 @@
-# 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.
-
-
-"""List Usage Types"""
-from baseCmd import *
-from baseResponse import *
-class listUsageTypesCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- self.required = []
-
-class listUsageTypesResponse (baseResponse):
- def __init__(self):
- """description of usage type"""
- self.description = None
- """usage type"""
- self.usagetypeid = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listUsers.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listUsers.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listUsers.py
deleted file mode 100644
index 88dce3b..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listUsers.py
+++ /dev/null
@@ -1,85 +0,0 @@
-# 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.
-
-
-"""Lists user accounts"""
-from baseCmd import *
-from baseResponse import *
-class listUsersCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """list resources by account. Must be used with the domainId parameter."""
- self.account = None
- """List users by account type. Valid types include admin, domain-admin, read-only-admin, or user."""
- self.accounttype = None
- """list only resources belonging to the domain specified"""
- self.domainid = None
- """List user by ID."""
- self.id = None
- """defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves."""
- self.isrecursive = None
- """List by keyword"""
- self.keyword = None
- """If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false"""
- self.listall = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- """List users by state of the user account."""
- self.state = None
- """List user by the username"""
- self.username = None
- self.required = []
-
-class listUsersResponse (baseResponse):
- def __init__(self):
- """the user ID"""
- self.id = None
- """the account name of the user"""
- self.account = None
- """the account ID of the user"""
- self.accountid = None
- """the account type of the user"""
- self.accounttype = None
- """the api key of the user"""
- self.apikey = None
- """the date and time the user account was created"""
- self.created = None
- """the domain name of the user"""
- self.domain = None
- """the domain ID of the user"""
- self.domainid = None
- """the user email address"""
- self.email = None
- """the user firstname"""
- self.firstname = None
- """the boolean value representing if the updating target is in caller's child domain"""
- self.iscallerchilddomain = None
- """true if user is default, false otherwise"""
- self.isdefault = None
- """the user lastname"""
- self.lastname = None
- """the secret key of the user"""
- self.secretkey = None
- """the user state"""
- self.state = None
- """the timezone user was created in"""
- self.timezone = None
- """the user name"""
- self.username = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listVMSnapshot.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listVMSnapshot.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listVMSnapshot.py
deleted file mode 100644
index 3405807..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listVMSnapshot.py
+++ /dev/null
@@ -1,89 +0,0 @@
-# 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.
-
-
-"""List virtual machine snapshot by conditions"""
-from baseCmd import *
-from baseResponse import *
-class listVMSnapshotCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """list resources by account. Must be used with the domainId parameter."""
- self.account = None
- """list only resources belonging to the domain specified"""
- self.domainid = None
- """defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves."""
- self.isrecursive = None
- """List by keyword"""
- self.keyword = None
- """If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false"""
- self.listall = None
- """lists snapshot by snapshot name or display name"""
- self.name = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- """list objects by project"""
- self.projectid = None
- """state of the virtual machine snapshot"""
- self.state = None
- """List resources by tags (key/value pairs)"""
- self.tags = []
- """the ID of the vm"""
- self.virtualmachineid = None
- """The ID of the VM snapshot"""
- self.vmsnapshotid = None
- self.required = []
-
-class listVMSnapshotResponse (baseResponse):
- def __init__(self):
- """the ID of the vm snapshot"""
- self.id = None
- """the account associated with the disk volume"""
- self.account = None
- """the create date of the vm snapshot"""
- self.created = None
- """indiates if this is current snapshot"""
- self.current = None
- """the description of the vm snapshot"""
- self.description = None
- """the display name of the vm snapshot"""
- self.displayname = None
- """the domain associated with the disk volume"""
- self.domain = None
- """the ID of the domain associated with the disk volume"""
- self.domainid = None
- """the name of the vm snapshot"""
- self.name = None
- """the parent ID of the vm snapshot"""
- self.parent = None
- """the parent displayName of the vm snapshot"""
- self.parentName = None
- """the project name of the vpn"""
- self.project = None
- """the project id of the vpn"""
- self.projectid = None
- """the state of the vm snapshot"""
- self.state = None
- """VM Snapshot type"""
- self.type = None
- """the vm ID of the vm snapshot"""
- self.virtualmachineid = None
- """the Zone ID of the vm snapshot"""
- self.zoneid = None
-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/65b12f45/tools/marvin/build/lib/marvin/cloudstackAPI/listVPCOfferings.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listVPCOfferings.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listVPCOfferings.py
deleted file mode 100644
index 0c707c1..0000000
--- a/tools/marvin/build/lib/marvin/cloudstackAPI/listVPCOfferings.py
+++ /dev/null
@@ -1,116 +0,0 @@
-# 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.
-
-
-"""Lists VPC offerings"""
-from baseCmd import *
-from baseResponse import *
-class listVPCOfferingsCmd (baseCmd):
- def __init__(self):
- self.isAsync = "false"
- """list VPC offerings by display text"""
- self.displaytext = None
- """list VPC offerings by id"""
- self.id = None
- """true if need to list only default VPC offerings. Default value is false"""
- self.isdefault = None
- """List by keyword"""
- self.keyword = None
- """list VPC offerings by name"""
- self.name = None
- """"""
- self.page = None
- """"""
- self.pagesize = None
- """list VPC offerings by state"""
- self.state = None
- """list VPC offerings supporting certain services"""
- self.supportedservices = []
- self.required = []
-
-class listVPCOfferingsResponse (baseResponse):
- def __init__(self):
- """the id of the vpc offering"""
- self.id = None
- """the date this vpc offering was created"""
- self.created = None
- """an alternate display text of the vpc offering."""
- self.displaytext = None
- """true if vpc offering is default, false otherwise"""
- self.isdefault = None
- """the name of the vpc offering"""
- self.name = None
- """state of the vpc offering. Can be Disabled/Enabled"""
- self.state = None
- """the list of supported services"""
- self.service = []
-
-class capability:
- def __init__(self):
- """"can this service capability value can be choosable while creatine network offerings"""
- self.canchooseservicecapability = None
- """"the capability name"""
- self.name = None
- """"the capability value"""
- self.value = None
-
-class provider:
- def __init__(self):
- """"uuid of the network provider"""
- self.id = None
- """"true if individual services can be enabled/disabled"""
- self.canenableindividualservice = None
- """"the destination physical network"""
- self.destinationphysicalnetworkid = None
- """"the provider name"""
- self.name = None
- """"the physical network this belongs to"""
- self.physicalnetworkid = None
- """"services for this provider"""
- self.servicelist = None
- """"state of the network provider"""
- self.state = None
-
-class service:
- def __init__(self):
- """"the service name"""
- self.name = None
- """"the list of capabilities"""
- self.capability = []
- """"can this service capability value can be choosable while creatine network offerings"""
- self.canchooseservicecapability = None
- """"the capability name"""
- self.name = None
- """"the capability value"""
- self.value = None
- """"the service provider name"""
- self.provider = []
- """"uuid of the network provider"""
- self.id = None
- """"true if individual services can be enabled/disabled"""
- self.canenableindividualservice = None
- """"the destination physical network"""
- self.destinationphysicalnetworkid = None
- """"the provider name"""
- self.name = None
- """"the physical network this belongs to"""
- self.physicalnetworkid = None
- """"services for this provider"""
- self.servicelist = None
- """"state of the network provider"""
- self.state = None
-