Commit Graph

1099 Commits

Author SHA1 Message Date
Joe Topjian 102848525f Added CheckDelete to handle bad Gets. Also removed unneeded Get
from Delete.
2015-03-31 09:54:49 -06:00
Joe Topjian b7091414fe Volume Safe Delete
This commit ensures that a volume is detached from all instances
before it is deleted.

It also adds in an `attachment` exported parameter that shows details
of the volume's attachment(s).
2015-03-31 09:54:49 -06:00
Joe Topjian c3c4840baf openstack_compute_floatingip_v2
This commit adds a resource that allows the user to allocate,
deallocate, associate, and disassociate floating IPs through the
nova api.
2015-03-31 09:54:49 -06:00
Eric Bellemon d03b420e62 Replace perigee.UnexpectedResponseCodeError with gophercloud.UnexpectedResponseCodeError 2015-03-31 09:54:49 -06:00
Long Nguyen 42fb14f19a Added self option to security groups 2015-03-31 09:54:49 -06:00
Joe Topjian 79e5c419c3 Fixing rule/rules and re-arranged order for schema consistency 2015-03-31 09:54:49 -06:00
Joe Topjian 4c9a44b69f Added access_ip_v6 support
This commit populates access_ip_v6 by either the AccessIPv6 attribute
or by finding the first available IPv6 address.

This commit retains the original feature of setting the default ssh
connection to the IPv4 address unless one is not found. IPv6 access
can still be enabled by explicitly setting it in the resource paramters.

This commit also removes d.Set("host") in favor of SetConnInfo
2015-03-31 09:54:49 -06:00
Jon Perritt 633e98dffe security group rule fix; still not exporting rule ID 2015-03-31 09:54:49 -06:00
Joe Topjian 4df32aebed Changing how security groups are read for compute instances 2015-03-31 09:54:49 -06:00
Jon Perritt 64d53009a0 typeset->typelist 2015-03-31 09:54:49 -06:00
Jon Perritt bb6969a4c5 resize server on flavor_id or flavor_name change 2015-03-31 09:54:49 -06:00
Jon Perritt 49b01a4f0a update compute instance security group Read operation 2015-03-31 09:54:49 -06:00
Joe Topjian e5f2315bfe Instance volume attach
This commit adds the ability for instances to attach volumes from within their resource.
2015-03-31 09:54:48 -06:00
Joe Topjian 16ea14e8c9 Grammar fix 2015-03-31 09:54:48 -06:00
Joe Topjian b3438d07d6 This commit enables both the image_id and the image_name to be
computed, so that specifying one will populate the other.
2015-03-31 09:54:48 -06:00
Joe Topjian 768292c069 Support for flavor_name
This commit renames flavor_ref to flavor_id and adds the flavor_name
parameter. Users can now specify either a flavor ID or name when launching
instances.
2015-03-31 09:54:48 -06:00
Joe Topjian 74482abc5b Refactoring multiple results 2015-03-31 09:54:48 -06:00
Joe Topjian bad2c9f18d Accounting for multiple results of an image name
If multiple results are found, an error will be returned to the user.
2015-03-31 09:54:48 -06:00
Joe Topjian f51a53000f Support for image_name
This commit renames image_ref to image_id and adds the image_name
parameter. Users can now specify either an image UUID or image name
when launching instances.

image_name is preferrable as deployers/sysadmins generally regularly
deprecate/remove outdated and insecure images. Using a consistent
naming scheme allows end-users to always retrieve a working image.
2015-03-31 09:54:48 -06:00
Jon Perritt fafa946871 handle 404 (Not Found) in Get operations 2015-03-31 09:54:48 -06:00
Eric Bellemon 9b30ef4eb2 Remove region properties on acceptance tests 2015-03-31 09:54:48 -06:00
Eric Bellemon e9abf04e4b Add router interface resource 2015-03-31 09:54:48 -06:00
Eric Bellemon 32d0e36709 Add router resource 2015-03-31 09:54:48 -06:00
Julien Vey 132d5acb33 Make pool name configurable in tests 2015-03-31 09:54:48 -06:00
Julien Vey 760e03856e Manage floating IP in compute instances 2015-03-31 09:54:48 -06:00
Julien Vey 9aa9c90248 Add floating IP resource 2015-03-31 09:54:48 -06:00
Julien Vey aae87816f6 add ACTIVE as pending state when deleting instance 2015-03-31 09:54:48 -06:00
Julien Vey 8e9c6787dd Just try the first IP available if none found before
Some cloud don't implement correctly IP addresses.
Instead of failing during the provisionning, we just take the
first IP available and try with this one.
2015-03-31 09:54:48 -06:00
Jon Perritt ccd51ae3ab added ok codes to gophercloud -> update ServerV2StateRefreshFunc 2015-03-31 09:54:48 -06:00
Jon Perritt e2634562a4 define block_device schema 2015-03-31 09:54:48 -06:00
Jon Perritt 436ef9e53b boot from volume ops and docs 2015-03-31 09:54:48 -06:00
Jon Perritt 761d58df2f add container and volume resources 2015-03-31 09:54:48 -06:00
Jon Perritt a85067062d object storage v1 acceptance tests 2015-03-31 09:54:47 -06:00
Jon Perritt d2169e0e96 block storage v1 acceptance tests 2015-03-31 09:54:47 -06:00
Jon Perritt acd5a033f0 fix typo in client variable name 2015-03-31 09:54:47 -06:00
Jon Perritt f1ac6dbfec block storage volume v1 ops 2015-03-31 09:54:47 -06:00
Jon Perritt a5147f472b update metadata before actual Update op 2015-03-31 09:54:47 -06:00
Jon Perritt 43564d1c5c object storage container v1 ops 2015-03-31 09:54:47 -06:00
Jon Perritt 08672e697e networking subnets acceptance tests 2015-03-31 09:54:47 -06:00
Jon Perritt e040934077 networking networks acceptance tests 2015-03-31 09:54:47 -06:00
Jon Perritt d46d9a6540 lb vips acceptance tests 2015-03-31 09:54:47 -06:00
Jon Perritt e7a69d0a6c lb pools acceptance tests 2015-03-31 09:54:47 -06:00
Jon Perritt e08e97304f lb monitors acceptance tests 2015-03-31 09:54:47 -06:00
Jon Perritt 66129632b3 security groups acceptance tests 2015-03-31 09:54:47 -06:00
Jon Perritt fa15d41d45 UpdateOpts not optional 2015-03-31 09:54:47 -06:00
Jon Perritt b9395b36d2 update client methods 2015-03-31 09:54:47 -06:00
Jon Perritt 6b2f2df042 'rules' -> 'rule' 2015-03-31 09:54:47 -06:00
Jon Perritt 33d62bbdbf 'networks' -> 'network' 2015-03-31 09:54:47 -06:00
Jon Perritt 777c34cf7c move lb member ops into lb pool file 2015-03-31 09:54:47 -06:00
Jon Perritt 1aba665ad7 refactor service clients to *Config 2015-03-31 09:54:47 -06:00