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.
        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.
        intent builder
      • getSrc

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

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

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

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