Joseph Lawson
866d8b4ea8
allow get_filter_value to return state of ami and test
...
* updated Ami.get_filter_value to return the state value of the AMI
* updated test_ec2.test_amis.test_ami_filters to test for AMIs in the state of 'available'
2014-09-30 16:12:23 -04:00
Omer Katz
89bd78b927
Added the ability to filter vpcs by tags.
2014-09-30 17:58:02 +03:00
Omer Katz
ecb23485d0
VPCs can now be filtered by cider block and dhcp options id
2014-09-30 17:29:50 +03:00
Omer Katz
a1be4b7f61
VPCs can now be filtered by id.
2014-09-30 17:08:36 +03:00
dreadpirateshawn
635a0e0f64
AMI: Implement copy_image. (part 3, added boto version threshold)
2014-09-29 12:28:53 -07:00
dreadpirateshawn
a4fdce2e55
AMI: Implement copy_image.
2014-09-29 12:06:36 -07:00
dreadpirateshawn
b847d420e9
Network Interfaces: Added attach/detach support. (added test threshold for Boto 2.32)
2014-09-12 11:51:50 -07:00
dreadpirateshawn
04a4ae88bf
Network Interfaces: Added attach/detach support.
2014-09-12 10:53:37 -07:00
dreadpirateshawn
f4d2623a4c
DescribeInstances: Added block_device_mapping to XML
2014-09-11 11:29:20 -07:00
Steve Pulec
b8afb3be90
Merge pull request #198 from DreadPirateShawn/VPCDefaultSecurityGroup
...
VPC: Added default security group upon creation.
2014-09-10 20:57:47 -04:00
Shawn Falkner-Horine
c2cd5b346f
Routes: Fixed vpc_peering_connection_id in describe route tables.
2014-09-10 12:22:01 -07:00
Shawn Falkner-Horine
2cf97ef193
VPC: Added default security group upon creation.
2014-09-10 11:15:43 -07:00
Shawn Falkner-Horine
3f266ebc2b
Security Groups: Fix for filtering support.
2014-09-10 09:42:38 -07:00
Steve Pulec
f0a6510ca3
Merge pull request #191 from DreadPirateShawn/ImplementNetworkInterfaces
...
Network Interfaces: Initial implementation.
2014-09-09 21:12:06 -04:00
Steve Pulec
1bbb7a70ad
Merge pull request #188 from DreadPirateShawn/ImplementRouteTables
...
Route Tables / Routes: Initial implementation.
2014-09-09 20:48:43 -04:00
DreadPirateShawn
182436a5bf
Network Interfaces: Initial implementation. (Fixed unit test Boto version threshold for modify_network_interface_attribute.)
2014-09-08 23:05:40 -07:00
Steve Pulec
2cbdef663f
Merge pull request #186 from bobbyi/spot_instance_tags
...
Spot instance tags
2014-09-08 23:22:13 -04:00
Steve Pulec
3feaa39bd3
Merge pull request #185 from bobbyi/filter_instances_by_tag
...
Support filtering instances by tag
2014-09-08 23:19:43 -04:00
Shawn Falkner-Horine
42f8cea5e6
Network Interfaces: Initial implementation.
2014-09-08 16:50:18 -07:00
Shawn Falkner-Horine
02f1dc0b3e
Route Tables / Routes: Initial implementation. (Fixed deletion of main route table via deletion of VPC.)
2014-09-05 08:45:36 -07:00
Shawn Falkner-Horine
8aaa4c9873
Route Tables / Routes: Initial implementation. (Fixed unit test Boto version threshold for interface_id kwarg.)
2014-09-04 17:13:25 -07:00
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