mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
add subnet and vpc info to instance gets
This commit is contained in:
parent
fdcc2a12de
commit
39e6d267d6
2 changed files with 2 additions and 1 deletions
|
@ -41,6 +41,7 @@ module Fog
|
|||
attribute :tenancy
|
||||
attribute :tags, :aliases => 'tagSet'
|
||||
attribute :user_data
|
||||
attribute :vpc_id, :aliases => 'vpcId'
|
||||
|
||||
attr_accessor :password
|
||||
attr_writer :private_key, :private_key_path, :public_key, :public_key_path, :username
|
||||
|
|
|
@ -31,7 +31,7 @@ module Fog
|
|||
when 'architecture', 'clientToken', 'dnsName', 'imageId',
|
||||
'instanceId', 'instanceType', 'ipAddress', 'kernelId',
|
||||
'keyName', 'platform', 'privateDnsName', 'privateIpAddress', 'ramdiskId',
|
||||
'reason', 'rootDeviceType'
|
||||
'reason', 'rootDeviceType', 'subnetId', 'vpcId'
|
||||
@instance[name] = value
|
||||
when 'attachTime'
|
||||
@block_device_mapping[name] = Time.parse(value)
|
||||
|
|
Loading…
Reference in a new issue