From 216a83da476f2ea1ca3fcc6af3ac7dce6c20db27 Mon Sep 17 00:00:00 2001 From: Rick Harris Date: Mon, 25 Jun 2012 22:49:17 +0000 Subject: Add ability to download images via BitTorrent. This patch adds a new dom0 plugin which supports downloading images via BitTorrent. Torrent metadata files are assumed to be served from a webserver which is specified by the `torrent_base_url` config. Under the hood, the dom0 plugins calls out to rasterbar's libtorrent via Python bindings in order perform the initial download as well as the seeding thereafter. Implements BP xenserver-bittorrent-images Change-Id: I824720a6e3a37317080a22cd7405d2a88172c3ef --- nova/flags.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nova/flags.py') diff --git a/nova/flags.py b/nova/flags.py index 239e45385..9ab59bbe3 100644 --- a/nova/flags.py +++ b/nova/flags.py @@ -406,7 +406,8 @@ global_opts = [ 'image_type', 'backup_type', 'min_ram', - 'min_disk'], + 'min_disk', + 'bittorrent'], help='These are image properties which a snapshot should not' ' inherit from an instance'), cfg.BoolOpt('defer_iptables_apply', -- cgit