Templates¶
Skytap API object wrapping Skytap templates.
This roughly translates to the Skytap API call of /v2/templates REST call, but gives us better access to the bits and pieces of the templates.
If accessed via the command line (python -m skytap.Templates
) this will
return the templates from Skytap in a JSON format.
-
class
skytap.Templates.
Templates
¶ Bases:
skytap.models.SkytapGroup.SkytapGroup
Set of Skytap templates.
Example
t = skytap.Templates() print len(t)
-
storage
()¶ Count the total amount of storage in use.
-
svms
()¶ Count the total number of SVMs in use.
-
vm_count
()¶ Count the total number of VMs.
-