Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.openconfig.extensions.rev180329
Interface TransportConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
NeighborTransportConfig
,PeerGroupTransportConfig
@Generated("mdsal-binding-generator") public interface TransportConfig extends org.opendaylight.yangtools.yang.binding.DataObject
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; } }
-
-
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.PortNumber
getRemotePort()
Return remotePort, ornull
if it is not present.Class<? extends TransportConfig>
implementedInterface()
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.
-
-
-
Method Detail
-
implementedInterface
Class<? extends TransportConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
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
-
-