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 ¶
- func DataSourceBMSFlavorV2() *schema.Resource
- func DataSourceBMSKeyPairV2() *schema.Resource
- func DataSourceBMSNicV2() *schema.Resource
- func DataSourceBMSServersV2() *schema.Resource
- func ResourceBMSTagsV2() *schema.Resource
- func ResourceComputeBMSInstanceV2() *schema.Resource
- type ServerAddress
- type ServerNICS
- type ServerNetwork
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceBMSFlavorV2 ¶
func DataSourceBMSKeyPairV2 ¶
func DataSourceBMSNicV2 ¶
func DataSourceBMSServersV2 ¶
func ResourceBMSTagsV2 ¶
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 ¶
ServerNICS is a structured representation of a Gophercloud servers.Server virtual NIC.
Source Files ¶
- compute_bms_v2_server_addresses.go
- data_source_opentelekomcloud_compute_bms_flavor_v2.go
- data_source_opentelekomcloud_compute_bms_keypair_v2.go
- data_source_opentelekomcloud_compute_bms_nic_v2.go
- data_source_opentelekomcloud_compute_bms_server_v2.go
- resource_opentelekomcloud_compute_bms_server_v2.go
- resource_opentelekomcloud_compute_bms_tags_v2.go