Interface L2Tunnel

  • All Known Implementing Classes:
    DefaultL2Tunnel

    public interface L2Tunnel
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.onlab.packet.MplsLabel interCoLabel()
      Returns the inter-co label used by the pseudowire.
      List<org.onosproject.net.Link> pathUsed()
      Returns the path used by the pseudowire.
      org.onlab.packet.MplsLabel pwLabel()
      Return the label of the pseudowire.
      L2Mode pwMode()
      Return the mode of the l2 tunnel.
      org.onlab.packet.VlanId sdTag()
      Returns the service delimiting tag.
      void setPath​(List<org.onosproject.net.Link> path)
      Sets the path that this pw uses.
      void setTransportVlan​(org.onlab.packet.VlanId vlan)
      Set the transport vlan that this pw will use.
      org.onlab.packet.VlanId transportVlan()
      Returns the transport vlan used by the pseudowire.
      long tunnelId()
      Returns the id of the tunnel.
    • Method Detail

      • pwMode

        L2Mode pwMode()
        Return the mode of the l2 tunnel.
        Returns:
        The pw mode.
      • sdTag

        org.onlab.packet.VlanId sdTag()
        Returns the service delimiting tag.
        Returns:
        the sd tag
      • tunnelId

        long tunnelId()
        Returns the id of the tunnel.
        Returns:
        the tunnel id
      • pwLabel

        org.onlab.packet.MplsLabel pwLabel()
        Return the label of the pseudowire.
        Returns:
        the pw label.
      • pathUsed

        List<org.onosproject.net.Link> pathUsed()
        Returns the path used by the pseudowire.
        Returns:
        The path that is used
      • transportVlan

        org.onlab.packet.VlanId transportVlan()
        Returns the transport vlan used by the pseudowire.
        Returns:
        The transport vlan
      • interCoLabel

        org.onlab.packet.MplsLabel interCoLabel()
        Returns the inter-co label used by the pseudowire.
        Returns:
        The inter CO label.
      • setPath

        void setPath​(List<org.onosproject.net.Link> path)
        Sets the path that this pw uses.
        Parameters:
        path - The apth to use
      • setTransportVlan

        void setTransportVlan​(org.onlab.packet.VlanId vlan)
        Set the transport vlan that this pw will use.
        Parameters:
        vlan - The vlan to use.