bms

package
v1.36.7 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package bms This set of code handles all functions required to configure addresses on an opentelekomcloud_compute_bms_server_v2 datasource.

This is a complicated task because it's not possible to obtain all information in a single API call. In fact, it even traverses multiple OpenTelekomCloud services.

The end result, from the user's point of view, is a structured set of understandable network information within the instance resource.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceBMSFlavorV2

func DataSourceBMSFlavorV2() *schema.Resource

func DataSourceBMSKeyPairV2

func DataSourceBMSKeyPairV2() *schema.Resource

func DataSourceBMSNicV2

func DataSourceBMSNicV2() *schema.Resource

func DataSourceBMSServersV2

func DataSourceBMSServersV2() *schema.Resource

func ResourceBMSTagsV2

func ResourceBMSTagsV2() *schema.Resource

func ResourceComputeBMSInstanceV2

func ResourceComputeBMSInstanceV2() *schema.Resource

Types

type ServerAddress

type ServerAddress struct {
	NetworkName string
	ServerNICS  []ServerNICS
}

ServerAddress is a collection of ServerNICS, grouped by the network name. An instance/server could have multiple NICs on the same network.

type ServerNICS

type ServerNICS struct {
	IP      string
	MAC     string
	Type    string
	Version float64
}

ServerNICS is a structured representation of a Gophercloud servers.Server virtual NIC.

type ServerNetwork

type ServerNetwork struct {
	UUID          string
	Name          string
	Port          string
	FixedIP       string
	AccessNetwork bool
}

ServerNetwork represents a collection of network information that a Terraform instance needs to satisfy all network information requirements.

Jump to

Keyboard shortcuts

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