Lines Matching refs:route_table

393     route_table = None
399 route_table = route_tables[0]
401 return route_table
406 route_table = None
415 route_table = table
421 return route_table
451 def ensure_routes(connection=None, module=None, route_table=None, route_specs=None, argument
453 routes_to_match = list(route_table['Routes'])
488 RouteTableId=route_table['RouteTableId'],
495 … connection.replace_route(aws_retry=True, RouteTableId=route_table['RouteTableId'], **route_spec)
501 … connection.create_route(aws_retry=True, RouteTableId=route_table['RouteTableId'], **route_spec)
517 for route_table in route_tables:
518 if route_table['RouteTableId'] is None:
520 for a in route_table['Associations']:
524 if route_table['RouteTableId'] == route_table_id:
544 def ensure_subnet_associations(connection=None, module=None, route_table=None, subnets=None, argument
546 …current_association_ids = [a['RouteTableAssociationId'] for a in route_table['Associations'] if no…
551 connection=connection, module=module, vpc_id=route_table['VpcId'],
552 route_table_id=route_table['RouteTableId'], subnet_id=subnet['SubnetId'],
574 def ensure_propagation(connection=None, module=None, route_table=None, propagating_vgw_ids=None, argument
577 gateways = [gateway['GatewayId'] for gateway in route_table['PropagatingVgws']]
586 RouteTableId=route_table['RouteTableId'],
604 route_table = get_route_table_by_tags(connection, module, vpc_id, tags)
606 route_table = None
608 route_table = get_route_table_by_id(connection, module, route_table_id)
610 if route_table is None:
615 ensure_subnet_associations(connection=connection, module=module, route_table=route_table,
618 connection.delete_route_table(aws_retry=True, RouteTableId=route_table['RouteTableId'])
625 def get_route_table_info(connection, module, route_table): argument
626 result = get_route_table_by_id(connection, module, route_table['RouteTableId'])
628 result['Tags'] = describe_tags_with_backoff(connection, route_table['RouteTableId'])
671 route_table = get_route_table_by_tags(connection, module, vpc_id, tags)
675 route_table = None
678 route_table = get_route_table_by_id(connection, module, route_table_id)
683 if route_table is None:
687route_table = connection.create_route_table(aws_retry=True, VpcId=vpc_id)['RouteTable']
692 RouteTableIds=[route_table['RouteTableId']],
699 route_table = {"id": "rtb-xxxxxxxx", "route_table_id": "rtb-xxxxxxxx", "vpc_id": vpc_id}
700 module.exit_json(changed=changed, route_table=route_table)
703 result = ensure_routes(connection=connection, module=module, route_table=route_table,
709 result = ensure_propagation(connection=connection, module=module, route_table=route_table,
714 …result = ensure_tags(connection=connection, module=module, resource_id=route_table['RouteTableId']…
716 route_table['Tags'] = result['tags']
722 … result = ensure_subnet_associations(connection=connection, module=module, route_table=route_table,
730 …module.exit_json(changed=changed, route_table=get_route_table_info(connection, module, route_table