Class ConnectivityIntentCommand

    • Constructor Detail

      • ConnectivityIntentCommand

        public ConnectivityIntentCommand()
    • Method Detail

      • buildTrafficSelector

        protected org.onosproject.net.flow.TrafficSelector buildTrafficSelector()
        Constructs a traffic selector based on the command line arguments presented to the command.
        Returns:
        traffic selector
      • buildTrafficTreatment

        protected org.onosproject.net.flow.TrafficTreatment buildTrafficTreatment()
        Generates a traffic treatment for this intent based on command line arguments presented to the command.
        Returns:
        traffic treatment
      • buildConstraints

        protected List<org.onosproject.net.intent.Constraint> buildConstraints()
        Builds the constraint list for this command based on the command line parameters.
        Returns:
        List of constraint objects describing the constraints requested
      • appId

        protected org.onosproject.core.ApplicationId appId()
        Description copied from class: AbstractShellCommand
        Returns application ID for the CLI.
        Overrides:
        appId in class AbstractShellCommand
        Returns:
        command-line application identifier
      • resourceGroup

        protected org.onosproject.net.ResourceGroup resourceGroup()
      • key

        protected org.onosproject.net.intent.Key key()
        Creates a key for an intent based on command line arguments. If a key has been specified, it is returned. If no key is specified, null is returned.
        Returns:
        intent key if specified, null otherwise
      • priority

        protected int priority()
        Gets the priority to use for the intent.
        Returns:
        priority