return ImmutableSet.of();
}
+ @Override
+ public final boolean isComplexRoute() {
+ return false;
+ }
+
private final void processDestination(final DOMDataWriteTransaction tx, final YangInstanceIdentifier tablePath,
final ContainerNode destination, final ContainerNode attributes, final ApplyRoute function) {
if (destination != null) {
protected void deleteDestinationRoutes(final DOMDataWriteTransaction tx, final YangInstanceIdentifier tablePath, final ContainerNode destination) {
processDestination(tx, tablePath, destination, null, DELETE_ROUTE);
}
-
-
}
* @return YangInstanceIdentifier with routesPath + specific RIB support routes path + routeId
*/
@Nonnull YangInstanceIdentifier routePath(@Nonnull YangInstanceIdentifier routesPath, @Nonnull PathArgument routeId);
+
+ /**
+ * Indicate whether this AFI/SAFI combination is a complex route. Simple routes are those which
+ * only have their key and attributes, complex routes are those which include more structured data.
+ *
+ * @return True if this is a complex route, false otherwise.
+ */
+ boolean isComplexRoute();
}