mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
rename ipv_6 to ipv6 in VPC attributes (with backward compatibility)
This commit is contained in:
parent
593886b74a
commit
e7e33ca635
1 changed files with 8 additions and 2 deletions
|
@ -13,8 +13,14 @@ module Fog
|
||||||
|
|
||||||
attribute :cidr_block_association_set, :aliases => 'cidrBlockAssociationSet'
|
attribute :cidr_block_association_set, :aliases => 'cidrBlockAssociationSet'
|
||||||
|
|
||||||
attribute :ipv_6_cidr_block_association_set, :aliases => 'ipv6CidrBlockAssociationSet'
|
attribute :ipv6_cidr_block_association_set, :aliases => 'ipv6CidrBlockAssociationSet'
|
||||||
attribute :amazon_provided_ipv_6_cidr_block, :aliases => 'amazonProvidedIpv6CidrBlock'
|
attribute :amazon_provided_ipv6_cidr_block, :aliases => 'amazonProvidedIpv6CidrBlock'
|
||||||
|
|
||||||
|
# Backward compatibility. Please use ipv6_cidr_block_association_set
|
||||||
|
alias_method :ipv_6_cidr_block_association_set, :ipv6_cidr_block_association_set
|
||||||
|
alias_method :ipv_6_cidr_block_association_set=, :ipv6_cidr_block_association_set=
|
||||||
|
alias_method :amazon_provided_ipv_6_cidr_block, :amazon_provided_ipv6_cidr_block
|
||||||
|
alias_method :amazon_provided_ipv_6_cidr_block=, :amazon_provided_ipv6_cidr_block=
|
||||||
|
|
||||||
def subnets
|
def subnets
|
||||||
service.subnets(:filters => {'vpcId' => self.identity}).all
|
service.subnets(:filters => {'vpcId' => self.identity}).all
|
||||||
|
|
Loading…
Reference in a new issue