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:
AddGroupCaseData, AddGroupInput, BatchAddGroups, BatchRemoveGroups, FlatBatchAddGroup, FlatBatchRemoveGroup, Group, GroupDesc, GroupDescStats, GroupMessage, NodeGroup, OriginalBatchedGroup, OriginalGroup, RemoveGroupCaseData, RemoveGroupInput, StaleGroup, UpdatedBatchedGroup, UpdatedGroup, UpdateGroupCaseData

@Generated("mdsal-binding-generator") public interface Group extends org.opendaylight.yangtools.yang.binding.DataObject

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

 grouping group {
   leaf group-type {
     type group-types;
   }
   leaf group-id {
     type group-id;
   }
   leaf group-name {
     type string;
   }
   leaf container-name {
     type string;
   }
   leaf barrier {
     type boolean;
   }
   container buckets {
     list bucket {
       key bucket-id;
       leaf bucket-id {
         type bucket-id;
       }
       leaf weight {
         type uint16;
       }
       leaf watch_port {
         type uint32;
       }
       leaf watch_group {
         type uint32;
       }
       uses action:action-list;
     }
   }
 }
 
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends Group> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getGroupType

      GroupTypes getGroupType()
      Return groupType, or null if it is not present.
      Returns:
      GroupTypes groupType, or null if it is not present.
    • requireGroupType

      default @NonNull GroupTypes requireGroupType()
      Return groupType, guaranteed to be non-null.
      Returns:
      GroupTypes groupType, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if groupType is not present
    • getGroupId

      GroupId getGroupId()
      Return groupId, or null if it is not present.
      Returns:
      GroupId groupId, or null if it is not present.
    • requireGroupId

      default @NonNull GroupId requireGroupId()
      Return groupId, guaranteed to be non-null.
      Returns:
      GroupId groupId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if groupId is not present
    • getGroupName

      String getGroupName()
      Return groupName, or null if it is not present.
      Returns:
      String groupName, or null if it is not present.
    • requireGroupName

      default @NonNull String requireGroupName()
      Return groupName, guaranteed to be non-null.
      Returns:
      String groupName, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if groupName is not present
    • getContainerName

      String getContainerName()
      Return containerName, or null if it is not present.
      Returns:
      String containerName, or null if it is not present.
    • requireContainerName

      default @NonNull String requireContainerName()
      Return containerName, guaranteed to be non-null.
      Returns:
      String containerName, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if containerName is not present
    • getBarrier

      Boolean getBarrier()
      Return barrier, or null if it is not present.
      Returns:
      Boolean barrier, or null if it is not present.
    • requireBarrier

      default @NonNull Boolean requireBarrier()
      Return barrier, guaranteed to be non-null.
      Returns:
      Boolean barrier, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if barrier is not present
    • getBuckets

      Buckets getBuckets()
      Return buckets, or null if it is not present.
      Returns:
      Buckets buckets, or null if it is not present.