Class SpringOpenTTP.SpringOpenGroup

  • All Implemented Interfaces:
    org.onosproject.net.behaviour.NextGroup
    Enclosing class:
    SpringOpenTTP

    protected class SpringOpenTTP.SpringOpenGroup
    extends Object
    implements org.onosproject.net.behaviour.NextGroup
    SpringOpenGroup can either serve as storage for a GroupKey which can be used to fetch the group from the Group Service, or it can be serve as storage for Traffic Treatments which can be used as flow actions. In the latter case, we refer to this as a dummy group.
    • Constructor Detail

      • SpringOpenGroup

        public SpringOpenGroup​(org.onosproject.net.group.GroupKey key,
                               org.onosproject.net.flow.TrafficTreatment treatment)
        Storage for a GroupKey or a TrafficTreatment. One of the params to this constructor must be null.
        Parameters:
        key - represents a GroupKey
        treatment - represents flow actions in a dummy group
    • Method Detail

      • key

        public org.onosproject.net.group.GroupKey key()
      • dummy

        public boolean dummy()
      • treatment

        public org.onosproject.net.flow.TrafficTreatment treatment()
      • data

        public byte[] data()
        Specified by:
        data in interface org.onosproject.net.behaviour.NextGroup