deh

package
v1.32.3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Overview

This set of code handles all functions required to configure networking on an opentelekomcloud_compute_instance_v2 resource.

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 DataSourceDEHHostV1

func DataSourceDEHHostV1() *schema.Resource

func DataSourceDEHServersV1

func DataSourceDEHServersV1() *schema.Resource

func ResourceDeHHostV1

func ResourceDeHHostV1() *schema.Resource

Types

type InstanceNICS

type InstanceNICS struct {
	FixedIPv4 string
	FixedIPv6 string
}

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

type InstanceNetworks

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

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

type InstancesAddress

type InstancesAddress struct {
	NetworkName  string
	InstanceNICs []InstanceNICS
}

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

Jump to

Keyboard shortcuts

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