Enum MultipartType

  • All Implemented Interfaces:
    Serializable, Comparable<MultipartType>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.Enumeration, org.opendaylight.yangtools.yang.binding.TypeObject

    @Generated("mdsal-binding-generator")
    public enum MultipartType
    extends Enum<MultipartType>
    implements org.opendaylight.yangtools.yang.binding.Enumeration
    • Enum Constant Detail

      • OFPMPDESC

        public static final MultipartType OFPMPDESC
        Description of this OpenFlow switch. The request body is empty. The reply body is struct ofp_desc.
      • OFPMPFLOW

        public static final MultipartType OFPMPFLOW
        Individual flow statistics. The request body is struct ofp_flow_stats_request. The reply body is an array of struct ofp_flow_stats.
      • OFPMPAGGREGATE

        public static final MultipartType OFPMPAGGREGATE
        Aggregate flow statistics. The request body is struct ofp_aggregate_stats_request. The reply body is struct ofp_aggregate_stats_reply.
      • OFPMPTABLE

        public static final MultipartType OFPMPTABLE
        Flow table statistics. The request body is empty. The reply body is an array of struct ofp_table_stats.
      • OFPMPPORTSTATS

        public static final MultipartType OFPMPPORTSTATS
        Port statistics. The request body is struct ofp_port_stats_request. The reply body is an array of struct ofp_port_stats.
      • OFPMPQUEUE

        public static final MultipartType OFPMPQUEUE
        Queue statistics for a port The request body is struct ofp_queue_stats_request. The reply body is an array of struct ofp_queue_stats
      • OFPMPGROUP

        public static final MultipartType OFPMPGROUP
        Group counter statistics. The request body is struct ofp_group_stats_request. The reply is an array of struct ofp_group_stats.
      • OFPMPGROUPDESC

        public static final MultipartType OFPMPGROUPDESC
        Group description. The request body is empty. The reply body is an array of struct ofp_group_desc.
      • OFPMPGROUPFEATURES

        public static final MultipartType OFPMPGROUPFEATURES
        Group features. The request body is empty. The reply body is struct ofp_group_features.
      • OFPMPMETER

        public static final MultipartType OFPMPMETER
        Meter statistics. The request body is struct ofp_meter_multipart_requests. The reply body is an array of struct ofp_meter_stats.
      • OFPMPMETERCONFIG

        public static final MultipartType OFPMPMETERCONFIG
        Meter configuration. The request body is struct ofp_meter_multipart_requests. The reply body is an array of struct ofp_meter_config.
      • OFPMPMETERFEATURES

        public static final MultipartType OFPMPMETERFEATURES
        Meter features. The request body is empty. The reply body is struct ofp_meter_features.
      • OFPMPTABLEFEATURES

        public static final MultipartType OFPMPTABLEFEATURES
        Table features. The request body is either empty or contains an array of struct ofp_table_features containing the controller’s desired view of the switch. If the switch is unable to set the specified view an error is returned. The reply body is an array of struct ofp_table_features.
      • OFPMPPORTDESC

        public static final MultipartType OFPMPPORTDESC
        Port description. The request body is empty. The reply body is an array of struct ofp_port.
      • OFPMPEXPERIMENTER

        public static final MultipartType OFPMPEXPERIMENTER
        Experimenter extension. The request and reply bodies begin with struct ofp_experimenter_multipart_header. The request and reply bodies are otherwise experimenter-defined.
    • Method Detail

      • values

        public static MultipartType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MultipartType c : MultipartType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MultipartType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getName

        public String getName()
        Specified by:
        getName in interface org.opendaylight.yangtools.yang.binding.Enumeration
      • getIntValue

        public int getIntValue()
        Specified by:
        getIntValue in interface org.opendaylight.yangtools.yang.binding.Enumeration
      • forName

        public static Optional<MultipartType> forName​(String name)
        Return the enumeration member whose getName() matches specified value.
        Parameters:
        name - YANG assigned name
        Returns:
        corresponding MultipartType item, if present
        Throws:
        NullPointerException - if name is null
      • forValue

        public static MultipartType forValue​(int intValue)
        Return the enumeration member whose getIntValue() matches specified value.
        Parameters:
        intValue - integer value
        Returns:
        corresponding MultipartType item, or null if no such item exists