lustre_routes_conversion(8)

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

SYNOPSIS
lustre_routes_conversion

DESCRIPTION
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>

EXAMPLE
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>

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

AUTHOR
Amir Shehata