summaryrefslogtreecommitdiffstats
path: root/nova/flags.py
diff options
context:
space:
mode:
authorRick Harris <rconradharris@gmail.com>2012-06-25 22:49:17 +0000
committerRick Harris <rconradharris@gmail.com>2012-10-03 21:29:46 +0000
commit216a83da476f2ea1ca3fcc6af3ac7dce6c20db27 (patch)
treec8cf8540f88950e08e0c12bc1d1f9d80258eadd1 /nova/flags.py
parent1d4506c16aec9674be6a3685ba585a8bbd9c1559 (diff)
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
Diffstat (limited to 'nova/flags.py')
-rw-r--r--nova/flags.py3
1 files changed, 2 insertions, 1 deletions
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',