Interface PeerDown

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    PeerDownNotification

    @Generated("mdsal-binding-generator")
    public interface PeerDown
    extends org.opendaylight.yangtools.yang.binding.DataObject

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

     grouping peer-down {
       leaf local-system-closed {
         type boolean;
       }
       choice data {
         case notification {
           container notification {
             uses bgp-msg:notify-message;
           }
         }
         case fsm-event-code {
           leaf fsm-event-code {
             type uint16;
             default 0;
           }
         }
       }
     }
     
    The schema path to identify an instance is bmp-messagepeer-down
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        Boolean getLocalSystemClosed()
        Return localSystemClosed, or null if it is not present.
             
                 If set true, the local system closed the session. Otherwise the remote system
                 closed the session.
             
         
        Returns:
        Boolean localSystemClosed, or null if it is not present.
      • requireLocalSystemClosed

        default @NonNull Boolean requireLocalSystemClosed()
        Return localSystemClosed, guaranteed to be non-null.
             
                 If set true, the local system closed the session. Otherwise the remote system
                 closed the session.
             
         
        Returns:
        Boolean localSystemClosed, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if localSystemClosed is not present
      • getData

        Data getData()
        Return data, or null if it is not present.
        Returns:
        Data data, or null if it is not present.