eucalyptus/eutester — pull request #228 by hspencer77 (2013-12-18 14:50:03+00:00)
Title: Added testcase for Instance Profile Information Presented in Instance Metadata Service

Added a testcase that allows Instance Profile Name/ARN to be passed when running instances. This case was developed to test the metadata service (http://169.254.169.254/latest/metadata/)regarding instance profile of an instance for consistency.
The following meta-data attributes are tested:
* iam/security-credentials/
* iam/info/instance-profile-arn
* iam/info/instance-profile-id
* iam/info/last-updated-date
If any of these tests fail, the test case will error out; logging the results.

Examples of using either instance profile name or instance profile ARN in testcase are below:
* https://gist.github.com/hspencer77/7142e13c73e2d49fa422
* https://gist.github.com/hspencer77/4550270c37e54b20edcd