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

@Generated("mdsal-binding-generator") public interface BgpNeighbor extends org.opendaylight.yangtools.yang.binding.DataObject, 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;
 }
 
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends BgpNeighbor> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      Specified by:
      implementedInterface in interface MatchSetOptionsRestrictedGroup
    • 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