portsbinding

package
v1.1.21 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 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 PortWithBindingExt

type PortWithBindingExt struct {
	ports.Port
	portsbinding.PortsBindingExt
}

PortWithBindingExt represents a port with the binding fields

func CreatePortsbinding

func CreatePortsbinding(t *testing.T, client *gophercloud.ServiceClient, networkID, subnetID, hostID string, profile map[string]interface{}) (PortWithBindingExt, error)

CreatePortsbinding will create a port on the specified subnet. An error will be returned if the port could not be created.

Jump to

Keyboard shortcuts

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