MCPcopy Create free account
hub / github.com/apache/cloudstack / create_from_volume

Method create_from_volume

tools/marvin/marvin/lib/base.py:1643–1649  ·  view source on GitHub ↗

Create Template from volume

(cls, apiclient, volume, services,
                           random_name=True, projectid=None)

Source from the content-addressed store, hash-verified

1641
1642 @classmethod
1643 def create_from_volume(cls, apiclient, volume, services,
1644 random_name=True, projectid=None):
1645 """Create Template from volume"""
1646 # Create template from Volume ID
1647 cmd = createTemplate.createTemplateCmd()
1648
1649 return Template._set_command(apiclient, cmd, services, random_name, projectid = projectid, volume = volume)
1650
1651 @classmethod
1652 def create_from_snapshot(cls, apiclient, snapshot, services, account=None,

Callers 1

Calls 1

_set_commandMethod · 0.80

Tested by 1