blob: 2580459f077e9ab4ac88aa8967ed4f6a256e064d [file] [log] [blame]
Jon Perritt8dd49db2014-10-24 12:39:07 -05001package bootfromvolume
2
3import (
Jon Perritt01686cd2014-10-24 14:10:16 -05004 "github.com/rackspace/gophercloud"
5 osBFV "github.com/rackspace/gophercloud/openstack/compute/v2/extensions/bootfromvolume"
6 osServers "github.com/rackspace/gophercloud/openstack/compute/v2/servers"
Jon Perritt8dd49db2014-10-24 12:39:07 -05007)
8
9// Create requests the creation of a server from the given block device mapping.
Jon Perritt01686cd2014-10-24 14:10:16 -050010func Create(client *gophercloud.ServiceClient, opts osServers.CreateOptsBuilder) osServers.CreateResult {
11 return osBFV.Create(client, opts)
Jon Perritt8dd49db2014-10-24 12:39:07 -050012}