X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Fplanetlab%2Fvroute.py;h=ad0b83e95299065a2cfee1886503046f9337f655;hb=38575a0f27f26511965771dde8320060b10252dd;hp=700756106898f6f4a321fb69504ead97f5a4b1fa;hpb=49e09dbdd2b07b1949812a048cc0a459b5b2171d;p=nepi.git diff --git a/src/nepi/resources/planetlab/vroute.py b/src/nepi/resources/planetlab/vroute.py index 70075610..ad0b83e9 100644 --- a/src/nepi/resources/planetlab/vroute.py +++ b/src/nepi/resources/planetlab/vroute.py @@ -148,7 +148,7 @@ class PlanetlabVroute(LinuxApplication): command = ["sudo -S python ${SRC}/pl-vroute.py"] command.append("-a %s" % self.get("action")) command.append("-n %s" % self.get("network")) - command.append("-p %d" % self.tap.get("prefix4")) + command.append("-p %d" % self.tap.get("endpoint_prefix")) command.append("-g %s" % self.tap.get("pointopoint")) command.append("-f %s" % self.tap.get("deviceName")) return " ".join(command) @@ -158,7 +158,7 @@ class PlanetlabVroute(LinuxApplication): command = ["sudo -S python ${SRC}/pl-vroute.py"] command.append("-a %s" % "del") command.append("-n %s" % self.get("network")) - command.append("-p %d" % self.tap.get("prefix4")) + command.append("-p %d" % self.tap.get("endpoint_prefix")) command.append("-g %s" % self.tap.get("pointopoint")) command.append("-f %s" % self.tap.get("deviceName")) return " ".join(command)