FdNetDevice working with PlanetLab TAPs
[nepi.git] / src / nepi / resources / planetlab / openvswitch / ovsport.py
index 4d863d5..f80db45 100644 (file)
@@ -186,6 +186,8 @@ class OVSPort(LinuxApplication):
         if remote_endpoint.is_rm_instance("planetlab::Tap"):
             self._vroute = self.ec.register_resource("planetlab::Vroute")
             self.ec.set(self._vroute, "action", "add")
+            self.ec.set(self._vroute, "prefix", remote_endpoint.get("prefix"))
+            self.ec.set(self._vroute, "nexthop", remote_endpoint.get("pointopoint"))
             self.ec.set(self._vroute, "network", self.get("network"))
 
             print "Vroute Guid :" + str(self._vroute)