Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.openconfig.extensions.rev180329
Interface TransportConfig
- 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
- All Known Subinterfaces:
NeighborTransportConfig
,PeerGroupTransportConfig
@Generated("mdsal-binding-generator")
public interface TransportConfig
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module bgp-openconfig-extensions
grouping transport-config { leaf remote-port { type inet:port-number; default 179; } }
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return remotePort, ornull
if it is not present.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return remotePort, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getRemotePort
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getRemotePort()Return remotePort, ornull
if it is not present.Remote port being used by the peer for the TCP session supporting the BGP session
- Returns:
PortNumber
remotePort, ornull
if it is not present.
-
requireRemotePort
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireRemotePort()Return remotePort, guaranteed to be non-null.Remote port being used by the peer for the TCP session supporting the BGP session
- Returns:
PortNumber
remotePort, guaranteed to be non-null.- Throws:
NoSuchElementException
- if remotePort is not present
-