adding public ip address

This commit is contained in:
Alex Lee 2016-01-17 14:01:09 -08:00
parent cb3e9d1545
commit 62d7ded9ba

View file

@ -113,6 +113,7 @@ def get_instance_info(instance):
'region': instance.region.name, 'region': instance.region.name,
'persistent': instance.persistent, 'persistent': instance.persistent,
'private_ip_address': instance.private_ip_address, 'private_ip_address': instance.private_ip_address,
'public_ip_adress': instance.ip_address,
'state': instance._state.name, 'state': instance._state.name,
'vpc_id': instance.vpc_id, 'vpc_id': instance.vpc_id,
} }