injectnetworkinfo

package
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL