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 MessageThis 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 Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable List<Nlri>
getNlri()
@Nullable List<WithdrawnRoutes>
getWithdrawnRoutes()
Class<? extends UpdateMessage>
implementedInterface()
default @NonNull List<Nlri>
nonnullNlri()
default @NonNull List<WithdrawnRoutes>
nonnullWithdrawnRoutes()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.PathAttributes
getAttributes
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends UpdateMessage> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfacePathAttributes
-
getWithdrawnRoutes
@Nullable List<WithdrawnRoutes> getWithdrawnRoutes()
- Returns:
java.util.List
withdrawnRoutes
, ornull
if not present
-
nonnullWithdrawnRoutes
default @NonNull List<WithdrawnRoutes> nonnullWithdrawnRoutes()
- Returns:
java.util.List
withdrawnRoutes
, or an empty list if it is not present
-
-