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:
RoleSets

@Generated("mdsal-binding-generator") public interface RoleSet extends org.opendaylight.yangtools.yang.binding.DataObject
Data definition for a list of Odl Bgp roles which are matched as part of a policy

This class represents the following YANG schema fragment defined in module odl-bgp-policy

 grouping role-set {
   list role-set {
     key role-set-name;
     leaf role-set-name {
       type string;
     }
     leaf-list role {
       type rib:peer-role;
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return roleSet, or null if it is not present.
    Class<? extends RoleSet>
     
    default @NonNull Map<RoleSetKey,RoleSet>
    Return roleSet, or an empty list if it is not present.
  • 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 RoleSet> 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
    • getRoleSet

      @Nullable Map<RoleSetKey,RoleSet> getRoleSet()
      Return roleSet, or null if it is not present.
           
               List of the defined role sets
           
       
      Returns:
      Map<RoleSetKey, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp._default.policy.rev200120.role.set.RoleSet> roleSet, or null if it is not present.
    • nonnullRoleSet

      default @NonNull Map<RoleSetKey,RoleSet> nonnullRoleSet()
      Return roleSet, or an empty list if it is not present.
      Returns:
      Map<RoleSetKey, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp._default.policy.rev200120.role.set.RoleSet> roleSet, or an empty list if it is not present.