Documentation ¶
Overview ¶
Package injectnetworkinfo provides functionality to inject the network info into a server that has been provisioned by the OpenStack Compute service. This action requires admin privileges and Nova configured with a Xen hypervisor driver.
Example to Inject a Network Info into a Server
serverID := "47b6b7b7-568d-40e4-868c-d5c41735532e" err := injectnetworkinfo.InjectNetworkInfo(client, id).ExtractErr() if err != nil { panic(err) }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InjectNetworkResult ¶
type InjectNetworkResult struct {
gophercloud.ErrResult
}
InjectNetworkResult is the response of a InjectNetworkInfo operation. Call its ExtractErr method to determine if the request suceeded or failed.
func InjectNetworkInfo ¶
func InjectNetworkInfo(client *gophercloud.ServiceClient, id string) (r InjectNetworkResult)
InjectNetworkInfo will inject the network info into a server
Click to show internal directories.
Click to hide internal directories.