Jon Perritt | 8dd49db | 2014-10-24 12:39:07 -0500 | [diff] [blame] | 1 | package bootfromvolume |
| 2 | |
| 3 | import ( |
Jon Perritt | 01686cd | 2014-10-24 14:10:16 -0500 | [diff] [blame^] | 4 | "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 Perritt | 8dd49db | 2014-10-24 12:39:07 -0500 | [diff] [blame] | 7 | ) |
| 8 | |
| 9 | // Create requests the creation of a server from the given block device mapping. |
Jon Perritt | 01686cd | 2014-10-24 14:10:16 -0500 | [diff] [blame^] | 10 | func Create(client *gophercloud.ServiceClient, opts osServers.CreateOptsBuilder) osServers.CreateResult { |
| 11 | return osBFV.Create(client, opts) |
Jon Perritt | 8dd49db | 2014-10-24 12:39:07 -0500 | [diff] [blame] | 12 | } |