All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
NeighborTransportStateAugmentation, State11

@Generated("mdsal-binding-generator") public interface BgpNeighborTransportState extends org.opendaylight.yangtools.yang.binding.DataObject
Operational state parameters relating to the transport session used for the BGP session

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

 grouping bgp-neighbor-transport_state {
   leaf local-port {
     type inet:port-number;
   }
   leaf remote-address {
     type inet:ip-address;
   }
   leaf remote-port {
     type inet:port-number;
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
    Return localPort, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
    Return remoteAddress, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
    Return remotePort, or null if it is not present.
     
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
    Return localPort, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
    Return remoteAddress, guaranteed to be non-null.
    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.
  • Field Details

    • QNAME

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

    • implementedInterface

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

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getLocalPort()
      Return localPort, or null if it is not present.
           
               Local TCP port being used for the TCP session supporting the BGP session
           
       
      Returns:
      PortNumber localPort, or null if it is not present.
    • requireLocalPort

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireLocalPort()
      Return localPort, guaranteed to be non-null.
           
               Local TCP port being used for the TCP session supporting the BGP session
           
       
      Returns:
      PortNumber localPort, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if localPort is not present
    • getRemoteAddress

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getRemoteAddress()
      Return remoteAddress, or null if it is not present.
           
               Remote address to which the BGP session has been established
           
       
      Returns:
      IpAddress remoteAddress, or null if it is not present.
    • requireRemoteAddress

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress requireRemoteAddress()
      Return remoteAddress, guaranteed to be non-null.
           
               Remote address to which the BGP session has been established
           
       
      Returns:
      IpAddress remoteAddress, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if remoteAddress is not present
    • 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