Commit graph

336 commits

Author SHA1 Message Date
Allen Sanabria
2e42c72447 version bump 2016-08-03 12:38:05 -07:00
Allen Sanabria
79ea553200 Module requires boto due to ec2.py 2016-08-03 12:38:05 -07:00
Allen Sanabria
aa189b8d98 Added default result of None in catch statement 2016-08-03 12:38:05 -07:00
Allen Sanabria
ee523be26c Updated module to be compliant with test cases.
* Added integration tests
* Added unit tests
2016-08-03 12:38:05 -07:00
Allen Sanabria
349db85b00 Fixed the missing argument to get_eip_allocation_id_by_address 2016-08-03 12:38:05 -07:00
Allen Sanabria
f86c5f8465 Manage AWS Nat Gateways
* Create an AWS Nat Gateway.
* Delete an AWS Nat Gateway.
* If Nat Gateway exist in subnet and the option is passed to not create one, it will then return the Nat Gateway object.
2016-08-03 12:38:05 -07:00
Brian Coca
f6841eb51f send json string to api instead of dict 2016-07-28 15:19:14 -04:00
Brian Coca
6402d36af3 now using type=json which takes care of str/dict 2016-07-27 11:39:09 -04:00
Brian Coca
df79ca6352 fixes and refactoring of s3_bucket
policy should now accept and handle correctly both data structures or JSON strings
removed unused tag_set var
refactored code to make conditions clearer
rebased to allow for ceph changes, left ceph update on todo list
2016-07-27 11:39:09 -04:00
Kaz Cheng
db979dde74 Fix a number of issues around detecting nat gateways, how (#1511)
routes_to_delete is detected, propagating_vgw_ids and checking if
gateway_id exists.
2016-07-25 21:48:27 +02:00
Matt Clay
651a25f1a3 Remove duplicate requirements. 2016-07-21 13:04:15 -04:00
Ryan S. Brown
1a7d26a1b8 iam_server_certificate_facts: Correct call to get_server_certs 2016-07-14 16:24:51 -04:00
Allen Sanabria
f36ec115fc iam_server_certificate_facts: list all certs
If a server name isn't passed, retrieve all server certificates by
default. Change return value to a dict with the server_cert_name being
the key.
2016-07-14 16:23:49 -04:00
Allen Sanabria
4615a6cc76 iam_server_certificate_facts: change except to python 2.6 syntax 2016-07-14 16:22:40 -04:00
Allen Sanabria
c574dbee54 iam_server_certificate_facts: Retrieve attributes from server certificate
This module will allow you to retrieve all the attributes
related to a server certificate.
2016-07-14 16:22:21 -04:00
John Kerkstra
d5ebe033e3 ec2_vpc_route_table: fixes: #2377 (#2421)
fixed fatal error when propagating_vgw_ids is None
2016-07-08 00:43:12 +02:00
Abhijit Menon-Sen
dcb1ab6bed Merge pull request #1509 from hslee16/devel
adding public ip address to ec2_remote_facts
2016-07-02 15:02:23 +05:30
Constantin
602915c264 Documented returned structure. (#2510) 2016-07-01 10:56:03 +02:00
Stephen Granger
2490f87522 Included an example using the jinja 2 map function to return a list of (#2458)
subnet_ids.
2016-06-30 07:16:05 +02:00
Brad Davidson
8319d935ca New module ec2_vpc_nacl_facts 2016-06-27 12:36:33 -07:00
Ryan Brown
ac8e3f18a3 Merge pull request #1599 from jmunhoz/s3-bucket-ceph
Add Ceph RGW S3 compatibility
2016-06-27 13:14:07 -04:00
nitzmahone
709114d55f fix ec2_vpc_vgw exception handling issues 2016-06-22 17:26:41 -07:00
James Cammarata
d5a3f5ec5f Merge pull request #1709 from naslanidis/new_aws_module_ec2_vpc_vgw
New aws module for ec2 vpc virtual gateways
2016-06-22 13:39:50 -05:00
Stefan Horning
1da89cd5a1 Get EIP association information for ENI if EIP is associated (#2082) 2016-06-20 13:10:56 -04:00
Javier M. Mellid
2c1530b647 Imports should be near the top of the file
Prior to 2.1, imports of module_utils was actually a preprocessor-like
substitution. So importing at the bottom helped preserve line numbers when
debugging. We'll be moving these to the top of files as time goes on.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-06-18 01:01:09 +02:00
Javier M. Mellid
78b4829623 Adapt exception syntax to work under python3 in s3_bucket.py
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-06-18 01:01:06 +02:00
Javier M. Mellid
a87b2e38a0 Add Ceph RGW S3 compatibility
Ceph Object Gateway (Ceph RGW) is an object storage interface built on top of
librados to provide applications with a RESTful gateway to Ceph Storage
Clusters:

http://docs.ceph.com/docs/master/radosgw/

This patch adds the required bits to handle buckets with the RGW S3 RESTful API
properly.

It sticks to the AWS behaviour where possible while avoiding not yet
implemented features in the Ceph RGW API.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-06-18 01:01:01 +02:00
Rob
65fe9eb2b0 Add boto3 support to ec2_eni_facts (#2425) 2016-06-14 22:09:54 +02:00
Constantin
062c7607a4 Added block_device_mapping in the returned output (#1553) 2016-06-13 13:43:38 -04:00
Rob
0e9a820628 Use helper function for new module and rename (#2277) 2016-06-08 10:43:53 -07:00
Alex Lee
9391103f01 correcting spelling mistake 2016-06-08 08:59:35 -07:00
Alex Lee
62d7ded9ba adding public ip address 2016-06-08 08:59:35 -07:00
Nicolas Boutet
473e5d7969 Fix typo in documentation (#2359) 2016-06-02 09:55:27 +02:00
Stefan Horning
8e20fcfafe Streamlined ec2_elb_facts module return values with naming in ec2_elb… (#2081)
* Streamlined ec2_elb_facts module return values with naming in ec2_elb_lb (hosted zones)

* Keep the old return values for hosted zone to keep backwards compatibility
2016-05-28 01:56:02 +02:00
Toshio Kuratomi
5b2bf6f08a Fix python3 syntax compilation 2016-05-25 11:48:16 -07:00
Mike Mochan
698d2a55c5 update remote tags if changed 2016-05-25 11:46:31 -07:00
Mike Mochan
cab7437e32 added tagging for the remote account 2016-05-25 11:46:31 -07:00
Mike Mochan
9a303f1628 Updates to version and requirements 2016-05-25 11:46:31 -07:00
Mike Mochan
2934495efc Added tagging functionality 2016-05-25 11:46:31 -07:00
Mike Mochan
a58a12fc1f All calls to describe_vpc_peering_connections need to use the params dict 2016-05-25 11:46:31 -07:00
Mike Mochan
8ab4963e78 Remove unused vars and pass params dict to describe_peering_connections 2016-05-25 11:46:31 -07:00
Mike Mochan
2291fc00d2 update to capture peer status 2016-05-25 11:46:31 -07:00
Mike Mochan
2392395a47 removed obsolete ec2 resource object 2016-05-25 11:46:31 -07:00
Mike Mochan
10ce4d8b88 refactored to use dict invocation for calling client peerings functions 2016-05-25 11:46:31 -07:00
Mike Mochan
f6c7bdf9c5 updates to Documentation - Removed refs to Boto, added params dict() and removed obsolete if statements 2016-05-25 11:46:31 -07:00
Mike Mochan
34ae687ae3 cloud/amazon/ec2_vpc_peer.py 2016-05-25 11:46:31 -07:00
Mike Mochan
f84af48733 removed debug package 2016-05-25 11:46:31 -07:00
Mike Mochan
92dea03181 Version added, GPLv3 License header added 2016-05-25 11:46:31 -07:00
Mike Mochan
400484f69f Initial commit for cross account VPC peering module 2016-05-25 11:46:30 -07:00
Fernando José Pando
0d8eefe197 fixup sns topic subscriptions (#2232)
* fixup sns topic subscriptions

* return docs
2016-05-23 11:39:20 -04:00