Commit Graph

89 Commits

Author SHA1 Message Date
costypetrisor
a967ec0d39 made the Security Group backend throw the same error as AWS if the nb of sec groups limit is hit (#742)
* made the Security Group backend throw the same error as AWS if the security group limit is hit

* included in the security group limit the count of grants to other security groups & updated the unit tests to cover these

* refactored a few things about the sec group rule count limit
2017-01-18 21:37:55 -05:00
Steve Pulec
a292150087 Throw exception if same security group rule added twice. Closes #737. 2017-01-11 22:35:27 -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
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
Costy Petrisor
6f622b9689 an unit test for the bulk authorization and revokation of security group
rules
2016-10-20 18:14:22 +00:00
rocky4570fft
d6f76cbb43 Add dry_run to a number of EC2 services 2016-10-16 00:34:52 +10:00
Paul Cieslar
8e6dd13738 Addition of region to test_security_group_tagging_boto3 2016-06-23 12:38:17 +01:00
Paul Cieslar
35d200c420 Update to test for security group tagging
Support for describe_security_groups() in boto3
2016-06-23 12:03:29 +01: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
232b832563 Change type for IpProtocol key 2016-04-20 23:21:39 +02:00
Yann Lambret
f9267cff6c Fix egress rules management to autorize or revoke a security group 2016-04-20 23:01:09 +02:00
Yann Lambret
de68c94a0a Add the default outboud rule for security groups 2016-04-19 23:50:46 +02:00
kevgliss
6bc4a8b38a Adds support for authorizing and revoking egress permissions 2016-01-15 12:36:11 -08:00
Steve Pulec
6c9bba2ca1 Cleanup EC2 classic default security group. 2015-03-14 18:50:41 -04:00
Hugo Lopes Tavares
20d8318997 Add support to tag filtering to Security Groups 2015-02-24 17:56:26 -05:00
Steve Pulec
5ededbb297 Fix security group tags. Closes #301. 2015-02-14 08:57:14 -05:00
Joseph Lawson
b9f747fb4f test ip_ranges when authorizing security group ingress rules 2014-10-06 14:49:37 -04:00
Shawn Falkner-Horine
3f266ebc2b Security Groups: Fix for filtering support. 2014-09-10 09:42:38 -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
4201e6b430 from __future__ import unicode_literals 2014-08-27 11:33:55 -04: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
071c03e216 Error handling: Model-level validations, proper error responses. 2014-08-25 10:54:47 -07: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
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
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
Steve Pulec
59fe1abfdf Cleanup flake8 2013-08-03 17:21:25 -04:00
Steve Pulec
e993917d4c pep8 2013-03-05 08:35:18 -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
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
27a086409e adding ec2 stubs 2013-02-21 23:13:01 -05:00