Denver Janke
82b0b12e45
Add filters for describeVolumes and describeSnapshots.
2016-01-11 15:46:30 +10:00
Steve Pulec
d2302bae21
Add Customer Gateway Support. Closes #465
2016-01-08 16:48:01 -05:00
Steve Pulec
42423f47e7
Merge pull request #466 from EarthmanT/support_get_all_dhcp_options_set
...
Adding Support for Get All DHCP Options
2015-12-21 15:18:41 -05:00
Steve Pulec
39fef4d367
Merge pull request #468 from EarthmanT/add_support_for_vpn_connections
...
Adding Support for VPN Connections
2015-12-21 15:18:05 -05:00
Marco Rucci
284641e8cf
Add support for default VPCs and subnets.
...
The first VPC created will be elected as default.
All subnets of the default VPC are considered default for their availability zone.
2015-12-06 20:58:54 +01:00
earthmant
c5bf9d8c94
replacing the usage
...
of dhcp_opt_ids_from_querystring with sequence_from_querystring
2015-12-03 13:49:08 +02:00
earthmant
76a939cee6
making requested fix
...
used sequence_from_querystring and removed added functon vpn_connection_ids_from_query_string
added tests
2015-12-03 13:35:48 +02:00
earthmant
39c3c5c8aa
Adding Support for VPN Connections
...
support create, delete, describe
2015-11-25 16:38:02 +02:00
earthmant
41873b59f7
Adding Support for Get All DHCP Options
...
add DescribeDhcpOptionsResponse
support filtering describe_dhcp_options
add get_all_dhcp_options
2015-11-25 11:50:58 +02:00
earthmant
18fe3e41e9
Support default ACL in a VPC
...
a vpc usually has a default acl
this makes sure that moto flags it
and that the describe response has it in there
2015-11-23 18:07:51 +02:00
Steve Pulec
cddf139bbc
Add ability to create EBS volumes from snapshots. Closes #447 .
2015-11-03 09:37:02 -05:00
Steve Pulec
d3e4c2c4b5
Add ability for specific backends to enable template escaping. Closes #441 .
2015-11-03 09:25:47 -05:00
Steve Pulec
1d58aae42a
Merge pull request #438 from ZuluPro/instancetypes
...
Added describe instance types
2015-11-01 14:30:32 -05:00
Enis Afgan
e07894c6e4
When adding security group rules, allow a source group only to be specified - as per boto docs & functionality
2015-10-29 07:27:35 +01:00
nuwan_ag
0b3ad166c0
Set snapshots to be in a completed state after being created and added
...
test case
2015-10-14 02:34:36 +11:00
ZuluPro
b85b415977
Implemented import key pair
2015-09-24 17:34:08 +02:00
Anthony Monthe
0999a49b5b
Added describe instance types
2015-09-23 14:50:47 +02:00
Rob Walker
2bb79824ce
Volume attachments to show in instance.
...
Volumes and Snapshots to be searchable by their id
Placement of instance to match region connection
Times for creation and attachment to show based on api call
2015-07-26 09:37:20 +10:00
Steve Pulec
20306c9b24
Set more default datetimes.
2015-06-22 17:02:10 -04:00
Steve Pulec
640cd2ce44
Better EC2 NIC Attachment datetimes.
2015-06-22 16:52:12 -04:00
Francisco De Freitas
e320190b42
Use dummy date instead of an invalid date
2015-04-28 13:39:48 +02:00
Hugo Lopes Tavares
65d51a5844
Make availability zone dynamic in Subnet Response templates
2015-04-08 16:47:43 -04:00
Hugo Lopes Tavares
56cb06041c
Add filter "availabilityZone" to DescribeSubnets and add availability zone support too
2015-04-08 15:07:29 -04:00
Steve Pulec
82214d2bc2
Fix bug with empty string for instance vpc_id. Closes #337 .
2015-03-28 14:30:30 -04:00
Hugo Lopes Tavares
4beda26007
Change SecurityGroupBackend.{authorize,revoke}_security_group_ingress() methods to receive group name or id, never both
2015-02-25 18:11:00 -05:00
Steve Pulec
747563e4ff
Cleanup tag escape testing.
2015-02-17 22:18:40 -05:00
Dennis Brandenburg
3bd1a62fe3
Escaping tags individually for building the describe_tags template to support get_all_tags
2015-02-17 10:23:15 +01:00
Steve Pulec
136873d49e
Cleanup public IPs for EC2 classic instances and fix some default ENI things.
2015-02-14 14:42:20 -05:00
Steve Pulec
5ededbb297
Fix security group tags. Closes #301 .
2015-02-14 08:57:14 -05:00
dreadpirateshawn
d631f869c1
ModifyImageAttribute: Added support for user permissions.
2015-01-23 09:43:54 -08:00
Steve Pulec
dd5cab8c63
Return random IP addresses for instances.
2015-01-21 21:58:38 -05:00
Chris Henry
19a1b74c5b
Change timestamp format to ISO 8601, as per http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html
2015-01-18 16:20:59 -05:00
Chris Henry
062256ada3
Use the current time when launching an instance.
2015-01-18 15:53:59 -05:00
Steve Pulec
56007660d8
Cleanup parameter parsing.
2014-12-31 13:23:08 -05:00
dreadpirateshawn
7ce83082ca
Merge remote-tracking branch 'origin/master' into ImproveTemplatePerformance
...
Conflicts:
moto/s3/responses.py
2014-12-12 12:51:29 -08:00
dreadpirateshawn
9affa7753d
Performance: Leverage jinja2's Environment to cache compiled Templates.
2014-12-12 12:46:07 -08:00
Tyler Sanders
b513d69313
Add support for route table routes to target virtual private gateways.
2014-12-09 12:07:14 -06:00
Tyler Sanders
db7757347a
Detach virtual private gateway support
2014-12-02 10:40:05 -06:00
Tyler Sanders
166fd69515
Virtual Private Gateway functionality
2014-12-02 10:28:09 -06:00
Tyler Sanders
9cbe8d57f4
Support instance security group/groupSet attribute modification and description
2014-11-27 11:05:39 -06:00
Tyler Sanders
1fc32fa5cb
Add support for Route Table tagging
2014-11-20 14:08:38 -06:00
Tyler Sanders
d511fd829b
Add support for Network ACL tagging
2014-11-20 12:04:34 -06:00
Steve Pulec
8954242086
Better is_public support for AMIs including filtering. Closes #263 .
2014-11-19 20:09:46 -05:00
Tyler Sanders
2a6c4c89bf
Fix conflict with subnet/network ACL association during subnet creation.
2014-11-17 09:37:38 -06:00
Steve Pulec
c77207a8b8
More flake8.
2014-11-15 09:53:45 -05:00
Steve Pulec
8bc8f09b47
Some flake8 cleanup.
2014-11-15 09:35:52 -05:00
Tyler Sanders
400d12b175
Add default Network ACL during VPC creation. Associate default Network ACL with a new subnet. Add support for associating a new Network ACL with a subnet.
2014-11-14 17:23:56 -06:00
Tyler Sanders
0f18dd597c
Add basic Network ACL create, describe support
2014-11-12 15:33:31 -06:00
Peter Van Bouwel
2f1f993793
Extend the DESCRIBE_SNAPSHOTS_RESPONSE to include the tagSet as documented by AWS. Also refactor the names of the tests I introduced in previous commits to be more descriptive. Finally some code cleanup, removing the get_tags method from classes and instead inherit from the TaggedEC2Resource class.
2014-11-09 15:00:40 +01:00
Peter Van Bouwel
17356fe56c
Extend the DESCRIBE_VOLUMES_RESPONSE to include the tagSet as documented by AWS on http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeVolumesSetItemResponseType.html . This is needed to pass the test that was added in previous commit.
2014-11-09 12:21:19 +01:00
Hugo Lopes Tavares
aa3cf9c806
Move filter logic from responses.InstanceResponse to models.InstanceBackend
2014-11-05 14:20:49 -05:00
Hugo Lopes Tavares
88684f10f2
Move filter logic from responses.InternetGateways to models.InternetGatewayBackend
2014-11-05 14:02:45 -05:00
Hugo Lopes Tavares
32af875386
Implement InternetGateway filters support
...
More information about IGW filters: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeInternetGateways.html#query-DescribeInternetGateways-filters
2014-11-05 12:26:29 -05:00
Steve Pulec
2d65b0a020
Some EC2 fixes for alternative regions.
2014-10-30 22:46:24 -04:00
Steve Pulec
2881c9b20c
Merge pull request #244 from DataDog/master
...
Add support for DescribeInstanceStatus' IncludeAllInstances option
2014-10-27 11:21:00 -04:00
Steve Pulec
83481b589b
Merge pull request #241 from DreadPirateShawn/RouteVPCPeeringConnection
...
Route vpc peering connection
2014-10-26 20:02:51 -04:00
Arthur Wang
31b55977c9
EC2: Add support for the IncludeAllInstances option in DescribeInstanceStatus
2014-10-24 19:48:29 +00:00
Dustin J. Mitchell
465629902c
use the current ec2 backend, not the default, for subnets
2014-10-23 22:36:05 -04:00
Dustin J. Mitchell
ad200286a5
use the current ec2 backend, not necessarily us-east-1, for vpc operations
2014-10-23 22:26:52 -04:00
dreadpirateshawn
4f847cfb4b
ModifyInstanceAttribute: Added support for 'SourceDestCheck.Value'.
2014-10-22 15:11:37 -07:00
Steve Pulec
bcef13700d
Merge pull request #234 from DataDog/add_instance_reason
...
EC2: Add instance state reason
2014-10-21 22:11:23 -04:00
Arthur Wang
6963866c7e
Add ec2 instance state reason
...
- Add instance.reason and instance.state_reason
(http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-Item
Type-StateReasonType.html)
- Add ec2 filtering by state-reason-code and state-reason-message
2014-10-20 19:56:34 +00:00
dreadpirateshawn
db044df0a9
Route Tables: Added support for associate/disassociate subnets. (added replace route table association)
2014-10-14 11:23:42 -07:00
dreadpirateshawn
5d046c76e5
Route Tables: Added support for associate/disassociate subnets.
2014-10-13 16:19:54 -07:00
Steve Pulec
68d2db55d4
Add VPC state.
2014-10-12 21:51:12 -04:00
Steve Pulec
b82507e41b
Add instance_id to spot instance requests. Closes #210 .
2014-10-05 22:55:36 -04:00
Steve Pulec
9de7969d2b
Fix merge conflicts.
2014-10-05 21:55:23 -04:00
Steve Pulec
f0724d458e
Merge pull request #216 from DreadPirateShawn/ImplementCopyImage
...
AMI: Implement copy_image.
2014-10-05 10:55:48 -04:00
Omer Katz
a1be4b7f61
VPCs can now be filtered by id.
2014-09-30 17:08:36 +03:00
dreadpirateshawn
a4fdce2e55
AMI: Implement copy_image.
2014-09-29 12:06:36 -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
Shawn Falkner-Horine
c2cd5b346f
Routes: Fixed vpc_peering_connection_id in describe route tables.
2014-09-10 12:22:01 -07:00
Steve Pulec
11dbe5c10f
Fix for vpc id in eni template.
2014-09-09 21:14:16 -04: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
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
c1497886f2
Small IAM param parsing cleanup.
2014-09-08 23:11:20 -04:00
Shawn Falkner-Horine
42f8cea5e6
Network Interfaces: Initial implementation.
2014-09-08 16:50:18 -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
Rory-Finnegan
c2dd4a7ee4
Fixed py33 errors.
2014-09-03 19:52:23 -04: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
Shawn Falkner-Horine
f9246def75
AMIs: Added ModifyImageAttribute and DescribeImages filtering.
2014-08-27 11:53:44 -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
1846f28b41
Merge pull request #170 from DreadPirateShawn/DescribeSubnetsFiltering
...
DescribeSubnets: Added support for 'filters' parameter.
2014-08-26 20:35:19 -04:00
Shawn Falkner-Horine
ebc0037659
Implementation for ModifySnapshotAttribute and DescribeSnapshotAttribute.
2014-08-26 15:16:58 -07:00
Hugo Lopes Tavares
82eef28937
Add multi-region support to EC2 Instances
2014-08-26 17:56:56 -04:00
Shawn Falkner-Horine
d683c3b291
DescribeSubnets: Added support for 'filters' parameter.
2014-08-26 13:25:37 -07:00
Shawn Falkner-Horine
d160f2c6d6
Error handling: Model-level validations, proper error responses. (removed deprecated error template)
2014-08-25 14:02:02 -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
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
Colin Johnson
853d6768ce
moto-152 - return vpc.id if exists else return nothing
2014-07-25 05:16:53 +00:00
Konstantinos Koukopoulos
60bba47624
switch to using boto's SpotInstanceRequest in backend
2014-06-17 19:04:38 +03:00
Ilya Sukhanov
bcb0e7a3d4
Implement internet gateway mocking
2014-06-08 09:45:18 -04: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
Chris St. Pierre
fab37942c4
Consistent _get_multi_param() function in responses
...
This abstracts _get_multi_param() into BaseResponse and makes it
always ensure that the string it has been given ends with a '.'. It
had been implemented in three different places, and in use it rarely
postpended a trailing period, which could make it match parameters it
shouldn't have.
2014-05-08 10:44:41 -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
815bb8846c
Change subnets to only have a reference to the vpc_id.
2014-03-28 16:37:55 -04:00
Steve Pulec
ef876dd27e
Fix merge conflicts. Add basic cloudformation support. Closes #111 .
2014-03-27 19:12:53 -04:00
Steve Pulec
140f1c2000
Add ability to launch instances with security groups.
2014-03-22 14:02:47 -04:00
Jon Haddad
2b4fe552d1
VPC support for adding rules improving
2014-03-20 17:52:49 -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
Konstantinos Koukopoulos
8db4097861
raise NotImplementedError when Filters are used in describe_key_pairs
2014-02-24 16:35:03 +02:00
Konstantinos Koukopoulos
e19967b7d5
support names in DescribeKeyPairs
2014-02-24 15:22:08 +02:00
Konstantinos Koukopoulos
72ae98128c
really delete key pair
2014-02-24 13:38:46 +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
35063ca743
make duplicate key pair test pass
2014-02-24 13:13:23 +02:00
Konstantinos Koukopoulos
ddfe478479
implement test for create_key_pair
2014-02-24 13:03:26 +02:00
Konstantinos Koukopoulos
65beb30054
create KeyPairBackend in ec2 model, use in keypair test
2014-02-24 12:42:50 +02:00
Konstantinos Koukopoulos
d438b05d41
return empty key pairs response
2014-02-24 12:18:52 +02:00
sgarcialaguna
e1366165d1
Fixed typo in REQUEST_POST_INSTANCES_TEMPLATE
2014-01-29 19:41:47 +01: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
c1f224954e
Cleanup some style
2013-12-29 08:59:07 -05:00
Steve Pulec
74e2c19865
Cleanup unused imports
2013-12-29 08:40:38 -05:00
Steve Pulec
f3890ffc31
Fix for EC2Response MRO
2013-12-29 08:34:07 -05:00
Steve Pulec
ec938ef904
Convert all EC2Response Mixins to subclasses.
2013-12-29 08:25:13 -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
0712d40f71
added vpc_id to deletion
2013-12-05 16:39:25 -08:00
Jon Haddad
6ad8e109e4
more concise jinja
2013-10-30 18:59:21 -07:00
Jon Haddad
9ae144bad8
correctly getting the vpc address back
2013-10-30 18:50:42 -07:00
Ilya Sukhanov
f8f8d25426
Implement Elastic IP
2013-10-08 22:30:21 -04:00
Ilya Sukhanov
a63601e481
Implement ImageId parameter in DescribeImages
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
3bddbb4af3
Test out py26 with new HTTPretty
2013-10-03 20:34:13 -04:00
Steve Pulec
a0e2cb3d98
Add EC2 spot instances
2013-08-17 18:11:29 -04:00
Steve Pulec
421a5e60af
Fix EC2 response tags. Closes #37 .
2013-07-17 12:48:21 -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
76ea9172da
Clean up ec2 instance state
2013-07-08 20:29:13 -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
9f19662d1c
allow passing user data to run_instances
2013-05-17 19:35:53 -04:00
Steve Pulec
47bd4c49a3
attempting to move to upstream httpretty
2013-05-03 19:33:13 -04:00
Steve Pulec
cd518d060e
move to httpretty fork instead of bundling it.
2013-03-17 18:13:21 -04:00