Commit Graph

221 Commits

Author SHA1 Message Date
Daniel Lutsch
945b984538 Add private-dns-name filter and fix regional DNS (#1076)
* add private-dns-name to filter_dict_attribute_mapping

* add region_name attribute to Instance and InstanceResponse

* set dns name based on region

* test private-dns-name and network-interface.private-dns-name filters. checking both regional dns formats

* update test_ec2_classic_has_public_ip_address to use correct dns values
2017-08-23 01:39:50 -07:00
Christian Hellman
63b09eae13 Added DescribeAccountAttributes 2017-07-17 23:33:40 +00:00
Jerome Bosman
d1789624c4 Fix 2017-05-14 14:21:18 +01:00
Jerome Bosman
405b8af870 Fixed:
moto/ec2/models.py:1996:21: E131 continuation line unaligned for hanging indent
moto/ec2/models.py:2380:21: E131 continuation line unaligned for hanging indent
moto/ec2/models.py:2582:21: E131 continuation line unaligned for hanging indent
moto/ec2/responses/network_acls.py:91:1: E303 too many blank lines (4)
moto/ec2/responses/network_acls.py:198:4: W292 no newline at end of file
2017-05-14 13:12:28 +01:00
Jerome Bosman
b6d9b4f584 Replace and delete Network ACL Entries 2017-05-14 13:03:43 +01:00
Steve Pulec
97b920f6cf Fix ec2 tags in instance create. Closes #938. 2017-05-12 19:48:24 -04:00
Steve Pulec
0adebeed24 Merge #913. 2017-05-10 21:58:42 -04:00
Steve Pulec
5f3fbff627 Standardize on one account id (123456789012). 2017-03-15 22:21:04 -04:00
Christian Hellman
c271e31745 Fixed terraform deploy against moto fails (#857) 2017-03-12 12:40:49 -04:00
Steve Pulec
f37bad0e00 Lints. 2017-02-23 21:37:43 -05:00
Steve Pulec
81836b6981 Get standalone server mode working for all tests. 2017-02-23 19:43:48 -05:00
Steve Pulec
2d03182ae2 Migrate some sqs tests to boto3. 2017-02-11 19:41:09 -05:00
Jason DeTiberus
1045dca7b2 make instanceTenancy configurable for VPCs (#819)
* make instanceTenancy configurable for VPCs

* fix issue with setting tenenancy
2017-02-08 21:23:49 -05:00
Taro Sato
02324ad708 Add more availability regions and implement default VPC (#773)
Fix filter name for availability zone

Fix bug assuming dict keys are ordered

Fix tests

Fix tests

Fix bug
2017-01-11 20:37:57 -05:00
Steve Pulec
5c3d9b4ae1 Have spot requests launch instances. 2016-11-07 23:08:30 -05:00
Steve Pulec
5371044b6f Spot fleet (#760)
* initial spot fleet.

* Add cloudformation spot fleet support.

* If no spot fleet ids, return all.
2016-11-07 09:53:44 -05:00
Costy Petrisor
8689b40d23 made the security group endpoints that authorize or revoke firewall rules
to support batch rules (boto doesn't expose this, but botocore/boto3 does)
2016-10-20 19:34:11 +00:00
rocky4570fft
57ab70b05c fix up indentation 2016-10-16 00:56:49 +10:00
rocky4570fft
d6f76cbb43 Add dry_run to a number of EC2 services 2016-10-16 00:34:52 +10:00
Steve Pulec
27f1bece9b Fix assigning public ip to instances. Closes #729. 2016-10-12 22:02:13 -04:00
Rene Martin
4fa838e9fd Keep default dhcp_options id backwards compatiblity 2016-10-08 10:37:57 +01:00
Rene Martin
b06d439a81 Set the right dhcp_options id in the response
If the vpc has a dhcp_options associated with it the response should
include the right association.
2016-10-08 10:34:55 +01:00
Mervyn Russell
27495e01e5 Added support for creation date to Ami 2016-08-26 13:43:17 +01:00
Kieran Doonan
44195a9151 added encrypted attribute to snapshots 2016-07-04 14:29:33 +01:00
Kieran Doonan
a3c16bcc77 updated ebs response 2016-07-04 14:09:41 +01:00
Kieran Doonan
f9f0d4b7d9 encrypted attribute now respected in create_volume 2016-07-04 11:30:17 +01:00
Kieran Doonan
957678d33d create volume response updated 2016-07-04 11:25:51 +01:00
Kieran Doonan
9ea06399ba describe instances response now shows encrypted status 2016-07-04 11:24:13 +01:00
Yann Lambret
52a5346c9e Add support for VPC attributes management, and fix a bug about the default - not default status of a VPC 2016-05-12 22:36:09 +02:00
Yann Lambret
fdadd24ad3 Extend filtering support for elastic network interfaces 2016-05-08 00:19:01 +02:00
Steve Pulec
d82d64b8bd Add EBS snapshot filter. Closes #525. 2016-05-01 22:24:49 -04:00
Adam Romanek
b32fbf090a Fix security group ingress authorization for all protocols with no port spec 2016-04-26 11:00:04 +02:00
Yann Lambret
c793e0a23d Filtering implementation for DHCP options sets 2016-04-13 23:19:46 +02:00
Yann Lambret
6d4a48b019 Add support for 'ModifySubnetAttribute' action 2016-04-05 00:17:56 +02:00
Steve Pulec
d8a277ed55 Merge pull request #555 from yannlambret/fix-describe-route-tables-response
Fix a typo in DESCRIBE_ROUTE_TABLES_RESPONSE
2016-03-02 15:10:33 -05:00
Yann Lambret
3afd4e0ea9 Correct a typo in DESCRIBE_ROUTE_TABLES_RESPONSE string (duplicate tagSet) that causes buggy responses 2016-03-02 00:34:45 +01:00
Hugo Lopes Tavares
6222f335f3 Refactor NatGateways methods to use _get_param() 2016-03-01 13:57:41 -05:00
Hugo Lopes Tavares
21fb961c6a Implement NAT Gateway resource 2016-03-01 12:02:57 -05:00
Steve Pulec
b9df567445 Merge pull request #536 from andyjones/task/ec2-placement
Support placement when starting new instances
2016-02-14 16:54:05 -05:00
Steve Pulec
800f2403cf Merge pull request #533 from kevgliss/boto3DescribeInstancesSecurityGroups
Ensuring boto3 can correctly identify instance security groups
2016-02-14 16:47:01 -05:00
andy
7120b5e4b1 Support placement when starting new instances 2016-02-10 17:59:48 +00:00
kevgliss
c5016d9ddb ensuring boto3 can correctly identify instance security groups 2016-02-04 16:03:20 -08:00
gigimon
1ff24981ee * add filter by instance-id for describeAdresses 2016-02-03 18:05:25 +03:00
gigimon
cd062fc5fa * fix one place 2016-02-03 14:53:18 +03:00
gigimon
52eb16d765 * change api version to 2013-10-15 2016-02-02 16:15:18 +03:00
kevgliss
6bc4a8b38a Adds support for authorizing and revoking egress permissions 2016-01-15 12:36:11 -08:00
Steve Pulec
defd106523 Merge pull request #506 from DenverJ/volume_snapshot_filters
Add filters for describeVolumes and describeSnapshots.
2016-01-11 13:30:56 -05:00
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