6f9ed562d5
Glance can expose direct URL locations to its clients. In current
versions of nova the only URL that can be accessed directly is file://.
This patch adds a notion of download plug-ins. With this new download
protocol modules can be added without disruption to the rest of the
code base. Based on the scheme of the URL returned from Glance a
plug-in will be loaded and used to download the data directly, instead
of first routing it through Glance. If anything fails in the process
the image will be downloaded by way of Glance.
Handlers are loaded with stevedore. To add a new module follow the example
in nova.image.downloads.file.py. The module is required to have two
functions:
get_download_hander():
This must return a child of nova.image.download.TransferBase
get_scheme():
Return the URL scheme that this module handles (ex: 'file')
If additional configuration is needed it can be added by the specific
plug-in (as shown by file_download_module_config included with this
patch submission). Once the module is created it must be added as an
entry point to the python installation. For those included with nova
this can be done by adding the following it setup.cfg:
[entry_points]
nova.download.modules =
file = nova.image.xfers.file
Additionally, as part of the multiple-locations work in Glance meta data
comes back with each location describing it. As an example,
this is needed for direct access to file URLs. Nova cannot assume that
every file URL is accessible on its mounted file systems, nor can it
assume that the mount points are the same. This patch solves that
problem for direct access to files.
blueprint image-multiple-location
Change-Id: I79b863c0075cebaadce5b630f22b81d2959ddbb1
146 lines
7.2 KiB
INI
146 lines
7.2 KiB
INI
[metadata]
|
|
name = nova
|
|
version = 2013.2
|
|
summary = Cloud computing fabric controller
|
|
description-file =
|
|
README.rst
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
home-page = http://www.openstack.org/
|
|
classifier =
|
|
Environment :: OpenStack
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.7
|
|
Programming Language :: Python :: 2.6
|
|
|
|
[global]
|
|
setup-hooks =
|
|
pbr.hooks.setup_hook
|
|
|
|
[files]
|
|
packages =
|
|
nova
|
|
|
|
[entry_points]
|
|
nova.image.download.modules =
|
|
file = nova.image.download.file
|
|
console_scripts =
|
|
nova-all = nova.cmd.all:main
|
|
nova-api = nova.cmd.api:main
|
|
nova-api-ec2 = nova.cmd.api_ec2:main
|
|
nova-api-metadata = nova.cmd.api_metadata:main
|
|
nova-api-os-compute = nova.cmd.api_os_compute:main
|
|
nova-baremetal-deploy-helper = nova.cmd.baremetal_deploy_helper:main
|
|
nova-baremetal-manage = nova.cmd.baremetal_manage:main
|
|
nova-rpc-zmq-receiver = nova.cmd.rpc_zmq_receiver:main
|
|
nova-cells = nova.cmd.cells:main
|
|
nova-cert = nova.cmd.cert:main
|
|
nova-clear-rabbit-queues = nova.cmd.clear_rabbit_queues:main
|
|
nova-compute = nova.cmd.compute:main
|
|
nova-conductor = nova.cmd.conductor:main
|
|
nova-console = nova.cmd.console:main
|
|
nova-consoleauth = nova.cmd.consoleauth:main
|
|
nova-dhcpbridge = nova.cmd.dhcpbridge:main
|
|
nova-manage = nova.cmd.manage:main
|
|
nova-network = nova.cmd.network:main
|
|
nova-novncproxy = nova.cmd.novncproxy:main
|
|
nova-objectstore = nova.cmd.objectstore:main
|
|
nova-rootwrap = nova.openstack.common.rootwrap.cmd:main
|
|
nova-scheduler = nova.cmd.scheduler:main
|
|
nova-spicehtml5proxy = nova.cmd.spicehtml5proxy:main
|
|
nova-xvpvncproxy = nova.cmd.xvpvncproxy:main
|
|
|
|
nova.api.v3.extensions =
|
|
admin_actions = nova.api.openstack.compute.plugins.v3.admin_actions:AdminActions
|
|
admin_password = nova.api.openstack.compute.plugins.v3.admin_password:AdminPassword
|
|
agents = nova.api.openstack.compute.plugins.v3.agents:Agents
|
|
aggregates = nova.api.openstack.compute.plugins.v3.aggregates:Aggregates
|
|
attach_interfaces = nova.api.openstack.compute.plugins.v3.attach_interfaces:AttachInterfaces
|
|
availability_zone = nova.api.openstack.compute.plugins.v3.availability_zone:AvailabilityZone
|
|
baremetal_nodes = nova.api.openstack.compute.plugins.v3.baremetal_nodes:BaremetalNodes
|
|
cells = nova.api.openstack.compute.plugins.v3.cells:Cells
|
|
certificates = nova.api.openstack.compute.plugins.v3.certificates:Certificates
|
|
config_drive = nova.api.openstack.compute.plugins.v3.config_drive:ConfigDrive
|
|
console_output = nova.api.openstack.compute.plugins.v3.console_output:ConsoleOutput
|
|
consoles = nova.api.openstack.compute.plugins.v3.consoles:Consoles
|
|
coverage = nova.api.openstack.compute.plugins.v3.coverage:Coverage
|
|
deferred_delete = nova.api.openstack.compute.plugins.v3.deferred_delete:DeferredDelete
|
|
evacuate = nova.api.openstack.compute.plugins.v3.evacuate:Evacuate
|
|
extended_availability_zone = nova.api.openstack.compute.plugins.v3.extended_availability_zone:ExtendedAvailabilityZone
|
|
extended_server_attributes = nova.api.openstack.compute.plugins.v3.extended_server_attributes:ExtendedServerAttributes
|
|
extended_status = nova.api.openstack.compute.plugins.v3.extended_status:ExtendedStatus
|
|
extended_volumes = nova.api.openstack.compute.plugins.v3.extended_volumes:ExtendedVolumes
|
|
extension_info = nova.api.openstack.compute.plugins.v3.extension_info:ExtensionInfo
|
|
fixed_ips = nova.api.openstack.compute.plugins.v3.fixed_ips:FixedIPs
|
|
flavors = nova.api.openstack.compute.plugins.v3.flavors:Flavors
|
|
flavor_access = nova.api.openstack.compute.plugins.v3.flavor_access:FlavorAccess
|
|
flavor_disabled = nova.api.openstack.compute.plugins.v3.flavor_disabled:FlavorDisabled
|
|
flavor_rxtx = nova.api.openstack.compute.plugins.v3.flavor_rxtx:FlavorRxtx
|
|
hide_server_addresses = nova.api.openstack.compute.plugins.v3.hide_server_addresses:HideServerAddresses
|
|
hosts = nova.api.openstack.compute.plugins.v3.hosts:Hosts
|
|
hypervisors = nova.api.openstack.compute.plugins.v3.hypervisors:Hypervisors
|
|
image_metadata = nova.api.openstack.compute.plugins.v3.image_metadata:ImageMetadata
|
|
images = nova.api.openstack.compute.plugins.v3.images:Images
|
|
instance_actions = nova.api.openstack.compute.plugins.v3.instance_actions:InstanceActions
|
|
ips = nova.api.openstack.compute.plugins.v3.ips:IPs
|
|
instance_usage_audit_log = nova.api.openstack.compute.plugins.v3.instance_usage_audit_log:InstanceUsageAuditLog
|
|
keypairs = nova.api.openstack.compute.plugins.v3.keypairs:Keypairs
|
|
limits = nova.api.openstack.compute.plugins.v3.limits:Limits
|
|
migrations = nova.api.openstack.compute.plugins.v3.migrations:Migrations
|
|
multinic = nova.api.openstack.compute.plugins.v3.multinic:Multinic
|
|
quota_classes = nova.api.openstack.compute.plugins.v3.quota_classes:QuotaClasses
|
|
quota_sets = nova.api.openstack.compute.plugins.v3.quota_sets:QuotaSets
|
|
remote_consoles = nova.api.openstack.compute.plugins.v3.remote_consoles:RemoteConsoles
|
|
rescue = nova.api.openstack.compute.plugins.v3.rescue:Rescue
|
|
scheduler_hints = nova.api.openstack.compute.plugins.v3.scheduler_hints:SchedulerHints
|
|
security_groups = nova.api.openstack.compute.plugins.v3.security_groups:SecurityGroups
|
|
server_diagnostics = nova.api.openstack.compute.plugins.v3.server_diagnostics:ServerDiagnostics
|
|
server_metadata = nova.api.openstack.compute.plugins.v3.server_metadata:ServerMetadata
|
|
server_password = nova.api.openstack.compute.plugins.v3.server_password:ServerPassword
|
|
servers = nova.api.openstack.compute.plugins.v3.servers:Servers
|
|
services = nova.api.openstack.compute.plugins.v3.services:Services
|
|
simple_tenant_usage = nova.api.openstack.compute.plugins.v3.simple_tenant_usage:SimpleTenantUsage
|
|
used_limits = nova.api.openstack.compute.plugins.v3.used_limits:UsedLimits
|
|
|
|
nova.api.v3.extensions.server.create =
|
|
availability_zone = nova.api.openstack.compute.plugins.v3.availability_zone:AvailabilityZone
|
|
config_drive = nova.api.openstack.compute.plugins.v3.config_drive:ConfigDrive
|
|
keypairs_create = nova.api.openstack.compute.plugins.v3.keypairs:Keypairs
|
|
scheduler_hints = nova.api.openstack.compute.plugins.v3.scheduler_hints:SchedulerHints
|
|
user_data = nova.api.openstack.compute.plugins.v3.user_data:UserData
|
|
|
|
nova.api.v3.extensions.server.create.deserialize =
|
|
availability_zone = nova.api.openstack.compute.plugins.v3.availability_zone:AvailabilityZone
|
|
config_drive = nova.api.openstack.compute.plugins.v3.config_drive:ConfigDrive
|
|
scheduler_hints = nova.api.openstack.compute.plugins.v3.scheduler_hints:SchedulerHints
|
|
user_data = nova.api.openstack.compute.plugins.v3.user_data:UserData
|
|
|
|
[build_sphinx]
|
|
all_files = 1
|
|
build-dir = doc/build
|
|
source-dir = doc/source
|
|
|
|
[egg_info]
|
|
tag_build =
|
|
tag_date = 0
|
|
tag_svn_revision = 0
|
|
|
|
[compile_catalog]
|
|
directory = nova/locale
|
|
domain = nova
|
|
|
|
[update_catalog]
|
|
domain = nova
|
|
output_dir = nova/locale
|
|
input_file = nova/locale/nova.pot
|
|
|
|
[extract_messages]
|
|
keywords = _ gettext ngettext l_ lazy_gettext
|
|
mapping_file = babel.cfg
|
|
output_file = nova/locale/nova.pot
|