Commit Graph

54 Commits

Author SHA1 Message Date
Michael Merrill
c3f06064ff
feature: handle overlapping routes (#5187) (#5233) 2022-06-15 21:14:29 +00:00
Brian Pandola
ab756c82b8
Add route.gateway-id filter for ec2:DescribeRouteTables (#5155) 2022-05-22 09:43:51 +00:00
Bert Blommers
10bd677cf2
Admin - enable more Pylint rules (#5037) 2022-04-18 20:44:56 +00:00
Bert Blommers
cf2690ca1e
Improvements - Autoscaling (#4985) 2022-03-29 21:46:06 +00:00
Bert Blommers
eed32a5f72
Pylint - Enable more rules on source and tests-directory (#4929) 2022-03-11 20:28:45 -01:00
Bert Blommers
29d01c35bc
Update Black + formatting (#4926) 2022-03-10 13:39:59 -01:00
Bert Blommers
aa70ee254d
Remove deprecated decorators + boto dependency (#4378) 2022-01-18 14:18:57 -01:00
Bert Blommers
36d5e1d7df
EC2 - DescribeRouteTables should always show main association (#4726) 2021-12-27 22:56:50 -01:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules (#4432) 2021-10-18 19:44:29 +00:00
Bert Blommers
8526013e61
Parallelize tests - Part 1 (#4368) 2021-10-05 17:11:07 +00:00
Bert Blommers
939b800e96
Rewrite deprecated EC2 tests (#3881) 2021-09-25 11:13:07 +00:00
Macwan Nevil
cb43134d44
fixed route-table vpc-endpoint integration (#4285) 2021-09-16 21:49:49 +00:00
Macwan Nevil
3885e20298
added support for prefix-list; improved support for replace route (#4273) 2021-09-10 07:09:47 +01:00
Bert Blommers
020257904e
Tech Debt - improve test coverage (#4229) 2021-08-27 11:28:10 +01:00
Macwan Nevil
f2b8318211
fixed owner id and delete rt (#4161) 2021-08-11 21:23:04 +01:00
tony-dot-sh
5fe3a707ed
fix route table association by internet gateway (#3773)
* fix route table association by internet gateway per https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateRouteTable.html

* Route53

 - Add test for route table association by internet gateway
 - Minor test tweak for Main route table values

TODO: explicitly set the route table main route association

* Route53

 - forgot subnet id association test

Co-authored-by: Tony Greising-Murschel <tony@platform.sh>
2021-03-16 14:15:58 +00:00
Bert Blommers
737636f9df
Tech debt (#3653) 2021-02-02 16:31:26 +00:00
Bert Blommers
77dd35e3b8
Use known ImageID in internal tests (#3555) 2021-01-13 09:02:11 +00:00
Matěj Cepl
5697ff87a8 Back to Black 2020-11-10 14:12:38 +01:00
Matěj Cepl
ea489bce6c Finish porting from nose to pytest. 2020-11-10 08:25:05 +01:00
Matěj Cepl
77dc60ea97 Port test suite from nose to pytest.
This just eliminates all errors on the tests collection. Elimination of
failures is left to the next commit.
2020-11-10 08:23:44 +01:00
usmangani1
f57a77451c
Fix:Added Tags for Network-ACL,RouteTable,InternetGateway (#3430)
* Fix:Added Tags for Network-ACL,RouteTable,InternetGateway

* Modified internet-gateway tags

* Lint

Co-authored-by: usmankb <usman@krazybee.com>
2020-11-02 13:30:02 +00:00
usmangani1
81be4b37a1
Fix: Ec2 - add destinationIpv6CIDR support. (#3106)
* Fix: Ec2 - add destinationIpv6CIDR support.

* removing unneccessary debug statements

* modifying existing test case

* Linting

Co-authored-by: usmankb <usman@krazybee.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-07-07 14:32:55 +01:00
usmangani1
475f022b78
Enhancement: EC2 added create route with networkInterfaceId (#3063)
* Enhancement:EC2- create route with network interfcaeID

* modifying existing test case

* Linting

Co-authored-by: usmankb <usman@krazybee.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-06-12 16:16:55 +01:00
Bert Blommers
2d0087d500 Linting 2020-04-29 16:29:25 +01:00
usmankb
f4888da334 added test asserts and review comments 2020-04-29 18:02:02 +05:30
usmankb
84100c4483 enhancement Create-VPC-endpoint 2020-04-29 00:28:19 +05:30
Asher Foa
d9d055c75d Fix more typos. 2020-01-23 10:15:02 -08:00
Berislav Kovacki
43070a03ba Add nat_gateway_id to route and describe_route_tables 2019-12-02 19:20:00 +01:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
Bendegúz Ács
f408709ef9 VPC IPv4 validation (#2026)
* Implemented throwing invalid subnet range error and fixed breaking tests.

* Implemented throwing invalid CIDR block parameter error for vpcs and subnets.

* Implemented throwing invalid destination CIDR block error.

* IPv6 addresses not accepted, strict checking disabled.

* Implemented throwing invalid subnet conflict error and fixed breaking tests.

* Implemented throwing invalid VPC range error and fixed breaking tests.

* Fixed accidentally removed ).

* Fixed test case trying to create two subnets with the same CIDR range.
2019-05-25 18:35:07 +01:00
Terry Cain
9ddf7fe436
Fixed some tests.
Some subnets were bogus so fixed that. Fixed issue where EC2-Classic was not respected.
RDS Deepcopy was breaking on subnet generator
2017-10-25 19:29:56 +01:00
Steve Pulec
f37bad0e00 Lints. 2017-02-23 21:37:43 -05:00
Steve Pulec
fde721bed7 Testing new version of decorator. 2017-02-15 22:35:45 -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
Yann Lambret
a06fa082a4 Add two tests for both boto and boto3 as the problem only affects boto3 client 2016-03-02 12:15:47 +01: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
1fc32fa5cb Add support for Route Table tagging 2014-11-20 14:08:38 -06:00
Steve Pulec
83481b589b Merge pull request #241 from DreadPirateShawn/RouteVPCPeeringConnection
Route vpc peering connection
2014-10-26 20:02:51 -04:00
dreadpirateshawn
b10d16e583 Routes: Fixed vpc_peering_connection_id in describe route tables. (Upgrade: Boto 2.32.1 ~> 2.34.0) 2014-10-23 11:54:20 -07:00
dreadpirateshawn
89fd71eb16 Route Tables: Added support for associate/disassociate subnets. (fixed idempotency) 2014-10-14 14:23:14 -07:00
dreadpirateshawn
50d74b4811 Route Tables: Added support for associate/disassociate subnets. (added test threshold for Boto 2.16) 2014-10-14 11:34:58 -07: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
d6b93af7fd Route Tables: Added support for associate/disassociate subnets. (removed wayward print) 2014-10-14 07:55:36 -07:00
dreadpirateshawn
5d046c76e5 Route Tables: Added support for associate/disassociate subnets. 2014-10-13 16:19:54 -07: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
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