Skip to content

Commit

Permalink
* Added CIDR range support
Browse files Browse the repository at this point in the history
  • Loading branch information
Chad Arimura authored and Chad Arimura committed Feb 9, 2010
1 parent cecbf50 commit ce1de67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/rds/rds.rb
Expand Up @@ -153,19 +153,19 @@ def describe_db_security_groups(options={})
end


def authorize_db_security_group_ingress(group_name, ec2_group_name, ec2_group_owner_id, options={})
def authorize_db_security_group_ingress_ec2group(group_name, ec2_group_name, ec2_group_owner_id, options={})
params = {}
params['DBSecurityGroupName'] = group_name
params['EC2SecurityGroupOwnerId'] = ec2_group_owner_id
params['EC2Security-GroupName'] = ec2_group_name
params['EC2SecurityGroupName'] = ec2_group_name
link = generate_request("AuthorizeDBSecurityGroupIngress", params)
resp = request_info_xml_simple(:rds_connection, @params, link, @logger)
rescue Exception
on_exception
end


def authorize_db_security_group_ingress(group_name, ip_range, options={})
def authorize_db_security_group_ingress_range(group_name, ip_range, options={})
params = {}
params['DBSecurityGroupName'] = group_name
params['CIDRIP'] = ip_range
Expand Down

0 comments on commit ce1de67

Please sign in to comment.