diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2017-09-18 13:18:37 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-09-18 13:18:37 +0200 |
commit | fd32fd1d2e417b1abafb9ac780e900bde19af46a (patch) | |
tree | a07f5b896cc734f86b61f2dc2757339133a4207a | |
parent | a47f94f48fa4e6856ac1ac63e871aa8363035dc7 (diff) | |
download | rumba-fd32fd1d2e417b1abafb9ac780e900bde19af46a.tar.gz rumba-fd32fd1d2e417b1abafb9ac780e900bde19af46a.zip |
testbeds: jFed: Add swap_out method
This implements the swap_out method for the jFed plugin.
-rw-r--r-- | rumba/testbeds/jfed.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rumba/testbeds/jfed.py b/rumba/testbeds/jfed.py index d938179..a99a077 100644 --- a/rumba/testbeds/jfed.py +++ b/rumba/testbeds/jfed.py @@ -156,6 +156,12 @@ class Testbed(mod.Testbed): file.write(doc.toprettyxml()) file.close() + def swap_out(self, experiment): + subprocess.call(["java", "-jar", self.jfed_jar, "delete", "-S", + self.proj_name, "-s", + self.exp_name, "-p", self.cert_file, + "-P", self.password]) + def swap_in(self, experiment): self.create_rspec(experiment) |