Interface BgpNeighborNeighborAddressConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface BgpNeighborNeighborAddressConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration options relating to the BGP neighbor addressThis 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 Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
getNeighborAddress()
Return neighborAddress, ornull
if it is not present.Class<? extends BgpNeighborNeighborAddressConfig>
implementedInterface()
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.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpNeighborNeighborAddressConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.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, ornull
if it is not present.Address of the BGP peer, either in IPv4 or IPv6
- Returns:
IpAddress
neighborAddress, ornull
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
-
-