All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping, MatchSetOptionsRestrictedGroup
All Known Subinterfaces:
FromNeighbor, ToNeighbor

@Generated("mdsal-binding-generator") public interface BgpNeighbor extends org.opendaylight.yangtools.binding.Grouping, MatchSetOptionsRestrictedGroup

This class represents the following YANG schema fragment defined in module odl-bgp-policy

 grouping bgp-neighbor {
   leaf neighbor-set {
     type leafref {
       path /rpol:routing-policy/rpol:defined-sets/rpol:neighbor-sets/rpol:neighbor-set/rpol:neighbor-set-name;
     }
   }
   uses rpol:match-set-options-restricted-group;
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    Return neighborSet, or null if it is not present.
    default @NonNull String
    Return neighborSet, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract

    implementedInterface

    Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.MatchSetOptionsRestrictedGroup

    getMatchSetOptions, requireMatchSetOptions
  • Method Details

    • getNeighborSet

      String getNeighborSet()
      Return neighborSet, or null if it is not present.
           
               References a defined neighbor set
           
       
      Returns:
      String neighborSet, or null if it is not present.
    • requireNeighborSet

      default @NonNull String requireNeighborSet()
      Return neighborSet, guaranteed to be non-null.
           
               References a defined neighbor set
           
       
      Returns:
      String neighborSet, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if neighborSet is not present