Interface UpdateMessage

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

    public interface UpdateMessage
    extends org.opendaylight.yangtools.yang.binding.DataObject, PathAttributes
    Update Message

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

     grouping update-message {
       uses path-attributes;
       list withdrawn-routes {
         uses ipv4-prefix-and-path-id;
       }
       list nlri {
         uses ipv4-prefix-and-path-id;
       }
     }
     
    The schema path to identify an instance is bgp-message/update-message
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends UpdateMessage> 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 PathAttributes
      • getWithdrawnRoutes

        @Nullable List<WithdrawnRoutes> getWithdrawnRoutes()
        Returns:
        java.util.List withdrawnRoutes, or null if not present
      • nonnullWithdrawnRoutes

        default @NonNull List<WithdrawnRoutes> nonnullWithdrawnRoutes()
        Returns:
        java.util.List withdrawnRoutes, or an empty list if it is not present
      • getNlri

        @Nullable List<Nlri> getNlri()
        Returns:
        java.util.List nlri, or null if not present
      • nonnullNlri

        default @NonNull List<Nlri> nonnullNlri()
        Returns:
        java.util.List nlri, or an empty list if it is not present