v1

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAllocation

func CreateAllocation(t *testing.T, client *gophercloud.ServiceClient) (*allocations.Allocation, error)

CreateAllocation creates an allocation

func CreateFakeNode

func CreateFakeNode(t *testing.T, client *gophercloud.ServiceClient) (*nodes.Node, error)

CreateFakeNode creates a node with fake-hardware to use for port tests.

func CreateNode

func CreateNode(t *testing.T, client *gophercloud.ServiceClient) (*nodes.Node, error)

CreateNode creates a basic node with a randomly generated name.

func CreatePort

func CreatePort(t *testing.T, client *gophercloud.ServiceClient, node *nodes.Node) (*ports.Port, error)

CreatePort - creates a port for a node with a fixed Address

func DeleteAllocation

func DeleteAllocation(t *testing.T, client *gophercloud.ServiceClient, allocation *allocations.Allocation)

DeleteAllocation deletes a bare metal allocation via its UUID.

func DeleteNode

func DeleteNode(t *testing.T, client *gophercloud.ServiceClient, node *nodes.Node)

DeleteNode deletes a bare metal node via its UUID.

func DeletePort

func DeletePort(t *testing.T, client *gophercloud.ServiceClient, port *ports.Port)

DeletePort - deletes a port via its UUID

Types

This section is empty.

Jump to

Keyboard shortcuts

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