openstack

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: Apache-2.0 Imports: 10 Imported by: 1,585

Documentation

Overview

Package openstack contains resources for the individual OpenStack projects supported in Gophercloud. It also includes functions to authenticate to an OpenStack cloud and for provisioning various service-level clients.

Example of Creating a Service Client

ao, err := openstack.AuthOptionsFromEnv()
provider, err := openstack.AuthenticatedClient(ao)
client, err := openstack.NewNetworkV2(provider, gophercloud.EndpointOpts{
	Region: os.Getenv("OS_REGION_NAME"),
})

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthOptionsFromEnv

func AuthOptionsFromEnv() (gophercloud.AuthOptions, error)

AuthOptionsFromEnv fills out an identity.AuthOptions structure with the settings found on the various OpenStack OS_* environment variables.

The following variables provide sources of truth: OS_AUTH_URL, OS_USERNAME, OS_PASSWORD and OS_PROJECT_ID.

Of these, OS_USERNAME, OS_PASSWORD, and OS_AUTH_URL must have settings, or an error will result. OS_PROJECT_ID, is optional.

OS_TENANT_ID and OS_TENANT_NAME are deprecated forms of OS_PROJECT_ID and OS_PROJECT_NAME and the latter are expected against a v3 auth api.

If OS_PROJECT_ID and OS_PROJECT_NAME are set, they will still be referred as "tenant" in Gophercloud.

If OS_PROJECT_NAME is set, it requires OS_PROJECT_ID to be set as well to handle projects not on the default domain.

To use this function, first set the OS_* environment variables (for example, by sourcing an `openrc` file), then:

opts, err := openstack.AuthOptionsFromEnv()
provider, err := openstack.AuthenticatedClient(opts)

func Authenticate

func Authenticate(client *gophercloud.ProviderClient, options gophercloud.AuthOptions) error

Authenticate or re-authenticate against the most recent identity service supported at the provided endpoint.

func AuthenticateV2

func AuthenticateV2(client *gophercloud.ProviderClient, options gophercloud.AuthOptions, eo gophercloud.EndpointOpts) error

AuthenticateV2 explicitly authenticates against the identity v2 endpoint.

func AuthenticateV3

AuthenticateV3 explicitly authenticates against the identity v3 service.

func AuthenticatedClient

func AuthenticatedClient(options gophercloud.AuthOptions) (*gophercloud.ProviderClient, error)

AuthenticatedClient logs in to an OpenStack cloud found at the identity endpoint specified by the options, acquires a token, and returns a Provider Client instance that's ready to operate.

If the full path to a versioned identity endpoint was specified (example: http://example.com:5000/v3), that path will be used as the endpoint to query.

If a versionless endpoint was specified (example: http://example.com:5000/), the endpoint will be queried to determine which versions of the identity service are available, then chooses the most recent or most supported version.

Example:

ao, err := openstack.AuthOptionsFromEnv()
provider, err := openstack.AuthenticatedClient(ao)
client, err := openstack.NewNetworkV2(provider, gophercloud.EndpointOpts{
	Region: os.Getenv("OS_REGION_NAME"),
})

func NewBareMetalIntrospectionV1

func NewBareMetalIntrospectionV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)

NewBareMetalIntrospectionV1 creates a ServiceClient that may be used with the v1 bare metal introspection package.

func NewBareMetalV1

NewBareMetalV1 creates a ServiceClient that may be used with the v1 bare metal package.

func NewBlockStorageV1

NewBlockStorageV1 creates a ServiceClient that may be used to access the v1 block storage service.

func NewBlockStorageV2

NewBlockStorageV2 creates a ServiceClient that may be used to access the v2 block storage service.

func NewBlockStorageV3

NewBlockStorageV3 creates a ServiceClient that may be used to access the v3 block storage service.

func NewCDNV1

NewCDNV1 creates a ServiceClient that may be used to access the OpenStack v1 CDN service.

func NewClient

func NewClient(endpoint string) (*gophercloud.ProviderClient, error)

NewClient prepares an unauthenticated ProviderClient instance. Most users will probably prefer using the AuthenticatedClient function instead.

This is useful if you wish to explicitly control the version of the identity service that's used for authentication explicitly, for example.

A basic example of using this would be:

ao, err := openstack.AuthOptionsFromEnv()
provider, err := openstack.NewClient(ao.IdentityEndpoint)
client, err := openstack.NewIdentityV3(provider, gophercloud.EndpointOpts{})

func NewClusteringV1

NewClusteringV1 creates a ServiceClient that may be used with the v1 clustering package.

func NewComputeV2

NewComputeV2 creates a ServiceClient that may be used with the v2 compute package.

func NewContainerInfraV1

NewContainerInfraV1 creates a ServiceClient that may be used with the v1 container infra management package.

func NewContainerV1

NewContainerV1 creates a ServiceClient that may be used with v1 container package

func NewDBV1

NewDBV1 creates a ServiceClient that may be used to access the v1 DB service.

func NewDNSV2

NewDNSV2 creates a ServiceClient that may be used to access the v2 DNS service.

func NewIdentityV2

NewIdentityV2 creates a ServiceClient that may be used to interact with the v2 identity service.

func NewIdentityV3

NewIdentityV3 creates a ServiceClient that may be used to access the v3 identity service.

func NewImageServiceV2

NewImageServiceV2 creates a ServiceClient that may be used to access the v2 image service.

func NewKeyManagerV1

NewKeyManagerV1 creates a ServiceClient that may be used with the v1 key manager service.

func NewLoadBalancerV2

NewLoadBalancerV2 creates a ServiceClient that may be used to access the v2 load balancer service.

func NewMessagingV2

func NewMessagingV2(client *gophercloud.ProviderClient, clientID string, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)

NewMessagingV2 creates a ServiceClient that may be used with the v2 messaging service.

func NewNetworkV2

NewNetworkV2 creates a ServiceClient that may be used with the v2 network package.

func NewObjectStorageV1

NewObjectStorageV1 creates a ServiceClient that may be used with the v1 object storage package.

func NewOrchestrationV1

NewOrchestrationV1 creates a ServiceClient that may be used to access the v1 orchestration service.

func NewPlacementV1 added in v0.8.0

NewPlacementV1 creates a ServiceClient that may be used with the placement package.

func NewSharedFileSystemV2

func NewSharedFileSystemV2(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)

NewSharedFileSystemV2 creates a ServiceClient that may be used to access the v2 shared file system service.

func NewWorkflowV2

NewWorkflowV2 creates a ServiceClient that may be used with the v2 workflow management package.

func V2EndpointURL

func V2EndpointURL(catalog *tokens2.ServiceCatalog, opts gophercloud.EndpointOpts) (string, error)

V2EndpointURL discovers the endpoint URL for a specific service from a ServiceCatalog acquired during the v2 identity service.

The specified EndpointOpts are used to identify a unique, unambiguous endpoint to return. It's an error both when multiple endpoints match the provided criteria and when none do. The minimum that can be specified is a Type, but you will also often need to specify a Name and/or a Region depending on what's available on your OpenStack deployment.

func V3EndpointURL

func V3EndpointURL(catalog *tokens3.ServiceCatalog, opts gophercloud.EndpointOpts) (string, error)

V3EndpointURL discovers the endpoint URL for a specific service from a Catalog acquired during the v3 identity service.

The specified EndpointOpts are used to identify a unique, unambiguous endpoint to return. It's an error both when multiple endpoints match the provided criteria and when none do. The minimum that can be specified is a Type, but you will also often need to specify a Name and/or a Region depending on what's available on your OpenStack deployment.

Types

type ErrEndpointNotFound

type ErrEndpointNotFound struct{ gophercloud.BaseError }

ErrEndpointNotFound is the error when no suitable endpoint can be found in the user's catalog

func (ErrEndpointNotFound) Error

func (e ErrEndpointNotFound) Error() string

type ErrInvalidAvailabilityProvided

type ErrInvalidAvailabilityProvided struct{ gophercloud.ErrInvalidInput }

ErrInvalidAvailabilityProvided is the error when an invalid endpoint availability is provided

func (ErrInvalidAvailabilityProvided) Error

type ErrNoAuthURL

type ErrNoAuthURL struct{ gophercloud.ErrInvalidInput }

ErrNoAuthURL is the error when the OS_AUTH_URL environment variable is not found

func (ErrNoAuthURL) Error

func (e ErrNoAuthURL) Error() string

type ErrNoPassword

type ErrNoPassword struct{ gophercloud.ErrInvalidInput }

ErrNoPassword is the error when the OS_PASSWORD environment variable is not found

func (ErrNoPassword) Error

func (e ErrNoPassword) Error() string

type ErrNoUsername

type ErrNoUsername struct{ gophercloud.ErrInvalidInput }

ErrNoUsername is the error when the OS_USERNAME environment variable is not found

func (ErrNoUsername) Error

func (e ErrNoUsername) Error() string

Directories

Path Synopsis
baremetal
apiversions
Package apiversions provides information about the versions supported by a specific Ironic API.
Package apiversions provides information about the versions supported by a specific Ironic API.
httpbasic
Package httpbasic provides support for http_basic bare metal endpoints.
Package httpbasic provides support for http_basic bare metal endpoints.
noauth
Package noauth provides support for noauth bare metal endpoints.
Package noauth provides support for noauth bare metal endpoints.
v1/drivers
Package drivers contains the functionality for Listing drivers, driver details, driver properties and driver logical disk properties API reference: https://developer.openstack.org/api-ref/baremetal/#drivers-drivers Example to List Drivers drivers.ListDrivers(client.ServiceClient(), drivers.ListDriversOpts{}).EachPage(func(page pagination.Page) (bool, error) { driversList, err := drivers.ExtractDrivers(page) if err != nil { return false, err } for _, n := range driversList { // Do something } return true, nil }) Example to Get single Driver Details showDriverDetails, err := drivers.GetDriverDetails(client, "ipmi").Extract() if err != nil { panic(err) } Example to Get single Driver Properties showDriverProperties, err := drivers.GetDriverProperties(client, "ipmi").Extract() if err != nil { panic(err) } Example to Get single Driver Logical Disk Properties showDriverDiskProperties, err := drivers.GetDriverDiskProperties(client, "ipmi").Extract() if err != nil { panic(err) }
Package drivers contains the functionality for Listing drivers, driver details, driver properties and driver logical disk properties API reference: https://developer.openstack.org/api-ref/baremetal/#drivers-drivers Example to List Drivers drivers.ListDrivers(client.ServiceClient(), drivers.ListDriversOpts{}).EachPage(func(page pagination.Page) (bool, error) { driversList, err := drivers.ExtractDrivers(page) if err != nil { return false, err } for _, n := range driversList { // Do something } return true, nil }) Example to Get single Driver Details showDriverDetails, err := drivers.GetDriverDetails(client, "ipmi").Extract() if err != nil { panic(err) } Example to Get single Driver Properties showDriverProperties, err := drivers.GetDriverProperties(client, "ipmi").Extract() if err != nil { panic(err) } Example to Get single Driver Logical Disk Properties showDriverDiskProperties, err := drivers.GetDriverDiskProperties(client, "ipmi").Extract() if err != nil { panic(err) }
v1/drivers/testing
Package testing contains drivers unit tests
Package testing contains drivers unit tests
v1/nodes
Package nodes provides information and interaction with the nodes API resource in the OpenStack Bare Metal service.
Package nodes provides information and interaction with the nodes API resource in the OpenStack Bare Metal service.
v1/nodes/testing
nodes unit tests
nodes unit tests
v1/ports
Package ports contains the functionality to Listing, Searching, Creating, Updating, and Deleting of bare metal Port resources API reference: https://developer.openstack.org/api-ref/baremetal/#ports-ports Example to List Ports with Detail ports.ListDetail(client, nil).EachPage(func(page pagination.Page) (bool, error) { portList, err := ports.ExtractPorts(page) if err != nil { return false, err } for _, n := range portList { // Do something } return true, nil }) Example to List Ports listOpts := ports.ListOpts{ Limit: 10, } ports.List(client, listOpts).EachPage(func(page pagination.Page) (bool, error) { portList, err := ports.ExtractPorts(page) if err != nil { return false, err } for _, n := range portList { // Do something } return true, nil }) Example to Create a Port createOpts := ports.CreateOpts{ NodeUUID: "e8920409-e07e-41bb-8cc1-72acb103e2dd", Address: "00:1B:63:84:45:E6", PhysicalNetwork: "my-network", } createPort, err := ports.Create(client, createOpts).Extract() if err != nil { panic(err) } Example to Get a Port showPort, err := ports.Get(client, "c9afd385-5d89-4ecb-9e1c-68194da6b474").Extract() if err != nil { panic(err) } Example to Update a Port updateOpts := ports.UpdateOpts{ ports.UpdateOperation{ Op: ReplaceOp, Path: "/address", Value: "22:22:22:22:22:22", }, } updatePort, err := ports.Update(client, "c9afd385-5d89-4ecb-9e1c-68194da6b474", updateOpts).Extract() if err != nil { panic(err) } Example to Delete a Port err = ports.Delete(client, "c9afd385-5d89-4ecb-9e1c-68194da6b474").ExtractErr() if err != nil { panic(err) }
Package ports contains the functionality to Listing, Searching, Creating, Updating, and Deleting of bare metal Port resources API reference: https://developer.openstack.org/api-ref/baremetal/#ports-ports Example to List Ports with Detail ports.ListDetail(client, nil).EachPage(func(page pagination.Page) (bool, error) { portList, err := ports.ExtractPorts(page) if err != nil { return false, err } for _, n := range portList { // Do something } return true, nil }) Example to List Ports listOpts := ports.ListOpts{ Limit: 10, } ports.List(client, listOpts).EachPage(func(page pagination.Page) (bool, error) { portList, err := ports.ExtractPorts(page) if err != nil { return false, err } for _, n := range portList { // Do something } return true, nil }) Example to Create a Port createOpts := ports.CreateOpts{ NodeUUID: "e8920409-e07e-41bb-8cc1-72acb103e2dd", Address: "00:1B:63:84:45:E6", PhysicalNetwork: "my-network", } createPort, err := ports.Create(client, createOpts).Extract() if err != nil { panic(err) } Example to Get a Port showPort, err := ports.Get(client, "c9afd385-5d89-4ecb-9e1c-68194da6b474").Extract() if err != nil { panic(err) } Example to Update a Port updateOpts := ports.UpdateOpts{ ports.UpdateOperation{ Op: ReplaceOp, Path: "/address", Value: "22:22:22:22:22:22", }, } updatePort, err := ports.Update(client, "c9afd385-5d89-4ecb-9e1c-68194da6b474", updateOpts).Extract() if err != nil { panic(err) } Example to Delete a Port err = ports.Delete(client, "c9afd385-5d89-4ecb-9e1c-68194da6b474").ExtractErr() if err != nil { panic(err) }
v1/ports/testing
ports unit tests
ports unit tests
baremetalintrospection
httpbasic
Package httpbasic provides support for http_basic bare metal introspection endpoints.
Package httpbasic provides support for http_basic bare metal introspection endpoints.
noauth
Package noauth provides support for noauth bare metal introspection endpoints.
Package noauth provides support for noauth bare metal introspection endpoints.
v1/introspection
Package introspection contains the functionality for Starting introspection, Get introspection status, List all introspection statuses, Abort an introspection, Get stored introspection data and reapply introspection on stored data.
Package introspection contains the functionality for Starting introspection, Get introspection status, List all introspection statuses, Abort an introspection, Get stored introspection data and reapply introspection on stored data.
blockstorage
apiversions
Package apiversions provides information and interaction with the different API versions for the OpenStack Block Storage service, code-named Cinder.
Package apiversions provides information and interaction with the different API versions for the OpenStack Block Storage service, code-named Cinder.
apiversions/testing
apiversions_v1
apiversions_v1
extensions/backups
Package backups provides information and interaction with backups in the OpenStack Block Storage service.
Package backups provides information and interaction with backups in the OpenStack Block Storage service.
extensions/quotasets
Package quotasets enables retrieving and managing Block Storage quotas.
Package quotasets enables retrieving and managing Block Storage quotas.
extensions/quotasets/testing
quotasets unit tests
quotasets unit tests
extensions/schedulerhints
Package schedulerhints extends the volume create request with the ability to specify additional parameters which determine where the volume will be created in the OpenStack cloud.
Package schedulerhints extends the volume create request with the ability to specify additional parameters which determine where the volume will be created in the OpenStack cloud.
extensions/schedulerhints/testing
schedulerhints unit tests
schedulerhints unit tests
extensions/schedulerstats
Package schedulerstats returns information about block storage pool capacity and utilisation.
Package schedulerstats returns information about block storage pool capacity and utilisation.
extensions/volumeactions
Package volumeactions provides information and interaction with volumes in the OpenStack Block Storage service.
Package volumeactions provides information and interaction with volumes in the OpenStack Block Storage service.
extensions/volumeactions/testing
volumeactions unit tests
volumeactions unit tests
extensions/volumetenants
Package volumetenants provides the ability to extend a volume result with tenant/project information.
Package volumetenants provides the ability to extend a volume result with tenant/project information.
extensions/volumetransfers
Package volumetransfers provides an interaction with volume transfers in the OpenStack Block Storage service.
Package volumetransfers provides an interaction with volume transfers in the OpenStack Block Storage service.
noauth
Package noauth creates a "noauth" *gophercloud.ServiceClient for use in Cinder environments configured with the noauth authentication middleware.
Package noauth creates a "noauth" *gophercloud.ServiceClient for use in Cinder environments configured with the noauth authentication middleware.
noauth/testing
noauth unit tests
noauth unit tests
v1/apiversions
Package apiversions provides information and interaction with the different API versions for the OpenStack Block Storage service, code-named Cinder.
Package apiversions provides information and interaction with the different API versions for the OpenStack Block Storage service, code-named Cinder.
v1/apiversions/testing
apiversions_v1
apiversions_v1
v1/snapshots
Package snapshots provides information and interaction with snapshots in the OpenStack Block Storage service.
Package snapshots provides information and interaction with snapshots in the OpenStack Block Storage service.
v1/snapshots/testing
snapshots_v1
snapshots_v1
v1/volumes
Package volumes provides information and interaction with volumes in the OpenStack Block Storage service.
Package volumes provides information and interaction with volumes in the OpenStack Block Storage service.
v1/volumes/testing
volumes_v1
volumes_v1
v1/volumetypes
Package volumetypes provides information and interaction with volume types in the OpenStack Block Storage service.
Package volumetypes provides information and interaction with volume types in the OpenStack Block Storage service.
v1/volumetypes/testing
volumetypes_v1
volumetypes_v1
v2/snapshots
Package snapshots provides information and interaction with snapshots in the OpenStack Block Storage service.
Package snapshots provides information and interaction with snapshots in the OpenStack Block Storage service.
v2/snapshots/testing
snapshots_v2
snapshots_v2
v2/volumes
Package volumes provides information and interaction with volumes in the OpenStack Block Storage service.
Package volumes provides information and interaction with volumes in the OpenStack Block Storage service.
v2/volumes/testing
volumes_v2
volumes_v2
v3/attachments
Package attachments provides access to OpenStack Block Storage Attachment API's.
Package attachments provides access to OpenStack Block Storage Attachment API's.
v3/snapshots
Package snapshots provides information and interaction with snapshots in the OpenStack Block Storage service.
Package snapshots provides information and interaction with snapshots in the OpenStack Block Storage service.
v3/snapshots/testing
snapshots_v3
snapshots_v3
v3/volumes
Package volumes provides information and interaction with volumes in the OpenStack Block Storage service.
Package volumes provides information and interaction with volumes in the OpenStack Block Storage service.
v3/volumes/testing
volumes_v3
volumes_v3
v3/volumetypes/testing
volume_types
volume_types
cdn
v1/base
Package base provides information and interaction with the base API resource in the OpenStack CDN service.
Package base provides information and interaction with the base API resource in the OpenStack CDN service.
v1/base/testing
cdn_base_v1
cdn_base_v1
v1/flavors
Package flavors provides information and interaction with the flavors API resource in the OpenStack CDN service.
Package flavors provides information and interaction with the flavors API resource in the OpenStack CDN service.
v1/flavors/testing
cdn_flavors_v1
cdn_flavors_v1
v1/serviceassets
Package serviceassets provides information and interaction with the serviceassets API resource in the OpenStack CDN service.
Package serviceassets provides information and interaction with the serviceassets API resource in the OpenStack CDN service.
v1/serviceassets/testing
cdn_serviceassets_v1
cdn_serviceassets_v1
v1/services
Package services provides information and interaction with the services API resource in the OpenStack CDN service.
Package services provides information and interaction with the services API resource in the OpenStack CDN service.
v1/services/testing
cdn_services_v1
cdn_services_v1
clustering
v1/actions
Package actions provides listing and retrieving of senlin actions for the OpenStack Clustering Service.
Package actions provides listing and retrieving of senlin actions for the OpenStack Clustering Service.
v1/actions/testing
clustering_actions_v1
clustering_actions_v1
v1/clusters
Package clusters provides information and interaction with the clusters through the OpenStack Clustering service.
Package clusters provides information and interaction with the clusters through the OpenStack Clustering service.
v1/clusters/testing
clustering_clusters_v1
clustering_clusters_v1
v1/events
Package events provides listing and retrieving of senlin events for the OpenStack Clustering Service.
Package events provides listing and retrieving of senlin events for the OpenStack Clustering Service.
v1/events/testing
clustering_events_v1
clustering_events_v1
v1/nodes
Package nodes provides information and interaction with the nodes through the OpenStack Clustering service.
Package nodes provides information and interaction with the nodes through the OpenStack Clustering service.
v1/nodes/testing
clustering_nodes_v1
clustering_nodes_v1
v1/policies
Package policies provides information and interaction with the policies through the OpenStack Clustering service.
Package policies provides information and interaction with the policies through the OpenStack Clustering service.
v1/policies/testing
clustering_policies_v1
clustering_policies_v1
v1/policytypes
Package policytypes lists all policy types and shows details for a policy type from the OpenStack Clustering Service.
Package policytypes lists all policy types and shows details for a policy type from the OpenStack Clustering Service.
v1/policytypes/testing
clustering_policytypes_v1
clustering_policytypes_v1
v1/profiles
Package profiles provides information and interaction with profiles through the OpenStack Clustering service.
Package profiles provides information and interaction with profiles through the OpenStack Clustering service.
v1/profiles/testing
clustering_profiles_v1
clustering_profiles_v1
v1/profiletypes
Package profiletypes lists all profile types and shows details for a profile type from the OpenStack Clustering Service.
Package profiletypes lists all profile types and shows details for a profile type from the OpenStack Clustering Service.
v1/profiletypes/testing
clustering_profiletypes_v1
clustering_profiletypes_v1
v1/receivers
Package receivers provides information and interaction with the receivers through the OpenStack Clustering service.
Package receivers provides information and interaction with the receivers through the OpenStack Clustering service.
v1/receivers/testing
clustering_receivers_v1
clustering_receivers_v1
v1/webhooks
Package webhooks provides the ability to trigger an action represented by a webhook from the OpenStack Clustering Service.
Package webhooks provides the ability to trigger an action represented by a webhook from the OpenStack Clustering Service.
v1/webhooks/testing
clustering_webhooks_v1
clustering_webhooks_v1
common
extensions
Package extensions provides information and interaction with the different extensions available for an OpenStack service.
Package extensions provides information and interaction with the different extensions available for an OpenStack service.
extensions/testing
common extensions unit tests
common extensions unit tests
compute
v2/extensions
Package extensions provides information and interaction with the different extensions available for the OpenStack Compute service.
Package extensions provides information and interaction with the different extensions available for the OpenStack Compute service.
v2/extensions/aggregates
Package aggregates manages information about the host aggregates in the OpenStack cloud.
Package aggregates manages information about the host aggregates in the OpenStack cloud.
v2/extensions/attachinterfaces
Package attachinterfaces provides the ability to retrieve and manage network interfaces through Nova.
Package attachinterfaces provides the ability to retrieve and manage network interfaces through Nova.
v2/extensions/attachinterfaces/testing
attachinterfaces unit tests
attachinterfaces unit tests
v2/extensions/availabilityzones
Package availabilityzones provides the ability to get lists and detailed availability zone information and to extend a server result with availability zone information.
Package availabilityzones provides the ability to get lists and detailed availability zone information and to extend a server result with availability zone information.
v2/extensions/availabilityzones/testing
availabilityzones unittests
availabilityzones unittests
v2/extensions/bootfromvolume
Package bootfromvolume extends a server create request with the ability to specify block device options.
Package bootfromvolume extends a server create request with the ability to specify block device options.
v2/extensions/bootfromvolume/testing
bootfromvolume unit tests
bootfromvolume unit tests
v2/extensions/defsecrules
Package defsecrules enables management of default security group rules.
Package defsecrules enables management of default security group rules.
v2/extensions/defsecrules/testing
defsecrules unit tests
defsecrules unit tests
v2/extensions/diagnostics
Package diagnostics returns details about a nova instance diagnostics Example of Show Diagnostics diags, err := diagnostics.Get(computeClient, serverId).Extract() if err != nil { panic(err) } fmt.Printf("%+v\n", diags)
Package diagnostics returns details about a nova instance diagnostics Example of Show Diagnostics diags, err := diagnostics.Get(computeClient, serverId).Extract() if err != nil { panic(err) } fmt.Printf("%+v\n", diags)
v2/extensions/diskconfig
Package diskconfig provides information and interaction with the Disk Config extension that works with the OpenStack Compute service.
Package diskconfig provides information and interaction with the Disk Config extension that works with the OpenStack Compute service.
v2/extensions/diskconfig/testing
diskconfig unit tests
diskconfig unit tests
v2/extensions/evacuate
Package evacuate provides functionality to evacuates servers that have been provisioned by the OpenStack Compute service from a failed host to a new host.
Package evacuate provides functionality to evacuates servers that have been provisioned by the OpenStack Compute service from a failed host to a new host.
v2/extensions/evacuate/testing
compute_extensions_evacuate_v2
compute_extensions_evacuate_v2
v2/extensions/extendedserverattributes
Package extendedserverattributes provides the ability to extend a server result with the extended usage information.
Package extendedserverattributes provides the ability to extend a server result with the extended usage information.
v2/extensions/extendedstatus
Package extendedstatus provides the ability to extend a server result with the extended status information.
Package extendedstatus provides the ability to extend a server result with the extended status information.
v2/extensions/floatingips
Package floatingips provides the ability to manage floating ips through the Nova API.
Package floatingips provides the ability to manage floating ips through the Nova API.
v2/extensions/floatingips/testing
floatingips unit tests
floatingips unit tests
v2/extensions/hypervisors
Package hypervisors returns details about list of hypervisors, shows details for a hypervisor and shows summary statistics for all hypervisors over all compute nodes in the OpenStack cloud.
Package hypervisors returns details about list of hypervisors, shows details for a hypervisor and shows summary statistics for all hypervisors over all compute nodes in the OpenStack cloud.
v2/extensions/injectnetworkinfo
Package injectnetworkinfo provides functionality to inject the network info into a server that has been provisioned by the OpenStack Compute service.
Package injectnetworkinfo provides functionality to inject the network info into a server that has been provisioned by the OpenStack Compute service.
v2/extensions/instanceactions/testing
instanceactions unit tests
instanceactions unit tests
v2/extensions/keypairs
Package keypairs provides the ability to manage key pairs as well as create servers with a specified key pair.
Package keypairs provides the ability to manage key pairs as well as create servers with a specified key pair.
v2/extensions/keypairs/testing
keypairs unit tests
keypairs unit tests
v2/extensions/limits
Package limits shows rate and limit information for a tenant/project.
Package limits shows rate and limit information for a tenant/project.
v2/extensions/lockunlock
Package lockunlock provides functionality to lock and unlock servers that have been provisioned by the OpenStack Compute service.
Package lockunlock provides functionality to lock and unlock servers that have been provisioned by the OpenStack Compute service.
v2/extensions/lockunlock/testing
unlocklock unit tests
unlocklock unit tests
v2/extensions/migrate
Package migrate provides functionality to migrate servers that have been provisioned by the OpenStack Compute service.
Package migrate provides functionality to migrate servers that have been provisioned by the OpenStack Compute service.
v2/extensions/migrate/testing
compute_extensions_startstop_v2
compute_extensions_startstop_v2
v2/extensions/networks
Package networks provides the ability to create and manage networks in cloud environments using nova-network.
Package networks provides the ability to create and manage networks in cloud environments using nova-network.
v2/extensions/networks/testing
networks unit tests
networks unit tests
v2/extensions/pauseunpause
Package pauseunpause provides functionality to pause and unpause servers that have been provisioned by the OpenStack Compute service.
Package pauseunpause provides functionality to pause and unpause servers that have been provisioned by the OpenStack Compute service.
v2/extensions/pauseunpause/testing
pauseunpause unit tests
pauseunpause unit tests
v2/extensions/quotasets
Package quotasets enables retrieving and managing Compute quotas.
Package quotasets enables retrieving and managing Compute quotas.
v2/extensions/quotasets/testing
quotasets unit tests
quotasets unit tests
v2/extensions/remoteconsoles
Package remoteconsoles provides the ability to create server remote consoles through the Compute API.
Package remoteconsoles provides the ability to create server remote consoles through the Compute API.
v2/extensions/rescueunrescue
Package rescueunrescue provides the ability to place a server into rescue mode and to return it back.
Package rescueunrescue provides the ability to place a server into rescue mode and to return it back.
v2/extensions/resetnetwork
Package resetnetwork provides functionality to reset the network of a server that has been provisioned by the OpenStack Compute service.
Package resetnetwork provides functionality to reset the network of a server that has been provisioned by the OpenStack Compute service.
v2/extensions/resetstate
Package resetstate provides functionality to reset the state of a server that has been provisioned by the OpenStack Compute service.
Package resetstate provides functionality to reset the state of a server that has been provisioned by the OpenStack Compute service.
v2/extensions/schedulerhints
Package schedulerhints extends the server create request with the ability to specify additional parameters which determine where the server will be created in the OpenStack cloud.
Package schedulerhints extends the server create request with the ability to specify additional parameters which determine where the server will be created in the OpenStack cloud.
v2/extensions/schedulerhints/testing
schedulerhints unit tests
schedulerhints unit tests
v2/extensions/secgroups
Package secgroups provides the ability to manage security groups through the Nova API.
Package secgroups provides the ability to manage security groups through the Nova API.
v2/extensions/secgroups/testing
secgroups unit tests
secgroups unit tests
v2/extensions/servergroups
Package servergroups provides the ability to manage server groups.
Package servergroups provides the ability to manage server groups.
v2/extensions/servergroups/testing
servergroups unit tests
servergroups unit tests
v2/extensions/serverusage
Package serverusage provides the ability the ability to extend a server result with the extended usage information.
Package serverusage provides the ability the ability to extend a server result with the extended usage information.
v2/extensions/shelveunshelve
Package shelveunshelve provides functionality to start and stop servers that have been provisioned by the OpenStack Compute service.
Package shelveunshelve provides functionality to start and stop servers that have been provisioned by the OpenStack Compute service.
v2/extensions/startstop
Package startstop provides functionality to start and stop servers that have been provisioned by the OpenStack Compute service.
Package startstop provides functionality to start and stop servers that have been provisioned by the OpenStack Compute service.
v2/extensions/startstop/testing
startstop unit tests
startstop unit tests
v2/extensions/suspendresume
Package suspendresume provides functionality to suspend and resume servers that have been provisioned by the OpenStack Compute service.
Package suspendresume provides functionality to suspend and resume servers that have been provisioned by the OpenStack Compute service.
v2/extensions/suspendresume/testing
suspendresume unit tests
suspendresume unit tests
v2/extensions/tags
Package tags manages Tags on Compute V2 servers.
Package tags manages Tags on Compute V2 servers.
v2/extensions/tags/testing
tags unit tests
tags unit tests
v2/extensions/tenantnetworks
Package tenantnetworks provides the ability for tenants to see information about the networks they have access to.
Package tenantnetworks provides the ability for tenants to see information about the networks they have access to.
v2/extensions/tenantnetworks/testing
tenantnetworks unit tests
tenantnetworks unit tests
v2/extensions/testing
extensions unit tests
extensions unit tests
v2/extensions/usage
Package usage provides information and interaction with the SimpleTenantUsage extension for the OpenStack Compute service.
Package usage provides information and interaction with the SimpleTenantUsage extension for the OpenStack Compute service.
v2/extensions/usage/testing
simple tenant usage unit tests
simple tenant usage unit tests
v2/extensions/volumeattach
Package volumeattach provides the ability to attach and detach volumes from servers.
Package volumeattach provides the ability to attach and detach volumes from servers.
v2/extensions/volumeattach/testing
volumeattach unit tests
volumeattach unit tests
v2/flavors
Package flavors provides information and interaction with the flavor API in the OpenStack Compute service.
Package flavors provides information and interaction with the flavor API in the OpenStack Compute service.
v2/flavors/testing
flavors unit tests
flavors unit tests
v2/images
Package images provides information and interaction with the images through the OpenStack Compute service.
Package images provides information and interaction with the images through the OpenStack Compute service.
v2/images/testing
images unit tests
images unit tests
v2/servers
Package servers provides information and interaction with the server API resource in the OpenStack Compute service.
Package servers provides information and interaction with the server API resource in the OpenStack Compute service.
v2/servers/testing
servers unit tests
servers unit tests
container
v1/capsules
Package capsules contains functionality for working with Zun capsule resources.
Package capsules contains functionality for working with Zun capsule resources.
containerinfra
apiversions
Package apiversions provides information and interaction with the different API versions for the Container Infra service, code-named Magnum.
Package apiversions provides information and interaction with the different API versions for the Container Infra service, code-named Magnum.
apiversions/testing
apiversions_v1
apiversions_v1
v1/certificates
Package certificates contains functionality for working with Magnum Certificate resources.
Package certificates contains functionality for working with Magnum Certificate resources.
v1/clusters
Package clusters contains functionality for working with Magnum Cluster resources.
Package clusters contains functionality for working with Magnum Cluster resources.
v1/clustertemplates
Package clustertemplates contains functionality for working with Magnum Cluster Templates resources.
Package clustertemplates contains functionality for working with Magnum Cluster Templates resources.
v1/nodegroups
Package nodegroups provides methods for interacting with the Magnum node group API.
Package nodegroups provides methods for interacting with the Magnum node group API.
v1/quotas
Package quotas contains functionality for working with Magnum Quota API.
Package quotas contains functionality for working with Magnum Quota API.
db
v1/configurations
Package configurations provides information and interaction with the configuration API resource in the Rackspace Database service.
Package configurations provides information and interaction with the configuration API resource in the Rackspace Database service.
v1/configurations/testing
db_configurations_v1
db_configurations_v1
v1/databases
Package flavors provides information and interaction with the database API resource in the OpenStack Database service.
Package flavors provides information and interaction with the database API resource in the OpenStack Database service.
v1/databases/testing
db_databases_v1
db_databases_v1
v1/datastores
Package datastores provides information and interaction with the datastore API resource in the Rackspace Database service.
Package datastores provides information and interaction with the datastore API resource in the Rackspace Database service.
v1/datastores/testing
db_datastores_v1
db_datastores_v1
v1/flavors
Package flavors provides information and interaction with the flavor API resource in the OpenStack Database service.
Package flavors provides information and interaction with the flavor API resource in the OpenStack Database service.
v1/flavors/testing
db_flavors_v1
db_flavors_v1
v1/instances
Package instances provides information and interaction with the instance API resource in the OpenStack Database service.
Package instances provides information and interaction with the instance API resource in the OpenStack Database service.
v1/instances/testing
db_instances_v1
db_instances_v1
v1/users
Package users provides information and interaction with the user API resource in the OpenStack Database service.
Package users provides information and interaction with the user API resource in the OpenStack Database service.
v1/users/testing
db_users_v1
db_users_v1
dns
v2/recordsets
Package recordsets provides information and interaction with the zone API resource for the OpenStack DNS service.
Package recordsets provides information and interaction with the zone API resource for the OpenStack DNS service.
v2/recordsets/testing
recordsets unit tests
recordsets unit tests
v2/zones
Package zones provides information and interaction with the zone API resource for the OpenStack DNS service.
Package zones provides information and interaction with the zone API resource for the OpenStack DNS service.
v2/zones/testing
zones unit tests
zones unit tests
identity
v2/extensions
Package extensions provides information and interaction with the different extensions available for the OpenStack Identity service.
Package extensions provides information and interaction with the different extensions available for the OpenStack Identity service.
v2/extensions/admin/roles
Package roles provides functionality to interact with and control roles on the API.
Package roles provides functionality to interact with and control roles on the API.
roles unit tests
v2/extensions/testing
extensions unit tests
extensions unit tests
v2/tenants
Package tenants provides information and interaction with the tenants API resource for the OpenStack Identity service.
Package tenants provides information and interaction with the tenants API resource for the OpenStack Identity service.
v2/tenants/testing
tenants unit tests
tenants unit tests
v2/tokens
Package tokens provides information and interaction with the token API resource for the OpenStack Identity service.
Package tokens provides information and interaction with the token API resource for the OpenStack Identity service.
v2/tokens/testing
tokens unit tests
tokens unit tests
v2/users
Package users provides information and interaction with the users API resource for the OpenStack Identity Service.
Package users provides information and interaction with the users API resource for the OpenStack Identity Service.
v2/users/testing
users unit tests
users unit tests
v3/domains
Package domains manages and retrieves Domains in the OpenStack Identity Service.
Package domains manages and retrieves Domains in the OpenStack Identity Service.
v3/endpoints
Package endpoints provides information and interaction with the service endpoints API resource in the OpenStack Identity service.
Package endpoints provides information and interaction with the service endpoints API resource in the OpenStack Identity service.
v3/endpoints/testing
endpoints unit tests
endpoints unit tests
v3/extensions/ec2credentials
Package ec2credentials provides information and interaction with the EC2 credentials API resource for the OpenStack Identity service.
Package ec2credentials provides information and interaction with the EC2 credentials API resource for the OpenStack Identity service.
v3/extensions/ec2tokens
Package tokens provides information and interaction with the EC2 token API resource for the OpenStack Identity service.
Package tokens provides information and interaction with the EC2 token API resource for the OpenStack Identity service.
v3/extensions/oauth1
Package oauth1 enables management of OpenStack OAuth1 tokens and Authentication.
Package oauth1 enables management of OpenStack OAuth1 tokens and Authentication.
v3/extensions/trusts
Package trusts enables management of OpenStack Identity Trusts.
Package trusts enables management of OpenStack Identity Trusts.
v3/extensions/trusts/testing
trusts unit tests
trusts unit tests
v3/groups
Package groups manages and retrieves Groups in the OpenStack Identity Service.
Package groups manages and retrieves Groups in the OpenStack Identity Service.
v3/policies
Package policies provides information and interaction with the policies API resource for the OpenStack Identity service.
Package policies provides information and interaction with the policies API resource for the OpenStack Identity service.
v3/policies/testing
Package testing contains policies unit tests
Package testing contains policies unit tests
v3/projects
Package projects manages and retrieves Projects in the OpenStack Identity Service.
Package projects manages and retrieves Projects in the OpenStack Identity Service.
v3/regions
Package regions manages and retrieves Regions in the OpenStack Identity Service.
Package regions manages and retrieves Regions in the OpenStack Identity Service.
v3/roles
Package roles provides information and interaction with the roles API resource for the OpenStack Identity service.
Package roles provides information and interaction with the roles API resource for the OpenStack Identity service.
v3/roles/testing
roles unit tests
roles unit tests
v3/services
Package services provides information and interaction with the services API resource for the OpenStack Identity service.
Package services provides information and interaction with the services API resource for the OpenStack Identity service.
v3/services/testing
services unit tests
services unit tests
v3/tokens
Package tokens provides information and interaction with the token API resource for the OpenStack Identity service.
Package tokens provides information and interaction with the token API resource for the OpenStack Identity service.
v3/tokens/testing
tokens unit tests
tokens unit tests
v3/users
Package users manages and retrieves Users in the OpenStack Identity Service.
Package users manages and retrieves Users in the OpenStack Identity Service.
imageservice
v2/imagedata
Package imagedata enables management of image data.
Package imagedata enables management of image data.
v2/imagedata/testing
imagedata unit tests
imagedata unit tests
v2/imageimport
Package imageimport enables management of images import and retrieval of the Imageservice Import API information.
Package imageimport enables management of images import and retrieval of the Imageservice Import API information.
v2/images
Package images enables management and retrieval of images from the OpenStack Image Service.
Package images enables management and retrieval of images from the OpenStack Image Service.
v2/images/testing
images unit tests
images unit tests
v2/members
Package members enables management and retrieval of image members.
Package members enables management and retrieval of image members.
v2/members/testing
members unit tests
members unit tests
v2/tasks
Package tasks enables management and retrieval of tasks from the OpenStack Imageservice.
Package tasks enables management and retrieval of tasks from the OpenStack Imageservice.
v2/tasks/testing
tasks unit tests
tasks unit tests
keymanager
v1/acls
Package acls manages acls in the OpenStack Key Manager Service.
Package acls manages acls in the OpenStack Key Manager Service.
v1/containers
Package containers manages and retrieves containers in the OpenStack Key Manager Service.
Package containers manages and retrieves containers in the OpenStack Key Manager Service.
v1/orders
Package orders manages and retrieves orders in the OpenStack Key Manager Service.
Package orders manages and retrieves orders in the OpenStack Key Manager Service.
v1/secrets
Package secrets manages and retrieves secrets in the OpenStack Key Manager Service.
Package secrets manages and retrieves secrets in the OpenStack Key Manager Service.
loadbalancer
v2
Package lbaas_v2 provides information and interaction with the Load Balancer as a Service v2 extension for the OpenStack Networking service.
Package lbaas_v2 provides information and interaction with the Load Balancer as a Service v2 extension for the OpenStack Networking service.
v2/amphorae
Package amphorae provides information and interaction with Amphorae of OpenStack Load-balancing service.
Package amphorae provides information and interaction with Amphorae of OpenStack Load-balancing service.
v2/apiversions
Package apiversions provides information and interaction with the different API versions for the OpenStack Load Balancer service.
Package apiversions provides information and interaction with the different API versions for the OpenStack Load Balancer service.
v2/apiversions/testing
apiversions unit tests
apiversions unit tests
v2/l7policies
Package l7policies provides information and interaction with L7Policies and Rules of the LBaaS v2 extension for the OpenStack Networking service.
Package l7policies provides information and interaction with L7Policies and Rules of the LBaaS v2 extension for the OpenStack Networking service.
v2/l7policies/testing
l7policies unit tests
l7policies unit tests
v2/listeners
Package listeners provides information and interaction with Listeners of the LBaaS v2 extension for the OpenStack Networking service.
Package listeners provides information and interaction with Listeners of the LBaaS v2 extension for the OpenStack Networking service.
v2/listeners/testing
listeners unit tests
listeners unit tests
v2/loadbalancers
Package loadbalancers provides information and interaction with Load Balancers of the LBaaS v2 extension for the OpenStack Networking service.
Package loadbalancers provides information and interaction with Load Balancers of the LBaaS v2 extension for the OpenStack Networking service.
v2/loadbalancers/testing
loadbalancers unit tests
loadbalancers unit tests
v2/monitors
Package monitors provides information and interaction with Monitors of the LBaaS v2 extension for the OpenStack Networking service.
Package monitors provides information and interaction with Monitors of the LBaaS v2 extension for the OpenStack Networking service.
v2/monitors/testing
monitors unit tests
monitors unit tests
v2/pools
Package pools provides information and interaction with Pools and Members of the LBaaS v2 extension for the OpenStack Networking service.
Package pools provides information and interaction with Pools and Members of the LBaaS v2 extension for the OpenStack Networking service.
v2/pools/testing
pools unit tests
pools unit tests
v2/providers
Package providers provides information about the supported providers at OpenStack Octavia Load Balancing service.
Package providers provides information about the supported providers at OpenStack Octavia Load Balancing service.
v2/providers/testing
providers unit tests
providers unit tests
v2/quotas
Package quotas provides the ability to retrieve and manage Load Balancer quotas Example to Get project quotas projectID = "23d5d3f79dfa4f73b72b8b0b0063ec55" quotasInfo, err := quotas.Get(networkClient, projectID).Extract() if err != nil { log.Fatal(err) } fmt.Printf("quotas: %#v\n", quotasInfo) Example to Update project quotas projectID = "23d5d3f79dfa4f73b72b8b0b0063ec55" updateOpts := quotas.UpdateOpts{ Loadbalancer: gophercloud.IntToPointer(20), Listener: gophercloud.IntToPointer(40), Member: gophercloud.IntToPointer(200), Pool: gophercloud.IntToPointer(20), Healthmonitor: gophercloud.IntToPointer(1), L7Policy: gophercloud.IntToPointer(50), L7Rule: gophercloud.IntToPointer(100), } quotasInfo, err := quotas.Update(networkClient, projectID) if err != nil { log.Fatal(err) } fmt.Printf("quotas: %#v\n", quotasInfo)
Package quotas provides the ability to retrieve and manage Load Balancer quotas Example to Get project quotas projectID = "23d5d3f79dfa4f73b72b8b0b0063ec55" quotasInfo, err := quotas.Get(networkClient, projectID).Extract() if err != nil { log.Fatal(err) } fmt.Printf("quotas: %#v\n", quotasInfo) Example to Update project quotas projectID = "23d5d3f79dfa4f73b72b8b0b0063ec55" updateOpts := quotas.UpdateOpts{ Loadbalancer: gophercloud.IntToPointer(20), Listener: gophercloud.IntToPointer(40), Member: gophercloud.IntToPointer(200), Pool: gophercloud.IntToPointer(20), Healthmonitor: gophercloud.IntToPointer(1), L7Policy: gophercloud.IntToPointer(50), L7Rule: gophercloud.IntToPointer(100), } quotasInfo, err := quotas.Update(networkClient, projectID) if err != nil { log.Fatal(err) } fmt.Printf("quotas: %#v\n", quotasInfo)
v2/quotas/testing
quotas unit tests
quotas unit tests
messaging
v2/claims
Package claims provides information and interaction with the Zaqar API claims resource for the OpenStack Messaging service.
Package claims provides information and interaction with the Zaqar API claims resource for the OpenStack Messaging service.
v2/claims/testing
Claims unit tests
Claims unit tests
v2/messages
Package messages provides information and interaction with the messages through the OpenStack Messaging(Zaqar) service.
Package messages provides information and interaction with the messages through the OpenStack Messaging(Zaqar) service.
v2/messages/testing
messages unit tests
messages unit tests
v2/queues
Package queues provides information and interaction with the queues through the OpenStack Messaging (Zaqar) service.
Package queues provides information and interaction with the queues through the OpenStack Messaging (Zaqar) service.
v2/queues/testing
queues unit tests
queues unit tests
networking
v2/apiversions
Package apiversions provides information and interaction with the different API versions for the OpenStack Neutron service.
Package apiversions provides information and interaction with the different API versions for the OpenStack Neutron service.
v2/apiversions/testing
apiversions unit tests
apiversions unit tests
v2/extensions/agents
Package agents provides the ability to retrieve and manage Agents through the Neutron API.
Package agents provides the ability to retrieve and manage Agents through the Neutron API.
v2/extensions/agents/testing
agents unit tests
agents unit tests
v2/extensions/attributestags
Package attributestags manages Tags on Resources created by the OpenStack Neutron Service.
Package attributestags manages Tags on Resources created by the OpenStack Neutron Service.
v2/extensions/external
Package external provides information and interaction with the external extension for the OpenStack Networking service.
Package external provides information and interaction with the external extension for the OpenStack Networking service.
v2/extensions/external/testing
external unit tests
external unit tests
v2/extensions/extradhcpopts
Package extradhcpopts allow to work with extra DHCP functionality of Neutron ports.
Package extradhcpopts allow to work with extra DHCP functionality of Neutron ports.
v2/extensions/fwaas
Package fwaas provides information and interaction with the Firewall as a Service extension for the OpenStack Networking service.
Package fwaas provides information and interaction with the Firewall as a Service extension for the OpenStack Networking service.
v2/extensions/fwaas/firewalls
Package firewalls allows management and retrieval of firewalls from the OpenStack Networking Service.
Package firewalls allows management and retrieval of firewalls from the OpenStack Networking Service.
firewalls unit tests
v2/extensions/fwaas/policies
Package policies allows management and retrieval of Firewall Policies in the OpenStack Networking Service.
Package policies allows management and retrieval of Firewall Policies in the OpenStack Networking Service.
policies unit tests
v2/extensions/fwaas/routerinsertion
Package routerinsertion implements the fwaasrouterinsertion Firewall extension.
Package routerinsertion implements the fwaasrouterinsertion Firewall extension.
v2/extensions/fwaas/routerinsertion/testing
routerinsertion unit tests
routerinsertion unit tests
v2/extensions/fwaas/rules
Package rules enables management and retrieval of Firewall Rules in the OpenStack Networking Service.
Package rules enables management and retrieval of Firewall Rules in the OpenStack Networking Service.
rules unit tests
v2/extensions/fwaas_v2
Package fwaas provides information and interaction with the Firewall as a Service extension for the OpenStack Networking service.
Package fwaas provides information and interaction with the Firewall as a Service extension for the OpenStack Networking service.
v2/extensions/fwaas_v2/rules/testing
networking_extensions_fwaas_rules_v2
networking_extensions_fwaas_rules_v2
v2/extensions/layer3
Package layer3 provides access to the Layer-3 networking extension for the OpenStack Neutron service.
Package layer3 provides access to the Layer-3 networking extension for the OpenStack Neutron service.
v2/extensions/layer3/addressscopes
Package addressscopes provides the ability to retrieve and manage Address scopes through the Neutron API.
Package addressscopes provides the ability to retrieve and manage Address scopes through the Neutron API.
subnetpools unit tests
v2/extensions/layer3/floatingips
package floatingips enables management and retrieval of Floating IPs from the OpenStack Networking service.
package floatingips enables management and retrieval of Floating IPs from the OpenStack Networking service.
floatingips unit tests
v2/extensions/layer3/portforwarding
package portforwarding enables management and retrieval of port forwarding resources for Floating IPs from the OpenStack Networking service.
package portforwarding enables management and retrieval of port forwarding resources for Floating IPs from the OpenStack Networking service.
v2/extensions/layer3/portforwarding/testing
port forwarding unit tests
port forwarding unit tests
v2/extensions/layer3/routers
Package routers enables management and retrieval of Routers from the OpenStack Networking service.
Package routers enables management and retrieval of Routers from the OpenStack Networking service.
routers unit tests
v2/extensions/lbaas
Package lbaas provides information and interaction with the Load Balancer as a Service extension for the OpenStack Networking service.
Package lbaas provides information and interaction with the Load Balancer as a Service extension for the OpenStack Networking service.
v2/extensions/lbaas/members
Package members provides information and interaction with Members of the Load Balancer as a Service extension for the OpenStack Networking service.
Package members provides information and interaction with Members of the Load Balancer as a Service extension for the OpenStack Networking service.
members unit tests
v2/extensions/lbaas/monitors
Package monitors provides information and interaction with the Monitors of the Load Balancer as a Service extension for the OpenStack Networking Service.
Package monitors provides information and interaction with the Monitors of the Load Balancer as a Service extension for the OpenStack Networking Service.
monitors unit tests
v2/extensions/lbaas/pools
Package pools provides information and interaction with the Pools of the Load Balancing as a Service extension for the OpenStack Networking service.
Package pools provides information and interaction with the Pools of the Load Balancing as a Service extension for the OpenStack Networking service.
pools unit tests
v2/extensions/lbaas/vips
Package vips provides information and interaction with the Virtual IPs of the Load Balancing as a Service extension for the OpenStack Networking service.
Package vips provides information and interaction with the Virtual IPs of the Load Balancing as a Service extension for the OpenStack Networking service.
vips unit tests
v2/extensions/lbaas_v2
Package lbaas_v2 provides information and interaction with the Load Balancer as a Service v2 extension for the OpenStack Networking service.
Package lbaas_v2 provides information and interaction with the Load Balancer as a Service v2 extension for the OpenStack Networking service.
v2/extensions/lbaas_v2/l7policies
Package l7policies provides information and interaction with L7Policies and Rules of the LBaaS v2 extension for the OpenStack Networking service.
Package l7policies provides information and interaction with L7Policies and Rules of the LBaaS v2 extension for the OpenStack Networking service.
l7policies unit tests
v2/extensions/lbaas_v2/listeners
Package listeners provides information and interaction with Listeners of the LBaaS v2 extension for the OpenStack Networking service.
Package listeners provides information and interaction with Listeners of the LBaaS v2 extension for the OpenStack Networking service.
listeners unit tests
v2/extensions/lbaas_v2/loadbalancers
Package loadbalancers provides information and interaction with Load Balancers of the LBaaS v2 extension for the OpenStack Networking service.
Package loadbalancers provides information and interaction with Load Balancers of the LBaaS v2 extension for the OpenStack Networking service.
loadbalancers unit tests
v2/extensions/lbaas_v2/monitors
Package monitors provides information and interaction with Monitors of the LBaaS v2 extension for the OpenStack Networking service.
Package monitors provides information and interaction with Monitors of the LBaaS v2 extension for the OpenStack Networking service.
monitors unit tests
v2/extensions/lbaas_v2/pools
Package pools provides information and interaction with Pools and Members of the LBaaS v2 extension for the OpenStack Networking service.
Package pools provides information and interaction with Pools and Members of the LBaaS v2 extension for the OpenStack Networking service.
pools unit tests
v2/extensions/networkipavailabilities
Package networkipavailabilities provides the ability to retrieve and manage networkipavailabilities through the Neutron API.
Package networkipavailabilities provides the ability to retrieve and manage networkipavailabilities through the Neutron API.
v2/extensions/networkipavailabilities/testing
networkipavailabilities unit tests
networkipavailabilities unit tests
v2/extensions/portsbinding
Package portsbinding provides information and interaction with the port binding extension for the OpenStack Networking service.
Package portsbinding provides information and interaction with the port binding extension for the OpenStack Networking service.
v2/extensions/portsbinding/testing
portsbindings unit tests
portsbindings unit tests
v2/extensions/portsecurity
Package portsecurity provides information and interaction with the port security extension for the OpenStack Networking service.
Package portsecurity provides information and interaction with the port security extension for the OpenStack Networking service.
v2/extensions/provider
Package provider gives access to the provider Neutron plugin, allowing network extended attributes.
Package provider gives access to the provider Neutron plugin, allowing network extended attributes.
v2/extensions/provider/testing
provider unit tests
provider unit tests
v2/extensions/qos/policies
Package policies provides information and interaction with the QoS policy extension for the OpenStack Networking service.
Package policies provides information and interaction with the QoS policy extension for the OpenStack Networking service.
v2/extensions/qos/rules
Package rules provides the ability to retrieve and manage QoS policy rules through the Neutron API.
Package rules provides the ability to retrieve and manage QoS policy rules through the Neutron API.
v2/extensions/qos/rules/testing
QoS policy rules unit tests
QoS policy rules unit tests
v2/extensions/qos/ruletypes
Package ruletypes contains functionality for working with Neutron 'quality of service' rule-type resources.
Package ruletypes contains functionality for working with Neutron 'quality of service' rule-type resources.
qos unit tests
v2/extensions/quotas
Package quotas provides the ability to retrieve and manage Networking quotas through the Neutron API.
Package quotas provides the ability to retrieve and manage Networking quotas through the Neutron API.
v2/extensions/quotas/testing
quotas unit tests
quotas unit tests
v2/extensions/rbacpolicies
Package rbacpolicies contains functionality for working with Neutron RBAC Policies.
Package rbacpolicies contains functionality for working with Neutron RBAC Policies.
v2/extensions/rbacpolicies/testing
Package testing includes rbac unit tests
Package testing includes rbac unit tests
v2/extensions/security
Package security contains functionality to work with security group and security group rules Neutron resources.
Package security contains functionality to work with security group and security group rules Neutron resources.
v2/extensions/security/groups
Package groups provides information and interaction with Security Groups for the OpenStack Networking service.
Package groups provides information and interaction with Security Groups for the OpenStack Networking service.
groups unit tests
v2/extensions/security/rules
Package rules provides information and interaction with Security Group Rules for the OpenStack Networking service.
Package rules provides information and interaction with Security Group Rules for the OpenStack Networking service.
rules unit tests
v2/extensions/subnetpools
Package subnetpools provides the ability to retrieve and manage subnetpools through the Neutron API.
Package subnetpools provides the ability to retrieve and manage subnetpools through the Neutron API.
v2/extensions/subnetpools/testing
subnetpools unit tests
subnetpools unit tests
v2/extensions/testing
extensions unit tests
extensions unit tests
v2/extensions/trunks
Package trunks provides the ability to retrieve and manage trunks through the Neutron API.
Package trunks provides the ability to retrieve and manage trunks through the Neutron API.
v2/extensions/trunks/testing
trunks unit tests
trunks unit tests
v2/extensions/vlantransparent
Package vlantransparent provides the ability to retrieve and manage networks with the vlan-transparent extension through the Neutron API.
Package vlantransparent provides the ability to retrieve and manage networks with the vlan-transparent extension through the Neutron API.
v2/extensions/vlantransparent/testing
vlantransparent extension unit tests
vlantransparent extension unit tests
v2/extensions/vpnaas/endpointgroups
Package endpointgroups allows management of endpoint groups in the Openstack Network Service Example to create an Endpoint Group createOpts := endpointgroups.CreateOpts{ Name: groupName, Type: endpointgroups.TypeCIDR, Endpoints: []string{ "10.2.0.0/24", "10.3.0.0/24", }, } group, err := endpointgroups.Create(client, createOpts).Extract() if err != nil { return group, err } Example to retrieve an Endpoint Group group, err := endpointgroups.Get(client, "6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a").Extract() if err != nil { panic(err) } Example to Delete an Endpoint Group err := endpointgroups.Delete(client, "5291b189-fd84-46e5-84bd-78f40c05d69c").ExtractErr() if err != nil { panic(err) } Example to List Endpoint groups allPages, err := endpointgroups.List(client, nil).AllPages() if err != nil { panic(err) } allGroups, err := endpointgroups.ExtractEndpointGroups(allPages) if err != nil { panic(err) } Example to Update an endpoint group name := "updatedname" description := "updated description" updateOpts := endpointgroups.UpdateOpts{ Name: &name, Description: &description, } updatedPolicy, err := endpointgroups.Update(client, "5c561d9d-eaea-45f6-ae3e-08d1a7080828", updateOpts).Extract() if err != nil { panic(err) }
Package endpointgroups allows management of endpoint groups in the Openstack Network Service Example to create an Endpoint Group createOpts := endpointgroups.CreateOpts{ Name: groupName, Type: endpointgroups.TypeCIDR, Endpoints: []string{ "10.2.0.0/24", "10.3.0.0/24", }, } group, err := endpointgroups.Create(client, createOpts).Extract() if err != nil { return group, err } Example to retrieve an Endpoint Group group, err := endpointgroups.Get(client, "6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a").Extract() if err != nil { panic(err) } Example to Delete an Endpoint Group err := endpointgroups.Delete(client, "5291b189-fd84-46e5-84bd-78f40c05d69c").ExtractErr() if err != nil { panic(err) } Example to List Endpoint groups allPages, err := endpointgroups.List(client, nil).AllPages() if err != nil { panic(err) } allGroups, err := endpointgroups.ExtractEndpointGroups(allPages) if err != nil { panic(err) } Example to Update an endpoint group name := "updatedname" description := "updated description" updateOpts := endpointgroups.UpdateOpts{ Name: &name, Description: &description, } updatedPolicy, err := endpointgroups.Update(client, "5c561d9d-eaea-45f6-ae3e-08d1a7080828", updateOpts).Extract() if err != nil { panic(err) }
v2/extensions/vpnaas/ikepolicies
Package ikepolicies allows management and retrieval of IKE policies in the OpenStack Networking Service.
Package ikepolicies allows management and retrieval of IKE policies in the OpenStack Networking Service.
v2/extensions/vpnaas/ipsecpolicies
Package ipsecpolicies allows management and retrieval of IPSec Policies in the OpenStack Networking Service.
Package ipsecpolicies allows management and retrieval of IPSec Policies in the OpenStack Networking Service.
v2/extensions/vpnaas/services
Package services allows management and retrieval of VPN services in the OpenStack Networking Service.
Package services allows management and retrieval of VPN services in the OpenStack Networking Service.
v2/extensions/vpnaas/siteconnections
Package siteconnections allows management and retrieval of IPSec site connections in the OpenStack Networking Service.
Package siteconnections allows management and retrieval of IPSec site connections in the OpenStack Networking Service.
v2/networks
Package networks contains functionality for working with Neutron network resources.
Package networks contains functionality for working with Neutron network resources.
v2/networks/testing
networks unit tests
networks unit tests
v2/ports
Package ports contains functionality for working with Neutron port resources.
Package ports contains functionality for working with Neutron port resources.
v2/ports/testing
ports unit tests
ports unit tests
v2/subnets
Package subnets contains functionality for working with Neutron subnet resources.
Package subnets contains functionality for working with Neutron subnet resources.
v2/subnets/testing
subnets unit tests
subnets unit tests
objectstorage
v1/accounts
Package accounts contains functionality for working with Object Storage account resources.
Package accounts contains functionality for working with Object Storage account resources.
v1/accounts/testing
accounts unit tests
accounts unit tests
v1/containers
Package containers contains functionality for working with Object Storage container resources.
Package containers contains functionality for working with Object Storage container resources.
v1/containers/testing
containers unit tests
containers unit tests
v1/objects
Package objects contains functionality for working with Object Storage object resources.
Package objects contains functionality for working with Object Storage object resources.
v1/objects/testing
objects unit tests
objects unit tests
v1/swauth
Package swauth implements Swift's built-in authentication.
Package swauth implements Swift's built-in authentication.
v1/swauth/testing
swauth unit tests
swauth unit tests
orchestration
v1/apiversions
Package apiversions provides information and interaction with the different API versions for the OpenStack Heat service.
Package apiversions provides information and interaction with the different API versions for the OpenStack Heat service.
v1/apiversions/testing
orchestration_apiversions_v1
orchestration_apiversions_v1
v1/buildinfo
Package buildinfo provides build information about heat deployments.
Package buildinfo provides build information about heat deployments.
v1/buildinfo/testing
orchestration_buildinfo_v1
orchestration_buildinfo_v1
v1/resourcetypes
Package resourcetypes provides operations for listing available resource types, obtaining their properties schema, and generating example templates that can be customised to use as provider templates.
Package resourcetypes provides operations for listing available resource types, obtaining their properties schema, and generating example templates that can be customised to use as provider templates.
v1/stackevents
Package stackevents provides operations for finding, listing, and retrieving stack events.
Package stackevents provides operations for finding, listing, and retrieving stack events.
v1/stackevents/testing
orchestration_stackevents_v1
orchestration_stackevents_v1
v1/stackresources
Package stackresources provides operations for working with stack resources.
Package stackresources provides operations for working with stack resources.
v1/stackresources/testing
orchestration_stackresources_v1
orchestration_stackresources_v1
v1/stacks
Package stacks provides operation for working with Heat stacks.
Package stacks provides operation for working with Heat stacks.
v1/stacks/testing
orchestration_stacks_v1
orchestration_stacks_v1
v1/stacktemplates
Package stacktemplates provides operations for working with Heat templates.
Package stacktemplates provides operations for working with Heat templates.
v1/stacktemplates/testing
orchestration_stacktemplates_v1
orchestration_stacktemplates_v1
placement
v1/resourceproviders
Package resourceproviders creates and lists all resource providers from the OpenStack Placement service.
Package resourceproviders creates and lists all resource providers from the OpenStack Placement service.
v1/resourceproviders/testing
placement resource providers
placement resource providers
sharedfilesystems
apiversions
Package apiversions provides information and interaction with the different API versions for the Shared File System service, code-named Manila.
Package apiversions provides information and interaction with the different API versions for the Shared File System service, code-named Manila.
apiversions/testing
apiversions_v1
apiversions_v1
v2/shares
Package shares provides information and interaction with the different API versions for the Shared File System service, code-named Manila.
Package shares provides information and interaction with the different API versions for the Shared File System service, code-named Manila.
openstack
openstack
testing
utils
utils
workflow
v2/crontriggers
Package crontriggers provides interaction with the cron triggers API in the OpenStack Mistral service.
Package crontriggers provides interaction with the cron triggers API in the OpenStack Mistral service.
v2/executions
Package executions provides interaction with the execution API in the OpenStack Mistral service.
Package executions provides interaction with the execution API in the OpenStack Mistral service.
v2/workflows
Package workflows provides interaction with the workflows API in the OpenStack Mistral service.
Package workflows provides interaction with the workflows API in the OpenStack Mistral service.

Jump to

Keyboard shortcuts

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