OS Manuals

lustre_routes_conversion(8)

lustre_routes_conversion - converts a legacy routes configuration file to the new syntax.

lustre_routes_conversion(8) utilities lustre_routes_conversion(8)

lustre_routes_conversion - converts a legacy routes configuration file to the new syntax.

lustre_routes_conversion

lustre_routes_conversion takes as a first parameter a file with routes configured as follows:

<network> [<hop>] <gateway>@<exit network>[:<priority>];

Then converts it to:

<network>: { gateway: <gateway>@<exit network> [hop: <hop>]
[priority: <priority>] }

and appends it to the output file passed in as the second parameter to the script.

Usage:
lustre_routes_conversion <legacy file> <new file>

An example of legacy configuration file:

tcp1 10.1.1.2@tcp0:1;
tcp1 1 10.1.1.2@tcp0;

An example of script output:

tcp1: {gateway: 10.1.1.2@tcp0 priority: 1}
tcp1: {gateway: 10.1.1.2@tcp0 hop: 1}

An example of script execution:

lustre_routes_conversion <path/to/legacy_config_file> <path/to/new_config_file>

lustre(7) nids(5) lctl(8) lustre_routes_config(8)

Amir Shehata

April 23, 2013 Lustre

lustre 2.17.60-r0 · enterprise-packages · ingested 2026-10-22