mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-29 03:04:02 -04:00
- 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)
855 B
855 B
Compute
Floating IPs
github.com/gophercloud/gophercloud/openstack/compute/v2/extensions/floatingipis nowgithub.com/gophercloud/gophercloud/openstack/compute/v2/extensions/floatingipsfloatingips.Associateandfloatingips.Disassociatehave been removed.floatingips.DisassociateOptsis now required to disassociate a Floating IP.
Security Groups
secgroups.AddServerToGroupis nowsecgroups.AddServer.secgroups.RemoveServerFromGroupis nowsecgroups.RemoveServer.
Servers
-
servers.Rebootnow requires aservers.RebootOptsstruct:rebootOpts := &servers.RebootOpts{ Type: servers.SoftReboot, } res := servers.Reboot(client, server.ID, rebootOpts)
Identity
V3
Tokens
Token.ExpiresAtis now of typegophercloud.JSONRFC3339Milliinstead oftime.Time