You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/11/08 19:08:33 UTC
[17/76] [abbrv] CLOUSTACK-5099: Utils.py-has-wrong-reference,
cleaned it. As well added Uniform naming convention Signed-off-by:
SrikanteswaraRao Talluri
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listCounters.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listCounters.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listCounters.py
new file mode 100644
index 0000000..105b2fe
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listCounters.py
@@ -0,0 +1,51 @@
+# 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 the counters"""
+from baseCmd import *
+from baseResponse import *
+class listCountersCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """ID of the Counter."""
+ self.id = None
+ """List by keyword"""
+ self.keyword = None
+ """Name of the counter."""
+ self.name = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ """Source of the counter."""
+ self.source = None
+ self.required = []
+
+class listCountersResponse (baseResponse):
+ def __init__(self):
+ """the id of the Counter"""
+ self.id = None
+ """Name of the counter."""
+ self.name = None
+ """Source of the counter."""
+ self.source = None
+ """Value in case of snmp or other specific counters."""
+ self.value = None
+ """zone id of counter"""
+ self.zoneid = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedClusters.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedClusters.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedClusters.py
new file mode 100644
index 0000000..6afffa4
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedClusters.py
@@ -0,0 +1,55 @@
+# 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 dedicated clusters."""
+from baseCmd import *
+from baseResponse import *
+class listDedicatedClustersCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """the name of the account associated with the cluster. Must be used with domainId."""
+ self.account = None
+ """list dedicated clusters by affinity group"""
+ self.affinitygroupid = None
+ """the ID of the cluster"""
+ self.clusterid = None
+ """the ID of the domain associated with the cluster"""
+ self.domainid = None
+ """List by keyword"""
+ self.keyword = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ self.required = []
+
+class listDedicatedClustersResponse (baseResponse):
+ def __init__(self):
+ """the ID of the dedicated resource"""
+ self.id = None
+ """the Account ID of the cluster"""
+ self.accountid = None
+ """the Dedication Affinity Group ID of the cluster"""
+ self.affinitygroupid = None
+ """the ID of the cluster"""
+ self.clusterid = None
+ """the name of the cluster"""
+ self.clustername = None
+ """the domain ID of the cluster"""
+ self.domainid = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedGuestVlanRanges.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedGuestVlanRanges.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedGuestVlanRanges.py
new file mode 100644
index 0000000..9cb0d57
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedGuestVlanRanges.py
@@ -0,0 +1,67 @@
+# 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 dedicated guest vlan ranges"""
+from baseCmd import *
+from baseResponse import *
+class listDedicatedGuestVlanRangesCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """the account with which the guest VLAN range is associated. Must be used with the domainId parameter."""
+ self.account = None
+ """the domain ID with which the guest VLAN range is associated. If used with the account parameter, returns all guest VLAN ranges for that account in the specified domain."""
+ self.domainid = None
+ """the dedicated guest vlan range"""
+ self.guestvlanrange = None
+ """list dedicated guest vlan ranges by id"""
+ self.id = None
+ """List by keyword"""
+ self.keyword = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ """physical network id of the guest VLAN range"""
+ self.physicalnetworkid = None
+ """project who will own the guest VLAN range"""
+ self.projectid = None
+ """zone of the guest VLAN range"""
+ self.zoneid = None
+ self.required = []
+
+class listDedicatedGuestVlanRangesResponse (baseResponse):
+ def __init__(self):
+ """the ID of the guest VLAN range"""
+ self.id = None
+ """the account of the guest VLAN range"""
+ self.account = None
+ """the domain name of the guest VLAN range"""
+ self.domain = None
+ """the domain ID of the guest VLAN range"""
+ self.domainid = None
+ """the guest VLAN range"""
+ self.guestvlanrange = None
+ """the physical network of the guest vlan range"""
+ self.physicalnetworkid = None
+ """the project name of the guest vlan range"""
+ self.project = None
+ """the project id of the guest vlan range"""
+ self.projectid = None
+ """the zone of the guest vlan range"""
+ self.zoneid = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedHosts.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedHosts.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedHosts.py
new file mode 100644
index 0000000..d2f8aaf
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedHosts.py
@@ -0,0 +1,55 @@
+# 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 dedicated hosts."""
+from baseCmd import *
+from baseResponse import *
+class listDedicatedHostsCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """the name of the account associated with the host. Must be used with domainId."""
+ self.account = None
+ """list dedicated hosts by affinity group"""
+ self.affinitygroupid = None
+ """the ID of the domain associated with the host"""
+ self.domainid = None
+ """the ID of the host"""
+ self.hostid = None
+ """List by keyword"""
+ self.keyword = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ self.required = []
+
+class listDedicatedHostsResponse (baseResponse):
+ def __init__(self):
+ """the ID of the dedicated resource"""
+ self.id = None
+ """the Account ID of the host"""
+ self.accountid = None
+ """the Dedication Affinity Group ID of the host"""
+ self.affinitygroupid = None
+ """the domain ID of the host"""
+ self.domainid = None
+ """the ID of the host"""
+ self.hostid = None
+ """the name of the host"""
+ self.hostname = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedPods.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedPods.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedPods.py
new file mode 100644
index 0000000..245f0e3
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedPods.py
@@ -0,0 +1,55 @@
+# 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 dedicated pods."""
+from baseCmd import *
+from baseResponse import *
+class listDedicatedPodsCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """the name of the account associated with the pod. Must be used with domainId."""
+ self.account = None
+ """list dedicated pods by affinity group"""
+ self.affinitygroupid = None
+ """the ID of the domain associated with the pod"""
+ self.domainid = None
+ """List by keyword"""
+ self.keyword = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ """the ID of the pod"""
+ self.podid = None
+ self.required = []
+
+class listDedicatedPodsResponse (baseResponse):
+ def __init__(self):
+ """the ID of the dedicated resource"""
+ self.id = None
+ """the Account Id to which the Pod is dedicated"""
+ self.accountid = None
+ """the Dedication Affinity Group ID of the pod"""
+ self.affinitygroupid = None
+ """the domain ID to which the Pod is dedicated"""
+ self.domainid = None
+ """the ID of the Pod"""
+ self.podid = None
+ """the Name of the Pod"""
+ self.podname = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedZones.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedZones.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedZones.py
new file mode 100644
index 0000000..d287010
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listDedicatedZones.py
@@ -0,0 +1,55 @@
+# 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 dedicated zones."""
+from baseCmd import *
+from baseResponse import *
+class listDedicatedZonesCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """the name of the account associated with the zone. Must be used with domainId."""
+ self.account = None
+ """list dedicated zones by affinity group"""
+ self.affinitygroupid = None
+ """the ID of the domain associated with the zone"""
+ self.domainid = None
+ """List by keyword"""
+ self.keyword = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ """the ID of the Zone"""
+ self.zoneid = None
+ self.required = []
+
+class listDedicatedZonesResponse (baseResponse):
+ def __init__(self):
+ """the ID of the dedicated resource"""
+ self.id = None
+ """the Account Id to which the Zone is dedicated"""
+ self.accountid = None
+ """the Dedication Affinity Group ID of the zone"""
+ self.affinitygroupid = None
+ """the domain ID to which the Zone is dedicated"""
+ self.domainid = None
+ """the ID of the Zone"""
+ self.zoneid = None
+ """the Name of the Zone"""
+ self.zonename = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listDeploymentPlanners.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listDeploymentPlanners.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listDeploymentPlanners.py
new file mode 100644
index 0000000..6adefdc
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listDeploymentPlanners.py
@@ -0,0 +1,37 @@
+# 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 DeploymentPlanners available."""
+from baseCmd import *
+from baseResponse import *
+class listDeploymentPlannersCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """List by keyword"""
+ self.keyword = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ self.required = []
+
+class listDeploymentPlannersResponse (baseResponse):
+ def __init__(self):
+ """Deployment Planner name"""
+ self.name = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listDiskOfferings.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listDiskOfferings.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listDiskOfferings.py
new file mode 100644
index 0000000..c49758d
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listDiskOfferings.py
@@ -0,0 +1,77 @@
+# 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 disk offerings."""
+from baseCmd import *
+from baseResponse import *
+class listDiskOfferingsCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """the ID of the domain of the disk offering."""
+ self.domainid = None
+ """ID of the disk offering"""
+ self.id = None
+ """List by keyword"""
+ self.keyword = None
+ """name of the disk offering"""
+ self.name = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ self.required = []
+
+class listDiskOfferingsResponse (baseResponse):
+ def __init__(self):
+ """unique ID of the disk offering"""
+ self.id = None
+ """the date this disk offering was created"""
+ self.created = None
+ """bytes read rate of the disk offering"""
+ self.diskBytesReadRate = None
+ """bytes write rate of the disk offering"""
+ self.diskBytesWriteRate = None
+ """io requests read rate of the disk offering"""
+ self.diskIopsReadRate = None
+ """io requests write rate of the disk offering"""
+ self.diskIopsWriteRate = None
+ """the size of the disk offering in GB"""
+ self.disksize = None
+ """whether to display the offering to the end user or not."""
+ self.displayoffering = None
+ """an alternate display text of the disk offering."""
+ self.displaytext = None
+ """the domain name this disk offering belongs to. Ignore this information as it is not currently applicable."""
+ self.domain = None
+ """the domain ID this disk offering belongs to. Ignore this information as it is not currently applicable."""
+ self.domainid = None
+ """true if disk offering uses custom size, false otherwise"""
+ self.iscustomized = None
+ """true if disk offering uses custom iops, false otherwise"""
+ self.iscustomizediops = None
+ """the max iops of the disk offering"""
+ self.maxiops = None
+ """the min iops of the disk offering"""
+ self.miniops = None
+ """the name of the disk offering"""
+ self.name = None
+ """the storage type for this disk offering"""
+ self.storagetype = None
+ """the tags for the disk offering"""
+ self.tags = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listDomainChildren.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listDomainChildren.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listDomainChildren.py
new file mode 100644
index 0000000..83c1fb9
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listDomainChildren.py
@@ -0,0 +1,59 @@
+# 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 children domains belonging to a specified domain"""
+from baseCmd import *
+from baseResponse import *
+class listDomainChildrenCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """list children domain by parent domain ID."""
+ self.id = None
+ """to return the entire tree, use the value "true". To return the first level children, use the value "false"."""
+ 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
+ """list children domains by name"""
+ self.name = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ self.required = []
+
+class listDomainChildrenResponse (baseResponse):
+ def __init__(self):
+ """the ID of the domain"""
+ self.id = None
+ """whether the domain has one or more sub-domains"""
+ self.haschild = None
+ """the level of the domain"""
+ self.level = None
+ """the name of the domain"""
+ self.name = None
+ """the network domain"""
+ self.networkdomain = None
+ """the domain ID of the parent domain"""
+ self.parentdomainid = None
+ """the domain name of the parent domain"""
+ self.parentdomainname = None
+ """the path of the domain"""
+ self.path = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listDomains.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listDomains.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listDomains.py
new file mode 100644
index 0000000..1f8c929
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listDomains.py
@@ -0,0 +1,59 @@
+# 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 domains and provides detailed information for listed domains"""
+from baseCmd import *
+from baseResponse import *
+class listDomainsCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """List domain by domain ID."""
+ self.id = None
+ """List by keyword"""
+ self.keyword = None
+ """List domains by domain level."""
+ self.level = 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
+ """List domain by domain name."""
+ self.name = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ self.required = []
+
+class listDomainsResponse (baseResponse):
+ def __init__(self):
+ """the ID of the domain"""
+ self.id = None
+ """whether the domain has one or more sub-domains"""
+ self.haschild = None
+ """the level of the domain"""
+ self.level = None
+ """the name of the domain"""
+ self.name = None
+ """the network domain"""
+ self.networkdomain = None
+ """the domain ID of the parent domain"""
+ self.parentdomainid = None
+ """the domain name of the parent domain"""
+ self.parentdomainname = None
+ """the path of the domain"""
+ self.path = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listEgressFirewallRules.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listEgressFirewallRules.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listEgressFirewallRules.py
new file mode 100644
index 0000000..38f169c
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listEgressFirewallRules.py
@@ -0,0 +1,102 @@
+# 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 egress firewall rules for network id."""
+from baseCmd import *
+from baseResponse import *
+class listEgressFirewallRulesCmd (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 rule with the specified ID."""
+ self.id = None
+ """Lists rule with the specified ID."""
+ self.id = None
+ """the id of IP address of the firwall services"""
+ self.ipaddressid = 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 id network network for the egress firwall services"""
+ self.networkid = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ """list objects by project"""
+ self.projectid = None
+ """List resources by tags (key/value pairs)"""
+ self.tags = []
+ self.required = []
+
+class listEgressFirewallRulesResponse (baseResponse):
+ def __init__(self):
+ """the ID of the firewall rule"""
+ self.id = None
+ """the cidr list to forward traffic from"""
+ self.cidrlist = None
+ """the ending port of firewall rule's port range"""
+ self.endport = None
+ """error code for this icmp message"""
+ self.icmpcode = None
+ """type of the icmp message being sent"""
+ self.icmptype = None
+ """the public ip address for the firewall rule"""
+ self.ipaddress = None
+ """the public ip address id for the firewall rule"""
+ self.ipaddressid = None
+ """the network id of the firewall rule"""
+ self.networkid = None
+ """the protocol of the firewall rule"""
+ self.protocol = None
+ """the starting port of firewall rule's port range"""
+ self.startport = None
+ """the state of the rule"""
+ self.state = None
+ """the list of resource tags associated with the rule"""
+ 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/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listEventTypes.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listEventTypes.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listEventTypes.py
new file mode 100644
index 0000000..46a1341
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listEventTypes.py
@@ -0,0 +1,31 @@
+# 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 Event Types"""
+from baseCmd import *
+from baseResponse import *
+class listEventTypesCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ self.required = []
+
+class listEventTypesResponse (baseResponse):
+ def __init__(self):
+ """Event Type"""
+ self.name = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listEvents.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listEvents.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listEvents.py
new file mode 100644
index 0000000..5e4646f
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listEvents.py
@@ -0,0 +1,85 @@
+# 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.
+
+
+"""A command to list events."""
+from baseCmd import *
+from baseResponse import *
+class listEventsCmd (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
+ """the duration of the event"""
+ self.duration = None
+ """the end date range of the list you want to retrieve (use format "yyyy-MM-dd" or the new format "yyyy-MM-dd HH:mm:ss")"""
+ self.enddate = None
+ """the time the event was entered"""
+ self.entrytime = None
+ """the ID of the event"""
+ 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
+ """the event level (INFO, WARN, ERROR)"""
+ self.level = 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
+ """the start date range of the list you want to retrieve (use format "yyyy-MM-dd" or the new format "yyyy-MM-dd HH:mm:ss")"""
+ self.startdate = None
+ """the event type (see event types)"""
+ self.type = None
+ self.required = []
+
+class listEventsResponse (baseResponse):
+ def __init__(self):
+ """the ID of the event"""
+ self.id = None
+ """the account name for the account that owns the object being acted on in the event (e.g. the owner of the virtual machine, ip address, or security group)"""
+ self.account = None
+ """the date the event was created"""
+ self.created = None
+ """a brief description of the event"""
+ self.description = None
+ """the name of the account's domain"""
+ self.domain = None
+ """the id of the account's domain"""
+ self.domainid = None
+ """the event level (INFO, WARN, ERROR)"""
+ self.level = None
+ """whether the event is parented"""
+ self.parentid = None
+ """the project name of the address"""
+ self.project = None
+ """the project id of the ipaddress"""
+ self.projectid = None
+ """the state of the event"""
+ self.state = None
+ """the type of the event (see event types)"""
+ self.type = None
+ """the name of the user who performed the action (can be different from the account if an admin is performing an action for a user, e.g. starting/stopping a user's virtual machine)"""
+ self.username = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listFirewallRules.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listFirewallRules.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listFirewallRules.py
new file mode 100644
index 0000000..bb19ca1
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listFirewallRules.py
@@ -0,0 +1,98 @@
+# 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 firewall rules for an IP address."""
+from baseCmd import *
+from baseResponse import *
+class listFirewallRulesCmd (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 rule with the specified ID."""
+ self.id = None
+ """the id of IP address of the firwall services"""
+ self.ipaddressid = 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 = []
+ self.required = []
+
+class listFirewallRulesResponse (baseResponse):
+ def __init__(self):
+ """the ID of the firewall rule"""
+ self.id = None
+ """the cidr list to forward traffic from"""
+ self.cidrlist = None
+ """the ending port of firewall rule's port range"""
+ self.endport = None
+ """error code for this icmp message"""
+ self.icmpcode = None
+ """type of the icmp message being sent"""
+ self.icmptype = None
+ """the public ip address for the firewall rule"""
+ self.ipaddress = None
+ """the public ip address id for the firewall rule"""
+ self.ipaddressid = None
+ """the network id of the firewall rule"""
+ self.networkid = None
+ """the protocol of the firewall rule"""
+ self.protocol = None
+ """the starting port of firewall rule's port range"""
+ self.startport = None
+ """the state of the rule"""
+ self.state = None
+ """the list of resource tags associated with the rule"""
+ 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/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listGlobalLoadBalancerRules.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listGlobalLoadBalancerRules.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listGlobalLoadBalancerRules.py
new file mode 100644
index 0000000..ac55b10
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listGlobalLoadBalancerRules.py
@@ -0,0 +1,161 @@
+# 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 load balancer rules."""
+from baseCmd import *
+from baseResponse import *
+class listGlobalLoadBalancerRulesCmd (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
+ """the ID of the global load balancer rule"""
+ 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
+ """region ID"""
+ self.regionid = None
+ """List resources by tags (key/value pairs)"""
+ self.tags = []
+ self.required = []
+
+class listGlobalLoadBalancerRulesResponse (baseResponse):
+ def __init__(self):
+ """global load balancer rule ID"""
+ self.id = None
+ """the account of the load balancer rule"""
+ self.account = None
+ """the description of the global load balancer rule"""
+ self.description = None
+ """the domain of the load balancer rule"""
+ self.domain = None
+ """the domain ID of the load balancer rule"""
+ self.domainid = None
+ """DNS domain name given for the global load balancer"""
+ self.gslbdomainname = None
+ """Load balancing method used for the global load balancer"""
+ self.gslblbmethod = None
+ """GSLB service type"""
+ self.gslbservicetype = None
+ """session persistence method used for the global load balancer"""
+ self.gslbstickysessionmethodname = None
+ """name of the global load balancer rule"""
+ self.name = None
+ """the project name of the load balancer"""
+ self.project = None
+ """the project id of the load balancer"""
+ self.projectid = None
+ """Region Id in which global load balancer is created"""
+ self.regionid = None
+ """List of load balancer rules that are part of GSLB rule"""
+ self.loadbalancerrule = []
+
+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
+
+class loadbalancerrule:
+ def __init__(self):
+ """"the load balancer rule ID"""
+ self.id = None
+ """"the account of the load balancer rule"""
+ self.account = None
+ """"the load balancer algorithm (source, roundrobin, leastconn)"""
+ self.algorithm = None
+ """"the cidr list to forward traffic from"""
+ self.cidrlist = None
+ """"the description of the load balancer"""
+ self.description = None
+ """"the domain of the load balancer rule"""
+ self.domain = None
+ """"the domain ID of the load balancer rule"""
+ self.domainid = None
+ """"the name of the load balancer"""
+ self.name = None
+ """"the id of the guest network the lb rule belongs to"""
+ self.networkid = None
+ """"the private port"""
+ self.privateport = None
+ """"the project name of the load balancer"""
+ self.project = None
+ """"the project id of the load balancer"""
+ self.projectid = None
+ """"the public ip address"""
+ self.publicip = None
+ """"the public ip address id"""
+ self.publicipid = None
+ """"the public port"""
+ self.publicport = None
+ """"the state of the rule"""
+ self.state = None
+ """"the id of the zone the rule belongs to"""
+ self.zoneid = None
+ """"the list of resource tags associated with load balancer"""
+ self.tags = []
+ """"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/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listHosts.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listHosts.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listHosts.py
new file mode 100644
index 0000000..5b74a59
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listHosts.py
@@ -0,0 +1,147 @@
+# 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 hosts."""
+from baseCmd import *
+from baseResponse import *
+class listHostsCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """lists hosts existing in particular cluster"""
+ self.clusterid = None
+ """comma separated list of host details requested, value can be a list of [ min, all, capacity, events, stats]"""
+ self.details = []
+ """if true, list only hosts dedicated to HA"""
+ self.hahost = None
+ """the id of the host"""
+ self.id = None
+ """List by keyword"""
+ self.keyword = None
+ """the name of the host"""
+ self.name = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ """the Pod ID for the host"""
+ self.podid = None
+ """list hosts by resource state. Resource state represents current state determined by admin of host, valule can be one of [Enabled, Disabled, Unmanaged, PrepareForMaintenance, ErrorInMaintenance, Maintenance, Error]"""
+ self.resourcestate = None
+ """the state of the host"""
+ self.state = None
+ """the host type"""
+ self.type = None
+ """lists hosts in the same cluster as this VM and flag hosts with enough CPU/RAm to host this VM"""
+ self.virtualmachineid = None
+ """the Zone ID for the host"""
+ self.zoneid = None
+ self.required = []
+
+class listHostsResponse (baseResponse):
+ def __init__(self):
+ """the ID of the host"""
+ self.id = None
+ """the cpu average load on the host"""
+ self.averageload = None
+ """capabilities of the host"""
+ self.capabilities = None
+ """the cluster ID of the host"""
+ self.clusterid = None
+ """the cluster name of the host"""
+ self.clustername = None
+ """the cluster type of the cluster that host belongs to"""
+ self.clustertype = None
+ """the amount of the host's CPU currently allocated"""
+ self.cpuallocated = None
+ """the CPU number of the host"""
+ self.cpunumber = None
+ """the CPU speed of the host"""
+ self.cpuspeed = None
+ """the amount of the host's CPU currently used"""
+ self.cpuused = None
+ """the amount of the host's CPU after applying the cpu.overprovisioning.factor"""
+ self.cpuwithoverprovisioning = None
+ """the date and time the host was created"""
+ self.created = None
+ """true if the host is disconnected. False otherwise."""
+ self.disconnected = None
+ """the host's currently allocated disk size"""
+ self.disksizeallocated = None
+ """the total disk size of the host"""
+ self.disksizetotal = None
+ """events available for the host"""
+ self.events = None
+ """true if the host is Ha host (dedicated to vms started by HA process; false otherwise"""
+ self.hahost = None
+ """true if this host has enough CPU and RAM capacity to migrate a VM to it, false otherwise"""
+ self.hasenoughcapacity = None
+ """comma-separated list of tags for the host"""
+ self.hosttags = None
+ """the host hypervisor"""
+ self.hypervisor = None
+ """the hypervisor version"""
+ self.hypervisorversion = None
+ """the IP address of the host"""
+ self.ipaddress = None
+ """true if local storage is active, false otherwise"""
+ self.islocalstorageactive = None
+ """the date and time the host was last pinged"""
+ self.lastpinged = None
+ """the management server ID of the host"""
+ self.managementserverid = None
+ """the amount of the host's memory currently allocated"""
+ self.memoryallocated = None
+ """the memory total of the host"""
+ self.memorytotal = None
+ """the amount of the host's memory currently used"""
+ self.memoryused = None
+ """the name of the host"""
+ self.name = None
+ """the incoming network traffic on the host"""
+ self.networkkbsread = None
+ """the outgoing network traffic on the host"""
+ self.networkkbswrite = None
+ """the OS category ID of the host"""
+ self.oscategoryid = None
+ """the OS category name of the host"""
+ self.oscategoryname = None
+ """the Pod ID of the host"""
+ self.podid = None
+ """the Pod name of the host"""
+ self.podname = None
+ """the date and time the host was removed"""
+ self.removed = None
+ """the resource state of the host"""
+ self.resourcestate = None
+ """the state of the host"""
+ self.state = None
+ """true if this host is suitable(has enough capacity and satisfies all conditions like hosttags, max guests vm limit etc) to migrate a VM to it , false otherwise"""
+ self.suitableformigration = None
+ """the host type"""
+ self.type = None
+ """the host version"""
+ self.version = None
+ """the Zone ID of the host"""
+ self.zoneid = None
+ """the Zone name of the host"""
+ 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/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listHypervisorCapabilities.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listHypervisorCapabilities.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listHypervisorCapabilities.py
new file mode 100644
index 0000000..3547f27
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listHypervisorCapabilities.py
@@ -0,0 +1,55 @@
+# 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 hypervisor capabilities."""
+from baseCmd import *
+from baseResponse import *
+class listHypervisorCapabilitiesCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """the hypervisor for which to restrict the search"""
+ self.hypervisor = None
+ """ID of the hypervisor capability"""
+ self.id = None
+ """List by keyword"""
+ self.keyword = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ self.required = []
+
+class listHypervisorCapabilitiesResponse (baseResponse):
+ def __init__(self):
+ """the ID of the hypervisor capabilities row"""
+ self.id = None
+ """the hypervisor type"""
+ self.hypervisor = None
+ """the hypervisor version"""
+ self.hypervisorversion = None
+ """the maximum number of Data Volumes that can be attached for this hypervisor"""
+ self.maxdatavolumeslimit = None
+ """the maximum number of guest vms recommended for this hypervisor"""
+ self.maxguestslimit = None
+ """the maximum number of Hosts per cluster for this hypervisor"""
+ self.maxhostspercluster = None
+ """true if security group is supported"""
+ self.securitygroupenabled = None
+ """true if storage motion is supported"""
+ self.storagemotionenabled = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listHypervisors.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listHypervisors.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listHypervisors.py
new file mode 100644
index 0000000..a49dc50
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listHypervisors.py
@@ -0,0 +1,33 @@
+# 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 hypervisors"""
+from baseCmd import *
+from baseResponse import *
+class listHypervisorsCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """the zone id for listing hypervisors."""
+ self.zoneid = None
+ self.required = []
+
+class listHypervisorsResponse (baseResponse):
+ def __init__(self):
+ """Hypervisor name"""
+ self.name = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listImageStores.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listImageStores.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listImageStores.py
new file mode 100644
index 0000000..21c649b
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listImageStores.py
@@ -0,0 +1,63 @@
+# 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 image stores."""
+from baseCmd import *
+from baseResponse import *
+class listImageStoresCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """the ID of the storage pool"""
+ self.id = None
+ """List by keyword"""
+ self.keyword = None
+ """the name of the image store"""
+ self.name = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ """the image store protocol"""
+ self.protocol = None
+ """the image store provider"""
+ self.provider = None
+ """the Zone ID for the image store"""
+ self.zoneid = None
+ self.required = []
+
+class listImageStoresResponse (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/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listInstanceGroups.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listInstanceGroups.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listInstanceGroups.py
new file mode 100644
index 0000000..6a0bbae
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listInstanceGroups.py
@@ -0,0 +1,65 @@
+# 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 vm groups"""
+from baseCmd import *
+from baseResponse import *
+class listInstanceGroupsCmd (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 instance groups 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
+ """list instance groups by name"""
+ self.name = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ """list objects by project"""
+ self.projectid = None
+ self.required = []
+
+class listInstanceGroupsResponse (baseResponse):
+ def __init__(self):
+ """the id of the instance group"""
+ self.id = None
+ """the account owning the instance group"""
+ self.account = None
+ """time and date the instance group was created"""
+ self.created = None
+ """the domain name of the instance group"""
+ self.domain = None
+ """the domain ID of the instance group"""
+ self.domainid = None
+ """the name of the instance group"""
+ self.name = None
+ """the project name of the group"""
+ self.project = None
+ """the project id of the group"""
+ self.projectid = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listInternalLoadBalancerElements.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listInternalLoadBalancerElements.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listInternalLoadBalancerElements.py
new file mode 100644
index 0000000..794edad
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listInternalLoadBalancerElements.py
@@ -0,0 +1,47 @@
+# 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 Internal Load Balancer elements."""
+from baseCmd import *
+from baseResponse import *
+class listInternalLoadBalancerElementsCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """list internal load balancer elements by enabled state"""
+ self.enabled = None
+ """list internal load balancer elements by id"""
+ self.id = None
+ """List by keyword"""
+ self.keyword = None
+ """list internal load balancer elements by network service provider id"""
+ self.nspid = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ self.required = []
+
+class listInternalLoadBalancerElementsResponse (baseResponse):
+ def __init__(self):
+ """the id of the internal load balancer element"""
+ self.id = None
+ """Enabled/Disabled the element"""
+ self.enabled = None
+ """the physical network service provider id of the element"""
+ self.nspid = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listInternalLoadBalancerVMs.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listInternalLoadBalancerVMs.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listInternalLoadBalancerVMs.py
new file mode 100644
index 0000000..eee1d66
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listInternalLoadBalancerVMs.py
@@ -0,0 +1,182 @@
+# 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 internal LB VMs."""
+from baseCmd import *
+from baseResponse import *
+class listInternalLoadBalancerVMsCmd (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
+ """if true is passed for this parameter, list only VPC Internal LB VMs"""
+ self.forvpc = None
+ """the host ID of the Internal LB VM"""
+ self.hostid = None
+ """the ID of the Internal LB VM"""
+ 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 name of the Internal LB VM"""
+ self.name = None
+ """list by network id"""
+ self.networkid = None
+ """"""
+ self.page = None
+ """"""
+ self.pagesize = None
+ """the Pod ID of the Internal LB VM"""
+ self.podid = None
+ """list objects by project"""
+ self.projectid = None
+ """the state of the Internal LB VM"""
+ self.state = None
+ """List Internal LB VMs by VPC"""
+ self.vpcid = None
+ """the Zone ID of the Internal LB VM"""
+ self.zoneid = None
+ self.required = []
+
+class listInternalLoadBalancerVMsResponse (baseResponse):
+ def __init__(self):
+ """the id of the router"""
+ self.id = None
+ """the account associated with the router"""
+ self.account = None
+ """the date and time the router was created"""
+ self.created = None
+ """the first DNS for the router"""
+ self.dns1 = None
+ """the second DNS for the router"""
+ self.dns2 = None
+ """the domain associated with the router"""
+ self.domain = None
+ """the domain ID associated with the router"""
+ self.domainid = None
+ """the gateway for the router"""
+ self.gateway = None
+ """the guest IP address for the router"""
+ self.guestipaddress = None
+ """the guest MAC address for the router"""
+ self.guestmacaddress = None
+ """the guest netmask for the router"""
+ self.guestnetmask = None
+ """the ID of the corresponding guest network"""
+ self.guestnetworkid = None
+ """the host ID for the router"""
+ self.hostid = None
+ """the hostname for the router"""
+ self.hostname = None
+ """the first IPv6 DNS for the router"""
+ self.ip6dns1 = None
+ """the second IPv6 DNS for the router"""
+ self.ip6dns2 = None
+ """if this router is an redundant virtual router"""
+ self.isredundantrouter = None
+ """the link local IP address for the router"""
+ self.linklocalip = None
+ """the link local MAC address for the router"""
+ self.linklocalmacaddress = None
+ """the link local netmask for the router"""
+ self.linklocalnetmask = None
+ """the ID of the corresponding link local network"""
+ self.linklocalnetworkid = None
+ """the name of the router"""
+ self.name = None
+ """the network domain for the router"""
+ self.networkdomain = None
+ """the Pod ID for the router"""
+ self.podid = None
+ """the project name of the address"""
+ self.project = None
+ """the project id of the ipaddress"""
+ self.projectid = None
+ """the public IP address for the router"""
+ self.publicip = None
+ """the public MAC address for the router"""
+ self.publicmacaddress = None
+ """the public netmask for the router"""
+ self.publicnetmask = None
+ """the ID of the corresponding public network"""
+ self.publicnetworkid = None
+ """the state of redundant virtual router"""
+ self.redundantstate = None
+ """role of the domain router"""
+ self.role = None
+ """the version of scripts"""
+ self.scriptsversion = None
+ """the ID of the service offering of the virtual machine"""
+ self.serviceofferingid = None
+ """the name of the service offering of the virtual machine"""
+ self.serviceofferingname = None
+ """the state of the router"""
+ self.state = None
+ """the template ID for the router"""
+ self.templateid = None
+ """the version of template"""
+ self.templateversion = None
+ """VPC the router belongs to"""
+ self.vpcid = None
+ """the Zone ID for the router"""
+ self.zoneid = None
+ """the Zone name for the router"""
+ self.zonename = None
+ """the list of nics associated with the router"""
+ self.nic = []
+
+class nic:
+ def __init__(self):
+ """"the ID of the nic"""
+ self.id = None
+ """"the broadcast uri of the nic"""
+ self.broadcasturi = None
+ """"the gateway of the nic"""
+ self.gateway = None
+ """"the IPv6 address of network"""
+ self.ip6address = None
+ """"the cidr of IPv6 network"""
+ self.ip6cidr = None
+ """"the gateway of IPv6 network"""
+ self.ip6gateway = None
+ """"the ip address of the nic"""
+ self.ipaddress = None
+ """"true if nic is default, false otherwise"""
+ self.isdefault = None
+ """"the isolation uri of the nic"""
+ self.isolationuri = None
+ """"true if nic is default, false otherwise"""
+ self.macaddress = None
+ """"the netmask of the nic"""
+ self.netmask = None
+ """"the ID of the corresponding network"""
+ self.networkid = None
+ """"the name of the corresponding network"""
+ self.networkname = None
+ """"the Secondary ipv4 addr of nic"""
+ self.secondaryip = None
+ """"the traffic type of the nic"""
+ self.traffictype = None
+ """"the type of the nic"""
+ self.type = None
+
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listIpForwardingRules.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listIpForwardingRules.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listIpForwardingRules.py
new file mode 100644
index 0000000..73838a2
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listIpForwardingRules.py
@@ -0,0 +1,104 @@
+# 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 the ip forwarding rules"""
+from baseCmd import *
+from baseResponse import *
+class listIpForwardingRulesCmd (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 rule with the specified ID."""
+ self.id = None
+ """list the rule belonging to this public ip address"""
+ self.ipaddressid = 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
+ """Lists all rules applied to the specified Vm."""
+ self.virtualmachineid = None
+ self.required = []
+
+class listIpForwardingRulesResponse (baseResponse):
+ def __init__(self):
+ """the ID of the port forwarding rule"""
+ self.id = None
+ """the cidr list to forward traffic from"""
+ self.cidrlist = None
+ """the public ip address for the port forwarding rule"""
+ self.ipaddress = None
+ """the public ip address id for the port forwarding rule"""
+ self.ipaddressid = None
+ """the ending port of port forwarding rule's private port range"""
+ self.privateendport = None
+ """the starting port of port forwarding rule's private port range"""
+ self.privateport = None
+ """the protocol of the port forwarding rule"""
+ self.protocol = None
+ """the ending port of port forwarding rule's private port range"""
+ self.publicendport = None
+ """the starting port of port forwarding rule's public port range"""
+ self.publicport = None
+ """the state of the rule"""
+ self.state = None
+ """the VM display name for the port forwarding rule"""
+ self.virtualmachinedisplayname = None
+ """the VM ID for the port forwarding rule"""
+ self.virtualmachineid = None
+ """the VM name for the port forwarding rule"""
+ self.virtualmachinename = None
+ """the vm ip address for the port forwarding rule"""
+ self.vmguestip = None
+ """the list of resource tags associated with the rule"""
+ 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/ec00a6fb/tools/marvin/build/lib/marvin/cloudstackAPI/listIsoPermissions.py
----------------------------------------------------------------------
diff --git a/tools/marvin/build/lib/marvin/cloudstackAPI/listIsoPermissions.py b/tools/marvin/build/lib/marvin/cloudstackAPI/listIsoPermissions.py
new file mode 100644
index 0000000..0ad16c0
--- /dev/null
+++ b/tools/marvin/build/lib/marvin/cloudstackAPI/listIsoPermissions.py
@@ -0,0 +1,42 @@
+# 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 iso visibility and all accounts that have permissions to view this iso."""
+from baseCmd import *
+from baseResponse import *
+class listIsoPermissionsCmd (baseCmd):
+ def __init__(self):
+ self.isAsync = "false"
+ """the template ID"""
+ """Required"""
+ self.id = None
+ self.required = ["id",]
+
+class listIsoPermissionsResponse (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
+