openstack

package
v0.5.25 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package openstack contains common functions that can be used across all OpenStack components for acceptance testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCloudServer added in v0.3.1

func CreateCloudServer(t *testing.T, client *golangsdk.ServiceClient, createOpts cloudservers.CreateOpts) *cloudservers.CloudServer

func CreateSecurityGroup added in v0.2.7

func CreateSecurityGroup(t *testing.T) string

func CreateVolume added in v0.2.7

func CreateVolume(t *testing.T) *volumes.Volume

func DefaultSecurityGroup added in v0.2.4

func DefaultSecurityGroup(t *testing.T) string

func DeleteCloudServer added in v0.3.1

func DeleteCloudServer(t *testing.T, client *golangsdk.ServiceClient, ecsID string)

func DeleteSecurityGroup added in v0.2.7

func DeleteSecurityGroup(t *testing.T, secGroupID string)

func DeleteVolume added in v0.2.7

func DeleteVolume(t *testing.T, id string)

func DryRunCloudServerConfig added in v0.3.1

func DryRunCloudServerConfig(t *testing.T, client *golangsdk.ServiceClient, createOpts cloudservers.CreateOpts)

func GetCloudServerCreateOpts added in v0.3.1

func GetCloudServerCreateOpts(t *testing.T) cloudservers.CreateOpts

func PrintExtension

func PrintExtension(t *testing.T, extension *extensions.Extension)

PrintExtension prints an extension and all of its attributes.

func ValidIP added in v0.5.4

func ValidIP(t *testing.T, networkID string) string

ValidIP returns valid value for IP in subnet by VPC subnet ID / OpenStack network ID

Types

This section is empty.

Directories

Path Synopsis
cbr
v3
dcs
v1
elb
v3
identity
v3
networking
v1
rds
v3
sdrs
v1
sfs_turbo
v1
smn
v2
swr
v2

Jump to

Keyboard shortcuts

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