Commit Graph

252 Commits

Author SHA1 Message Date
Shawn Falkner-Horine
c4bae8af4f Route Tables / Routes: Initial implementation. (Commented out test which requires not-yet-released Boto 2.32.2.) 2014-09-04 16:50:36 -07:00
Shawn Falkner-Horine
22e6166e4e Route Tables / Routes: Initial implementation. 2014-09-04 16:23:59 -07:00
Bobby Impollonia
8ac549569e Add support for filtering spot instance requests 2014-09-04 12:39:14 -07:00
Bobby Impollonia
f029fe672d Add support for getting spot instance request tags 2014-09-04 12:38:09 -07:00
Bobby Impollonia
4403ea955f Support filtering instances by tag 2014-09-04 07:30:19 -07:00
Rory-Finnegan
665beda466 Added support to get_all_security_groups endpoint to actually filter groups.
- Filters by groupnames, group_ids and a filters. However, the filters option doesn't
   support owner-id and tags since neither attribute was readily available via the SecurityGroup object.

 - Also included a basic test to confirm it works.
2014-09-03 16:57:51 -04:00
David Baumgold
eedb4c4b73 Support Python 3 using six 2014-08-28 10:57:43 -04:00
Steve Pulec
cfda83dcba Merge pull request #180 from DreadPirateShawn/AMIsModifyAndDescribe
AMIs: Added ModifyImageAttribute and DescribeImages filtering.
2014-08-27 21:28:15 -04:00
Steve Pulec
ca13c141d3 Merge pull request #176 from singingwolfboy/unicode_literals
Unicode literals
2014-08-27 21:19:50 -04:00
Shawn Falkner-Horine
f9246def75 AMIs: Added ModifyImageAttribute and DescribeImages filtering. 2014-08-27 11:53:44 -07:00
Shawn Falkner-Horine
acaad7026b Remove VIM swap files. 2014-08-27 08:59:51 -07:00
David Baumgold
4201e6b430 from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00
Steve Pulec
b69179818c Merge pull request #175 from DreadPirateShawn/SnapshotAttributes
Implementation for ModifySnapshotAttribute and DescribeSnapshotAttribute.
2014-08-26 20:53:46 -04:00
Steve Pulec
8f79d71f3f Merge pull request #172 from DreadPirateShawn/CreateSubnetVPCValidation
Create subnet vpc validation
2014-08-26 20:36:26 -04:00
Steve Pulec
1846f28b41 Merge pull request #170 from DreadPirateShawn/DescribeSubnetsFiltering
DescribeSubnets: Added support for 'filters' parameter.
2014-08-26 20:35:19 -04:00
Hugo Lopes Tavares
55400038a8 Change test_regions.py to work with old boto versions 2014-08-26 18:44:19 -04:00
Shawn Falkner-Horine
ebc0037659 Implementation for ModifySnapshotAttribute and DescribeSnapshotAttribute. 2014-08-26 15:16:58 -07:00
Hugo Lopes Tavares
7e69c69ae0 Add multi-region support to Autoscaling 2014-08-26 17:56:56 -04:00
Hugo Lopes Tavares
82eef28937 Add multi-region support to EC2 Instances 2014-08-26 17:56:56 -04:00
Shawn Falkner-Horine
0ecae450a1 CreateSubnet: Added VPC ID validation. 2014-08-26 14:04:34 -07:00
Shawn Falkner-Horine
d683c3b291 DescribeSubnets: Added support for 'filters' parameter. 2014-08-26 13:25:37 -07:00
Shawn Falkner-Horine
5b56e89b60 Error handling: Model-level validations, proper error responses. (fixed typo) 2014-08-25 15:14:45 -07:00
Shawn Falkner-Horine
c97417d8e7 Error handling: Model-level validations, proper error responses. (backport assert_raises as context manager for Python 2.6) 2014-08-25 15:09:38 -07:00
Shawn Falkner-Horine
9938995e05 Error handling: Model-level validations, proper error responses. (added coverage for new instance status call) 2014-08-25 14:00:35 -07:00
Shawn Falkner-Horine
5c46898b17 Merge remote-tracking branch 'upstream/master'
Conflicts:
	moto/ec2/responses/instances.py
2014-08-25 13:43:23 -07:00
Shawn Falkner-Horine
071c03e216 Error handling: Model-level validations, proper error responses. 2014-08-25 10:54:47 -07:00
Andres Riancho
c65ff170b2 Fix NotImplementedError: The describe_instance_status action has not been implemented #163 2014-08-20 14:52:23 -03:00
Steve Pulec
195505948b Merge pull request #162 from andresriancho/master
Fix block device mapping #160
2014-08-20 07:39:24 -04:00
Steve Pulec
9d06ccf0cd Merge pull request #156 from DreadPirateShawn/VPCPeeringConnections
Add support for VPCPeeringConnections.
2014-08-20 07:38:28 -04:00
Andres Riancho
9c1032da58 Fix #160, implemented blockDeviceMapping modify_attribute set 2014-08-20 08:20:08 -03:00
Andres Riancho
e94a7ed6ff First, we make it crash #160 2014-08-20 08:20:06 -03:00
Shawn Falkner-Horine
bfafaf70df Update support for VPCPeeringConnections. (New boto version in Travis matrix and gte threshold for tests.) 2014-08-18 11:54:11 -07:00
Steve Pulec
d2fc7bb7f9 Merge pull request #139 from kouk/backendaccess
general support for access to backend models
2014-08-02 10:43:35 -04:00
Shawn Falkner-Horine
42a305239c Add support for VPCPeeringConnections. 2014-07-31 14:41:30 -07:00
Konstantinos Koukopoulos
955bd6feef add a test for model accessor 2014-07-29 15:29:52 +03:00
Steve Pulec
aec7d8e998 Merge pull request #138 from IlyaSukhanov/master
Implement internet gateway mocking
2014-06-17 22:28:16 -04:00
Ilya Sukhanov
bcb0e7a3d4 Implement internet gateway mocking 2014-06-08 09:45:18 -04:00
Christian Wittwer
6f3a056171 add test for instance filtering by instance-id 2014-06-05 11:12:55 +02:00
Steve Pulec
955b4c6c4a Add tagging to all applicable EC2 objects. Closes #66. 2014-05-11 19:00:28 -04:00
Steve Pulec
06481ebe7e Require a GroupDescription for security group creation. Closes #112. 2014-05-11 17:37:00 -04:00
Steve Pulec
8182b3baa8 Extend security group testing for VPC. 2014-05-11 17:13:48 -04:00
Chris St. Pierre
745368242e Allow passing security groups by ID when creating instances 2014-05-07 10:04:07 -04:00
Chris St. Pierre
b244457c4f Added key_name support to instances 2014-05-07 10:04:07 -04:00
Chris St. Pierre
4ba4dd5e26 Added subnet_id support to instances 2014-05-07 10:04:07 -04:00
Chris St. Pierre
5ba2b3cb9a Added instance_type support to instances 2014-05-07 10:04:07 -04:00
Ilya Sukhanov
15b750a277 Implement ec2 dhcp_options 2014-04-22 17:47:40 -04:00
Steve Pulec
140f1c2000 Add ability to launch instances with security groups. 2014-03-22 14:02:47 -04:00
Jon Haddad
77ab6d2022 removed unnecessary itertools chain.
added success test case around authorize & revoke
2014-03-21 13:31:00 -07:00
Jon Haddad
cbdc8ba183 We're getting back the correct group from get_security_group_from_id,
but hitting another issue with the source_group_name also using an id
rather than a name
2014-03-20 17:26:08 -07:00
Jon Haddad
1480f8b44a test which verifies authorizing rules within a VPC is broken see issue #108 2014-03-20 16:22:37 -07:00
Konstantinos Koukopoulos
e19967b7d5 support names in DescribeKeyPairs 2014-02-24 15:22:08 +02:00
Konstantinos Koukopoulos
38fa8de4b4 test for delete_key_pair 2014-02-24 13:35:42 +02:00
Konstantinos Koukopoulos
e7d2c2687a implement delete_key_pair, test zero case 2014-02-24 13:34:39 +02:00
Konstantinos Koukopoulos
99c6b8acbe test DescribeKeyPairs with more than one key pair 2014-02-24 13:20:47 +02:00
Konstantinos Koukopoulos
8b7c3a3312 add test for creating already existing keypair 2014-02-24 13:06:53 +02:00
Konstantinos Koukopoulos
ddfe478479 implement test for create_key_pair 2014-02-24 13:03:26 +02:00
Konstantinos Koukopoulos
c688e43a9a add test for create_key_pair 2014-02-24 12:24:46 +02:00
Konstantinos Koukopoulos
390d3b900c add a first failing unit test for keypairs 2014-02-24 12:08:00 +02:00
Hugo Lopes Tavares
90aa87d53e Fix DescribeImages to throw error if AMI requested does not exist 2014-01-28 18:15:29 -05:00
Steve Pulec
8b278eb05d Clean up querystring logic. 2013-12-29 21:50:25 -05:00
Jon Haddad
48ee4b600b updated SC methods to work with a group_id, which must be used if it's a group in a VPC 2013-12-06 14:34:13 -08:00
Jon Haddad
1eac424bf5 missed a commit 2013-12-05 17:56:46 -08:00
Jon Haddad
8781714f5c security group deletion 2013-12-05 17:00:35 -08:00
Jon Haddad
9cbac9bbf4 reworked internals, groups is now a dict of dicts. need to fix errors coming back from revoking and deleting groups 2013-10-30 20:11:15 -07:00
Jon Haddad
c3e4b5401c added new vpc security group test. failing 2013-10-30 17:55:13 -07:00
Ilya Sukhanov
f8f8d25426 Implement Elastic IP 2013-10-08 22:30:21 -04:00
Ilya Sukhanov
b5a454e0da When manipulating instance save end states instead of transitional
When starting an instance it should eventually enter running state. At
least in the normal case. So we report pending but save running, this
way when client requests state of instance a second time, we reply with
running.

Similar thing for stop/terminate/reboot.
2013-10-08 22:30:21 -04:00
Steve Pulec
a0e2cb3d98 Add EC2 spot instances 2013-08-17 18:11:29 -04:00
Steve Pulec
59fe1abfdf Cleanup flake8 2013-08-03 17:21:25 -04:00
Steve Pulec
421a5e60af Fix EC2 response tags. Closes #37. 2013-07-17 12:48:21 -04:00
Steve Pulec
af31744dbd If ec2 filtering exclude all instances for a reservation, remove the reservation from the results. 2013-07-08 22:25:25 -04:00
Steve Pulec
46f9430bdd Fix bug with modifying original reservations 2013-07-08 22:20:55 -04:00
Steve Pulec
257ca9f771 Add ec2 filtering by instance state 2013-07-08 21:18:05 -04:00
Steve Pulec
fda5f83f87 Properly implement ec2.get_all_instances filtering by instance id 2013-07-08 19:25:47 -04:00
Steve Pulec
c6d6a0273d Fix for iam credentials in boto version < 2.9 2013-06-27 00:01:33 -04:00
Steve Pulec
9f19662d1c allow passing user data to run_instances 2013-05-17 19:35:53 -04:00
Steve Pulec
2d98a9caef some more tests to bump coverage 2013-03-11 00:12:22 -04:00
Steve Pulec
316418df55 add subnets 2013-03-05 22:53:53 -05:00
Steve Pulec
584f1f01b6 add vpc commands 2013-03-05 22:33:41 -05:00
Steve Pulec
0d51349662 add get_console_output 2013-03-05 22:11:58 -05:00
Steve Pulec
e993917d4c pep8 2013-03-05 08:35:18 -05:00
Steve Pulec
a728b2581a Adding server mode 2013-03-05 08:14:43 -05:00
Steve Pulec
98fc1eeab9 update ec2 calls for boto 2.5 compat 2013-02-28 00:08:35 -05:00
Steve Pulec
a07ec2940d fix test 2013-02-26 00:31:24 -05:00
Steve Pulec
d32059f301 pep8 2013-02-26 00:31:01 -05:00
Steve Pulec
935e6bd95d fix tag deletion 2013-02-25 23:37:01 -05:00
Steve Pulec
156c9ba4c4 test ec2 not implemented 2013-02-25 23:29:15 -05:00
Steve Pulec
1b3eca72b0 clean up old ec2 code 2013-02-25 23:09:45 -05:00
Steve Pulec
e261b82f29 add most of the snapshot implementation 2013-02-23 18:01:41 -05:00
Steve Pulec
f92a3ec00f volume attaching and detaching working 2013-02-23 17:37:55 -05:00
Steve Pulec
1c8af2881a add security group ingress rules 2013-02-23 16:27:43 -05:00
Steve Pulec
31f992fbe5 add, delete, describe security groups 2013-02-23 15:26:54 -05:00
Steve Pulec
fbd9206f23 add basic zone and region endpoints 2013-02-23 14:51:19 -05:00
Steve Pulec
351aca3c68 clean up instance attribute modification and add base AMI stuff 2013-02-23 14:22:09 -05:00
Steve Pulec
27a086409e adding ec2 stubs 2013-02-21 23:13:01 -05:00
Steve Pulec
f824110ceb add ec2 tags 2013-02-20 23:19:43 -05:00
Steve Pulec
1d42cc3f53 add instance rebooting 2013-02-19 23:55:01 -05:00
Steve Pulec
1af038290d add instance attribute description and modification 2013-02-19 23:01:19 -05:00
Steve Pulec
7907585b65 make instance id parsing more generic 2013-02-18 23:06:23 -05:00
Steve Pulec
3a9c757e46 add instance stop/start 2013-02-18 21:56:22 -05:00
Steve Pulec
d1bb638ec7 remove .pyc 2013-02-18 16:28:08 -05:00
Steve Pulec
77d6df6531 basic ec2 and s3 working 2013-02-18 16:09:40 -05:00