Interface BgpNeighborNeighborAddressConfig

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Config2, State7

    @Generated("mdsal-binding-generator")
    public interface BgpNeighborNeighborAddressConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Configuration options relating to the BGP neighbor address

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

     grouping bgp-neighbor-neighbor-address_config {
       leaf neighbor-address {
         type inet:ip-address;
       }
     }
     
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends BgpNeighborNeighborAddressConfig> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getNeighborAddress

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getNeighborAddress()
        Return neighborAddress, or null if it is not present.
             
                 Address of the BGP peer, either in IPv4 or IPv6
             
         
        Returns:
        IpAddress neighborAddress, or null if it is not present.
      • requireNeighborAddress

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress requireNeighborAddress()
        Return neighborAddress, guaranteed to be non-null.
             
                 Address of the BGP peer, either in IPv4 or IPv6
             
         
        Returns:
        IpAddress neighborAddress, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if neighborAddress is not present