Interface PeerHeader

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<PeerHeader>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<PeerHeader>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, Peer, Timestamp

    public interface PeerHeader
    extends org.opendaylight.yangtools.yang.binding.ChildOf<PeerHeader>, org.opendaylight.yangtools.yang.binding.Augmentable<PeerHeader>, Peer, Timestamp

    This class represents the following YANG schema fragment defined in module bmp-message

     container peer-header {
       uses peer;
       uses timestamp;
       leaf adj-rib-in-type {
         type adj-rib-in-type;
       }
       leaf ipv4 {
         type boolean;
       }
     }
     
    The schema path to identify an instance is bmp-message/peer-header/peer-header

    To create instances of this class use PeerHeaderBuilder.

    See Also:
    PeerHeaderBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<PeerHeader> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface Peer
        Specified by:
        implementedInterface in interface Timestamp
      • getAdjRibInType

        @Nullable AdjRibInType getAdjRibInType()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.AdjRibInType adjRibInType, or null if not present
      • isIpv4

        @Nullable Boolean isIpv4()
        Indicates if peer's address is IPv4. If set to false address is IPv6.
        Returns:
        java.lang.Boolean ipv4, or null if not present