X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Fplanetlab%2Fopenvswitch%2Fovsport.py;h=6ec1a12a39230dbc7b912f7fe2ddd72672f35f73;hb=e55924b6886bd7382a28e1ae235c4810f852e163;hp=f2cfb3eb9d4ac87706902dec86a9ff38d52a2d65;hpb=7fed767f9f18ee81807950771145969cbb27b8a7;p=nepi.git diff --git a/src/nepi/resources/planetlab/openvswitch/ovsport.py b/src/nepi/resources/planetlab/openvswitch/ovsport.py index f2cfb3eb..6ec1a12a 100644 --- a/src/nepi/resources/planetlab/openvswitch/ovsport.py +++ b/src/nepi/resources/planetlab/openvswitch/ovsport.py @@ -3,9 +3,8 @@ # Copyright (C) 2013 INRIA # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation; # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -229,11 +228,13 @@ class PlanetlabOVSPort(LinuxApplication): command = " ".join(command) command = self.replace_paths(command) return command - - def verify_connection(self): + + def verify_connection(self, remote_endpoint, connection_app_home, + connection_run_home): self.ovsswitch.ovs_status() - def terminate_connection(self): + def terminate_connection(self, endpoint, connection_app_home, + connection_run_home): return True def check_status(self):