Interface MatchBgpNeighborSet

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<MatchBgpNeighborSet>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<MatchBgpNeighborGrouping>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface MatchBgpNeighborSet
    extends org.opendaylight.yangtools.yang.binding.ChildOf<MatchBgpNeighborGrouping>, org.opendaylight.yangtools.yang.binding.Augmentable<MatchBgpNeighborSet>
    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 odl-bgp-policy

     container match-bgp-neighbor-set {
       presence
         "The presence of this container indicates that the routes
          should match the neighbour address of set referenced";
       container from-neighbor {
         uses bgp-neighbor;
       }
       container to-neighbor {
         uses bgp-neighbor;
       }
     }
     
    The schema path to identify an instance is odl-bgp-policy/match-bgp-neighbor-grouping/match-bgp-neighbor-set

    To create instances of this class use MatchBgpNeighborSetBuilder.

    See Also:
    MatchBgpNeighborSetBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable FromNeighbor getFromNeighbor()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp._default.policy.rev200120.match.bgp.neighbor.grouping.match.bgp.neighbor.set.FromNeighbor fromNeighbor, or null if not present
      • getToNeighbor

        @Nullable ToNeighbor getToNeighbor()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp._default.policy.rev200120.match.bgp.neighbor.grouping.match.bgp.neighbor.set.ToNeighbor toNeighbor, or null if not present