The nova.api.metadata.base Module

Instance Metadata information.

class InstanceMetadata(instance, address=None, content=[], extra_md=None)

Instance metadata.

get_ec2_item(path_tokens)
get_ec2_metadata(version)
get_openstack_item(path_tokens)
lookup(path)
metadata_for_config_drive()

Yields (path, value) tuples for metadata elements.

exception InvalidMetadataPath

Bases: exceptions.Exception

exception InvalidMetadataVersion

Bases: exceptions.Exception

ec2_md_print(data)
find_path_in_tree(data, path_tokens)
get_metadata_by_address(address)

Previous topic

The nova.api.manager Module

Next topic

The nova.api.metadata.handler Module

This Page