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:
NeighborTransportStateAugmentation, State11

@Generated("mdsal-binding-generator") public interface BgpNeighborTransportState extends org.opendaylight.yangtools.binding.Grouping
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;
   }
 }
 
  • 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.

    Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract

    implementedInterface
  • Method Details

    • 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