← All recipes
Moderne licensed

Find unclassified Das Schiff export ranges

Recipe IDio.moderne.kubernetes.sylva.migrate.dasschiff.FindUnclassifiedExportRangesArtifactorg.openrewrite.recipe:rewrite-kubernetes

Report every VRFRouteConfiguration.spec.export range that has to be classified as a load balancer pool or an egress NAT pool before an Inbound or Outbound can be generated for it. Nothing in the legacy group tells the two apart.

Single recipeProprietary

Usage

This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.

mod run . --recipe io.moderne.kubernetes.sylva.migrate.dasschiff.FindUnclassifiedExportRanges

If the recipe isn’t available locally, install it with:

mod config recipes jar install org.openrewrite.recipe:rewrite-kubernetes:RELEASE

Options

NameTypeDescription
classificationsStringRanges already classified, as <vrf>/<cidr>=<role>:<networkRef> separated by commas. The roles are inbound-bgp, inbound-l2 and outbound. Leave empty to report every range.
e.g. m2m/10.250.4.0/24=inbound-bgp:vlan1,m2m/10.250.2.0/30=outbound:vlan1
fileMatcherStringMatching files will be searched. This is a glob expression.
e.g. **/network-*.yml

Data tables

Structured output this recipe can produce.

  • Exported rangesEvery `spec.export` range of a Deutsche Telekom `VRFRouteConfiguration`, and whether it is classified as the load balancer pool or the egress NAT pool the `network-connector.sylvaproject.org` intent group needs it to be.io.moderne.kubernetes.sylva.migrate.dasschiff.table.ExportRanges
  • Source files that had resultsSource files that were modified by the recipe run.org.openrewrite.table.SourcesFileResults
  • Source files that had search resultsSearch results that were found during the recipe run.org.openrewrite.table.SearchResults
  • Source files that errored on a recipeThe details of all errors produced by a recipe run.org.openrewrite.table.SourcesFileErrors
  • Recipe performanceStatistics used in analyzing the performance of recipes.org.openrewrite.table.RecipeRunStats