1
0
Fork 0
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:
Eric Stonfer 2012-01-31 23:30:44 -05:00
parent fdcc2a12de
commit 39e6d267d6
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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)