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 DataSourceDEHServersV1 ¶
func ResourceDeHHostV1 ¶
Types ¶
type InstanceNICS ¶
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.