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-message/peer-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:
        java.lang.Boolean localSystemClosed, or null if it is not present.
      • isLocalSystemClosed

        @Deprecated(forRemoval=true)
        default Boolean isLocalSystemClosed()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getData

        Data getData()
        Return data, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.peer.down.Data data, or null if it is not present.