Interface GroupFeatures
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
GetGroupFeaturesOutput
,GroupFeatures
,GroupFeaturesReply
,GroupFeaturesUpdated
,MultipartReplyGroupFeatures
@Generated("mdsal-binding-generator")
public interface GroupFeatures
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-group-types
grouping group-features { leaf-list group-types-supported { type identityref { base group-type; } } leaf-list group-capabilities-supported { type identityref { base group-capability; } } leaf-list max-groups { type uint32; max-elements 4; ordered-by user; } leaf-list actions { type uint32; max-elements 4; ordered-by user; } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescription@Nullable List<org.opendaylight.yangtools.yang.common.Uint32>
Return actions, ornull
if it is not present.@Nullable Set<GroupCapability>
Return groupCapabilitiesSupported, ornull
if it is not present.Return groupTypesSupported, ornull
if it is not present.@Nullable List<org.opendaylight.yangtools.yang.common.Uint32>
Return maxGroups, ornull
if it is not present.Class<? extends GroupFeatures>
default @NonNull List<org.opendaylight.yangtools.yang.common.Uint32>
Return actions, guaranteed to be non-null.default @NonNull Set<GroupCapability>
Return groupCapabilitiesSupported, guaranteed to be non-null.Return groupTypesSupported, guaranteed to be non-null.default @NonNull List<org.opendaylight.yangtools.yang.common.Uint32>
Return maxGroups, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends GroupFeatures> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getGroupTypesSupported
Return groupTypesSupported, ornull
if it is not present.- Returns:
Set<GroupType>
groupTypesSupported, ornull
if it is not present.
-
requireGroupTypesSupported
Return groupTypesSupported, guaranteed to be non-null.- Returns:
Set<GroupType>
groupTypesSupported, guaranteed to be non-null.- Throws:
NoSuchElementException
- if groupTypesSupported is not present
-
getGroupCapabilitiesSupported
@Nullable Set<GroupCapability> getGroupCapabilitiesSupported()Return groupCapabilitiesSupported, ornull
if it is not present.- Returns:
Set<GroupCapability>
groupCapabilitiesSupported, ornull
if it is not present.
-
requireGroupCapabilitiesSupported
Return groupCapabilitiesSupported, guaranteed to be non-null.- Returns:
Set<GroupCapability>
groupCapabilitiesSupported, guaranteed to be non-null.- Throws:
NoSuchElementException
- if groupCapabilitiesSupported is not present
-
getMaxGroups
@Nullable List<org.opendaylight.yangtools.yang.common.Uint32> getMaxGroups()Return maxGroups, ornull
if it is not present.Maximum number of groups for each type
- Returns:
List<Uint32>
maxGroups, ornull
if it is not present.
-
requireMaxGroups
Return maxGroups, guaranteed to be non-null.Maximum number of groups for each type
- Returns:
List<Uint32>
maxGroups, guaranteed to be non-null.- Throws:
NoSuchElementException
- if maxGroups is not present
-
getActions
@Nullable List<org.opendaylight.yangtools.yang.common.Uint32> getActions()Return actions, ornull
if it is not present.Bitmap number OFPAT_* that are supported
- Returns:
List<Uint32>
actions, ornull
if it is not present.
-
requireActions
Return actions, guaranteed to be non-null.Bitmap number OFPAT_* that are supported
- Returns:
List<Uint32>
actions, guaranteed to be non-null.- Throws:
NoSuchElementException
- if actions is not present
-