Interface NeighborSet

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

    public interface NeighborSet
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Data definition for a list of IPv4 or IPv6 neighbors which can be matched in a routing policy

    This class represents the following YANG schema fragment defined in module openconfig-routing-policy

     grouping neighbor-set {
       list neighbor-set {
         key neighbor-set-name;
         leaf neighbor-set-name {
           type string;
         }
         list neighbor {
           key address;
           leaf address {
             type inet:ip-address;
           }
         }
       }
     }
     
    The schema path to identify an instance is openconfig-routing-policy/neighbor-set
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable List<NeighborSet> getNeighborSet()
        Definitions for neighbor sets
        Returns:
        java.util.List neighborSet, or null if not present
      • nonnullNeighborSet

        default @NonNull List<NeighborSet> nonnullNeighborSet()
        Returns:
        java.util.List neighborSet, or an empty list if it is not present