Class: Dcmgr::Endpoints::Ec2Metadata

Inherits:
Sinatra::Base
  • Object
show all
Includes:
Logger
Defined in:
lib/dcmgr/endpoints/metadata.rb

Defined Under Namespace

Classes: UnknownSourceIpError

Constant Summary collapse

API_VERSIONS =
['latest', '2011-01-01']
TOP_LEVEL_ITEMS =
['meta-data', 'user-data' ]
TOP_LEVEL_METADATA_ITEMS =
[
 'ami-id',
 'ami-launch-index',
 'ami-manifest-path',
 'ancestor-ami-ids',
 'block-device-mapping/',
 'hostname',
 'instance-action',
 'instance-id',
 'instance-type',
 'kernel-id',
 'local-hostname',
 'local-ipv4',
 'mac',
 'network/',
 'placement/',
 'product-codes',
 'public-hostname',
 'public-ipv4',
 'public-keys/',
 'ramdisk-id',
 'reservation-id',
 'security-groups',
]

Method Summary

Methods included from Logger

create, default_logdev, included