lustre_routes_conversion(8)

πŸ“¦ version 2.17.58, in ubuntu stonking

πŸ’… lustre_routes_conversion(8) β€” the utilities girlies know ✨

okay bestie, so real talk, this one lives in the utilities corner of the Lustre man pages and it's literally just a glow-up machine for your routes config. no cap.


πŸŽ€ NAME πŸŽ€

lustre_routes_conversion β€” converts a legacy routes configuration file to the new syntax. it's giving old-money config β†’ new-money config, and honestly? obsessed.


✨ SYNOPSIS ✨

lustre_routes_conversion

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe. lustre_routes_conversion takes as a first parameter a file with routes configured like this:

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

…and then it converts it to this:

<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. so bestie, lowkey it's a two-file situation: file one goes in, file two gets the glow-up appended to it. no editing in place, no main-character surprises. 🫢

Usage:

lustre_routes_conversion <legacy file> <new file>

🌸 EXAMPLE 🌸

an example of a legacy configuration file (the before pic πŸ’€):

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

an example of script output (the after pic πŸ‘‘):

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

an example of script execution (the way that you literally just run it):

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 β€” thank you for your service, icon 🫑


that's the whole page, bestie, and yes it was short, but it ate. ✨

this came to you from the Lustre manual set β€” page lustre_routes_conversion(8), dated Apr 23, 2013, and that footer is basically the receipt for this whole vibe check. πŸŒˆπŸ’œ

mwah πŸ’… see you in the next man page

πŸ“¦ where this page comes from