Files
Packer-Cn/vendor/github.com/gophercloud/gophercloud/MIGRATING.md
T
Zanetti, David b43882748d Resync gophercloud OpenStack SDK with new repo
- github.com/rackspace/gophercloud is now feature frozen and is replaced by the repo at github.com/gophercloud/gophercloud
- Remove old vendored files for rackspace version of gophercloud
- Add new vendored version of gophercloud from new repo
- Fix various API changes in gophercloud
- Remove support for RackSpace API keys (not supported in new gophercloud repo)
2016-12-13 14:04:19 -08:00

855 B

Compute

Floating IPs

  • github.com/gophercloud/gophercloud/openstack/compute/v2/extensions/floatingip is now github.com/gophercloud/gophercloud/openstack/compute/v2/extensions/floatingips
  • floatingips.Associate and floatingips.Disassociate have been removed.
  • floatingips.DisassociateOpts is now required to disassociate a Floating IP.

Security Groups

  • secgroups.AddServerToGroup is now secgroups.AddServer.
  • secgroups.RemoveServerFromGroup is now secgroups.RemoveServer.

Servers

  • servers.Reboot now requires a servers.RebootOpts struct:

    rebootOpts := &servers.RebootOpts{
            Type: servers.SoftReboot,
    }
    res := servers.Reboot(client, server.ID, rebootOpts)
    

Identity

V3

Tokens

  • Token.ExpiresAt is now of type gophercloud.JSONRFC3339Milli instead of time.Time