Interface NeighborSet

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<NeighborSet>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<NeighborSet>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<NeighborSetKey>

    public interface NeighborSet
    extends org.opendaylight.yangtools.yang.binding.ChildOf<NeighborSet>, org.opendaylight.yangtools.yang.binding.Augmentable<NeighborSet>, org.opendaylight.yangtools.yang.binding.Identifiable<NeighborSetKey>
    Definitions for neighbor sets

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

     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/neighbor-set

    To create instances of this class use NeighborSetBuilder.

    See Also:
    NeighborSetBuilder, NeighborSetKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable String getNeighborSetName()
        name / label of the neighbor set -- this is used to reference the set in match conditions
        Returns:
        java.lang.String neighborSetName, or null if not present
      • getNeighbor

        @Nullable List<Neighbor> getNeighbor()
        list of addresses that are part of the neighbor set
        Returns:
        java.util.List neighbor, or null if not present
      • nonnullNeighbor

        default @NonNull List<Neighbor> nonnullNeighbor()
        Returns:
        java.util.List neighbor, or an empty list if it is not present