Interface MatchNeighborSet

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<MatchNeighborSet>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<GenericConditions>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, MatchSetOptionsRestrictedGroup

    public interface MatchNeighborSet
    extends org.opendaylight.yangtools.yang.binding.ChildOf<GenericConditions>, org.opendaylight.yangtools.yang.binding.Augmentable<MatchNeighborSet>, MatchSetOptionsRestrictedGroup
    Match a referenced neighbor set according to the logic defined in the match-set-options-leaf

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

     container match-neighbor-set {
       presence
         "The presence of this container indicates that the routes
          should match the neighbour set referenced";
       leaf neighbor-set {
         type leafref {
           path /routing-policy/defined-sets/neighbor-sets/neighbor-set/neighbor-set-name;
         }
       }
       uses match-set-options-restricted-group;
     }
     
    The schema path to identify an instance is openconfig-routing-policy/generic-conditions/match-neighbor-set

    To create instances of this class use MatchNeighborSetBuilder.

    See Also:
    MatchNeighborSetBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable String getNeighborSet()
        References a defined neighbor set
        Returns:
        java.lang.String neighborSet, or null if not present