java.lang.Object
java.lang.Enum<MultipartType>
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.MultipartType
All Implemented Interfaces:
Serializable, Comparable<MultipartType>, Constable, 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

This class represents the following YANG schema fragment defined in module openflow-types

 typedef multipart-type {
   type enumeration {
     enum OFPMP_DESC {
       value 0;
     }
     enum OFPMP_FLOW {
       value 1;
     }
     enum OFPMP_AGGREGATE {
       value 2;
     }
     enum OFPMP_TABLE {
       value 3;
     }
     enum OFPMP_PORT_STATS {
       value 4;
     }
     enum OFPMP_QUEUE {
       value 5;
     }
     enum OFPMP_GROUP {
       value 6;
     }
     enum OFPMP_GROUP_DESC {
       value 7;
     }
     enum OFPMP_GROUP_FEATURES {
       value 8;
     }
     enum OFPMP_METER {
       value 9;
     }
     enum OFPMP_METER_CONFIG {
       value 10;
     }
     enum OFPMP_METER_FEATURES {
       value 11;
     }
     enum OFPMP_TABLE_FEATURES {
       value 12;
     }
     enum OFPMP_PORT_DESC {
       value 13;
     }
     enum OFPMP_EXPERIMENTER {
       value 65535;
     }
   }
 }
 
  • Enum Constant Details

    • 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 Details

    • values

      public static MultipartType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MultipartType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      public @NonNull 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 @Nullable MultipartType forName(String name)
      Return the enumeration member whose getName() matches specified assigned name.
      Parameters:
      name - YANG assigned name
      Returns:
      corresponding MultipartType item, or null if no such item exists
      Throws:
      NullPointerException - if name is null
    • forValue

      public static @Nullable 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
    • ofName

      public static @NonNull MultipartType ofName(String name)
      Return the enumeration member whose getName() matches specified assigned name.
      Parameters:
      name - YANG assigned name
      Returns:
      corresponding MultipartType item
      Throws:
      NullPointerException - if name is null
      IllegalArgumentException - if name does not match any item
    • ofValue

      public static @NonNull MultipartType ofValue(int intValue)
      Return the enumeration member whose getIntValue() matches specified value.
      Parameters:
      intValue - integer value
      Returns:
      corresponding MultipartType item
      Throws:
      IllegalArgumentException - if intValue does not match any item