diff options
author | Tobias Brunner <tobias@strongswan.org> | 2009-07-02 17:11:28 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2010-10-12 15:03:37 +0200 |
commit | 9b0847dd9a4be17cc667aa7e2cdea14092609053 (patch) | |
tree | 2ada9f01981f635cded08338c244db7d495d17f6 /src/dumm/ext/lib/dumm.rb | |
parent | f29396b87e57bc504aa3384f52817b4d2e5166c3 (diff) | |
download | strongswan-9b0847dd9a4be17cc667aa7e2cdea14092609053.tar.bz2 strongswan-9b0847dd9a4be17cc667aa7e2cdea14092609053.tar.xz |
Exposed the mutli-overlay functionality in the ruby bindings.
Overlays can be added to individual guests (which overlays exactly the
supplied directory) or to all guests (which overlays a subdirectory
with the guest's name to each guest).
The template functionality is provided as before.
Diffstat (limited to 'src/dumm/ext/lib/dumm.rb')
-rw-r--r-- | src/dumm/ext/lib/dumm.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dumm/ext/lib/dumm.rb b/src/dumm/ext/lib/dumm.rb index 25939e9f4..bb60aad8f 100644 --- a/src/dumm/ext/lib/dumm.rb +++ b/src/dumm/ext/lib/dumm.rb @@ -1,5 +1,5 @@ =begin - Copyright (C) 2008 Tobias Brunner + Copyright (C) 2008-2009 Tobias Brunner Hochschule fuer Technik Rapperswil This program is free software; you can redistribute it and/or modify it @@ -38,11 +38,11 @@ module Dumm end end - # unload templates, reset all guests and delete bridges + # unload template/overlays, reset all guests and delete bridges def reset Template.unload Guest.each { |guest| - guest.reset if guest.running? + guest.reset } Bridge.each { |bridge| bridge.delete |