X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Fplanetlab%2Fopenvswitch%2Fovsport.py;h=9bdc4153825c86d3f044e6fffc84f3faad392789;hb=d50ba1a08e541ded7a8b322493ebb1d0cc59c6ff;hp=107c809d48b680ab5448de8a48edf7c1595034dd;hpb=ac866efb762875550bdc0c05d693e5eb026f435e;p=nepi.git diff --git a/src/nepi/resources/planetlab/openvswitch/ovsport.py b/src/nepi/resources/planetlab/openvswitch/ovsport.py index 107c809d..9bdc4153 100644 --- a/src/nepi/resources/planetlab/openvswitch/ovsport.py +++ b/src/nepi/resources/planetlab/openvswitch/ovsport.py @@ -40,11 +40,11 @@ class OVSPort(LinuxApplication): """ - _rtype = "OVSPort" + _rtype = "planetlab::OVSPort" _help = "Runs an OpenVSwitch on a PlanetLab host" _backend = "planetlab" - _authorized_connections = ["OVSSwitch", "LinuxUdpTunnel", "LinuxTunnel"] + _authorized_connections = ["planetlab::OVSSwitch", "linux::UdpTunnel", "linux::Tunnel"] @classmethod def _register_attributes(cls): @@ -183,8 +183,8 @@ class OVSPort(LinuxApplication): self.info("The number of the %s is %s" % (self.get('port_name'), self.port_number)) - if remote_endpoint.is_rm_instance("PlanetlabTap"): - self._vroute = self.ec.register_resource("PlanetlabVroute") + 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, "network", self.get("network"))