v2

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VLANTransparentNetwork

type VLANTransparentNetwork struct {
	networks.Network
	vlantransparent.TransparentExt
}

VLANTransparentNetwork represents OpenStack V2 Networking Network with the "vlan-transparent" extension enabled.

func CreateVLANTransparentNetwork

func CreateVLANTransparentNetwork(t *testing.T, client *gophercloud.ServiceClient) (*VLANTransparentNetwork, error)

CreateVLANTransparentNetwork will create a network with the "vlan-transparent" extension. An error will be returned if the network could not be created.

func ListVLANTransparentNetworks

func ListVLANTransparentNetworks(t *testing.T, client *gophercloud.ServiceClient) ([]*VLANTransparentNetwork, error)

ListVLANTransparentNetworks will list networks with the "vlan-transparent" extension. An error will be returned networks could not be listed.

func UpdateVLANTransparentNetwork

func UpdateVLANTransparentNetwork(t *testing.T, client *gophercloud.ServiceClient, networkID string) (*VLANTransparentNetwork, error)

UpdateVLANTransparentNetwork will update a network with the "vlan-transparent" extension. An error will be returned if the network could not be updated.

Jump to

Keyboard shortcuts

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