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.
    • 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 TransportConfig> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.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, or null if it is not present.
             
                 Remote port being used by the peer for the TCP session supporting the BGP
                 session
             
         
        Returns:
        PortNumber remotePort, or null 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