Interface RoleSet

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    RoleSets

    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;
         }
       }
     }
     
    The schema path to identify an instance is odl-bgp-policy/role-set
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

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

        @Nullable List<RoleSet> getRoleSet()
        List of the defined role sets
        Returns:
        java.util.List roleSet, or null if not present
      • nonnullRoleSet

        default @NonNull List<RoleSet> nonnullRoleSet()
        Returns:
        java.util.List roleSet, or an empty list if it is not present