Class OpticalOduIntent


  • @Beta
    public final class OpticalOduIntent
    extends Intent
    An optical layer intent between two OduClt ports - in an OTN Topology. No traffic selector or traffic treatment are needed.
    • Constructor Detail

      • OpticalOduIntent

        protected OpticalOduIntent​(ApplicationId appId,
                                   Key key,
                                   ConnectPoint src,
                                   ConnectPoint dst,
                                   CltSignalType signalType,
                                   boolean isBidirectional,
                                   int priority,
                                   ResourceGroup resourceGroup)
        Creates an optical ODU intent between the specified connection points.
        Parameters:
        appId - application identification
        key - intent key
        src - the source transponder port
        dst - the destination transponder port
        signalType - CltSignalType signal type
        isBidirectional - indicate if intent is bidirectional
        priority - priority to use for flows from this intent
        resourceGroup - resource group for this intent
      • OpticalOduIntent

        protected OpticalOduIntent()
        Constructor for serializer.
    • Method Detail

      • builder

        public static OpticalOduIntent.Builder builder()
        Returns a new optical ODU intent builder.
        Returns:
        intent builder
      • getSrc

        public ConnectPoint getSrc()
        Returns the source transponder port.
        Returns:
        source transponder port
      • getDst

        public ConnectPoint getDst()
        Returns the destination transponder port.
        Returns:
        source transponder port
      • getSignalType

        public CltSignalType getSignalType()
        Returns the CltSignalType signal type.
        Returns:
        CltSignalType signal type
      • isBidirectional

        public boolean isBidirectional()
        Returns the directionality of the intent.
        Returns:
        true if bidirectional, false if unidirectional